Program design method for realizing television screen parameter separation
Technical Field
The invention relates to the technical field of televisions, in particular to a method for designing a program capable of realizing separation of television screen parameters.
Background
At present, the types and models of televisions are very many, screen manufacturers with corresponding configurations are also very many, and each manufacturer can also produce screens with various models, so that how to simply and effectively manage and match various types of configured screens is the content to be set forth by the invention.
At present, various manufacturers of large televisions mainly classify the software for screen matching into the following types:
the first method comprises the following steps: each software upgrading firmware corresponds to a unique screen, and if the screen is changed, the software needs to be recompiled and modified to generate software matched with the new screen. And the second method comprises the following steps: and fixing a product model, only having a unique screen corresponding to the product model, and if the screen is changed, re-opening a product model to match with new software. And the third is that: several screens are preset in a factory menu, and according to different product models, the screens are switched to corresponding screen parameter settings from production stations when the factory leaves a factory.
The first and second types have the advantages of one-to-one correspondence and are not easy to make mistakes; after the number of the models of the television is increased, the workload of screen configuration, the workload of software modification and maintenance and the workload of testing related to screen parameters are increased greatly. And thirdly, the problem of uniform screen matching of partial models is seemed to be solved to a certain extent, but because one screen cannot be initialized and fixed, the final screen parameter setting is completed by a production station, the error probability is very high, and very large hidden dangers exist. In addition, if the factory performs white balance correction or Reset, the adjusted data can be erased, and if the previously adjusted parameters can be refreshed or overwritten after the software is upgraded for after-sales service or maintenance, the problems of incorrect screen parameter or mismatched PQ effect can be caused.
In addition, the conventional screen matching methods only simply realize the matching work of the hardware screen, but the more precise adjustment of the image quality, the effect and the like related to the screen cannot be separated. The invention fundamentally solves the screen parameter separation of screen matching, image quality and other effects from the design source. The method saves and optimizes considerable human resource cost and time cost for the research, development, design, production, quality and the like of the television, and has very high practical interest value.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a programming method for implementing separation of television screen parameters, aiming at the defects of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a program design method for realizing the separation of the television screen parameters is constructed, which comprises the following steps:
s1, according to the product model name, automatically matching the corresponding configuration screen setting by the system program, and opening up an Emmc non-erasable area;
s2 implementing DeviceInfoNo algorithm;
s3, configuration separation of an INI database table;
s4PQ data configuration separation;
s5 factory menu confirms that the model match is correct.
In step S1, a fixed address area is first reserved and divided on the Emmc memory; secondly, screen parameter related parameters such as the machine core name, PanelNo, white balance data, OPC data and the like are defined; the related data parameters in DeviceInfo area are read and written by the read-write function of the parameters, and the upper program of the television finishes the adjustment and storage of the parameters by calling the interface of the read-write function.
In the step S2, screen parameter related parameters such as a core name, white balance data, OPC data, and the like are set in a matching manner, and an S1 interface function is called.
In the step S3, the xxx.ini database file with the model of the model being produced as the name is first obtained, then the model name is obtained through the interface function provided in S1, the corresponding database file is judged and matched according to the obtained model name, and corresponding parameters and attributes are set.
In step S4, the PQ database folder named by the model of the model to be produced is first obtained, the model name is then obtained through the interface function provided in step S1, the corresponding PQ database is determined and matched according to the obtained model name, and corresponding parameters and attributes are set.
In step S5, the same obtaining method as S4 obtains the model number of the current machine in the factory menu, and displays the model number in the factory menu for verification by design, quality, and personnel associated with the production department. In the programming method for implementing the separation of the television screen parameters, the push display module in S5 receives the playing instruction of which branch to play, and plays the corresponding advertisement on the television screen.
The implementation of the program design method for realizing the separation of the screen parameters of the television has the following beneficial effects:
the invention opens up the non-erasable area of Emmc memory in the programming of the television; deviceinfo algorithm design; configuring an INI database table with a corresponding model and designing an algorithm for automatically separating the INI database table by a program; configure screen PQ data classification folders and automatically separate PQ data algorithms. Finally, a set of program and upgrading firmware are realized, parameters such as screens of different models and image quality effects related to the screens are automatically identified and matched according to product models, and an efficient and convenient design and use method is provided for design companies of televisions and manufacturers of televisions.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of the programming method for implementing separation of television screen parameters according to the present invention.
Fig. 2 is a flowchart of the method for designing a program for implementing separation of television screen parameters, which opens up an Emmc non-erasable area.
FIG. 3 is a flowchart of a DeviceInfoNo algorithm implementation of the method for programming to implement separation of TV screen parameters according to the present invention.
Fig. 4 is a flow chart of the INI database table configuration separation of the programming method for implementing the television screen parameter separation of the present invention.
Fig. 5 is a PQ data configuration separation flow chart of the programming method for implementing tv screen parameter separation according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 shows a work flow diagram of the programming method for implementing television screen parameter separation according to the present invention. A program design method for realizing the separation of television screen parameters comprises the following steps:
s1, according to the product model name, automatically matching the corresponding configuration screen setting by the system program, and opening up an Emmc non-erasable area;
s2 implementing DeviceInfoNo algorithm;
s3, configuration separation of an INI database table;
s4PQ data configuration separation;
s5 factory menu confirms that the model match is correct.
In step S1, a fixed address area is first reserved and divided on the Emmc memory; secondly, screen parameter related parameters such as the machine core name, PanelNo, white balance data, OPC data and the like are defined; the related data parameters in DeviceInfo area are read and written by the read-write function of the parameters, and the upper program of the television finishes the adjustment and storage of the parameters by calling the interface of the read-write function.
In the step S2, screen parameter related parameters such as a core name, white balance data, OPC data, and the like are set in a matching manner, and an S1 interface function is called.
In the step S3, the xxx.ini database file with the model of the model being produced as the name is first obtained, then the model name is obtained through the interface function provided in S1, the corresponding database file is judged and matched according to the obtained model name, and corresponding parameters and attributes are set.
In step S4, the PQ database folder named by the model of the model to be produced is first obtained, the model name is then obtained through the interface function provided in step S1, the corresponding PQ database is determined and matched according to the obtained model name, and corresponding parameters and attributes are set.
In step S5, the same obtaining method as S4 obtains the model number of the current machine in the factory menu, and displays the model number in the factory menu for verification by design, quality, and personnel associated with the production department. In the programming method for implementing the separation of the television screen parameters, the push display module in S5 receives the playing instruction of which branch to play, and plays the corresponding advertisement on the television screen.
Although the present invention has been described with reference to the above embodiments, the scope of the present invention is not limited thereto, and modifications, substitutions and the like of the above members are intended to fall within the scope of the claims of the present invention without departing from the spirit of the present invention.