Embodiment
The present invention pre-exists control parameter value in buffer memory, only final control parameter value is existed in internal memory.Saved the CPU operation resource occupation of intermediate regulations process, and then the variation of controlling parameter value in intermediate regulations process can normally be shown in progress bar.Therefore, the present invention has improved running efficiency of system effectively, has avoided the catching phenomenon of progress bar in adjustment process.
For the present invention is described in detail, provide the following example:
Embodiment mono-
The invention provides a kind of control method of controlling parameter value, be applied to display device, please refer to Fig. 3, a kind of process chart of controlling the control method of parameter value, comprises step:
101, receive regulating command, obtain the control parameter value in regulating command;
When sending after the regulating command of controlling parameter value by controlling remote controller, the regulating command that display device receives is actually one group of signal of telecommunication, in order to eliminate the interference signal in this signal of telecommunication, display device can carry out the signal of telecommunication receiving signal amplification and filtering is processed, the signal of telecommunication after processing will be more satisfactory, and then by analog-to-digital conversion (ADC), namely by sampling, convert continuous analog quantity (as the GTG of picture dot, voltage, electric current etc.) to discrete digital signal.Obtain subsequently a corresponding digital signal, and obtain the control parameter value carrying in digital signal.
102, control parameter value is deposited in to the buffer memory of described display device;
When display device obtains, control after parameter value, first this control parameter value is deposited in the buffer memory of display device.In a preferred embodiment, can use embedded multi-media card (Embedded Multi Media Card, EMMC) as the buffer memory of this display device, it is with multimedia card (Multi Media Card, MMC) interface, flash memory device and master controller, interface rate, up to 52MB per second, has the performance of fast access.
103, according to controlling parameter value, corresponding operational module is regulated, control parameter value is deposited in to the internal memory of described display device when not receiving in the given time new control parameter value;
Wherein, above-mentioned steps can be completed by the main control chip of display device (refer to central processor CPU or have the Micro-processor MCV of cpu function), and it is controlling state and the parameter setting of each operational module.Wherein, the operational module in the present invention refers in display device needs manually to control parameter value adjustment module, as volume control module, backlight control module and display module.When display device receives, carry after the digital signal of controlling parameter value, can control corresponding operational module and search new control parameter value in the buffer memory of its appointment.Then, operational module can be controlled this parameter value and be updated to current control parameter value, and then shows.
It should be noted that, in traditional processing mode, each control parameter value regulating all can be stored in the corresponding database of a nonvolatile memory (internal memory).But because the process of main control chip accessing database is slower.And can take a large amount of system operation resource, cause the control parameter value cannot real-time update progress bar showing and the catching phenomenon producing.So be not that each control parameter value all can be stored in internal memory in the present invention.But set in advance a time value (as 1 second), when this display device was not received the new regulating command of controlling parameter value that carries in 1 second, think that control parameter value has now reached user's adjusting target, now, then is kept at current control parameter value in internal memory.
Therefore, scheme provided by the invention all pre-exists control parameter value in buffer memory, only final control parameter value is existed in internal memory.Saved the CPU operation resource occupation of intermediate regulations process, and then the variation of controlling parameter value in intermediate regulations process can normally be shown in progress bar.Therefore, the present invention has improved running efficiency of system effectively, has avoided that to deposit the CPU operation resource causing in internal memory in occupied and due to the occupied repeatedly situation of clamping stagnation of progress bar that causes of CPU operation resource owing to each in adjustment process being controlled to parameter value.It should be noted that the present invention supports the adjusting of various control parameter value in display device, as the adjusting of volume value, brightness value, contrast value and intensity value.Take to the brightness regulation of display device is below example, and the present invention is further described.
Embodiment bis-
Please refer to Fig. 2, is a kind of process chart of controlling the control method of parameter value in embodiment of the present invention, and the method is applied to display device, comprises step:
201, receive regulating command, obtain the control parameter value in regulating command;
After the regulating command that remote controller sends, in fact the regulating command receiving due to display device is one group of signal of telecommunication, in order to eliminate the interference signal in this signal of telecommunication, display device can carry out the signal of telecommunication receiving signal amplification and filtering is processed, the signal of telecommunication after processing will be more satisfactory, and then by analog-to-digital conversion (ADC), namely by sampling, convert continuous analog quantity (as the GTG of picture dot, voltage, electric current etc.) to discrete digital signal.Can obtain subsequently a corresponding digital signal, and obtain the control parameter value that the brightness value that carries in digital signal is 55.
202, control parameter value is deposited in to the buffer memory of display device;
When display device obtains, control after parameter value, first this control parameter value is deposited in the buffer memory of display device.In a preferred embodiment, can use embedded multi-media card (Embedded Multi Media Card, EMMC) as the buffer memory of this display device, it is with multimedia card (Multi Media Card, MMC) interface, flash memory device and master controller, interface rate, up to 52MB per second, has the performance of fast access.Because EMMC just stores some current uses or the frequent data of using, its data resource is much smaller more than internal memory, as can be seen here, can be than faster, efficiently when main control chip (refer to central processor CPU or there is the Micro-processor MCV of cpu function) access EMMC.
203, according to controlling parameter value, corresponding operational module is regulated;
Wherein, above-mentioned steps can be completed by the main control chip of display device, and it is controlling state and the parameter setting of each operational module.When display device receives, carry after the digital signal of controlling parameter value, can control corresponding operational module and search new control parameter value in the buffer memory (EMMC) of its appointment.Then, this control parameter value is updated to current control parameter value, and this value also can synchronously be presented on the progress bar of display.
204, whether judgement receives new control parameter value in the given time, if go to step 205; Go to step 206 if not;
205, judgement after the control parameter value that receives with formerly whether control parameter value corresponding to same operational module, if go to step 202; Go to step 206 if not;
206, control parameter value is deposited in to the internal memory of display device.
It should be noted that, in traditional processing mode, each control parameter value regulating all can be stored in the corresponding database of internal memory, to use for a long time.But because the process of main control chip accessing database is slower.And can take a large amount of system operation resource, cause the control parameter value cannot real-time update progress bar showing and the catching phenomenon producing.So be not that each control parameter value all can be stored in internal memory in the present invention.But set in advance a time value (as 1 second), when this display device was not received the new regulating command of controlling parameter value that carries in 1 second, think that control parameter value has now reached user's adjusting target, now, then is kept at current control parameter value in internal memory.
If but this display device has been received new regulating command in 1 second, but this regulating command is not the instruction that work at present module is regulated, now can think that control parameter value that regulating command formerly carries is after regulating, reached desired value, therefore the present invention in this case, can be stored in control parameter value formerly in the internal memory of this display device.
The backlight control parameter value (brightness value) of supposing current display device is 50.When user controls remote controller brightness value is chosen to 55, can send brightness value and be 55 regulating command, display device receives regulating command (being actually one group of signal of telecommunication), first amplify, the processing such as filtering and analog-to-digital conversion, then the control parameter value that to get the representative luminance value that wherein carries be 55, this control ginseng value number is first stored in EMMC, and then be revised as 55 according to the brightness value of this control parameter value control backlight control module, and simultaneous display is on the progress bar of this display device.
Suppose at interval after 0.5 second, send again brightness value and be 60 regulating command, its processing mode is the same, changes the brightness value of backlight control module into 60, and because the time was less than 1 second, the control parameter value that the brightness value therefore sending is for the first time 55 is not stored in internal memory.
Subsequently not only within less than 1 second but also send the regulating command that brightness value is 65, its processing mode is the same, change the brightness value of backlight control module into 65, and because the time was less than 1 second, the control parameter value that the brightness value therefore sending is for the second time 60 is not stored in internal memory.
After brightness value is adjusted to 65, reach target, no longer continue brightness adjusting value then.Therefore display device does not receive new regulating command within 1 second, the control parameter value that brightness value is 65 is for the third time kept in internal memory.
So, originally in internal memory, preserve the control parameter value of 3 times, preserve now 1 time just passable.Thereby avoided that to deposit the CPU operation resource causing in internal memory in occupied and due to the occupied repeatedly situation of clamping stagnation of progress bar that causes of CPU operation resource owing to each in adjustment process being controlled to parameter value.
It should be noted that, because operator is when the control parameter value of controlling display device regulates, may operate by flip-flop, according to above-described embodiment, after supposing brightness value to regulate for the second time (while being brightness value 60), the new regulating command that this display device received in 0.5 second is to regulate volume value, due to volume value corresponding be that volume control module is different from backlight control module, the brightness value can be understood as formerly has reached desired value, if also according to the processing of step 204, the control parameter value that brightness value is 60 will can not be stored in internal memory, thereby to cause brightness value be that 60 data can not longer-term storage.
Therefore,, in the preferred embodiment of the invention, add step 205, to controlling parameter value, further judge, determine after the control parameter value that receives with control parameter value formerly whether corresponding to same operational module, if identical, return to step 202, continue to process; If different, proceed to step 206, the control parameter value that is 60 by brightness value is kept in the internal memory of this display device.And then according to after the control parameter value that receives volume value is regulated.Adjustment process and above-mentioned handling process are similar, repeat no more herein.
As can be seen here, scheme provided by the invention all pre-exists control parameter value in buffer memory, only final control parameter value is existed in internal memory.Saved the CPU operation resource occupation of intermediate regulations process, and then the variation of controlling parameter value in intermediate regulations process can normally be shown in progress bar.And the non-directional that can prevent operator operates the loss of data causing to system.Therefore, the present invention has improved running efficiency of system effectively, avoided depositing owing to each in adjustment process being controlled to parameter value that the CPU operation resource causing in internal memory is occupied and resource is occupied causes the repeatedly situation of clamping stagnation of progress bar due to CPU operation in, and improved the reliability of system.
Embodiment tri-
Design based on identical, the present invention also provides a kind of device that parameter value regulates of controlling, and please refer to Fig. 3, is a kind of structural representation of controlling the adjusting device of parameter value provided by the invention.This application of installation, in display device, comprising:
Instruction acquisition module 31, receives the regulating command that instruction transmitting terminal (as remote controller) sends, and obtains the control parameter value in regulating command, and this control parameter value is for regulating the control parameter of corresponding operational module;
Cache module 32, deposits the control parameter value receiving in the buffer memory of display device in;
Control module 33, according to the control parameter value the receiving pair operational module corresponding with this control parameter value, controlling parameter regulates, if in the given time, this display device does not receive new control parameter value, current control parameter value is sent to memory module;
Memory module 34, for control parameter value being deposited in to the internal memory of described display device, preserves so that last and uses.
In the present embodiment, display device receives the regulating command of being sent by user, and 31 pairs of instruction acquisition modules in display device can obtain control parameter value from this regulating command.In order to facilitate control module 33 to transfer to control parameter value to remove to control corresponding operational module, regulate, this control parameter value is buffered in cache module 32.Therefore control module 33 can be carried out parameter to corresponding operational module in display device according to this controls parameter and arranged and regulate and the state after adjusting is shown with multi-form.Conventionally, this adjustment process can repeatedly many times, just can reach a satisfied effect.But because the access process of the database in each 33 pairs of memory modules 34 of control module is slow, therefore in the present invention, control parameter values all in adjustment process is not all stored in poke module 34, but when command reception module does not receive new regulating command in the given time, just can store the control parameter value in current regulating command.
Therefore, scheme provided by the invention all pre-exists control parameter value in buffer memory, only final control parameter value is existed in internal memory.Saved the CPU operation resource occupation of intermediate regulations process, and then the variation of controlling parameter value in intermediate regulations process can normally be shown in progress bar.Therefore, the present invention has improved running efficiency of system effectively, has avoided that to deposit the CPU operation resource causing in internal memory in occupied and due to the occupied repeatedly situation of clamping stagnation of progress bar that causes of CPU operation resource owing to each in adjustment process being controlled to parameter value.It should be noted that the present invention supports the adjusting of various control parameter value in display device, as the adjusting of volume value, brightness value, contrast value and intensity value.Take to the volume adjusting of display device is below example, and the present invention is further described.
Embodiment tetra-
Please refer to Fig. 4, is a kind of structural representation of controlling the adjusting device of parameter value in embodiment of the present invention, and this application of installation, in display device, supposes that the volume control parameter value of current display device is 30.When user controls remote controller increase volume, can send volume control parameter value and add 1 regulating command, the regulating command receiving due to display device is actually one group of signal of telecommunication, in order to eliminate the interference signal in this signal of telecommunication, instruction acquisition module 41 in display device the signal of telecommunication receiving can be carried out to signal amplification and filtering is processed, the signal of telecommunication after processing will be more satisfactory, and then by analog-to-digital conversion (ADC), namely by sampling, convert continuous analog quantity (as the GTG of picture dot, voltage, electric current etc.) to discrete digital signal.Obtain subsequently a corresponding digital signal, and obtain the control parameter value of the volume control module being conditioned 42 correspondences of carrying in digital signal.In order to facilitate control module 43 to transfer to control parameter value to remove to control volume control module 44, regulate, this control parameter value can be buffered in cache module 42 conventionally.In a preferred embodiment, can use embedded multi-media card (Embedded Multi Media Card, EMMC) as the cache module of display device, it is with multimedia card (Multi Media Card, MMC) interface, flash memory device and master controller, its interface rate, up to 52MB per second, has the performance of fast access.And for control module 43, can be to be served as by the main control chip of this display device (refer to central processor CPU or there is the Micro-processor MCV of cpu function), it is controlling state and the parameter setting of each operational module.Control module 43 receives carries after the digital signal of controlling parameter value, can control volume adjusting module 44 and search new volume control parameter value in the cache module 43 of its appointment.Wherein, volume control module 44 can be audio processing chip, and this chip is according to the parameter setting of controlling parameter value change self, by the audio transmission after changing to loud speaker, the control parameter value broadcast sound volume that it is reset according to this.So current volume value should be 31.
Now the memory module 45 of this display device should store database corresponding to volume control parameter value in current control parameter value write memory, but known according to actual conditions, for the adjusting of a volume process repeatedly normally, and each accessing database all can take the most of operation of main control chip resource, cause its operating pressure to increase, thus cannot other work of parallel processing.So, in the present invention, memory module 45 can't store each and control parameter value as traditional approach, but when this display device does not receive new control parameter value in the given time, just current control parameter value is write in database and stored.
The empirical value of it should be noted that the above-mentioned scheduled time can be designer arranging according to user investigation or the result of simulation test, for example, be more than or equal to 1 second.And this time can be after configured in advance completes, be pre-stored in the internal memory of display device, guaranteeing not can be because of system cut-off or other artificial change and deleted.
Suppose that user is dissatisfied for current volume, so, send again volume control parameter value and add 1 regulating command after 0.5 second at interval, i.e. volume control parameter value becomes 32, and its processing mode is the same, and current volume becomes 32.And the control parameter value that volume is 31 is not kept in memory module 45.This memory module refers to the internal memory of display device, as jumbo memory devices such as system disks.
User sends again volume and controls parameter value and add 1 regulating command within less than 1 second subsequently, and its processing mode is the same, and the adjusting parameter that volume is 32 is not kept in memory module 45 yet.
Suppose, after user controls parameter value by volume and is adjusted to 33, to think satisfied, no longer continue to regulate volume.Because display device does not receive new regulating command within 1 second, the control parameter value that is 33 by volume is kept in memory module 45.
As can be seen here, no matter user adjusts volume several times, last a volume is controlled to parameter value and be kept at memory module, avoided depositing owing to each in adjustment process being controlled to parameter value that the CPU operation resource causing in internal memory is occupied and resource is occupied causes the repeatedly situation of clamping stagnation of progress bar due to CPU operation in, thereby improved running efficiency of system.
But; when regulating volume, often can receive the instruction (as changed channel or brightness adjusting value) of other non-adjusting volume values, although be also to controlling the adjusting of parameter value in rear regulating command; but now, the adjusting for volume value will be interrupted.The not orientability of considering operator, the present invention also provides a solution.
According to embodiment tetra-, in a preferred embodiment, if in the given time the control module 43 of display device after the control parameter value receiving and the control parameter value of formerly receiving during corresponding to different operational module, such as the control parameter value formerly receiving corresponding be volume control module, and at time backlight control module corresponding to the control parameter value of rear reception, so, just can think that user, for adjusting and the end of current volume, sends to memory module to store the control parameter value formerly receiving.And then according to new regulating command, other operational modules are regulated.So,, even if change suddenly instruction, can not lose original volume adjusting result yet.This design, has more strengthened the system reliability of this display device.
As can be seen here, no matter user adjusts volume several times, last a volume is controlled to parameter value and be kept at memory module, avoided depositing owing to each in adjustment process being controlled to parameter value that the CPU operation resource causing in internal memory is occupied and resource is occupied causes the repeatedly situation of clamping stagnation of progress bar due to CPU operation in, and improved running efficiency of system.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.