A kind of control method of control parameter value and device
Technical field
The present invention relates to display technology field, more particularly, to a kind of control method of control parameter value and device.
Background technology
With the appearance of intelligent television, people start to favor this television set vdiverse in function, simple to operate.But intelligence electricity
Depending in still inherit the problem of some traditional tvs.In the control parameter value to television set(As volume value, brightness value, saturation
Angle value, contrast value)The phenomenon of progress bar clamping stagnation when being adjusted, often occurs.
For example during volume adjusting, existing intelligent television is to send regulating command by remote controller, makes main control chip
(It is often referred to central processor CPU)Played out by speaker according to control parameter value control and regulation volume and by the volume after adjusting
Come, then control parameter is stored in memorizer(Namely internal memory)In.Due to master control when internal memory stores volume adjusting parameter every time
Chip will once be accessed or be changed operation to the corresponding data base of volume in memorizer, and to data base in internal memory
Greatly, therefore CPU call parameters in internal memory would generally compare occupancy CPU and run resource amount of storage, lead to accessing number in CPU
Amended control parameter value cannot be shown Synchronization Control display module according to during storehouse, thus occur progress bar on screen
The problem of clamping stagnation.And be all generally a process repeatedly adjusting for adjusting volume, wherein can produce multiple regulation parameters
Value, and each control parameter value can be stored in internal memory, so can greatly take the operation money of intelligent television CPU
Source, thus can lead to progress bar on screen the problem of clamping stagnation repeatedly.
Therefore, due to being stored in each control parameter value during adjusting during how avoiding control parameter value to adjust
The CPU operation resource leading in internal memory is occupied and causes the multiple clamping stagnation of progress bar because CPU operation resource is occupied
Situation, become our problem demanding prompt solutions.
Content of the invention
In view of this, the present invention provides a kind of control method of control parameter value and device, solves to adjust in control parameter value
During section, occupied due to each control parameter value during adjusting to be stored in the CPU operation resource leading in internal memory
And because CPU runs that resource is occupied the situation that causes the multiple clamping stagnation of progress bar.
For achieving the above object, the present invention provides technical scheme as follows:
A kind of control method of control parameter value, is applied to display device, including step:
Receive regulating command, obtain the control parameter value in regulating command;
Control parameter value is stored in caching;
According to control parameter value, corresponding operational module is adjusted, when not receiving new control in the given time
During parameter value, control parameter value is stored in internal memory.
All control parameter value can be existed in internal memory because, in prior art, each control parameter is adjusted, make CPU run money
Source is taken in a large number, leads to progress bar clamping stagnation repeatedly.And the present invention provide scheme control parameter value is all pre-existed slow
In depositing, only final control parameter value is existed in internal memory, eliminate during intermediate regulations to CPU run resource occupation,
And then so that the change of control parameter value during intermediate regulations normally can be shown in progress bar.Therefore, the present invention is effective
Improve running efficiency of system, it is to avoid lead to due to being stored in each control parameter value during adjusting in internal memory
CPU runs resource situation that is occupied and causing the multiple clamping stagnation of progress bar because CPU operation resource is occupied.
Brief description
Fig. 1 is a kind of flow chart of the control method of control parameter value that the present invention provides;
Fig. 2 is a kind of flow chart of the control method of control parameter value in embodiment of the present invention;
Fig. 3 is a kind of adjusting means structural representation of control parameter value that the present invention provides;
Fig. 4 is a kind of adjusting means structural representation of control parameter value in embodiment of the present invention.
Specific embodiment
The present invention pre-exists control parameter value in caching, only has final control parameter value in internal memory.Save
The CPU of intermediate regulations processes runs resource occupation, and then so that the change of control parameter value during intermediate regulations can be entered
Normally show in degree bar.Therefore, the present invention is effectively improved running efficiency of system, it is to avoid progress bar during adjusting
Catching phenomenon.
In order to the present invention is described in detail, there is provided the following example:
Embodiment one
The present invention provides a kind of control method of control parameter value, is applied to display device, refer to Fig. 3, a kind of control
The process chart of the control method of parameter value, including step:
101st, receive regulating command, obtain the control parameter value in regulating command;
After sending the regulating command of control parameter value by control remote control, the regulating command that display device receives is real
It is one group of signal of telecommunication on border, in order to eliminate the interference signal in this signal of telecommunication, the signal of telecommunication receiving can be carried out by display device
Signal amplifies and Filtering Processing, and the signal of telecommunication after process will be more satisfactory, then passes through analog digital conversion again(ADC), that is,
By continuous analog quantity(As the GTG of picture dot, voltage, electric current etc.)Discrete digital signal is converted into by sampling.Subsequently obtain
One corresponding digital signal, and obtain the control parameter value carrying in digital signal.
102nd, control parameter value is stored in the caching of described display device;
After display device obtains control parameter value, first this control parameter value be stored in the caching of display device.?
In preferred embodiment, it is possible to use embedded multi-media card (Embedded Multi Media Card, EMMC) is aobvious as this
Show the caching of equipment, it carries multimedia card (Multi Media Card, MMC) interface, flash memory device and main control
Device, interface rate is up to 52MB per second, has the performance of quick access.
103rd, according to control parameter value, corresponding operational module is adjusted, new when not receiving in the given time
During control parameter value, control parameter value is stored in the internal memory of described display device;
Wherein, above-mentioned steps can be by the main control chip of display device(Refer to central processor CPU or there is CPU
The Micro-processor MCV of function)To complete, it controls state and the parameter setting of each operational module.Wherein, in the present invention
Operational module refer to need in display device to be manually controlled parameter value adjustment module, such as volume control module, backlight
Control module and display module.After display device receives the digital signal carrying control parameter value, corresponding work can be controlled
Make to search new control parameter value to it in the caching that module is specified.Then, this control parameter value can be updated to by operational module
Current control parameter value, and then show.
It should be noted that in traditional processing mode, the control parameter value adjusting every time all can be stored in one
Nonvolatile memory(Internal memory)Corresponding data base in.But because the process of main control chip access data base is slower.And
And substantial amounts of system operation resource can be taken, lead to not the control parameter value that real-time update progress bar shows and the clamping stagnation producing
Phenomenon.So in the present invention, not each control parameter value all can be stored in internal memory.But pre-set a time
Value(As 1 second), when this display device did not received the new regulating command carrying control parameter value then it is assumed that now in 1 second
Control parameter value reached the regulation target of user, now, more current control parameter value is saved in internal memory.
Therefore, the scheme that the present invention provides all pre-exists control parameter value in caching, only by final control parameter value
Exist in internal memory.The CPU eliminating intermediate regulations process runs resource occupation, and then makes control parameter value during intermediate regulations
Change normally can show in progress bar.Therefore, the present invention is effectively improved running efficiency of system, it is to avoid due to
Each control parameter value during adjusting is stored in the CPU that leads in internal memory, and to run resource occupied and due to CPU fortune
The situation that row resource is occupied and causes the multiple clamping stagnation of progress bar.It should be noted that it is multiple in present invention support display device
The regulation of control parameter value, such as volume value, the regulation of brightness value, contrast value and intensity value.Below with to display device
As a example brightness regulation, the present invention is further described.
Embodiment two
Refer to Fig. 2, be a kind of process chart of the control method of control parameter value, the party in embodiment of the present invention
Method is applied to display device, including step:
201st, receive regulating command, obtain the control parameter value in regulating command;
After the regulating command that remote control sends, because the regulating command that display device actually receives is one group of telecommunications
Number, in order to eliminate the interference signal in this signal of telecommunication, the signal of telecommunication receiving can be carried out signal amplification and filtering by display device
Process, the signal of telecommunication after process will be more satisfactory, then pass through analog digital conversion again(ADC), that is, by continuous analog quantity
(As the GTG of picture dot, voltage, electric current etc.)Discrete digital signal is converted into by sampling.Subsequent i.e. available one corresponding
Digital signal, and obtain the control parameter value that the brightness value carrying in digital signal is 55.
202nd, control parameter value is stored in the caching of display device;
After display device obtains control parameter value, first this control parameter value be stored in the caching of display device.?
In preferred embodiment, it is possible to use embedded multi-media card (Embedded Multi Media Card, EMMC) is aobvious as this
Show the caching of equipment, it carries multimedia card (Multi Media Card, MMC) interface, flash memory device and main control
Device, interface rate is up to 52MB per second, has the performance of quick access.Due to EMMC, simply to store some currently used or frequent
Use data, its data resource much smaller more than internal memory it can be seen that, work as main control chip(Refer to central processor CPU
Or there is the Micro-processor MCV of cpu function)Accessing can be than faster, efficiently during EMMC.
203rd, according to control parameter value, corresponding operational module is adjusted;
Wherein, above-mentioned steps can be completed by the main control chip of display device, and it controls the shape of each operational module
State and parameter setting.After display device receives the digital signal carrying control parameter value, corresponding Working mould can be controlled
The caching that block is specified to it(EMMC)The new control parameter value of middle lookup.Then, this control parameter value is updated to current control
Parameter value processed, and this value also can simultaneous display on the progress bar of display.
204th, judge whether receive new control parameter value in the given time, if then going to step 205;If otherwise turning
Step 206;
205th, judge after the control parameter value that receives whether correspond to same operational module with formerly control parameter value,
If then going to step 202;If otherwise going to step 206;
206th, control parameter value is stored in the internal memory of display device.
It should be noted that in traditional processing mode, the control parameter value adjusting every time all can be stored in internal memory
Corresponding data base in so that life-time service.But because the process of main control chip access data base is slower.And can take
Substantial amounts of system operation resource, leads to not the control parameter value that real-time update progress bar shows and the catching phenomenon producing.Institute
With in the present invention, not each control parameter value all can be stored in internal memory.But pre-set a time value(As 1
Second), when this display device did not received the new regulating command carrying control parameter value then it is assumed that control now in 1 second
Parameter value has reached the regulation target of user, now, more current control parameter value is saved in internal memory.
If but this display device have received new regulating command in 1 second, but this regulating command is not to current work
The instruction being adjusted as module, after now will be considered that control parameter value that regulating command formerly carries is adjusted, has reached
To desired value, the therefore present invention in this case, control parameter value formerly can be stored in the internal memory of this display device.
Assume the backlight control parameter value of current display setup(Brightness value)For 50.When user's control remote control is by brightness value
When choosing 55, the regulating command that brightness value is 55 can be sent, display device receives regulating command(Actually one group of telecommunications
Number), first it is amplified, filtered and analog digital conversion etc. is processed, then getting the representative luminance value wherein carrying is 55
Control parameter value, this control ginseng value number is first stored in EMMC, then controls backlight control mould further according to this control parameter value
The brightness value of block is revised as 55, and simultaneous display is on the progress bar of this display device.
Assume interval 0.5 second after, again send brightness value be 60 regulating command, its processing mode ibid, by backlight
The brightness value of control module is changed to 60, and because the time was less than 1 second, the brightness value therefore sending for the first time is 55 control parameter
Value is not saved in internal memory.
Subsequently not only in less than 1 second but also send the regulating command that brightness value is 65, its processing mode ibid, by backlight control
The brightness value of molding block is changed to 65, and because the time was less than 1 second, the brightness value that therefore second sends is 60 control parameter value
It is not saved in internal memory.
After brightness value is adjusted to 65, reach target, then do not continue to adjust brightness value.Therefore display device was at 1 second
Within be not received by new regulating command, then the control parameter value that third time brightness value is 65 is saved in internal memory.
So, originally to preserve the control parameter value of 3 times in internal memory, preserve now 1 time just permissible.Thus keeping away
Exempted from due to by each control parameter value during adjusting be stored in the CPU that leads in internal memory run resource occupied and by
Run that resource is occupied and the situation that causes the multiple clamping stagnation of progress bar in CPU.
Significantly, since operator, when the control parameter value controlling display device is adjusted, may change suddenly
Become operation, according to above-described embodiment it is assumed that carrying out after second regulation to brightness value(When being brightness value 60), this display device
The new regulating command receiving in 0.5 second is to adjust volume value, is that volume control module is different because volume value is corresponding
In backlight control module it can be understood as brightness value formerly has reached desired value, if according further to the process of step 204,
Brightness value is that 60 control parameter value will not be stored in internal memory, and thus resulting in the data that brightness value is 60 can not deposit for a long time
Storage.
Therefore, in the preferred embodiment of the invention, add step 205, control parameter value is determined whether, really
Whether the control parameter value receiving after being scheduled on corresponds to same operational module with control parameter value formerly, if identical,
Return to step 202, continues with;If it is different, then proceeding to step 206, the control parameter value that brightness value is 60 is saved in this
In the internal memory of display device.Then further according to after the control parameter value that receives volume value is adjusted.Regulation process with
Above-mentioned handling process is similar to, and here is omitted.
As can be seen here, the scheme that the present invention provides all pre-exists control parameter value in caching, only by final control ginseng
Numerical value exists in internal memory.The CPU eliminating intermediate regulations process runs resource occupation, and then makes control ginseng during intermediate regulations
The change of numerical value normally can show in progress bar.And the non-directional that can prevent operator operates and causes to system
Loss of data.Therefore, the present invention is effectively improved running efficiency of system, it is to avoid due to each control during adjusting
Parameter value is stored in the CPU that leads in internal memory and runs that resource is occupied and to run resource occupied and cause progress due to CPU
The situation of the multiple clamping stagnation of bar, and improve the reliability of system.
Embodiment three
Based on identical design, the present invention also provides the device that a kind of control parameter value is adjusted, refer to Fig. 3, be this
A kind of structural representation of the adjusting means of control parameter value of bright offer.This device is applied to display device, including:
Instruction acquisition module 31, receives instruction transmitting terminal(As remote control)The regulating command sending, and obtain regulating command
In control parameter value, this control parameter value is used for adjusting the control parameter of corresponding operational module;
Cache module 32, the control parameter value receiving is stored in the caching of display device;
Control module 33, is carried out according to the control parameter value pair the receiving operational module corresponding with this control parameter value
Control parameter is adjusted, if in the given time, this display device does not receive new control parameter value, then by current control
Parameter value is sent to memory module;
Memory module 34, for control parameter value is stored in the internal memory of described display device, preserves in order to last issue and makes
With.
In this example it is shown that the regulating command that equipment reception is sent by user, the instruction acquisition mould in display device
Block 31 obtains control parameter value to meeting from this regulating command.Control module 33 is transferred control parameter value and is gone to control phase for convenience
The operational module answered is adjusted, and this control parameter value is buffered in cache module 32.Therefore control module 33 can basis be somebody's turn to do
Control parameter operational module corresponding in display device is carried out parameter setting regulation and by adjust after state in different forms
Show.Generally, this regulation process can be only achieved a satisfied effect repeatedly many times.But due to each
Control module 33 is slow to the access process of the data base in memory module 34, therefore in the present invention, not to adjusting
In journey, all of control parameter value is all stored in poke module 34, but works as command reception module in the given time not
When receiving new regulating command, just can store the control parameter value in current regulating command.
Therefore, the scheme that the present invention provides all pre-exists control parameter value in caching, only by final control parameter value
Exist in internal memory.The CPU eliminating intermediate regulations process runs resource occupation, and then makes control parameter value during intermediate regulations
Change normally can show in progress bar.Therefore, the present invention is effectively improved running efficiency of system, it is to avoid due to
Each control parameter value during adjusting is stored in the CPU that leads in internal memory, and to run resource occupied and due to CPU fortune
The situation that row resource is occupied and causes the multiple clamping stagnation of progress bar.It should be noted that it is multiple in present invention support display device
The regulation of control parameter value, such as volume value, the regulation of brightness value, contrast value and intensity value.Below with to display device
As a example volume adjusting, the present invention is further described.
Example IV
Refer to Fig. 4, be a kind of structural representation of the adjusting means of control parameter value, this dress in embodiment of the present invention
Put and be applied to display device it is assumed that the volume control parameter value of current display setup is 30.When user's control remote control increases sound
During amount, the regulating command that volume control parameter value adds 1 can be sent, because the regulating command that display device receives is actually one
The group signal of telecommunication, in order to eliminate the interference signal in this signal of telecommunication, instruction acquisition module 41 in display device can will receive
The signal of telecommunication carries out signal amplification and Filtering Processing, and the signal of telecommunication after process will be more satisfactory, then passes through analog digital conversion again
(ADC), that is, by continuous analog quantity(As the GTG of picture dot, voltage, electric current etc.)Discrete numeral is converted into by sampling
Signal.Subsequently obtain a corresponding digital signal, and obtain the volume control module 42 being conditioned carrying in digital signal
Corresponding control parameter value.Control module 43 is transferred control parameter value and is gone to control volume control module 44 to be adjusted for convenience
Section, then this control parameter value would generally be buffered in cache module 42.In a preferred embodiment, it is possible to use embedded many
As the cache module of display device, it carries multimedia card to media card (Embedded Multi Media Card, EMMC)
(Multi Media Card, MMC)Interface, flash memory device and master controller, its interface rate is up to 52MB per second, tool
There is the performance of quick access.And for control module 43, can be by the main control chip of this display device(Refer to central authorities' process
Device CPU or the Micro-processor MCV with cpu function)To serve as, it controls the state of each operational module and parameter to set
Put.After control module 43 receives the digital signal carrying control parameter value, volume adjusting module 44 can be controlled to specify to it
New volume control parameter value is searched in cache module 43.Wherein, volume control module 44 can be audio processing chip, this core
Piece changes the parameter setting of itself according to control parameter value, by the audio transmission after changing to speaker so as to according to this again
The control parameter value broadcast sound volume of setting.Then, current volume value should be 31.
Now volume in current control parameter value write internal memory should be controlled by the memory module 45 of this display device
Parameter value corresponding data base stored, but according to practical situation, adjusts typically one repeatedly for volume
Process, and access data base every time and all can take main control chip most of operation resource, lead to its operating pressure to increase, thus
Cannot other work of parallel processing.So, in the present invention, memory module 45 can't store each control as is conventional
Parameter value processed, but when this display device does not receive new control parameter value in the given time, just by current control
Parameter value is write in data base and is stored.
It should be noted that the above-mentioned scheduled time can be designer according to user investigation or the knot of simulation test
The empirical value of fruit setting, was greater than equal to 1 second.And, after the completion of this time can be configured in advance, it is pre-stored in display and sets
Standby internal memory it is ensured that will not be deleted because of system cut-off or other artificial changes.
Assume that user is dissatisfied for current volume, then after being spaced 0.5 second, send volume control parameter again
It is worth the regulating command Jia 1, that is, volume control parameter value is changed into 32, ibid, and current volume is then changed into 32 to its processing mode.And
Volume is that 31 control parameter value is not preserved in memory module 45.This memory module refers to the internal memory of display device, is such as
The jumbo storage devices such as system hard disk.
Subsequently user sends the regulating command that volume control parameter value adds 1 in less than 1 second again, and its processing mode is same
On, and volume is that 32 regulation parameter is also not preserved in memory module 45.
Assume when volume control parameter value is adjusted to 33 by user after it is believed that satisfied, then do not continue to regulation volume.
Because display device was not received by new regulating command within 1 second, then the control parameter value that volume is 33 is saved in
In memory module 45.
As can be seen here, no matter user adjusts volume several times, and a volume control parameter value is saved in storage mould by last
Block, it is to avoid to run resource occupied due to each control parameter value during adjusting is stored in the CPU leading in internal memory
And because CPU runs that resource is occupied the situation that causes the multiple clamping stagnation of progress bar, thus improve running efficiency of system.
But, when being adjusted volume, often receive the instruction of other non-regulated volume values(As changed channel
Or regulation brightness value)Although being also the regulation to control parameter value in rear regulating command, but now, for volume value
Regulation will be interrupted.In view of the not orientability of operator, present invention also offers a solution.
According to example IV, in a preferred embodiment, if the control module 43 of display device exists in the given time
When the control parameter value receiving afterwards corresponds to different operational modules from the control parameter value formerly receiving, such as formerly receive
Control parameter value corresponding be volume control module, and the backlight control module when the control parameter value of rear reception is corresponding,
It is possible to think that the control parameter value formerly receiving for the regulation of current volume and end, is then sent to by user
Memory module is stored.Then further according to new regulating command, other operational modules are adjusted.So, even if prominent
So change instruction, also will not lose original volume adjusting result.This design, the system more enhancing this display device is reliable
Property.
As can be seen here, no matter user adjusts volume several times, and a volume control parameter value is saved in storage mould by last
Block, it is to avoid to run resource occupied due to each control parameter value during adjusting is stored in the CPU leading in internal memory
And because CPU runs that resource is occupied the situation that causes the multiple clamping stagnation of progress bar, and improve running efficiency of system.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.