CN1878252A - TV set opening time cumulation recording method - Google Patents
TV set opening time cumulation recording method Download PDFInfo
- Publication number
- CN1878252A CN1878252A CNA2006100147340A CN200610014734A CN1878252A CN 1878252 A CN1878252 A CN 1878252A CN A2006100147340 A CNA2006100147340 A CN A2006100147340A CN 200610014734 A CN200610014734 A CN 200610014734A CN 1878252 A CN1878252 A CN 1878252A
- Authority
- CN
- China
- Prior art keywords
- time
- counter
- cycle
- delta
- time interval
- 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.)
- Pending
Links
Images
Landscapes
- Electric Clocks (AREA)
Abstract
The invention relates to a method for recording the turn-on time of television, which is characterized in that: (1), setting menu; (2) confirming the time unit, that defining millisecond timer T1, second timer T2, minute timer T3 and hour timer T4; (3) operating the time accumulation process that turning on the television; sending 10ms time unit to the millisecond timer T1 which increases 1 in each deltat1, T1 will be cleared into zero at N1, to add 1 on the second timer T2 which increases 1 in each deltat2; T2 will be cleared into zero at N2 to add 1 on the minute timer T3 which increase 1 in each deltat3; T3 will be cleared into zero to add 1 on the hour timer T4 which increases 1 in each deltat4; then changing the refresh value of T4 into hour value, to be stored in memory, until the T4 reaches Nmax, ending said accumulation process. The invention can real-time display the turn-on time of television, to obtain the property and application condition of device.
Description
Technical field
The present invention relates to television set, relate in particular to a kind of TV set opening time cumulation recording method.
Background technology
Television set has entered each family as the carrier of society and politics, economy, cultural information.As the very high electric equipment of frequency of utilization, the user wishes to understand at any time television set from buying later stream time very much, to grasp its behaviour in service, accomplishes that performance, the use to product known what's what.Yet the television set of selling on the current market does not possess the performance that product available machine time information is provided, and makes troubles to the user.
Summary of the invention
Main purpose of the present invention is at the problems referred to above, a kind of new television set function is provided, promptly realize making the user pass through particular options in the video screen menu, see the record of television set easily to the current accumulation available machine time to the dispatch from the factory record of back available machine time of television set.
The present invention does not increase under the situation of hardware on existing television set basis, by revising original program, set up the program of the television boot-strap time of adding up, the available machine time variate-value is provided, this variate-value is cleared in EEPROM behind the write-in program before television set dispatches from the factory, therefore the time that shows in the menu writes down is available machine time after television set dispatches from the factory, and this time is the time that television set is in cumulative record under the normal boot-strap state, does not comprise that television set is in the time of holding state.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of TV set opening time cumulation recording method, described television set mainly comprises electronic tuning unit, demodulator of PM signal PM, video processor, audio process, central processor CPU, memory, remote controller, receiver of remote-control sytem, loud speaker and display, it is characterized in that comprising the steps:
(1) setup menu: in television set main menu, set up the television boot-strap time;
(2) defined function and parameter:
A) determine time of day, select for use cpu chip based on 10 milliseconds of output time cycles of crystal oscillation as time of day;
B) definition time summary counter:
Millisecond counter T1: gate time interval of delta t 1, cycle-index N1;
Second counter T2: gate time interval of delta t 2, cycle-index N2;
Minute counter T3: gate time interval of delta t 3, cycle-index N3;
Time counter T4: gate time interval of delta t 4, maximum accumulative frequency Nmax;
(3) flow process that adds up running time: television boot-strap starts timing, cpu chip output is that the time of day in cycle is delivered to the millisecond counter T1 every Δ t1 increase by 1 continuously with 10ms, when being added to N1, millisecond counter T1 automatic clear, the while carry, make a second counter T2 add 1 every Δ t2 increase by 1, when second, counter T2 was added to N2, automatic clear, carry simultaneously, make minute counter T3 add 1 every Δ t3 increase by 1, when minute counter T3 is added to N3, automatic clear, carry simultaneously, make time counter T4 add 1 every Δ t4 increase by 1, the each updating value of time counter T4 is transformed into hour and rounds, and the result is deposited in the memory, more than the continuous reciprocation cycle of operation, be added to maximum Nmax until time counter T4, end adds up.
Described setup menu is set up the television boot-strap time in television set main menu " setting " option.
Its gate time interval of delta t of described millisecond counter T1 1=10 millisecond, cycle-index N1=100; Described its gate time interval of delta t of second counter T2 2=1 second, cycle-index N2=60; Its gate time interval of delta t of described minute counter T3 3=1 branch, cycle-index N3=10; The described time is counted its gate time interval of delta t of device T4 4=10 branch, maximum accumulative frequency Nmax=500000.
The invention has the beneficial effects as follows: on existing television set basis, need not increase hardware cost, by revising software, set up the available machine time program that adds up, realized the function of real-time demonstration television boot-strap time, made television set that users can understand oneself the at any time available machine time since use, the performance of equipment and behaviour in service are accomplished known what's what.
Description of drawings
The brief configuration block diagram of Fig. 1 television set;
Fig. 2 shows main menu " setting " option of television boot-strap time;
Fig. 3 realizes TV set opening time cumulation record general flow chart;
Fig. 4 television boot-strap time flow chart that adds up.
Below in conjunction with drawings and Examples to the detailed description of the invention.
Embodiment
Fig. 1 illustrates the brief configuration block diagram of the television set of the present invention's employing, mainly comprise electronic tuning unit, demodulator of PM signal PM, video processor, audio process, central processor CPU, memory, remote controller, receiver of remote-control sytem, loud speaker and display, wherein: electronic tuning unit carries out tuning channel selection, receive the TV signal of the corresponding channel of transmitting station emission, demodulator of PM signal PM demodulates the composite video signal that contains video and sound information with the TV modulation signal that receives, wherein vision signal is handled through video processor, produce RGB vision signal and synchronizing signal and be transferred to display, sound information is handled through audio process and is transferred to loud speaker, remote controller and receiver of remote-control sytem send as the information that the user controls television set, receiving system is provided with in real time, select every function of television set; Central processor CPU passes through I as the control centre of television set
2The C bus links to each other with eeprom memory and above-mentioned each functional module, carries out the software program that designs, and carries out exchanges data, data processing execution command adapted thereto, finishes various functions controls.In the present embodiment, central processor CPU has adopted 8051 singlechip chips, and memory has adopted eeprom memory.
Fig. 2~Fig. 4 has provided the menu schematic diagram that is provided with, the general flow chart of realizing TV set opening time cumulation recording method and the television boot-strap time flow chart that adds up respectively.Be described in detail as follows;
The invention provides a kind of TV set opening time cumulation recording method, it is characterized in that comprising the steps: as shown in Figure 3, at first, setup menu: in television set main menu, set up the television boot-strap time, in television set main menu " setting " option, set up the television boot-strap time in the present embodiment.Then, defined function and parameter: a) determine time of day, select for use cpu chip based on 10 milliseconds of output time cycles of crystal oscillation as time of day; B) definition time summary counter: millisecond counter T1: gate time interval of delta t 1, cycle-index N1; Second counter T2: gate time interval of delta t 2, cycle-index N2; Minute counter T3: gate time interval of delta t 3, cycle-index N3; Time counter T4: gate time interval of delta t 4, maximum accumulative frequency Nmax.This example has provided most preferred embodiment, wherein, and its gate time interval of delta t of described millisecond counter T1 1=10 millisecond, cycle-index N1=100; Described its gate time interval of delta t of second counter T2 2=1 second, cycle-index N2=6O; Its gate time interval of delta t of described minute counter T3 3=1 branch, cycle-index N3=10; The described time is counted its gate time interval of delta t of device T4 4=10 branch, maximum accumulative frequency Nmax=500000.The present invention has mainly utilized the television set cpu chip with the characteristics of crystal oscillation cycle as the timing benchmark, the present invention selects for use the 10 milliseconds of time cycles that can provide continuously that produce based on crystal oscillation on the existing television set as digit, the periodicity of function ground operation of setting in the realization program.The present invention has at first defined a millisecond counter T1, and the count cycle of setting it is 10 milliseconds, utilize these 10 milliseconds to be basic digit, having defined counter T2 second, minute counter T3 and the time of continuing with it again counts device T4, the continuous cycle count of each counter, cascaded carry, add up, the continuous circulation increase by time counter T4 variable can realize the record to the time.
As shown in Figure 4, the process flow operation that adds up of concrete time is as follows: television boot-strap starts crystal oscillation, timing begins, in the following time of implementation of control of the CPU program that adds up, millisecond counter T1, second counter T2, the initial condition of minute counter T3 and time counter T4 all is zero, cpu chip output is that the time of day in cycle is delivered to the millisecond counter T1 every 10 milliseconds of increases by 1 continuously with 10ms, when being added to N1=100, millisecond counter T1 automatic clear, the while carry, make a second counter T2 add 1 every increase by 1 in 1 second, when second, counter T2 was added to N2=60, automatic clear, the while carry, make minute counter T3 add 1 every increase by 1 in 1 fen, when minute counter T3 is added to N3=10, automatic clear, the while carry, making increased by 1 time counter T4 and adds 1 every 10 minutes, the each updating value of time counter T4 is transformed into hour and rounds, and the result is deposited in the eeprom memory.In this example,, time counter T4 advanced 1 counting in 10 minutes because of adopting, so, need only can draw the TV set opening time cumulation hourage with its updating value divided by 6 and the round numbers part.This time continuous reciprocation cycle of operating process that adds up is added to maximum Nmax until time counter T4, and end adds up.In the present embodiment, Nmax is set at 500000 times, amounts to timing more than 9 years.Because it is the present invention only is used to accumulate the available machine time that does not comprise holding state,, enough to general television set service life.In the use, when the user desires to check the start accumulated time of television set, then open television set main menu by remote controller, and selected " setting " item, under CPU control, read the up-to-date opening time cumulation value that is stored among the EEPROM, and send to display, show at " setting " window interface of screen.
Claims (3)
1, a kind of TV set opening time cumulation recording method, described television set mainly comprises electronic tuning unit, demodulator of PM signal PM, video processor, audio process, central processor CPU, memory, remote controller, receiver of remote-control sytem, loud speaker and display, it is characterized in that comprising the steps:
(1) setup menu: in television set main menu, set up the television boot-strap time;
(2) defined function and parameter:
A) determine time of day, select for use cpu chip based on 10 milliseconds of output time cycles of crystal oscillation as time of day;
B) definition time summary counter:
Millisecond counter T1: gate time interval of delta t 1, cycle-index N1;
Second counter T2: gate time interval of delta t 2, cycle-index N2;
Minute counter T3: gate time interval of delta t 3, cycle-index N3;
Time counter T4: gate time interval of delta t 4, maximum accumulative frequency Nmax;
(3) flow process that adds up running time: television boot-strap starts timing, cpu chip output is that the time of day in cycle is delivered to the millisecond counter T1 every Δ t1 increase by 1 continuously with 10ms, when being added to N1, millisecond counter T1 automatic clear, the while carry, make a second counter T2 add 1 every Δ t2 increase by 1, when second, counter T2 was added to N2, automatic clear, carry simultaneously, make minute counter T3 add 1 every Δ t3 increase by 1, when minute counter T3 is added to N3, automatic clear, carry simultaneously, make time counter T4 add 1 every Δ t4 increase by 1, the each updating value of time counter T4 is transformed into hour and rounds, and the result is deposited in the memory, more than the continuous reciprocation cycle of operation, be added to maximum Nmax until time counter T4, end adds up.
2, a kind of TV set opening time cumulation recording method according to claim 1 is characterized in that described setup menu sets up the television boot-strap time in television set main menu " setting " option.
3, a kind of TV set opening time cumulation recording method according to claim 1 is characterized in that its gate time interval of delta t of described millisecond counter T1 1=10 millisecond, cycle-index N1=100; Described its gate time interval of delta t of second counter T2 2=1 second, cycle-index N2=60; Its gate time interval of delta t of described minute counter T3 3=1 branch, cycle-index N3=10; The described time is counted its gate time interval of delta t of device T4 4=10 branch, maximum accumulative frequency Nmax=500000.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100147340A CN1878252A (en) | 2006-07-07 | 2006-07-07 | TV set opening time cumulation recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100147340A CN1878252A (en) | 2006-07-07 | 2006-07-07 | TV set opening time cumulation recording method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1878252A true CN1878252A (en) | 2006-12-13 |
Family
ID=37510531
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006100147340A Pending CN1878252A (en) | 2006-07-07 | 2006-07-07 | TV set opening time cumulation recording method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1878252A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123321A (en) * | 2010-12-08 | 2011-07-13 | 深圳Tcl新技术有限公司 | Method and system for avoiding automatic upgrade of network television |
CN102348076A (en) * | 2010-07-26 | 2012-02-08 | 南靖万利达科技有限公司 | Real-time operation timing method and device for television-computer module integrated machine |
CN102355531A (en) * | 2011-09-28 | 2012-02-15 | 捷开通讯科技(上海)有限公司 | Device and method for displaying starting time of mobile terminal |
CN105717979A (en) * | 2016-01-29 | 2016-06-29 | 山东鲁能智能技术有限公司 | Clock device based on timestamp and counters and achieving method thereof |
-
2006
- 2006-07-07 CN CNA2006100147340A patent/CN1878252A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102348076A (en) * | 2010-07-26 | 2012-02-08 | 南靖万利达科技有限公司 | Real-time operation timing method and device for television-computer module integrated machine |
CN102123321A (en) * | 2010-12-08 | 2011-07-13 | 深圳Tcl新技术有限公司 | Method and system for avoiding automatic upgrade of network television |
CN102355531A (en) * | 2011-09-28 | 2012-02-15 | 捷开通讯科技(上海)有限公司 | Device and method for displaying starting time of mobile terminal |
CN105717979A (en) * | 2016-01-29 | 2016-06-29 | 山东鲁能智能技术有限公司 | Clock device based on timestamp and counters and achieving method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9529412B2 (en) | System for reducing energy consumption of a device and a method therefor | |
US9740188B2 (en) | Systems and methods for scheduling the operation of building resources | |
CN103414943A (en) | Television program comment information processing method and system | |
CN1287762A (en) | Remote control device and video display device | |
CN103648031A (en) | Program recommending method and apparatus for smart television | |
CN103576834A (en) | Power saving control method and electronic device supporting the same | |
CN106231422B (en) | A kind of TV desktop signal source channel automatic switching method and system | |
JP2002532803A (en) | Synchronization property change that can multiplex control objects | |
CN113268005A (en) | Intelligent scene control method, system, device and storage medium | |
CN1878252A (en) | TV set opening time cumulation recording method | |
JP2013210952A (en) | Information processing device, electronic device, information processing method, and program | |
CN106254911A (en) | A kind of control method and electronic equipment, control system | |
TW202037178A (en) | Video playback method and apparatus and multimedia data playback method | |
CN201057651Y (en) | Equipment control system and electronic device | |
CN103024513B (en) | Method for rapidly changing channels of digital television | |
CN100558142C (en) | A kind of method, application and device that changes application state in a plurality of current service | |
CN113391559A (en) | Smart home equipment control method and terminal equipment | |
CN103997673A (en) | Event processing method and device | |
CN111556175B (en) | Intelligent network management system | |
CN2512165Y (en) | Intellectual household controller | |
CN112153244B (en) | Studio making business process management control method and system | |
EP2150087A1 (en) | System and method for effectively transmitting content bursts to electronic devices | |
CN103974129B (en) | Performance recording device and method | |
CN102231853B (en) | Program processing method and mobile terminal | |
CN101740090B (en) | Method for calling ex-situ computer storage files by multi-medium play system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |