Background technology
The species and model of current television set are very more, and the screen producer of corresponding configuration is also very more, and each producer
Can go out the screen of various models, how simple and effective management and match it is miscellaneous with screen, be the present invention to be illustrated it is interior
Hold.
Present major television set production firms, are broadly divided into following several on the software with screen:
The first:The unique screen of each software upgrading firmware correspondence, if changing screen, it is necessary to recompilate and change and be soft
Part, is generated with newly shielding the software matched.Second:A kind of fixed product type, correspondence can only have unique screen to correspond to this
Product type, if changing screen, it is necessary to open a product type and new software again to match.The third:In factory menu
Several screens are preset, according to different product types, is joined when dispatching from the factory by production Switch of working position to corresponding screen and set.
More than the first and second, advantage is corresponded, not error-prone;After shortcoming television set model is more, it can lead
The workload with screen is caused, software modification is to the workload safeguarded and the test job amount related to screen ginseng increases.The third, sees
Match somebody with somebody screen like the unification for solving part model to a certain extent, but due to a kind of fixed screen can not be initialized, but by producing
Station joins setting to complete final screen, and error probability is very big, by very big hidden danger.If other factory carries out white balance school
Just or after Reset, the data of adjustment can be wiped free of, and be also had after upgrading if as software after-sale service or maintenance,
The parameter adjusted before can be refreshed or override, may not cause screen ginseng not pair or, the problems such as PQ effects are mismatched.
Several conventional screen configuration methods more than in addition, simply the simple realization adaptation work of hardware screen, but and screen
Related image quality, the more fine adjustment such as effect can not be separated.The present invention is exactly, from design root, fundamentally to solve and match somebody with somebody
The screen ginseng separation of screen and image quality and other effects.For the R & D design of television set, produce, quality etc. is saved and optimized considerable
Cost of human resources, time cost, with very high practical interests value.
The content of the invention
The technical problem to be solved in the present invention is, the defect for prior art provides one kind and realizes television screen ginseng point
From Programming Methodology.
The technical solution adopted for the present invention to solve the technical problems is:A kind of journey for realizing television screen ginseng separation of construction
Sequence design method, comprises the following steps:
S1 is according to product type title, and system program Auto-matching is set with screen accordingly, opens up the non-erasable areas of Emmc
Domain;
S2 realizes DeviceInfoNo algorithms;
The configuration separation of S3INI database tables;
S4PQ data configurations are separated;
S5 factory menus confirm that model matching is correct.
In the step S1, one piece of fixed address area is reserved and marked off first on Emmc memories;Secondly, it is fixed
Adopted movement title, PanelNo, white balance data, the screen ginseng relevant parameter such as OPC data;Be related to parameter reading and writing function reading and
Related data parameter in DeviceInfoNo regions is write, television set upper procedure is by calling the interface of read/write function to complete
Adjustment and preservation to parameter.
In the step S2, matching sets movement title, and white balance data, OPC data etc. shields ginseng relevant parameter, calls S1
Interface function.
In the step S3, first with the XXX.INI database files of the type model name of production, then pass through institute
The interface function provided in S1 is provided and obtains type designation, is judged according to the type designation got and matches corresponding database
File, and corresponding parameter and attribute are set.
In the step S4, first with the PQ Database Folders of the type model name of production, then by described
The interface function provided in S1 obtains type designation, is judged according to the type designation got and matches corresponding PQ data
Storehouse, and corresponding parameter and attribute are set.
In the step S5, the acquisition methods same with S4 obtain the type model of current machine in factory menu, and show
Show in factory menu, to design, quality, and production division related personnel, veritified.Of the present invention one
Plant in the Programming Methodology for realizing television screen ginseng separation, the push display module in the S5, that is, receiving broadcasting, which divides
The play instruction of branch, the process that corresponding advertisement is played in video screen.
Implement a kind of Programming Methodology for realizing television screen ginseng separation of the present invention, have the advantages that:
The present invention is that the non-erasable region of Emmc memories is opened up in the programming of television set;DeviceInfoNo is calculated
Method is designed;The INI database tables and design program of configuration correspondence model are automatically separated INI database table algorithms;Configuration screen PQ
Data classification folder and it is automatically separated PQ data algorithms.A set of program and firmware updating are finally realized, according to product type
Number carry out the parameters such as the automatic identification image quality effect related to screen to the screen of matching different model, be television set Chevron Research Company (CRC) and
The manufacturer of TV provides and efficiently easily designs application method.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 shows the workflow diagram of the Programming Methodology for realizing television screen ginseng separation of the present invention, when pressing
During S1 power switches, television system starts to start, and reads the time of S2 battery clock modules, is obtained according to S2 period is read
The data in advertisement memory module S3 are taken, S4 algorithms design module is applied during acquisition, according to different date-times,
S5 is pushed to the ad content that shows and pushes display module, completes the process that whole startup advertisement is pushed.
Battery clock module in the S2, when normal power supply state, energy management is supplied electricity to by TV electric power system
IC is come out to charge the battery by reduction voltage circuit;Battery supplies electricity to energy management initially as energy when power is off
IC, and give system level chip SOC by energy management IC offer voltages.
Advertisement memory module in the S3, comprises the following steps:
S31 makes primary advertising first;After S32 compiles primary advertising, it is generated in system directory;
S33 is burnt to one-board memory part;S34 obtains backstage promotional literature;Backstage promotional literature described in S35 passes through service
Device is monitored advertisement state;S36 is mounted to veneer by network mount;S37 carries out judging whether to update, if condition
It is true, then enters S38 and play advertisement after renewal;If condition is false, enters S39 and play the advertisement before updating.
Algorithm design module in the S4, comprises the following steps:
First, initialize clock status, include set current zone time zone, date-time format, the address of clock, etc.
Relevant configuration;Secondly, material time point is set, and this step can be set with self-defined, can also synchronous internet related keyword when
Between point, such as the annual festivals or holidays that synchronous Chinese Government's net is sent have a holiday or vacation the information such as notice, and reading present clock after upper electricity preserves
With the date-time of maintenance, and whether multilevel iudge is material time point, if material time point, plays corresponding advertisement
To display screen, if non-key time point, original boot animation, such as TV producer boot animation or broadcasting can play
The advertisement at non-key time point.
Push display module in the S5, that is, receive the play instruction for playing which branch, by corresponding advertisement in electricity
The process that screen curtain is played.
A kind of Programming Methodology for realizing television screen ginseng separation, it is characterised in that including:For starting to start TV
The power switch of system;Battery clock module for read access time;The advertisement that data are obtained according to the period of reading is deposited
Store up module;Algorithm during advertisement memory module data are obtained designs module;Push for presenting advertising content shows
Show module.The present invention designs battery clock module on internet television, and advertisement memory module, algorithm design module is pushed
Display module, i.e., by the upper electric acquisition time, and the ad content for playing that correspondingly the time sets of classifying according to current time.This
Invention workflow is as shown in figure 1, be that television system starts to start, when reading S2 batteries specially when pressing S1 power switches
The time of clock module, the data in advertisement memory module S3 are obtained according to S2 period is read, are applied during acquisition
S4 algorithms design module, according to different date-times, for the ad content to be shown be pushed to S5 and push display module,
To complete the process that whole startup advertisement is pushed.
Specifically, in S2 battery clock modules, as shown in Figure 2 and Figure 3, it is necessary to complete the management of charging and discharging of battery, power-off
Clock afterwards is maintained, and upper electricity reads the clock check and correction after current time, and upper electricity.The module is added sufficiently to solve,
Internet television system is in start process, it is impossible to know the current time, so that it is customized to select and distinguish broadcasting
Ad content.
Further, battery clock module fundamental diagram as shown in Figure 3, when normal power supply state, is supplied by TV
Electric system power 5v to PowerMangerIC to charge the battery, and by reduction voltage circuit come out 3.3v and 1.5v to
SOC;Battery supplies electricity to PowerMangerIC initially as power when power is off, and provide 3.3v by PowerMangerIC
With the voltage such as 1.5v to SOC, the communication between PowerMangerIC and SOC is completed by I2C agreements.This workflow is complete
Maintained into the clock after discharge and recharge, and power-off.
Specifically, in S3 advertisement memory modules, need to confirm as shown in Figure 4, Figure 5, before shutdown and synchronous backstage is pushed
Advertisement, and the advertisement that backstage is pushed is pre-deposited in TV play storage device in such as EMMC or EEPROM, in case
System obtains newest ad content during start next time, if no networking or backstage do not update, next start-up course broadcasts
What is put is the relatively early ad content for once pushing and setting., it is necessary to complete the charge and discharge of battery in the battery clock module
Fulgurite is managed, and clock is maintained after power-off, and upper electricity reads the clock check and correction after current time, and upper electricity.
Further, advertisement memory module fundamental diagram as shown in Figure 5, makes primary advertising, file format first
Half is AVI, the effect that the plurality of pictures such as video format or JPG, the JPEG compression such as MP4 is played successively, this hair
It is bright that video is compressed into boot.video (various video format compressions, so as to System build) without exception,
Bootanimation.zip (compressed package of picture format compression);After being compiled, be generated to system ../out../
System/media/ catalogues;It is burnt to veneer Emmc memory devices;The acquisition of backstage promotional literature can directly be made
Promotional literature or from internet intercept one section of content;Backstage is monitored advertisement state by its Server, and
Veneer is mounted to by network mount, progress judges whether to update, if condition is true, enters and plays advertisement after renewal, such as
Really bar part is false, into the advertisement played before updating.
Specifically, in S4 algorithms design module, such as Fig. 1, Fig. 2, Fig. 3, can be according to self defined time sections shown in Fig. 4
To divide and sort out the television advertising of backstage storage, and perform and play corresponding advertisement in certain specific period.When
Complete after S1, S2, S3, S4, ad content is played and shown in television startup interface S5, S6 completes whole television system
Startup advertisement interface.
Further, as shown in figure 1, algorithm design flow diagram, first, initializes clock status, including set current position
The time zone in domain, date-time format, the I2C addresses of clock, etc. relevant configuration;Secondly, material time point is set, and this step can be with
It is self-defined to set, can also synchronous internet related keyword time point, such as the annual festivals or holidays that synchronous Chinese Government's net is sent
Have a holiday or vacation notice etc. information;The date-time that present clock is preserved and maintained is read after upper electricity, and whether multilevel iudge is crucial
At time point, if material time point, corresponding advertisement is played to display screen;If non-key time point, original can play
The advertisement of beginning boot animation, such as TV producer boot animation or broadcasting non-key time point.
The present invention is addition battery time management module, television boot-strap process on internet television circuit main board
In, the current available machine time is read first, according to the different periods, goes to capture the good different ad contents of backstage push in advance,
Then played back, novel in design, modularization management, the content of advertisement pushing is more reasonable accurate, and general television is used
Family provides humanized service.
Although being disclosed by above example to the present invention, protection scope of the present invention is not limited thereto,
Under conditions of without departing from present inventive concept, deformation, replacement that each component is done to more than etc. will fall into the right of the present invention
In claimed range.