CN109831702A - The method for preventing TV software staging error - Google Patents

The method for preventing TV software staging error Download PDF

Info

Publication number
CN109831702A
CN109831702A CN201910036508.XA CN201910036508A CN109831702A CN 109831702 A CN109831702 A CN 109831702A CN 201910036508 A CN201910036508 A CN 201910036508A CN 109831702 A CN109831702 A CN 109831702A
Authority
CN
China
Prior art keywords
software
television set
version number
information
number information
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.)
Granted
Application number
CN201910036508.XA
Other languages
Chinese (zh)
Other versions
CN109831702B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201910036508.XA priority Critical patent/CN109831702B/en
Publication of CN109831702A publication Critical patent/CN109831702A/en
Application granted granted Critical
Publication of CN109831702B publication Critical patent/CN109831702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention proposes a kind of method for preventing TV software staging error, belongs to system software release mark and identification judgement field.Technical solution of the present invention main points are as follows: television scanning USB flash disk or network, search whether that there are softwares to be upgraded, if it exists, then directly read the title and version number information of software to be upgraded, it is compared with the comparative information that local system prestores, if comparing successfully, then television set reads software mark file from software program code, whether the dbase and version number information in discriminant software mark file are correct, if correct, then television set reads and whether there is the type information of the television set in the matching complete machine model list in discriminant software program code, if it exists, television set is read and whether the software verification code in discriminant software program code is consistent with the identifying code that the television set is reserved, if consistent, then open software upgrading process, above-mentioned lookup, to when differentiating that as long as mistake occurs in one link of process, upgrading process is not started then.

Description

