CN103369399A - Method and device for timing control of digital television - Google Patents
Method and device for timing control of digital television Download PDFInfo
- Publication number
- CN103369399A CN103369399A CN2013102843750A CN201310284375A CN103369399A CN 103369399 A CN103369399 A CN 103369399A CN 2013102843750 A CN2013102843750 A CN 2013102843750A CN 201310284375 A CN201310284375 A CN 201310284375A CN 103369399 A CN103369399 A CN 103369399A
- Authority
- CN
- China
- Prior art keywords
- time
- real
- password
- tot
- tdt
- 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
Abstract
The embodiment of the invention discloses a method for timing control of a digital television. The method comprises the following steps of analyzing a time and date table and a time offset table in a transport stream; obtaining real time according to the time and date table and the time offset table; judging whether the real time reaches the current preset time; if so, entering a control process. The embodiment of the invention further discloses a device for timing control of the digital television. By adopting the invention, the real time is obtained, and the device has the advantage of timing control.
Description
Technical field
The present invention relates to digital TV field, relate in particular to the time-controlled method and apparatus of a kind of Digital Television.
Background technology
In actual life, people work by day, and only have when going home at night and just can see TV, may see that perhaps TV sees the late into the night Saturday always, and like this repairing of people being given birth to and brought up breath has very bad impact.At present nearly all set-top box prompting function and the method for reminding idle function to realize substantially are based on and system time operation duration need to manually be set realize prompting function and remind idle function.After time sets, change next time that reminder time needs again manually arrange, use inconvenient.
Summary of the invention
The embodiment of the invention provides the time-controlled method of a kind of Digital Television and device.Can obtain real-time time, carry out time-controlled purpose to reach.
The embodiment of the invention provides a kind of Digital Television time-controlled method, comprising:
TDT Time and Date Table in the analyzing atransmission stream and TOT Time Offset Table;
Obtain real-time time according to described TDT Time and Date Table and TOT Time Offset Table;
Judge whether described real-time time arrives the current preset time;
If so, then enter control flow.
Further, describedly obtain real-time time according to described TDT Time and Date Table and TOT Time Offset Table and comprise:
Resolve TDT Time and Date Table and obtain the Coordinated Universal Time(UTC);
Resolve TOT Time Offset Table and obtain local shift time;
According to described Coordinated Universal Time(UTC) and described local shift time calculating real-time time.
Further, describedly also comprise after obtaining real-time time according to described TDT Time and Date Table and TOT Time Offset Table:
Described real-time time is synchronized to the system time of Digital Television.
Further, system arranges a plurality of Preset Times, and is described if then enter control flow and comprise:
If described real-time time arrives the current preset time, enter countdown, and obtain password;
If when countdown finished, the described password of input was correct, finishing control flow process then, and with next Preset Time as the current preset time;
If when countdown finishes, without the described password mistake of Password Input or input, then carry out predetermined registration operation.
Further, described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
The time-controlled device of a kind of Digital Television comprises:
Parsing module is for TDT Time and Date Table and the TOT Time Offset Table of analyzing atransmission stream;
Acquisition module is used for obtaining real-time time according to described TDT Time and Date Table and TOT Time Offset Table;
Judge module is used for judging whether described real-time time arrives the current preset time;
Control module judges that described real-time time arrives the current preset time, then enters control flow if be used for judge module.
Further, described acquisition module comprises:
The first resolution unit is used for resolving TDT Time and Date Table and obtains the Coordinated Universal Time(UTC);
The second resolution unit is used for resolving TOT Time Offset Table and obtains local shift time;
Computing unit is used for calculating real-time time according to described Coordinated Universal Time(UTC) and described local shift time.
Further, also comprise:
Synchronization module is for the system time that described real-time time is synchronized to Digital Television.
Further, system arranges a plurality of Preset Times, and described control module comprises:
The password acquiring unit judges that described real-time time arrives the current preset time, enters countdown, and obtains password if be used for judge module;
End unit, if when being used for countdown and finishing, the described password of input is correct, finishing control flow process then, and with next Preset Time as the current preset time;
Performance element is if when being used for the countdown end, without the described password mistake of Password Input or input, then carry out predetermined registration operation.
Further, described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
Implement the embodiment of the invention and can obtain real-time time, carry out time-controlled purpose to reach.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is time-controlled the first embodiment flow chart of a kind of Digital Television of the present invention;
Fig. 2 is time-controlled the second embodiment flow chart of a kind of Digital Television of the present invention;
Fig. 3 is the embodiment schematic diagram of the time-controlled device of a kind of Digital Television of the present invention;
Fig. 4 is the acquisition module embodiment schematic diagram of the time-controlled device of a kind of Digital Television of the present invention;
Fig. 5 is the control module embodiment schematic diagram of the time-controlled device of a kind of Digital Television of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Time-controlled method the first embodiment flow process of Digital Television of the present invention as shown in Figure 1, it can comprise:
Step 101: the TDT Time and Date Table in the analyzing atransmission stream and TOT Time Offset Table.The set-top box searching programs, the service information list in the analyzing atransmission stream is obtained TDT Time and Date Table and TOT Time Offset Table in the code stream, and it is resolved.
TDT Time and Date Table provides current date, time, and the time and date list structure is as follows:
The semanteme of time and date section is:
Table identifier table_id:0x70.
Duan Yufa designator section_syntax_indicator:1 bit field is answered reset.
Segment length section_length:12 bit field, front two are put " 00 ".The byte length of this section that its expression begins from the next byte of this field.
UTC(Coordinated Universal Time, Coordinated Universal Time(UTC)) time UTC_time:40 bit field comprises with UTC and MJD(Modified Julian Day, Modified Julian Date) the form current time and the date that represent.The front 16 bit representation MJD date codes of this field, all the other 24 by 4 BCD(Binary-Coded Decimal, binary-decimal code) coding, represent 6 numerals.
Example: 93/10/1312:45:00 is encoded as " 0xc079124500 ".
Reserve reserved: when term " reserved " uses in the clause of definition coded bit stream, represent that this value is in ISO(International Organization for Standardization in future, International Standards Organization) might be used to during the standard expanded definition.
Reserve and use reserved_future_use: when term " reserved_futre_use " uses in the clause of definition coded bit stream, represent that this value is in ETSI(European Telecommunications Standards Institute in future, ETSI) might be used to during the standard expanded definition.
TOT Time Offset Table provides and current time, date and local zone time skew relevant information.The TOT Time Offset Table list structure is as follows:
Table identifier table_id:0x73.
Duan Yufa designator section_syntax_indicator:1 bit field is answered reset.
Segment length section_length:12 bit field, front two are put " 00 ".The byte length of this section that its expression begins from the next byte of this field.
UTC time UTC_time:40 bit field comprises the current time and the date that represent with UTC and MJD form.The front 16 bit representation MJD date codes of this field are pressed 4 BCD codings, are represented 6 numerals for all the other 24.
Example: 93/10/1312:45:00 is encoded as " 0xc079124500 ".
Descriptor length of the cycle descriptors_loop_length:12 bit field is pointed out the total byte length of the descriptor that begins from the next byte of this field.
The CRC_32:32 bit field.Comprised CRC(Cyclic Redundancy Check, cyclic redundancy check (CRC) code) value, crc value is a kind of check value.
Reserve reserved: when term " reserved " uses, represent that this value might be used to during the iso standard expanded definition in future in the clause of definition coded bit stream.
Reserve to use reserved_future_use: when term " reserved_futre_use " uses, represent that this value might be used to during the etsi standard expanded definition in future in the clause of definition coded bit stream.
Step 102: obtain real-time time according to described TDT Time and Date Table and TOT Time Offset Table.In the implementation, can resolve TDT Time and Date Table and obtain the Coordinated Universal Time(UTC), resolve TOT Time Offset Table and obtain local shift time, according to described Coordinated Universal Time(UTC) and described local shift time calculating real-time time.For example, it is 10:00 on July 2nd, 2013 that the parsing TDT Time and Date Table obtains the Coordinated Universal Time(UTC), resolving TOT Time Offset Table, to obtain local shift time be 6:00, and calculating real-time time according to described Coordinated Universal Time(UTC) and described local shift time is 16:00 on July 2nd, 2013.
Step 103: judge whether described real-time time arrives the current preset time.System arranges a plurality of Preset Times, as Preset Time 13:56 on July 2nd, 2013, on July 2nd, 2013 15:56, on July 2nd, 2013 17:56 is set, during start, system initialization, to be set as the current preset time with available machine time immediate Preset Time 15:56 on July 2nd, 2013, when real-time time is 16:00 on July 2nd, 2013, judge that then real-time time arrives the current preset time.
Step 104: if then enter control flow.In the implementation, be to arrive the current preset time if judge described real-time time, enter countdown, and obtain password; If when countdown finished, the described password of input was correct, finishing control flow process then, and with next Preset Time as the current preset time; If when countdown finishes, without the described password mistake of Password Input or input, then carry out predetermined registration operation.Described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
Implement the embodiment of the invention and can obtain real-time time, carry out time-controlled purpose to reach.
The second embodiment flow process of the time-controlled method of Digital Television of the present invention is as shown in Figure 2:
Step 201: the TDT Time and Date Table in the analyzing atransmission stream and TOT Time Offset Table.Identical with the S101 among the preamble embodiment, repeat no more in the present embodiment.
Step 202: resolve TDT Time and Date Table and obtain the Coordinated Universal Time(UTC).For example, resolving TDT Time and Date Table, to obtain the Coordinated Universal Time(UTC) be 10:00 on July 2nd, 2013.
Step 203: resolve TOT Time Offset Table and obtain local shift time.For example, resolving TOT Time Offset Table, to obtain local shift time be 6:00.
Step 204: according to described Coordinated Universal Time(UTC) and described local shift time calculating real-time time.For example, be 16:00 on July 2nd, 2013 according to described Coordinated Universal Time(UTC) and described local shift time calculating real-time time.
Step 205: the system time that described real-time time is synchronized to Digital Television.For example, described real-time time 16:00 on July 2nd, 2013 is synchronized to the system time of Digital Television.
Step 206: judge whether described real-time time arrives the current preset time.Identical with the S103 among the preamble embodiment, repeat no more in the present embodiment.
Step 207: if described real-time time arrives the current preset time, enter countdown, and obtain password.For example, if described real-time time arrives the current preset time, enter countdown, and obtain password 000222.
Step 208a: if when countdown finished, the described password of input was correct, finishing control flow process then, and with next Preset Time as the current preset time.For example, if when countdown finished, the described password 000222 of input was correct, finishing control flow process then, system arranges a plurality of Preset Times, with next Preset Time 18:00 on July 2nd, 2013 as the current preset time.
Step 208b: if when countdown finishes, without the described password mistake of Password Input or input, then carry out predetermined registration operation.Described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
Implement the embodiment of the invention and can obtain real-time time, carry out time-controlled purpose to reach.
Corresponding with the embodiment of the time-controlled method of Digital Television of the present invention, the present invention also provides Digital Television time-controlled device embodiment.
The first embodiment block diagram of the time-controlled device of Digital Television of the present invention as shown in Figure 3, the time-controlled device of Digital Television in the embodiment of the invention can realize that on Digital Television, this device can comprise at least: parsing module 310, acquisition module 320, judge module 330, control module 340.Wherein:
Parsing module 310 is for TDT Time and Date Table and the TOT Time Offset Table of analyzing atransmission stream.
The set-top box searching programs, the service information list in parsing module 310 analyzing atransmission stream is obtained TDT Time and Date Table and TOT Time Offset Table in the code stream, and it is resolved.
Time and date list structure and time migration list structure are asked for an interview the description in the time-controlled method of Digital Television.
Optionally, the time-controlled device of Digital Television further can also comprise with lower module:
Concrete, as shown in Figure 4, described acquisition module 320 comprises at least:
The first resolution unit 321 is used for resolving TDT Time and Date Table and obtains the Coordinated Universal Time(UTC).For example, the first resolution unit 321 is resolved TDT Time and Date Tables to obtain the Coordinated Universal Time(UTC) is 10:00 on July 2nd, 2013.
The second resolution unit 322 is used for resolving TOT Time Offset Table and obtains local shift time.For example, the second resolution unit 322 is resolved TOT Time Offset Tables to obtain local shift time is 6:00.
Concrete, as shown in Figure 5, described control module 340 comprises at least:
In the implementation, 343 of end unit 342 and performance elements comprise one of them.
Implement the embodiment of the invention and can obtain real-time time, carry out time-controlled purpose to reach.
The module of the embodiment of the invention or unit, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) and realize.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Claims (10)
1. the time-controlled method of Digital Television is characterized in that, comprising:
TDT Time and Date Table in the analyzing atransmission stream and TOT Time Offset Table;
Obtain real-time time according to described TDT Time and Date Table and TOT Time Offset Table;
Judge whether described real-time time arrives the current preset time;
If so, then enter control flow.
2. method according to claim 1 is characterized in that, describedly obtains real-time time according to described TDT Time and Date Table and TOT Time Offset Table and comprises:
Resolve TDT Time and Date Table and obtain the Coordinated Universal Time(UTC);
Resolve TOT Time Offset Table and obtain local shift time;
According to described Coordinated Universal Time(UTC) and described local shift time calculating real-time time.
3. method according to claim 1 is characterized in that, describedly also comprises after obtaining real-time time according to described TDT Time and Date Table and TOT Time Offset Table:
Described real-time time is synchronized to the system time of Digital Television.
4. method according to claim 1 is characterized in that, system arranges a plurality of Preset Times, and is described if then enter control flow and comprise:
If described real-time time arrives the current preset time, enter countdown, and obtain password;
If when countdown finished, the described password of input was correct, finishing control flow process then, and with next Preset Time as the current preset time;
If when countdown finishes, without the described password mistake of Password Input or input, then carry out predetermined registration operation.
5. method according to claim 4 is characterized in that, described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
6. the time-controlled device of Digital Television is characterized in that, comprising:
Parsing module is for TDT Time and Date Table and the TOT Time Offset Table of analyzing atransmission stream;
Acquisition module is used for obtaining real-time time according to described TDT Time and Date Table and TOT Time Offset Table;
Judge module is used for judging whether described real-time time arrives the current preset time;
Control module judges that described real-time time arrives the current preset time, then enters control flow if be used for judge module.
7. device according to claim 6 is characterized in that, described acquisition module comprises:
The first resolution unit is used for resolving TDT Time and Date Table and obtains the Coordinated Universal Time(UTC);
The second resolution unit is used for resolving TOT Time Offset Table and obtains local shift time;
Computing unit is used for calculating real-time time according to described Coordinated Universal Time(UTC) and described local shift time.
8. device according to claim 6 is characterized in that, also comprises:
Synchronization module is for the system time that described real-time time is synchronized to Digital Television.
9. device according to claim 6 is characterized in that, system arranges a plurality of Preset Times, and described control module comprises:
The password acquiring unit judges that described real-time time arrives the current preset time, enters countdown, and obtains password if be used for judge module;
End unit, if when being used for countdown and finishing, the described password of input is correct, finishing control flow process then, and with next Preset Time as the current preset time;
Performance element is if when being used for the countdown end, without the described password mistake of Password Input or input, then carry out predetermined registration operation.
10. device according to claim 9 is characterized in that, described predetermined registration operation comprises: any one in timing shutdown, timing standby, the timed recording.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102843750A CN103369399A (en) | 2013-07-08 | 2013-07-08 | Method and device for timing control of digital television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102843750A CN103369399A (en) | 2013-07-08 | 2013-07-08 | Method and device for timing control of digital television |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103369399A true CN103369399A (en) | 2013-10-23 |
Family
ID=49369772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102843750A Pending CN103369399A (en) | 2013-07-08 | 2013-07-08 | Method and device for timing control of digital television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103369399A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412697A (en) * | 2016-09-20 | 2017-02-15 | 深圳Tcl数字技术有限公司 | Method and device for automatically acquiring time zone for smart television |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007116321A (en) * | 2005-10-19 | 2007-05-10 | Victor Co Of Japan Ltd | Digital broadcast receiver |
CN101106675A (en) * | 2007-08-01 | 2008-01-16 | 康佳集团股份有限公司 | A timing shutdown method and system for TV |
CN101272193A (en) * | 2008-05-14 | 2008-09-24 | 中兴通讯股份有限公司 | Method and device for maintaining network time and timing broadcast method |
CN101277440A (en) * | 2008-03-31 | 2008-10-01 | 深圳创维数字技术股份有限公司 | Method and system for automatically real time switching case |
CN101394514A (en) * | 2008-10-29 | 2009-03-25 | 北京海尔集成电路设计有限公司 | Intelligent playing method and device for picture-in-picture |
CN101827231A (en) * | 2010-04-30 | 2010-09-08 | 中山大学 | Method for automatically turning off digital television, set-top box device and playing system |
-
2013
- 2013-07-08 CN CN2013102843750A patent/CN103369399A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007116321A (en) * | 2005-10-19 | 2007-05-10 | Victor Co Of Japan Ltd | Digital broadcast receiver |
CN101106675A (en) * | 2007-08-01 | 2008-01-16 | 康佳集团股份有限公司 | A timing shutdown method and system for TV |
CN101277440A (en) * | 2008-03-31 | 2008-10-01 | 深圳创维数字技术股份有限公司 | Method and system for automatically real time switching case |
CN101272193A (en) * | 2008-05-14 | 2008-09-24 | 中兴通讯股份有限公司 | Method and device for maintaining network time and timing broadcast method |
CN101394514A (en) * | 2008-10-29 | 2009-03-25 | 北京海尔集成电路设计有限公司 | Intelligent playing method and device for picture-in-picture |
CN101827231A (en) * | 2010-04-30 | 2010-09-08 | 中山大学 | Method for automatically turning off digital television, set-top box device and playing system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412697A (en) * | 2016-09-20 | 2017-02-15 | 深圳Tcl数字技术有限公司 | Method and device for automatically acquiring time zone for smart television |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6279157B1 (en) | Program data transmission checking method and apparatus | |
CN103402126B (en) | A kind of display packing of advertising message and device | |
CN110557678B (en) | Video processing method, device and equipment | |
CN106034263B (en) | Method and device for calibrating audio and video in media file and storage medium | |
CN112019834B (en) | Video stream processing method, device, equipment and medium | |
CN102291615A (en) | Television program precision searching and detail viewing device and method based on one-way network | |
CN104038785A (en) | Recommending system and method of live-program-related content of smart television | |
CN103931202A (en) | Information processing device, information processing method, information provision device, and information provision system | |
CN104391960A (en) | Video annotation method and system | |
CN106792069A (en) | Method for broadcasting multimedia file and device | |
CN107529158A (en) | A kind of method for obtaining LTE terminal Cell Radio Network Temporary Identifier/Identity, Cell-RNTI code | |
CN106973324A (en) | A kind of poster generation method and device | |
CN104333809A (en) | Program information communication method, device and system | |
CN206147770U (en) | Classroom management equipment of registering based on two -dimensional code and fingerprint identification | |
CN103020177A (en) | Method and device for finding page in paper notebook automatically | |
CN103369399A (en) | Method and device for timing control of digital television | |
CN108986809B (en) | Portable equipment and awakening method and device thereof | |
CN102790920A (en) | STB (Set Top Box) upgrading method and equipment | |
CN103414941A (en) | Program editing method and device based on intelligent television | |
CN107483985A (en) | A kind of advertisement accurately localization method | |
WO2014166255A1 (en) | Method, device, and terminal for determining user interface language display of sim card | |
CN107645658A (en) | Method for authenticating, the apparatus and system of IPTV IPTV platforms | |
CN105786555B (en) | The initial method and device of demodulator and tuner | |
CN108572948B (en) | Doorplate information processing method and device | |
CN112887744B (en) | Live broadcast data transmission control method for large healthy intelligent live broadcast hall |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131023 |