CN102291591B - Television software function compilation-free configuration method and device thereof - Google Patents

Television software function compilation-free configuration method and device thereof Download PDF

Info

Publication number
CN102291591B
CN102291591B CN 201110172631 CN201110172631A CN102291591B CN 102291591 B CN102291591 B CN 102291591B CN 201110172631 CN201110172631 CN 201110172631 CN 201110172631 A CN201110172631 A CN 201110172631A CN 102291591 B CN102291591 B CN 102291591B
Authority
CN
China
Prior art keywords
file
bin file
information
configuration
binary data
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
CN 201110172631
Other languages
Chinese (zh)
Other versions
CN102291591A (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.)
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 CN 201110172631 priority Critical patent/CN102291591B/en
Publication of CN102291591A publication Critical patent/CN102291591A/en
Application granted granted Critical
Publication of CN102291591B publication Critical patent/CN102291591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a television software function compilation-free configuration method, which comprises the following steps of 1) loading a configuration file, analyzing configuration information and generating binary data which is used for being written into a binary (BIN) file; 2) loading the source BIN file of television software and reading and checking the validity of the information of the source BIN file; and 3) re-computing the information of a new BIN file according to the binary data, generating the new BIN file and displaying the information of the new BIN file. Compared with the prior art, by adopting the television software function compilation-free configuration method disclosed by the invention, a manufacturer is only required to correspondingly configure the BIN file according to the configuration method and can obtain the television software which satisfies the new requirement of the manufacturer, a soft engineer is not requested to re-compile and test new software, the redundant workload of the both parties is reduced, the error rate of the software is reduced and the working efficiency is improved at the same time.

Description