The method for preventing TV software staging error
Technical field
The present invention relates to system software release marks and identification judgement field, in particular to how to prevent TV software from upgrading The field of mistake.
Background technique
Currently, being getting faster the continuous variation with consumer demand, the upgrading of electronic product with the development of electronic technology Replacement period shortened.The upgrading of electronic product had both included the replacement of complete product, also included carrying out to existing product TV software upgrading, to realize the promotion of properties of product or the enhancing of function.Wherein, the electronic products such as television set, mobile phone are usual It is all to be issued in a manner of series of products, identical product series includes multiple end product models, the end of homologous series different model Difference in terms of holding the particular state difference between product to include the details parameter such as screen classification and size, system performance and function It is different.The terminal complete product of different model may use same edition system software, it is also possible to using title, content it is close but Not exactly the same software version.When production or after-market product need upgrade-system software, accurate software is needed The method of state diacritics mechanism and identification judgement, end product is before upgrade-system software, first to application state mark It is identified and judgeed, determines and carry out updating operation again after application state to be upgraded is correct.Difference application state is usually at present Identification software title and version number, dbase and version number comparison passes through, terminal machine system i.e. think upgrade file be with The machine is matched, and artificial the case where modifying dbase and version number can not differentiate, terminal complete machine is be easy to cause accidentally to upgrade name Title and version numbers match, but the unmatched system software of software program cause system after upgrading failure or upgrading to be operating abnormally.
Summary of the invention
The object of the present invention is to provide a kind of methods for preventing TV software staging error, guarantee system software shape to be upgraded The correctness of state avoids accidentally upgrade-system software.
The present invention solves its technical problem, the technical solution adopted is that: the method for preventing TV software staging error, including Following steps:
Step 1, setting software information to be upgraded, the software information to be upgraded include the dbase that can be directly read and Version number information, and the software mark file and software verification code that can be read from software program code, the software mark Include dbase and version number information in file, also includes the type information of matched television set;
Step 2, television scanning USB flash disk or network search whether that there are softwares to be upgraded, and if it exists, 3 are then entered step, Otherwise 7 are entered step;
Step 3, television set directly read the title and version number information of software to be upgraded, the comparison prestored with local system Information comparison, if comparing successfully, enters step 4, otherwise enters step 7;
Step 4, television set read software mark file from software program code, and discriminant software marks the software in file Whether title and version number information are correct, if correctly, entering step 5, otherwise entering step 7;
Step 5, television set read and whether there is the electricity in the matching complete machine model list in discriminant software program code Depending on the type information of machine, and if it exists, then enter step 6, otherwise enter step 7;
Step 6, television set read what whether the software verification code in simultaneously discriminant software program code was reserved with the television set Identifying code is consistent, if unanimously, opening software upgrading process, otherwise entering step 7;
Step 7 determines that software to be upgraded and the television set mismatch, and does not start upgrading process.
Particularly, in step 1, the dbase and version number information are true according to TV set software itself naming rule It is fixed.
Further, the dbase and version number information are the group of multidigit English alphabet and/or Arabic numerals It closes.
More specifically, in step 1, the software version number information is according to the update iteration order of TV set software version It determines.
It is further that in step 1, the type information of the matched television set is according to the adaptation type of software itself Type determines.
The invention has the advantages that by the above-mentioned method for preventing TV software staging error, firstly, setting is to be upgraded Software information, wherein software information to be upgraded includes the dbase that can be directly read and version number information, and can be from software The software mark file and software verification code read in program code, wherein it includes dbase and version in file that software, which marks, This number information also includes the type information of matched television set;Then, before television set upgrade-system software, television set is swept USB flash disk or network are retouched, searches whether that there are softwares to be upgraded, and if it exists, then directly reads title and the version number of software to be upgraded Information is compared with the comparative information that local system prestores, if comparing successfully, television set reads software from software program code File is marked, whether the dbase and version number information in discriminant software mark file are correct, if correctly, television set is read And it whether there is the type information of the television set in the matching complete machine model list in discriminant software program code, and if it exists, electricity It is whether consistent with the identifying code that the television set is reserved depending on the machine-readable software verification code taken in simultaneously discriminant software program code, if one Cause, then open software upgrading process, if above-mentioned lookup, to when differentiate one link of process there is mistake, do not start liter Grade process.
Therefore, the present invention can guarantee the correctness of application state to be upgraded, and the software by mistake is avoided to be mistaken for correctly Software after carry out updating operation, so as to cause upgrading failure or upgrading after system be operating abnormally the problem of.
Specific embodiment
The method of the present invention for preventing TV software staging error, comprising the following steps:
Firstly, software information to be upgraded is arranged, wherein software information to be upgraded include the dbase that can directly read and Version number information, and the software mark file and software verification code that can be read from software program code, wherein software mark Include dbase and version number information in file, also includes the type information of matched television set;Then, upgrade in television set Before system software, television scanning USB flash disk or network search whether that there are softwares to be upgraded, and if it exists, then directly read wait rise The title and version number information of grade software, the comparative information prestored with local system compares, if comparing successfully, television set is from soft Software is read in part program code and marks file, and just whether the dbase and version number information in discriminant software mark file Really, if correctly, television set reads and whether there is the TV in the matching complete machine model list in discriminant software program code The type information of machine, and if it exists, television set read and discriminant software program code in software verification code whether with the television set Reserved identifying code is consistent, if unanimously, opening software upgrading process, if above-mentioned lookup, to when differentiate one ring of process There is mistake in section, then does not start upgrading process.Particularly, in step 1, the dbase and version number information are according to TV Itself naming rule of machine software determines.
In the step 1 of the above method, it is contemplated that recognize convenient and normal use habit, dbase and version number Information is preferably the combination of multidigit English alphabet and/or Arabic numerals;Software version number information is according to TV set software version Update iteration order determine;The type information of matched television set is determined according to the adaptation type type of software itself.
In the following, in conjunction with the embodiments, the present invention is described in detail technical solution.
Embodiment 1
In the present embodiment, it is assumed that the type information of some television set is 55Q6K, its own software version number information is ZLH86-HS-1.0006V1.0, the upgrading dbase of system default are upgrade-ZLH86-HS-1.0006V1.01 and version The version that this number information is V1.01 or more, the software verification code of system default are ch08160011.
It is the soft of upgrade-ZLH86-HS-1.0006 when the television set reads dbase from the USB flash disk of access When part file, determines that the software may be the system upgrade software of the machine, then read the version number information of software again, work as reading To version number information be V1.01 or when lower than the version of V1.01, then it is assumed that be unmatched software version, do not start soft Part upgrades process.When the version number information read is V1.02, then the rule for meeting upgrade file name is determined, by software journey Software mark file and software verification code in sequence code are loaded into local system, read the identification information in software mark file, When the dbase and version number information upgrade-ZLH86-HS- read in the code from software mark file When 1.0006V1.02, then the matching type list in cognizance code is read, this model of 55Q6K has been read from list, really Recognize and exactly matched with the machine model, further reads software verification code, the software verification code read is ch08160011, it is believed that The software of the upgrading software and the machine exact matching, opens upgrade procedure.When the software verification code read is ch08161100 When, the software verification code reserved with system is not exactly the same, then determines that the upgrading software and the machine mismatch, do not start upgrading stream Journey.
Embodiment 2
When the television set in embodiment 1 is from network file, reading title is upgrade-ZLH86-HS-1.0006 When software document, starts further to read the comparative information and software verification code in software mark file, read process and sentence Determine that embodiment of the method 1 is identical, and and will not be described here in detail.

Claims (5)

