WO2018053962A1 - 智能电视自动获取时区的方法和装置 - Google Patents
智能电视自动获取时区的方法和装置 Download PDFInfo
- Publication number
- WO2018053962A1 WO2018053962A1 PCT/CN2016/112515 CN2016112515W WO2018053962A1 WO 2018053962 A1 WO2018053962 A1 WO 2018053962A1 CN 2016112515 W CN2016112515 W CN 2016112515W WO 2018053962 A1 WO2018053962 A1 WO 2018053962A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- smart
- information
- time difference
- time zone
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4433—Implementing client middleware, e.g. Multimedia Home Platform [MHP]
Definitions
- the present invention relates to the field of smart devices, and in particular, to a method and apparatus for automatically acquiring a time zone by a smart television.
- Smart TV is a new TV product based on Internet application technology. It has a fully open platform and is equipped with an operating system. In addition to the ordinary TV function, it can also be used for users to install and uninstall various application software, and continue to function. Expand and upgrade. Smart TV can bring users a more convenient experience, and has become a trend of TV.
- NTP Network Time Protocol
- UTC Coordinatd Universal Time
- the main purpose of the present invention is to provide a method and apparatus for automatically acquiring a time zone by a smart television, which can extract current time zone information from the current code stream information and synchronize it to the system clock without manual setting by the user.
- the method includes:
- time difference information is a time difference between a world standard time and a local time of an area in which the smart television is located;
- the time zone information in which the time difference information in the data including the time difference information is extracted and converted into the area in which the smart television is located is stored in a database of the smart television system.
- a method of obtaining data including time difference information from a current code stream is:
- the smart TV middleware obtains a data packet containing the time difference information from the current code stream of the digital television.
- the method further includes:
- the current code stream information is monitored, and when it changes, the time zone information is updated.
- the method further comprises:
- the system clock of the smart TV is adjusted according to the time zone information of the area where the smart TV is located, and the current accurate time is obtained.
- the code stream is binary data comprising video and audio data of a television program.
- the present invention also provides a method for automatically setting a time for a smart TV, including:
- time difference information is a time difference between a world standard time and a local time of an area in which the smart television is located;
- Extracting the time difference information in the data including the time difference information and converting it into the time zone information of the area where the smart TV is located is stored in a database of the smart television system;
- the system clock of the smart TV is adjusted according to the time zone information of the area where the smart TV is located, and the current accurate time is obtained.
- the present invention also provides a device for automatically acquiring a time zone of a smart television, comprising:
- a time difference information obtaining unit configured to acquire data including time difference information from a current code stream, where the time difference information is a time difference between a world standard time and a local time of an area in which the smart television is located;
- the time zone information extracting unit is configured to store the time zone information in the data including the time difference information and convert the time zone information into the area in which the smart television is located, and store the time zone information in the database of the smart television system.
- the time difference information acquisition unit includes:
- a service creation module for creating a time zone information acquisition service
- a requesting module configured to initiate a request for querying the time difference information to the smart TV middleware after starting the time zone information obtaining service
- the data acquisition module is configured to obtain, by the smart TV middleware, a data packet including time difference information from a current code stream of the digital television.
- the apparatus further comprises:
- the time zone information updating unit is configured to monitor the current code stream information, and update the time zone information when it changes.
- the apparatus further comprises:
- the time setting unit is configured to adjust the system clock of the smart TV according to the time zone information of the area where the smart TV is located, to obtain the current accurate time.
- the code stream is binary data comprising video and audio data of a television program.
- the present invention also provides a device for automatically setting a time of a smart TV, comprising:
- a standard time acquisition unit configured to automatically acquire a current world standard time by using a network time protocol server, and synchronize the time to a system clock of the smart television;
- a time difference information obtaining unit configured to acquire data including time difference information from a current code stream, where the time difference information is a time difference between a world standard time and a local time of an area in which the smart television is located;
- a time zone information extracting unit configured to extract time difference information in the data including the time difference information and convert the time zone information into an area in which the smart television is located, and store the time zone information in a database of the smart television system;
- the time setting unit is configured to adjust the system clock of the smart TV according to the time zone information of the area where the smart TV is located, to obtain the current accurate time.
- the present invention is directed to the problem that the smart TV cannot automatically adjust the time zone in the prior art, and directly acquires the data including the time difference information from the current code stream, and extracts the time zone information from the system to the smart television system to realize the function of automatically synchronizing the time zone of the system. It can simplify user operations, improve the intelligence of the device, avoid the problem that the system time display abnormality caused by user error setting, and improve the user experience.
- FIG. 1 is a flow chart of a method for automatically acquiring a time zone of a smart television according to an embodiment of the present invention
- FIG. 2 is a flow chart of a method for automatically setting a time of a smart television according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an apparatus for automatically acquiring a time zone of a smart television according to an embodiment of the present invention.
- a method for automatically acquiring a time zone by a smart television which can extract current time zone information from current code stream information and synchronize it to a system clock without manual setting by a user, as shown in FIG.
- the method includes the following steps:
- Time zone information in which the time difference information in the data including the time difference information is extracted and converted into an area in which the smart TV is located is stored in a database of the smart television system.
- the smart TV refers to a TV product based on Internet application technology, has a fully open platform, and is equipped with an operating system. In addition to the functions of an ordinary TV, the user can also install and uninstall various application software by himself.
- the smart TV of the prior art can apply the technical solution of the present invention.
- the operating system installed on the smart TV is an Android system.
- the present invention will be described by taking a smart TV equipped with an Android system as an example.
- the smart TV equipped with other operating systems such as IOS, Saipan, etc. can also apply the technical solution of the present invention.
- step S110 data including time difference information is obtained from the current code stream, and the time difference information is a time difference between the world standard time and the local time of the area in which the smart television is located.
- the current code stream refers to a digital television signal that can be received by the current smart TV, and is transmitted in the form of a code stream, and the code stream is embodied as a series of binary data, which includes video and audio data of the television program.
- the code stream is further divided into a basic code stream (ES), a program element code stream (PES), a program code stream (PS), a transport code stream (TS), and the like.
- the data packet includes a system clock and a program reference clock (PCR) for indicating the encoding and decoding of video and audio.
- the reference clock contains the time difference between the current time zone and the world standard time, usually time_off. Set packet.
- the time difference relationship is expressed as the difference between the time zone of the current zone and the time zone of 0, and the range is [-12, 12]. For example, the time zone in which Beijing is located is the east eight zone, and the current time zone included in the digital television code stream of Beijing and The time difference between world standard time is 8.
- the technical solution of the present invention can extract time_off The time difference between the current time zone and the world standard time contained in the set packet, so that the current time zone information is obtained, and the user does not need to manually set it.
- the method for obtaining the data including the time difference information from the current code stream is: creating a time zone information obtaining service, configured to obtain a time difference relationship between the current time zone and the world standard time from the current code stream, when the time zone information is started
- the service initiates a request for querying the time difference information to the smart TV middleware, and after receiving the request, the smart TV middleware obtains the data packet including the time difference information from the current code stream of the digital television.
- the smart TV middleware is a digital television interactive system, which is independent of the smart television, and the distributed application software realizes sharing resources by using the smart television middleware.
- Smart TV middleware is located on the operating system of the smart TV/server, manages computer resources and network communication, and is software that connects smart TVs and servers.
- the smart TV middleware can acquire the data packet in the current code stream, and further extract the data packet including the time difference relationship between the current time zone and the world standard time from the data packet.
- step S120 the data packet is decoded and analyzed, and the current time zone information is obtained. Specifically, extracting the time difference information in the data including the time difference information and converting the time zone information into the area where the smart TV is located is stored in a database of the smart television system, and the system automatically acquires the current world through the network time protocol server. At the standard time, you can get the exact current time.
- the present invention further provides a method for automatically setting a time of a smart television, comprising: automatically acquiring a current world standard time by a network time protocol server, and synchronizing the time to a system clock of the smart television; Obtaining data including time difference information from a current code stream, wherein the time difference information is a time difference between a world standard time and a local time of a region in which the smart television is located; extracting time difference information in the data including the time difference information and The time zone information converted into the area in which the smart television is located is stored in a database of the smart television system; the system clock of the smart television is adjusted in combination with the time zone information of the area in which the smart television is located to obtain the current accurate time.
- the smart TV client 200 obtains the current world standard time through the network time protocol server. Specifically, after the smart TV client 200 is started, the system service 210 creates a network time update service 211, and the network time update service 211 sends a signal to the standard time network time protocol server 100 to request the standard time, and the network time protocol server 100 receives the smart After the request signal sent by the television client, the standard time is fed back to the system clock 213 of the smart TV to obtain the current world standard time.
- the smart TV client 200 obtains the current time zone information through the smart TV middleware.
- the system service 210 creates a network time zone update service 212, and the network time zone update service 212 sends a signal request time difference data to the smart TV middleware 300, and the time difference data acquisition unit 310 of the smart television middleware 300
- Receiving the request data and extracting, according to the request data, a data packet containing a time difference relationship between the current time zone and the world standard time from the current digital television code stream, usually time_off
- the acquired data packet is parsed by the time difference data parsing unit 320 of the TV middleware 300 to obtain time difference data, and the data is fed back to the mapping system time zone 214, and the obtained time difference data is converted into a smart TV.
- the time zone information of the area in which it is located is stored in the database of the smart TV client 200, and the current time is obtained in conjunction with the world standard time in the system 213.
- the method for automatically acquiring a time zone by the smart television further includes step S130, monitoring current code stream information, and updating the time zone information when the change occurs.
- it may be configured to: after the smart TV client 200 is re-opened, update the time zone information according to the current code stream information; or set, to continuously monitor the current code stream in a fixed cycle, when found Time zone information is updated when the code stream information changes.
- the present invention further provides an apparatus for automatically acquiring a time zone of a smart television, comprising: a time difference information acquiring unit 110 and a time zone information extracting unit 120.
- the time difference information obtaining unit 110 is configured to acquire data including time difference information from a current code stream, where the time difference information is a time difference between a world standard time and a local time of a region where the smart television is located;
- the information extracting unit is configured to extract the time difference information in the data including the time difference information and convert the time zone information into the area in which the smart television is located, and store the time zone information in the database of the smart television system.
- the time difference information obtaining unit 110 includes: a service creation module, configured to create a time zone information obtaining service; and a requesting module, configured to initiate a request for querying the time difference information to the smart television middleware after starting the time zone information obtaining service;
- the data acquisition module is configured to obtain, by the smart TV middleware, a data packet including the time difference information from the current code stream of the digital television.
- the current code stream refers to a digital television signal that can be received by the current smart TV, and is transmitted in the form of a code stream, and the code stream is embodied as a series of binary data, which includes video and audio data of the television program.
- a transport stream and a program stream both of which are composed of packetized unit data streams composed of compressed video data or audio data.
- the code stream is further divided into a basic code stream (ES), a program element code stream (PES), a program code stream (PS), a transport code stream (TS), and the like.
- the data packet includes a system clock and a program reference clock (PCR) for indicating the encoding and decoding of video and audio.
- the reference clock contains the time difference between the current time zone and the world standard time, usually time_off. Set packet.
- the time difference relationship is expressed as the difference between the time zone of the current zone and the time zone of 0, and the range is [-12, 12]. For example, the time zone in which Beijing is located is the east eight zone, and the current time zone included in the digital television code stream of Beijing and The time difference between world standard time is 8.
- the technical solution of the present invention can extract time_off The time difference between the current time zone and the world standard time contained in the set packet, so that the current time zone information is obtained, and the user does not need to manually set it.
- the method for obtaining the data including the time difference information from the current code stream is: creating a time zone information obtaining service, configured to obtain a time difference relationship between the current time zone and the world standard time from the current code stream, when the time zone information is started
- the service initiates a request for querying the time difference information to the smart TV middleware, and after receiving the request, the smart TV middleware obtains the data packet including the time difference information from the current code stream of the digital television.
- the smart TV middleware is a digital television interactive system, which is independent of the smart television, and the distributed application software realizes sharing resources by using the smart television middleware.
- Smart TV middleware is located on the operating system of the smart TV/server, manages computer resources and network communication, and is software that connects smart TVs and servers.
- the smart TV middleware can acquire the data packet in the current code stream, and further extract the data packet including the time difference relationship between the current time zone and the world standard time from the data packet.
- the time zone information extracting unit 120 performs decoding analysis on the data packet to obtain current time zone information. Specifically, extracting the time difference information in the data including the time difference information and converting the time zone information into the area where the smart TV is located is stored in a database of the smart television system, and the system automatically acquires the current world through the network time protocol server. At the standard time, you can get the exact current time.
- the method for automatically acquiring a time zone by the smart television further includes a time zone information updating unit, configured to monitor current code stream information, and update the time zone information when the change occurs.
- the time zone information updating unit may be configured to: after the smart TV client 200 is re-opened, update the time zone information according to the current code stream information; or set the current code to be uninterrupted with a fixed period. The flow is monitored, and the time zone information is updated when the code stream information is found to change.
- the present invention also provides an apparatus for automatically setting a time of a smart television, comprising: a standard time acquisition unit, configured to automatically acquire a current world standard time through a network time protocol server, and synchronize the time.
- the time difference information obtaining unit is configured to acquire data including the time difference information from the current code stream, wherein the time difference information is a time difference between the world standard time and the local time of the area where the smart television is located;
- An information extracting unit configured to extract time difference information in the data including the time difference information and convert the time zone information into an area where the smart television is located, and store the time zone information in a database of the smart television system; and
- a time setting unit configured to combine the The time zone information of the area in which the smart TV is located adjusts the system clock of the smart TV to obtain the current accurate time.
- the present invention is directed to the problem that the smart TV cannot automatically adjust the time zone in the prior art, and directly acquires the data including the time difference information from the current code stream, and extracts the time zone information from the system to the smart television system to realize the function of automatically synchronizing the time zone of the system. It can simplify user operations, improve the intelligence of the device, avoid the problem that the system time display abnormality caused by user error setting, and improve the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Electric Clocks (AREA)
Abstract
本发明提供一种智能电视自动获取时区的方法和装置。该方法包括:从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。本发明能够从当前码流中直接获取包含时差信息的数据,并从中提取出时区信息同步给智能电视的系统,实现自动同步系统时区的功能,简化了用户操作,提高了设备的智能化程度。
Description
技术领域
本发明涉及智能设备领域,尤其涉及一种智能电视自动获取时区的方法和装置。
背景技术
随着互联网技术和智能设备的发展,智能电视已经取代传统的电视设备得到了广泛应用。智能电视是一种基于Internet应用技术的新电视产品,具有全开放式平台,搭载了操作系统,除了具备普通电视功能的同时,还可以供用户自行安装和卸载各类应用软件,并持续对功能进行扩充和升级。智能电视能够带给用户更便捷的体验,目前已经成为电视的潮流趋势。
目前,智能电视获取时间信息的方法为:通过网络时间协议(Network Time
Protocol,NTP)服务器自动获取当前的世界标准时间(Coordinated Universal
Time,UTC),并将该时间同步给系统时钟,但是获取的UTC时间信息中并不包含时区信息,只能靠用户自己手动设置,时区设置错误则无法显示正确的时间,给用户的使用带来不便。
发明内容
本发明的主要目的在于供一种智能电视自动获取时区的方法和装置,能够从当前的码流信息中提取出当前的时区信息并同步给系统时钟,无需用户手动设置。该方法包括:
从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;
提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
根据本发明的其中一个方面,从当前码流中获取包含时差信息的数据的方法为:
创建时区信息获取服务;
启动所述时区信息获取服务后,向智能电视中间件发起查询时差信息的请求;
智能电视中间件从数字电视的当前码流中获取包含时差信息的数据包。
根据本发明的其中一个方面,还包括:
监测当前码流信息,当其发生变化时,对时区信息进行更新。
根据本发明的其中一个方面,所述方法还包括:
结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
根据本发明的其中一个方面,所述码流为二进制数据,其中包含电视节目的视频、音频数据。
以及,本发明还提供了一种智能电视自动设置时间的方法,包括:
通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;
从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;
提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;
结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
相应的,本发明还提供了一种智能电视自动获取时区的装置,包括:
时差信息获取单元,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;
时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
根据本发明的其中一个方面,所述时差信息获取单元包括:
服务创建模块,用于创建时区信息获取服务;
请求模块,用于启动所述时区信息获取服务后,向智能电视中间件发起查询时差信息的请求;
数据获取模块,用于通过智能电视中间件从数字电视的当前码流中获取包含时差信息的数据包。
根据本发明的其中一个方面,所述装置还包括:
时区信息更新单元,用于监测当前码流信息,当其发生变化时,对时区信息进行更新。
根据本发明的其中一个方面,所述装置还包括:
时间设置单元,用于结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
根据本发明的其中一个方面,所述码流为二进制数据,其中包含电视节目的视频、音频数据。
以及,本发明还提供了一种智能电视自动设置时间的装置,包括:
标准时间获取单元,用于通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;
时差信息获取单元,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;
时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;
时间设置单元,用于结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
本发明针对现有技术中智能电视无法自动调整时区的问题,从当前码流中直接获取包含时差信息的数据,并从中提取出时区信息同步给智能电视的系统,实现自动同步系统时区的功能,能够简化用户操作,提高设备智能化程度,避免用户错误设置导致系统时间显示异常的问题发生,改善用户体验。
附图说明
图1为本发明一个实施例的智能电视自动获取时区的方法流程图;
图2为本发明一个实施例的智能电视自动设置时间的方法流程图;
图3为本发明一个实施例的智能电视自动获取时区的装置示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释为仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本发明的技术方案作进一步详细描述。
根据本发明的一个实施例,提供了一种智能电视自动获取时区的方法,能够从当前的码流信息中提取出当前的时区信息并同步给系统时钟,无需用户手动设置,参见图1,该方法包括以下步骤:
S110、从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;
S120、提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
其中,所述智能电视指的是基于Internet应用技术的电视产品,具有全开放式平台,搭载了操作系统,除了具备普通电视的功能之外,还可以供用户自行安装和卸载各类应用软件。现有技术中的智能电视均可应用本发明的技术方案。通常,智能电视搭载的操作系统为安卓系统,本实施例中,以搭载安卓系统的智能电视为例对本发明进行说明。然而,搭载其他操作系统,例如IOS、塞班等的智能电视也可应用本发明的技术方案。
下面将对上述步骤进行详细说明。
在步骤S110中,从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差。其中,当前码流指的是当前智能电视可以接收到的数字电视信号,以码流的形式传输,码流具体表现为一串二进制的数据,其中中包含电视节目的视频、音频数据。现有技术中有两类数据码流:传送数据流和节目数据流,两者都是由压缩后的视频数据或音频数据组成的分组化单元数据流所组成的。码流进一步分为基本码流(ES)、节目基本码流(PES)、节目码流(PS)、传输码流(TS)等。
无论何种码流,为了实现各种不同状态下编码和解码的同步,其数据包中都包含有系统时钟以及节目参考时钟(PCR),用于指示视频和音频的编码和解码,所述节目参考时钟中包含有当前时区与世界标准时间之间的时差关系,通常为time_off
set数据包。时差关系表现为当前区域的时区与0时区之间的差值,范围为[-12,12],例如,北京所在的时区为东八区,则北京的数字电视码流中包含的当前时区与世界标准时间之间的时差关系为8。
基于这一点,本发明的技术方案能够提取出time_off
set数据包中包含的当前时区与世界标准时间之间的时差关系,从而获取当前的时区信息,无需用户手动设置。
具体的,从当前码流中获取包含时差信息的数据的方法为:创建时区信息获取服务,用于从当前码流中获取当前时区与世界标准时间之间的时差关系,当启动所述时区信息获取服务后,该服务向智能电视中间件发起查询时差信息的请求,智能电视中间件接收到请求后,从数字电视的当前码流中获取包含时差信息的数据包。
其中,所述智能电视中间件是一种数字电视交互系统,独立于智能电视,分布式应用软件借助所述智能电视中间件实现共享资源。智能电视中间件位于智能电视/服务器的操作系统之上,管理计算机资源和网络通讯,是连接智能电视和服务器的软件。通过所述智能电视中间件可以获取当前码流中的数据包,进而从数据包中提取出包含当前时区与世界标准时间之间的时差关系的数据包。
接下来,在步骤S120中,对所述数据包进行解码分析,即可获得当前的时区信息。具体的,提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中,结合系统通过网络时间协议服务器自动获取当前的世界标准时间,即可得到准确的当前时间。
结合上述自动获取时区的方法,本发明还提供了一种智能电视自动设置时间的方法,包括:通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
参见图2,对本发明一个实施例中智能电视自动设置时间的方法进行详细说明。
首先,智能电视客户端200通过网络时间协议服务器获取当前的世界标准时间。具体的,在智能电视客户端200启动后,系统服务210创建网络时间更新服务211,网络时间更新服务211向标准时间网络时间协议服务器100发出信号,请求标准时间,网络时间协议服务器100接收到智能电视客户端发送的请求信号之后,向智能电视的系统时钟213反馈标准时间,从而获取当前的世界标准时间。
接下来,智能电视客户端200通过智能电视中间件获取当前的时区信息。具体的,在智能电视客户端200启动后,系统服务210创建网络时区更新服务212,网络时区更新服务212向智能电视中间件300发出信号请求时差数据,智能电视中间件300的时差数据获取单元310接收到请求数据,并根据该请求数据从当前的数字电视的码流中提取包含有当前时区与世界标准时间之间的时差关系的数据包,通常为time_off
set数据包,之后,由能电视中间件300的时差数据解析单元320对获取的数据包进行解析,得到时差数据,并将该数据反馈给映射系统时区214,将得到的时差数据转换为智能电视所处的区域的时区信息存储在智能电视客户端200的数据库中,结合系统适中213中的世界标准时间,即可得到准确的当前时间。
优选的,参见图1,所述智能电视自动获取时区的方法还包括步骤S130,监测当前码流信息,当其发生变化时,对时区信息进行更新。具体的,可以设置为,在智能电视客户端200每一次重新开启后,根据当前的码流信息更新时区信息;也可设置为,以固定的周期不间断的对当前码流进行监测,当发现码流信息变化时,更新时区信息。
相应的,参见图3,本发明还提供了一种智能电视自动获取时区的装置,包括:时差信息获取单元110和时区信息提取单元120。其中,所述时差信息获取单元110,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;所述时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
具体的,所述时差信息获取单元110包括:服务创建模块,用于创建时区信息获取服务;请求模块,用于启动所述时区信息获取服务后,向智能电视中间件发起查询时差信息的请求;数据获取模块,用于通过智能电视中间件从数字电视的当前码流中获取包含时差信息的数据包。
其中,当前码流指的是当前智能电视可以接收到的数字电视信号,以码流的形式传输,码流具体表现为一串二进制的数据,其中中包含电视节目的视频、音频数据。现有技术中有两类数据码流:传送数据流和节目数据流,两者都是由压缩后的视频数据或音频数据组成的分组化单元数据流所组成的。码流进一步分为基本码流(ES)、节目基本码流(PES)、节目码流(PS)、传输码流(TS)等。
无论何种码流,为了实现各种不同状态下编码和解码的同步,其数据包中都包含有系统时钟以及节目参考时钟(PCR),用于指示视频和音频的编码和解码,所述节目参考时钟中包含有当前时区与世界标准时间之间的时差关系,通常为time_off
set数据包。时差关系表现为当前区域的时区与0时区之间的差值,范围为[-12,12],例如,北京所在的时区为东八区,则北京的数字电视码流中包含的当前时区与世界标准时间之间的时差关系为8。
基于这一点,本发明的技术方案能够提取出time_off
set数据包中包含的当前时区与世界标准时间之间的时差关系,从而获取当前的时区信息,无需用户手动设置。
具体的,从当前码流中获取包含时差信息的数据的方法为:创建时区信息获取服务,用于从当前码流中获取当前时区与世界标准时间之间的时差关系,当启动所述时区信息获取服务后,该服务向智能电视中间件发起查询时差信息的请求,智能电视中间件接收到请求后,从数字电视的当前码流中获取包含时差信息的数据包。
其中,所述智能电视中间件是一种数字电视交互系统,独立于智能电视,分布式应用软件借助所述智能电视中间件实现共享资源。智能电视中间件位于智能电视/服务器的操作系统之上,管理计算机资源和网络通讯,是连接智能电视和服务器的软件。通过所述智能电视中间件可以获取当前码流中的数据包,进而从数据包中提取出包含当前时区与世界标准时间之间的时差关系的数据包。
由时区信息提取单元120对所述数据包进行解码分析,即可获得当前的时区信息。具体的,提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中,结合系统通过网络时间协议服务器自动获取当前的世界标准时间,即可得到准确的当前时间。
优选的,参见图3,所述智能电视自动获取时区的方法还包括时区信息更新单元,用于监测当前码流信息,当其发生变化时,对时区信息进行更新。具体的,所述时区信息更新单元可以设置为,在智能电视客户端200每一次重新开启后,根据当前的码流信息更新时区信息;也可设置为,以固定的周期不间断的对当前码流进行监测,当发现码流信息变化时,更新时区信息。
结合上述自动获取时区的装置,本发明还提供了一种智能电视自动设置时间的装置,包括:标准时间获取单元,用于通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;时差信息获取单元,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;时间设置单元,用于结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
本发明针对现有技术中智能电视无法自动调整时区的问题,从当前码流中直接获取包含时差信息的数据,并从中提取出时区信息同步给智能电视的系统,实现自动同步系统时区的功能,能够简化用户操作,提高设备智能化程度,避免用户错误设置导致系统时间显示异常的问题发生,改善用户体验。
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
Claims (12)
- 一种智能电视自动获取时区的方法,其特征在于,包括:从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
- 根据权利要求1所述的智能电视自动获取时区的方法,其特征在于,从当前码流中获取包含时差信息的数据的方法为:创建时区信息获取服务;启动所述时区信息获取服务后,向智能电视中间件发起查询时差信息的请求;智能电视中间件从数字电视的当前码流中获取包含时差信息的数据包。
- 根据权利要求1所述的智能电视自动获取时区的方法,其特征在于,还包括:监测当前码流信息,当其发生变化时,对时区信息进行更新。
- 根据权利要求1所述的智能电视自动获取时区的方法,其特征在于,所述方法还包括:结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
- 根据权利要求1所述的智能电视自动获取时区的方法,其特征在于,所述码流为二进制数据,其中包含电视节目的视频、音频数据。
- 一种智能电视自动设置时间的方法,其特征在于,包括:通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
- 一种智能电视自动获取时区的装置,其特征在于,包括:时差信息获取单元,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中。
- 根据权利要求7所述的智能电视自动获取时区的装置,其特征在于,所述时差信息获取单元包括:服务创建模块,用于创建时区信息获取服务;请求模块,用于启动所述时区信息获取服务后,向智能电视中间件发起查询时差信息的请求;数据获取模块,用于通过智能电视中间件从数字电视的当前码流中获取包含时差信息的数据包。
- 根据权利要求7所述的智能电视自动获取时区的装置,其特征在于,所述装置还包括:时区信息更新单元,用于监测当前码流信息,当其发生变化时,对时区信息进行更新。
- 根据权利要求7所述的智能电视自动获取时区的装置,其特征在于,所述装置还包括:时间设置单元,用于结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
- 根据权利要求7所述的智能电视自动获取时区的装置,其特征在于,所述码流为二进制数据,其中包含电视节目的视频、音频数据。
- 一种智能电视自动设置时间的装置,其特征在于,包括:标准时间获取单元,用于通过网络时间协议服务器自动获取当前的世界标准时间,并将该时间同步给智能电视的系统时钟;时差信息获取单元,用于从当前码流中获取包含时差信息的数据,所述时差信息为世界标准时间与智能电视所处的区域的当地时间之间的时差;时区信息提取单元,用于提取所述包含时差信息的数据中的时差信息并将其转换为智能电视所处的区域的时区信息存储在智能电视系统的数据库中;时间设置单元,用于结合所述智能电视所处的区域的时区信息对智能电视的系统时钟进行调整,获得当前的准确时间。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610836525.8 | 2016-09-20 | ||
| CN201610836525.8A CN106412697A (zh) | 2016-09-20 | 2016-09-20 | 智能电视自动获取时区的方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018053962A1 true WO2018053962A1 (zh) | 2018-03-29 |
Family
ID=57997093
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/112515 Ceased WO2018053962A1 (zh) | 2016-09-20 | 2016-12-28 | 智能电视自动获取时区的方法和装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106412697A (zh) |
| WO (1) | WO2018053962A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114598909A (zh) * | 2022-03-30 | 2022-06-07 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108712225B (zh) * | 2018-05-17 | 2020-09-25 | 广州视源电子科技股份有限公司 | 一种获取时间同步信息的方法、装置、电子设备及计算机可读存储介质 |
| CN110636358A (zh) * | 2018-06-25 | 2019-12-31 | 深圳Tcl新技术有限公司 | 一种待机灯控制方法、智能电视及存储介质 |
| CN109039518B (zh) * | 2018-08-21 | 2019-11-05 | 四川长虹电器股份有限公司 | Android电视系统的NTP服务器地址智能管理方法 |
| CN109040820A (zh) * | 2018-08-27 | 2018-12-18 | 深圳Tcl数字技术有限公司 | 时间同步方法、装置、智能电视及计算机可读存储介质 |
| CN113038227A (zh) * | 2021-02-04 | 2021-06-25 | 东莞市金锐显数码科技有限公司 | 时钟显示方法、装置、设备和存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1780377A (zh) * | 2004-11-23 | 2006-05-31 | 三星电子株式会社 | 自动设置时间的方法和使用该方法的数字广播接收设备 |
| US20080016247A1 (en) * | 2006-07-14 | 2008-01-17 | Abroadcasting Company | System and method to efficiently broadcast television video and audio streams through the internet from a source in single leading time zone to multiple destinations in lagging time zones |
| CN101631375A (zh) * | 2009-08-03 | 2010-01-20 | 深圳华为通信技术有限公司 | 时区变更提示方法及具有时区变更提示的移动终端 |
| CN101647273A (zh) * | 2007-03-30 | 2010-02-10 | 索尼株式会社 | 多屏幕同步再现系统、显示控制终端、多屏幕同步再现方法和程序 |
| CN101795432A (zh) * | 2010-01-21 | 2010-08-04 | 华为终端有限公司 | 移动终端时区时间获取方法及装置 |
| CN102281409A (zh) * | 2010-06-11 | 2011-12-14 | 深圳Tcl新技术有限公司 | 一种自动校准时间的电视机及其时间校准方法 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007116321A (ja) * | 2005-10-19 | 2007-05-10 | Victor Co Of Japan Ltd | デジタル放送受信機 |
| CN101127854A (zh) * | 2007-09-28 | 2008-02-20 | 天津三星电子显示器有限公司 | 基于数字电视的白天/黑夜模式的转换方法 |
| CN101742073A (zh) * | 2009-12-29 | 2010-06-16 | 深圳异构域数字技术有限公司 | 机顶盒根据系统时间的变化动态显示菜单的实现方法 |
| CN103369399A (zh) * | 2013-07-08 | 2013-10-23 | 深圳创维数字技术股份有限公司 | 一种数字电视定时控制的方法和装置 |
-
2016
- 2016-09-20 CN CN201610836525.8A patent/CN106412697A/zh active Pending
- 2016-12-28 WO PCT/CN2016/112515 patent/WO2018053962A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1780377A (zh) * | 2004-11-23 | 2006-05-31 | 三星电子株式会社 | 自动设置时间的方法和使用该方法的数字广播接收设备 |
| US20080016247A1 (en) * | 2006-07-14 | 2008-01-17 | Abroadcasting Company | System and method to efficiently broadcast television video and audio streams through the internet from a source in single leading time zone to multiple destinations in lagging time zones |
| CN101647273A (zh) * | 2007-03-30 | 2010-02-10 | 索尼株式会社 | 多屏幕同步再现系统、显示控制终端、多屏幕同步再现方法和程序 |
| CN101631375A (zh) * | 2009-08-03 | 2010-01-20 | 深圳华为通信技术有限公司 | 时区变更提示方法及具有时区变更提示的移动终端 |
| CN101795432A (zh) * | 2010-01-21 | 2010-08-04 | 华为终端有限公司 | 移动终端时区时间获取方法及装置 |
| CN102281409A (zh) * | 2010-06-11 | 2011-12-14 | 深圳Tcl新技术有限公司 | 一种自动校准时间的电视机及其时间校准方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114598909A (zh) * | 2022-03-30 | 2022-06-07 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
| CN114598909B (zh) * | 2022-03-30 | 2023-12-01 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106412697A (zh) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018053962A1 (zh) | 智能电视自动获取时区的方法和装置 | |
| TWI762117B (zh) | 動態控制指紋辨識速率以促進媒體內容的時間準確性修訂 | |
| CN111213385B (zh) | 内容修正的方法、媒体客户端和非暂时性计算机可读媒体 | |
| JP7191226B2 (ja) | メディアストリームの再生間の遷移中における遷移フレームの動的再生 | |
| WO2017012417A1 (zh) | 多屏互动设备之间的控制方法、多屏互动设备及系统 | |
| WO2018120622A1 (zh) | 一种多画面显示方法及显示装置 | |
| WO2016101441A1 (zh) | 一种进行文件同步的方法及系统 | |
| WO2018120681A1 (zh) | 数据同步方法、装置、系统、数据处理服务器和存储介质 | |
| WO2018233352A1 (zh) | 数据传输方法、装置、终端以及计算机可读存储介质 | |
| WO2017186018A1 (zh) | 机器人通讯方法及系统 | |
| JPWO2015015712A1 (ja) | 映像受信装置、付加情報表示方法および付加情報表示システム | |
| WO2018032693A1 (zh) | 电视显示内容的处理方法、装置及系统 | |
| WO2014157874A1 (en) | Display apparatus and control method thereof | |
| WO2016045207A1 (zh) | 一种dvb直播和网络点播相结合的方法及装置 | |
| WO2017129079A1 (zh) | 在视频直播中插入推送信息的方法、服务器和终端 | |
| WO2016091000A1 (zh) | 动态码率切换方法、服务器及系统 | |
| WO2016090650A1 (zh) | 在视频应用中插播广告的终端及方法 | |
| WO2016206223A1 (zh) | 截图的方法及系统 | |
| WO2016129840A1 (en) | Display apparatus and information providing method thereof | |
| WO2019184469A1 (zh) | 搜台控制方法、搜台控制装置以及计算机可读存储介质 | |
| WO2018088784A1 (en) | Electronic apparatus and operating method thereof | |
| WO2016065705A1 (zh) | 一种频道列表更新方法、装置及终端设备 | |
| WO2019184436A1 (zh) | 视频推送方法、装置及计算机可读存储介质 | |
| EP3314906A1 (en) | Method and apparatus for transmitting and receiving signal in multimedia system | |
| WO2016107228A1 (zh) | 在显示画面中携带隐藏信息的方法、显示终端及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16916701 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.07.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16916701 Country of ref document: EP Kind code of ref document: A1 |