Television software function compilation-free configuration method and device thereof
Technical field
The present invention relates to the household electrical appliance software technology field, relate more specifically to a kind of television software function compilation-free configuration method and device thereof.
Background technology
Due to the particularity of TV technology, manufacturer is very complicated.And TV software can't use a unified copy as PC software, but needs the software engineer to carry out complicated functional configuration and customization.For example, the LCD screen that uses is different, resolution is different, require different, remote controller different etc. to the signal type of supporting, the software engineer need to customize each software targetedly for these situations, could be for the production of model machine or the production shipment of producer.When manufacturer need to change any one functional parameter in TV software when (as joining screen type, language, country etc.), manufacturer just must apply for recompilating and testing new software to the software engineer, and the product of guarantee manufacturer can normally be produced and shipment.But, to the processing mode of new TV software, caused very many redundancy quantitiess to both sides undoubtedly between above-mentioned manufacturer and software engineer, also increase the probability that software is made mistakes simultaneously, and reduced operating efficiency.
Therefore, be necessary to provide a kind of improved television software function compilation-free configuration method and device thereof to overcome defects.
Summary of the invention
The purpose of this invention is to provide a kind of television software function compilation-free configuration method and device thereof, when manufacturer need to change functional parameter in TV software, manufacturer needn't constantly apply for recompilating and test new software to the software engineer, reduce both sides' redundancy quantities, reduce the software probability of makeing mistakes, can also increase work efficiency.
To achieve these goals, the invention provides a kind of television software function compilation-free configuration method, comprise the following steps:
(1) loading configuration file is resolved configuration information, and generates for writing the binary data of BIN file and showing described binary data according to the described configuration information of resolving;
(2) load the original BIN file of TV software, the data of described original BIN file are read in buffer storage, read and check the validity of information of described original BIN file and the information that shows described original BIN file;
(3) write described binary data in described buffer storage, recomputate the information of new BIN file according to described binary data, and the information that generates new BIN file and show described new BIN file.
Compared with prior art, adopt television software function compilation-free configuration method of the present invention to configure and be fit to the BIN file that TV software is used, manufacturer only needs collocation method according to the present invention that the BIN file is correspondingly configured, just can obtain meeting the TV software of manufacturer's new demand, needn't apply for recompilating and test new software to the software engineer, reduce both sides' redundancy quantities, reduced the software probability of makeing mistakes, also improved simultaneously operating efficiency.
In a preferred embodiment of the present invention, described television software function compilation-free configuration method also comprises: according to the information of described configuration information, original BIN file, the Information generation Log file of new BIN file.The generation of described Log file, it is retrospective making the associated documents information that produces in whole collocation method process, greatly strengthened the operability of described collocation method.
Particularly, also comprise after resolving configuration information in described step (1): whether judgement is resolved configuration information and is made mistakes, if make mistakes, carry out miscue: if do not make mistakes, generate for writing the binary data of BIN file and showing described binary data according to the described configuration information of resolving.
Particularly, read and check that the validity of described original BIN file specifically comprises in described step (2): if check that described original BIN file is effective, show the information of described original BIN file; File is invalid if check described BIN, carries out miscue.
Particularly, the information of described original BIN file and new BIN file include verification and, cyclic redundancy check (CRC) and compilation time.
Correspondingly, the present invention also provides a kind of television software function compilation-free inking device, comprising:
The configuration file load-on module is used for loading configuration file, resolves configuration information, and generates the binary data that is used for writing the BIN file;
BIN file read module be used for to load the original BIN file of TV software, and the data of described original BIN file are read in buffer storage, reads and check the validity of information of described original BIN file and the information that shows described original BIN file;
The BIN file generating module, be used for writing binary data that described configuration file load-on module generates to described buffer storage, recomputate the information of new BIN file according to described binary data, and the information that generates new BIN file and show described new BIN file.
Preferably, described television software function compilation-free inking device also comprises:
The Log file generating module, the configuration information that loads according to described configuration file load-on module, the information of the original BIN file that described BIN file read module reads and the Information generation Log file of the new BIN file that described BIN file generating module generates.
Particularly, described configuration file load-on module specifically comprises:
The configuration file loading unit is used for loading configuration file;
Resolution unit is used for resolving the configuration information of the configuration file that described configuration file loading unit loads;
Judging unit is used for judging whether the configuration information that described resolution unit is resolved makes mistakes, if make mistakes, carry out miscue: if do not make mistakes, the described configuration information that will resolve sends;
The binary data generation unit is used for receiving the described configuration information that described judging unit sends, and writes the binary data of BIN file and show described binary data according to described configuration information generation.
Particularly, described BIN file read module specifically comprises:
Original BIN file load unit is used for loading the original BIN file of TV software, and the data of described original BIN file is read in buffer storage;
Read inspection unit, for the validity of the information that reads and check described original BIN file and the information that shows described original BIN file.
Particularly, described BIN file generating module specifically comprises:
Writing unit is used for writing binary data that described configuration file load-on module generates to described buffer storage;
Computing unit is used for recomputating according to the binary data that the said write unit writes the information of new BIN file;
New BIN file generating unit is for the new BIN file of Information generation of the BIN file that recomputates according to described computing unit and the information that shows described new BIN file.
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining embodiments of the invention.
Description of drawings
Fig. 1 is the flow chart of television software function compilation-free configuration method one embodiment of the present invention.
Fig. 2 is after television software function compilation-free configuration method shown in Figure 1 is applied to the TV software end, described TV software end start operational flowchart.
Fig. 3 is the theory diagram of television software function compilation-free inking device one embodiment of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, in accompanying drawing, similar element numbers represents similar element.As mentioned above, the invention provides a kind of television software function compilation-free configuration method, adopt described television software function compilation-free configuration method to configure and be fit to the BIN file that TV software is used, manufacturer only needs collocation method according to the present invention that the BIN file is correspondingly configured, just can obtain meeting the TV software of manufacturer's new demand, needn't apply for recompilating and test new software to the software engineer, reduced both sides' redundancy quantities, reduce the software probability of makeing mistakes, also improved simultaneously operating efficiency.
Please refer to Fig. 1, television software function compilation-free configuration method one embodiment of the present invention comprises the following steps:
S101, loading configuration file is resolved configuration information;
S102, whether judgement is resolved configuration information and is made mistakes, if make mistakes, carries out S103, otherwise, carry out S104;
S103, miscue;
S104 generates for writing the binary data of BIN file and showing described binary data according to the described configuration information of resolving;
S105, the original BIN file of loading TV software reads in the data of described original BIN file in buffer storage;
S106 reads, checks and judge the validity of the information of described original BIN file, if described original BIN file is effective, carries out S108, otherwise, carry out S107;
S107, miscue;
S108 shows the information of described original BIN file;
S109 writes described binary data in described buffer storage;
S110 recomputates the information of new BIN file according to described binary data;
S111, the information that generates new BIN file and show described new BIN file;
S112 is according to the information of described configuration information, original BIN file, the Information generation Log file of new BIN file.The generation of described Log file, it is retrospective making the associated documents information that produces in whole collocation method process, greatly strengthened the operability of described collocation method.
Particularly, the information of described original BIN file and new BIN file include verification and, cyclic redundancy check (CRC) and compilation time.
It should be noted that in the present embodiment, described configuration file uses the plain text form, and by the row definition, comment line starts with " # ", and configuration line is defined as " value:Function_Name ", for example:
0:DVD_SOURCE_ENABLE (not being with the DVD passage)
3:PANEL_TYPE (the screen ginseng type that start is used)
When reading described configuration file, read by row, if the capable first character that reads is " # " number, directly skip; Otherwise this row is configuration line, reads the Configuration Values of this row, and described Configuration Values is deposited in the corresponding attribute of configuration structure data, to be used for the generation of described binary data.The formal definition that it should be noted that described configuration file is not limited only to this.
Particularly, described binary data step-by-step or byte write in described BIN file.When generating described binary data, need to corresponding function value be write the position of appointment according to the form of prior setting, for example configure like this first byte:
Whether be with DVD // 1bit
Whether be with PVR // 1bit
Such configuration makes described binary data can not take the too many byte of described BIN file.
After the generation of completing described BIN file, with described new BIN burning file in the Flash chip, and described Flash chip is installed on TV motherboard, by completing the program and the coordinating of described new BIN file that load on TV motherboard the function of video parameter configuration.
Particularly, please refer to Fig. 2, will carry out following steps after television startup:
S201, initialization Flash chip read module, and the initial configuration structure is default value;
S202 loads described new BIN file to the assigned address of chip;
S203, the main control chip of TV motherboard reads from the assigned address of Flash chip byte and verification and the byte that the BIN file, configurable functionality is used;
S204, calculate to be used for the byte that configurable functionality uses verification and and with verification and the comparison of described FLASH chip-stored;
S205, S207 is carried out in the judgement verification of calculating and with the verification of storage with whether equate, otherwise, carry out S206;
S206, start Uses Defaults;
S207 changes byte data to the configuration data structure, and gives each switch assignment;
S208 arranges start screen ginseng type.
So far, completed the configuration of start screen ginseng type.It should be noted that in step S208, if other functional parameters (as the PVR function) of TV are set, complete the configuration of PVR function, manufacturer can be according to the needs of oneself setting of free selection function parameter.
Correspondingly, as shown in Figure 3, the present invention also provides a kind of television software function compilation-free inking device, comprising: configuration file load-on module 301, BIN file read module 302, BIN file generating module 303 and Log file generating module 304.
Wherein, described configuration file load-on module 301 is used for loading configuration file, resolves configuration information, and generates the binary data that is used for writing the BIN file;
Described BIN file read module 302 is used for loading the original BIN file of TV software, the data of described original BIN file are read in buffer storage, read and check the validity of information of described original BIN file and the information that shows described original BIN file;
Described BIN file generating module 303 is used for writing binary data that described configuration file load-on module 301 generates to described buffer storage, recomputate the information of new BIN file according to described binary data, and the information that generates new BIN file and show described new BIN file;
The Information generation Log file of the new BIN file that the information of the configuration information that described Log file generating module 304 loads according to described configuration file load-on module 301, the original BIN file that described BIN file read module 302 reads and described BIN file generating module 303 generate.
Particularly, described configuration file load-on module 301 specifically comprises:
Configuration file loading unit 3011 is used for loading configuration file;
Resolution unit 3012 is used for resolving the configuration information of the configuration file that described configuration file loading unit 3011 loads;
Judging unit 3013 is used for judging whether the configuration information that described resolution unit 3012 is resolved makes mistakes, if make mistakes, carry out miscue: if do not make mistakes, the described configuration information that will resolve sends;
Binary data generation unit 3014 is used for receiving the described configuration information that described judging unit 3013 sends, and writes the binary data of BIN file according to described configuration information generation, and shows described binary data.
Particularly, described BIN file read module 302 specifically comprises:
Original BIN file load unit 3021 is used for loading the original BIN file of TV software, and the data of described original BIN file is read in buffer storage;
Read inspection unit 3022, for the validity of the information that reads and check described original BIN file and the information that shows described original BIN file.
Particularly, described BIN file generating module 303 specifically comprises:
Writing unit 3031 is used for writing binary data that the binary data generation unit 3014 of described configuration file load-on module 301 generates to described buffer storage;
Computing unit 3032 is used for recomputating according to the binary data that said write unit 3031 writes the information of new BIN file;
New BIN file generating unit 3033 is for the new BIN file of Information generation of the BIN file that recomputates according to described computing unit 3032 and the information that shows described new BIN file.
Particularly, the information of described original BIN file and new BIN file include verification and (checksum), cyclic redundancy check (CRC) (CRC32) and compilation time.
Above invention has been described in conjunction with most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.