1. the method for preventing TV software staging error, which comprises the following steps:
Step 1, setting software information to be upgraded, the software information to be upgraded includes the dbase that can be directly read and version Number information, and the software mark file and software verification code that can read from software program code, the software mark file In include dbase and version number information, also include matched television set type information;
Step 2, television scanning USB flash disk or network search whether that there are softwares to be upgraded, and if it exists, then enter step 3, otherwise Enter step 7;
Step 3, television set directly read the title and version number information of software to be upgraded, the comparative information prestored with local system Comparison, if comparing successfully, enters step 4, otherwise enters step 7;
Step 4, television set read software mark file from software program code, and discriminant software marks the dbase in file It is whether correct with version number information, if correctly, entering step 5, otherwise entering step 7;
Step 5, television set read and whether there is the television set in the matching complete machine model list in discriminant software program code Type information, and if it exists, then enter step 6, otherwise enter step 7;
Step 6, the verifying that television set is read and whether the software verification code in discriminant software program code is reserved with the television set Code is consistent, if unanimously, opening software upgrading process, otherwise entering step 7;
Step 7 determines that software to be upgraded and the television set mismatch, and does not start upgrading process.
2. the method according to claim 1 for preventing TV software staging error, which is characterized in that described soft in step 1 Part title and version number information are determined according to TV set software itself naming rule.
3. the method according to claim 2 for preventing TV software staging error, which is characterized in that the dbase and Version number information is the combination of multidigit English alphabet and/or Arabic numerals.
4. the method according to claim 1 for preventing TV software staging error, which is characterized in that described soft in step 1 Part version number information is determined according to the update iteration order of TV set software version.
5. the method according to claim 1 for preventing TV software staging error, which is characterized in that in step 1, described The type information for the television set matched is determined according to the adaptation type type of software itself.
CN201910036508.XA 2019-01-15 2019-01-15 Method for preventing upgrade error of television software Active CN109831702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910036508.XA CN109831702B (en) 2019-01-15 2019-01-15 Method for preventing upgrade error of television software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910036508.XA CN109831702B (en) 2019-01-15 2019-01-15 Method for preventing upgrade error of television software

Publications (2)

Publication Number Publication Date
CN109831702A true CN109831702A (en) 2019-05-31
CN109831702B CN109831702B (en) 2021-04-23

Family

ID=66860113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910036508.XA Active CN109831702B (en) 2019-01-15 2019-01-15 Method for preventing upgrade error of television software

Country Status (1)

Country Link
CN (1) CN109831702B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933502A (en) * 2019-11-04 2020-03-27 康佳集团股份有限公司 Television upgrading method, television, computer equipment and storage medium
CN113778493A (en) * 2021-09-28 2021-12-10 冠捷显示科技(厦门)有限公司 Software intelligent configuration system upgrading method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706723A (en) * 2009-09-25 2010-05-12 厦门敏讯信息技术股份有限公司 Realization method for avoiding error edition upgrading and upgrading system platform of embedded mobile terminal
CN103412767A (en) * 2013-06-09 2013-11-27 百度国际科技(深圳)有限公司 Method and system for recognizing and upgrading application version
CN105045633A (en) * 2015-08-10 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for scanning upgrade package
CN106469078A (en) * 2016-08-31 2017-03-01 青岛海信电器股份有限公司 A kind of upgrade method of intelligent appliance and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706723A (en) * 2009-09-25 2010-05-12 厦门敏讯信息技术股份有限公司 Realization method for avoiding error edition upgrading and upgrading system platform of embedded mobile terminal
CN103412767A (en) * 2013-06-09 2013-11-27 百度国际科技(深圳)有限公司 Method and system for recognizing and upgrading application version
CN105045633A (en) * 2015-08-10 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for scanning upgrade package
CN106469078A (en) * 2016-08-31 2017-03-01 青岛海信电器股份有限公司 A kind of upgrade method of intelligent appliance and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933502A (en) * 2019-11-04 2020-03-27 康佳集团股份有限公司 Television upgrading method, television, computer equipment and storage medium
CN113778493A (en) * 2021-09-28 2021-12-10 冠捷显示科技(厦门)有限公司 Software intelligent configuration system upgrading method

Also Published As

Publication number Publication date
CN109831702B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
US8032880B2 (en) Multi-branch management for updating software
US7599970B2 (en) Method and apparatus for updating a stored version of content stored in a storage device
CN107864052A (en) Method and its system based on lasting application deployment configuration automatic updating
CN108279922A (en) Differential file generation method, upgrade method and system based on the differential file
CN107783776B (en) Processing method and device of firmware upgrade package and electronic equipment
CN109831702A (en) The method for preventing TV software staging error
CN101494930B (en) Intelligent terminal and upgrading method thereof
CN106331862A (en) Set-top box software upgrading method and set-top box
CN107346284B (en) Application program detection method and detection device
CN101656949A (en) Method and terminals for aerial upgrade of firmware
CN102520948A (en) Application program maintenance and update method and device
CN108848418A (en) Set-top box concentrates upgrade method
CN110007941B (en) MCU firmware and upgrading method of intelligent garbage classification recycling system
CN103257869B (en) A kind of ECU program smart download method
CN109360029A (en) A kind of Self-management approach of remote terminal advertisement machine
CN100454266C (en) Method for checking correct of assembling position of computer assembly
CN106529281B (en) A kind of executable file processing method and processing device
CN106789236B (en) A method of the FOTA remote online upgrading of fusion WiFiP2P
CN107133200A (en) A kind of android system text string extracting and merging method
CN111726247A (en) Electronic lock firmware updating method and device, electronic lock and storage medium
CN106874049A (en) Online method for updating program based on STM32 IAP
CN108833128A (en) A kind of method that equipment updates
CN114625399A (en) System upgrading method and related device, equipment and storage medium
CN105282614B (en) A kind of upgrade method of module TV, module TV and upgrade-system
CN106878813A (en) A kind of application program updating method and system in Set Top Box, Set Top Box

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