Claims (10)

1. a television software function compilation-free configuration method, is characterized in that, comprises the following steps:
(1) loading configuration file is resolved configuration information, and generates for writing the binary data of BIN file and showing described binary data according to the described configuration information of resolving;
(2) load the original BIN file of TV software, the data of described original BIN file are read in buffer storage, read and check the validity of information of described original BIN file and the information that shows described original BIN file;
(3) write described binary data in described buffer storage, recomputate the information of new BIN file according to described binary data, and the information that generates new BIN file and show described new BIN file.
2. television software function compilation-free configuration method as claimed in claim 1, is characterized in that, also comprises:
According to the information of described configuration information, original BIN file, the Information generation Log file of new BIN file.
3. television software function compilation-free configuration method as claimed in claim 1, is characterized in that, resolves configuration information in described step (1) and also comprise afterwards:
Whether judgement is resolved configuration information and is made mistakes, if make mistakes, carries out miscue: if do not make mistakes, generate for writing the binary data of BIN file and showing described binary data according to the described configuration information of resolving.
4. television software function compilation-free configuration method as claimed in claim 1, is characterized in that, reads and check that the validity of described original BIN file specifically comprises in described step (2):
If check that described original BIN file is effective, show the information of described original BIN file; File is invalid if check described BIN, carries out miscue.
5. as the described television software function compilation-free configuration method of claim 1-4 any one, it is characterized in that, the information of described original BIN file and new BIN file include verification and, cyclic redundancy check (CRC) and compilation time.
6. a television software function compilation-free inking device, is characterized in that, comprising:
The configuration file load-on module is used for loading configuration file, resolves configuration information, and generates the binary data that is used for writing the BIN file;
BIN file read module be used for to load the original BIN file of TV software, and the data of described original BIN file are read in buffer storage, reads and check the validity of information of described original BIN file and the information that shows described original BIN file;
The BIN file generating module, be used for writing binary data that described configuration file load-on module generates to described buffer storage, recomputate the information of new BIN file according to described binary data, and the information that generates new BIN file and show described new BIN file.
7. television software function compilation-free inking device as claimed in claim 6, is characterized in that, also comprises:
The Log file generating module, the configuration information that loads according to described configuration file load-on module, the information of the original BIN file that described BIN file read module reads and the Information generation Log file of the new BIN file that described BIN file generating module generates.
8. television software function compilation-free inking device as claimed in claim 6, is characterized in that, described configuration file load-on module specifically comprises:
The configuration file loading unit is used for loading configuration file;
Resolution unit is used for resolving the configuration information of the configuration file that described configuration file loading unit loads;
Judging unit is used for judging whether the configuration information that described resolution unit is resolved makes mistakes, if make mistakes, carry out miscue: if do not make mistakes, the described configuration information that will resolve sends;
The binary data generation unit is used for receiving the described configuration information that described judging unit sends, and writes the binary data of BIN file and show described binary data according to described configuration information generation.
9. television software function compilation-free inking device as claimed in claim 6, is characterized in that, described BIN file read module specifically comprises:
Original BIN file load unit is used for loading the original BIN file of TV software, and the data of described original BIN file is read in buffer storage;
Read inspection unit, for the validity of the information that reads and check described original BIN file and the information that shows described original BIN file.
10. television software function compilation-free inking device as claimed in claim 9, is characterized in that, described BIN file generating module specifically comprises:
Writing unit is used for writing binary data that described configuration file load-on module generates to described buffer storage;
Computing unit is used for recomputating according to the binary data that the said write unit writes the information of new BIN file;
New BIN file generating unit is for the new BIN file of Information generation of the BIN file that recomputates according to described computing unit and the information that shows described new BIN file.
CN 201110172631 2011-06-24 2011-06-24 Television software function compilation-free configuration method and device thereof Active CN102291591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110172631 CN102291591B (en) 2011-06-24 2011-06-24 Television software function compilation-free configuration method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110172631 CN102291591B (en) 2011-06-24 2011-06-24 Television software function compilation-free configuration method and device thereof

Publications (2)

Publication Number Publication Date
CN102291591A CN102291591A (en) 2011-12-21
CN102291591B true CN102291591B (en) 2013-11-06

Family

ID=45337659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110172631 Active CN102291591B (en) 2011-06-24 2011-06-24 Television software function compilation-free configuration method and device thereof

Country Status (1)

Country Link
CN (1) CN102291591B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389894A (en) * 2012-05-10 2013-11-13 深圳市金锐显数码科技有限公司 Function compiling list of television and function implementation method of television
CN103198242A (en) * 2013-04-02 2013-07-10 厦门亿联网络技术股份有限公司 Method for encrypting through chip
CN103777966B (en) * 2014-02-28 2017-05-31 广州视源电子科技股份有限公司 A kind of method and device that code information is extracted from binary file
CN104796775A (en) * 2015-04-15 2015-07-22 广东长虹电子有限公司 Television system and method capable of quickly preconfiguring multi-language programs
CN105100900B (en) * 2015-08-19 2019-05-14 Tcl海外电子(惠州)有限公司 The method and apparatus of compatibility test certification
CN106303713A (en) * 2016-08-31 2017-01-04 广州小百合信息技术有限公司 TV software update method and device
CN106681914B (en) * 2016-12-14 2020-03-20 广州视源电子科技股份有限公司 Television picture quality debugging method and device
CN112463166A (en) * 2021-01-27 2021-03-09 南京芯驰半导体科技有限公司 Secure compilation-free chip resource configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7215360B2 (en) * 2001-04-06 2007-05-08 Triveni Digital, Inc. Error propagation tree technology
CN101211396A (en) * 2006-12-31 2008-07-02 青岛海信电器股份有限公司 Software system anti-piracy protection method
CN101370074A (en) * 2007-08-17 2009-02-18 康佳集团股份有限公司 Method for parameter collocation of liquid crystal television screen
CN101442660A (en) * 2008-12-30 2009-05-27 山东泰信电子有限公司 System for receiving download type digital television condition and dynamic download method thereof
CN101923478A (en) * 2010-08-11 2010-12-22 福建新大陆通信科技股份有限公司 Code check and edition storage method based on digital TV set box software

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101368992B (en) * 2007-08-15 2012-08-29 鸿富锦精密工业(深圳)有限公司 Test system and method of video signal generator
JP5017205B2 (en) * 2008-07-25 2012-09-05 ヤフー株式会社 Program analysis apparatus, program analysis method, and program analysis program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7215360B2 (en) * 2001-04-06 2007-05-08 Triveni Digital, Inc. Error propagation tree technology
CN101211396A (en) * 2006-12-31 2008-07-02 青岛海信电器股份有限公司 Software system anti-piracy protection method
CN101370074A (en) * 2007-08-17 2009-02-18 康佳集团股份有限公司 Method for parameter collocation of liquid crystal television screen
CN101442660A (en) * 2008-12-30 2009-05-27 山东泰信电子有限公司 System for receiving download type digital television condition and dynamic download method thereof
CN101923478A (en) * 2010-08-11 2010-12-22 福建新大陆通信科技股份有限公司 Code check and edition storage method based on digital TV set box software

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2010-034675A 2010.02.12
ynlwdgx.DVB免费机刷机BIN文件自己做(工具、详细图文说明).《音响技术》.2011, *

Also Published As

Publication number Publication date
CN102291591A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN102291591B (en) Television software function compilation-free configuration method and device thereof
KR102341154B1 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN102567193B (en) Method and system for converting test case to automated testing script
CN110297758A (en) User interface automated testing method, device and computer readable storage medium
CN103186460A (en) Method, device and system for generating script of test case
CN107832059B (en) Code static analysis method and device based on Makefile
CN104714819A (en) File system upgrading package making method, upgrading method and device and terminal
CN108196825A (en) The construction method and system of software project
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
CN106909362A (en) The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN113384896A (en) Unity-based resource packaging method, device, equipment and medium
CN115658529A (en) Automatic testing method for user page and related equipment
CN109902003B (en) Test script generation method and device
CN100361075C (en) Method and device for quickly developing embedded system using automatic compilation frame
CN107391178A (en) A kind of terminal installation kit deployment and implementation method and device
JP4762204B2 (en) Program development support device
CN104077225A (en) Script debugging method and script debugging device both based on JavaScript
US20130174119A1 (en) Computing device and method for automatically generating measuring programs
US20130111431A1 (en) Validation of a system model including an activity diagram
US9298428B2 (en) Graphical user interface editor that displays live data during editing
CN115712793A (en) Panoramic front-end document site generation method and system
CN104699410A (en) Information processing method and electronic device
KR101993858B1 (en) Program development system and development method using it
KR101476536B1 (en) The method and system for inspecting program
CN109491896B (en) WeChat applet form verification method of education system and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: Xue Cheng Ke Zhu Road Guangzhou City, Guangdong province 510663 science No. 192

Applicant after: Guangzhou CVT Electronics Technology Co., Ltd.

Address before: Xue Cheng Ke Zhu Road Guangzhou City, Guangdong province 510663 science No. 192

Applicant before: Guangzhou Shiyuan Electronics Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant