WO2020042660A1 - 时间同步方法、装置、智能电视及计算机可读存储介质 - Google Patents

时间同步方法、装置、智能电视及计算机可读存储介质 Download PDF

Info

Publication number
WO2020042660A1
WO2020042660A1 PCT/CN2019/085761 CN2019085761W WO2020042660A1 WO 2020042660 A1 WO2020042660 A1 WO 2020042660A1 CN 2019085761 W CN2019085761 W CN 2019085761W WO 2020042660 A1 WO2020042660 A1 WO 2020042660A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
television
synchronization
current
location
Prior art date
Application number
PCT/CN2019/085761
Other languages
English (en)
French (fr)
Inventor
曾辉云
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2020042660A1 publication Critical patent/WO2020042660A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management 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/458Scheduling 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

Definitions

  • the present application relates to the field of software application technologies, and in particular, to a time synchronization method, device, smart TV, and computer-readable storage medium.
  • the main purpose of this application is to provide a time synchronization method, which aims to solve the technical problem that the smart TV application system has a synchronization error during synchronization due to different countries and system settings in the prior art.
  • this application provides a time synchronization method, which includes the following contents:
  • time synchronization type is network synchronization, acquiring the current network time to synchronize the system time of the TV;
  • time synchronization type is stream synchronization, obtain the stream time of the current monitoring broadcast, and synchronize the system time of the television with the stream time.
  • the step of obtaining the current network time to synchronize the system time of the television includes:
  • obtaining the stream time of the current monitoring broadcast and synchronizing the system time of the television with the stream time includes:
  • the time zone where the television is located is determined according to the obtained time offset value of the stream in the broadcast, and the stream time is calculated based on the confirmed time zone where the television is located to synchronize the system time of the television.
  • the step of synchronizing the system time of the television with the calculated stream time of the confirmed time zone of the television includes:
  • the step of obtaining the stream time of the current monitoring broadcast and synchronizing the system time of the television with the stream time further includes:
  • the network connection of the television is confirmed to be successful, the current network time is obtained, and the network time and the stream time are synchronized to cover the system time of the television.
  • the method before the step of confirming the time synchronization type of the current television system time, the method further includes:
  • the location of the television set in the television application system is obtained, where the location of the television set includes the set time zone or Country
  • the method further includes:
  • the present application further provides a time synchronization device, where the time synchronization device includes:
  • a confirmation module for confirming the time synchronization type of the current TV system time
  • a network synchronization module configured to obtain a current system time synchronized to the television system time when confirming that the time synchronization type of the television is network synchronization
  • a code stream synchronization module configured to obtain the system time of the current code stream time synchronization to the television when confirming that the time synchronization type of the television is code stream synchronization
  • the present application also provides a smart TV, which includes the time synchronization device as described above, and the time synchronization device implements the steps of the time synchronization method as described above when executed.
  • the present application also provides a computer-readable storage medium on which a time synchronization application program is stored.
  • a time synchronization application program is stored on which a time synchronization application program is stored.
  • a time synchronization method proposed in the embodiment of the present application confirms the time synchronization type of the current television system time; if the time synchronization type is network synchronization, obtaining the current network time to synchronize the system time of the television; if the time synchronization The type is stream synchronization, then the stream time of the current monitoring broadcast is obtained, and the system time of the television is synchronized with the stream time.
  • the system time obtained by synchronizing the time with the TV is obtained, so as to achieve the beneficial effect of system time synchronization of the smart TV.
  • FIG. 1 is a schematic structural diagram of a smart TV terminal according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a first embodiment of a time synchronization method of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of a time synchronization method of the present application.
  • the main solution of the embodiment of the present application is to confirm the time synchronization type of the current television system time; if the time synchronization type is network synchronization, obtain the current network time to synchronize the system time of the television; if the time synchronization type is Stream synchronization, to obtain the stream time of the current monitoring broadcast, and to synchronize the system time of the television with the stream time.
  • This application provides a solution.
  • the system time of the time synchronization to the TV is correspondingly acquired according to the time synchronization type of the TV, so as to realize the beneficial effect of the system time synchronization of the smart TV.
  • FIG. 1 is a schematic structural diagram of a terminal of a smart TV according to an embodiment of the present application.
  • the terminal according to the embodiment of the present application is a smart TV. Further, the terminal according to the embodiment of the present application may also be a portable terminal device with a display function such as a PC, a smart phone, a tablet computer, an e-book reader, or a portable computer. As shown in FIG. 1, the smart TV 100 includes a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or some components may be combined, or different components may be arranged.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a time synchronization application program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the client (user) and perform data communication with the client;
  • the processor 1001 can be used to call the time synchronization application stored in the memory 1005 and perform the following operations:
  • time synchronization type is network synchronization, acquiring the current network time to synchronize the system time of the TV;
  • time synchronization type is stream synchronization, obtain the stream time of the current monitoring broadcast, and synchronize the system time of the television with the stream time.
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • the time zone where the television is located is determined according to the obtained time offset value of the stream in the broadcast, and the stream time is calculated based on the confirmed time zone where the television is located to synchronize the system time of the television.
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • the network connection of the television is confirmed to be successful, the current network time is obtained, and the network time and the stream time are synchronized to cover the system time of the television.
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • the location of the television set in the television application system is obtained, where the location of the television set includes the set time zone or Country
  • processor 1001 may call a time synchronization application program stored in the memory 1005, and further perform the following operations:
  • FIG. 2 is a schematic flowchart of a first embodiment of a time synchronization method of the present application.
  • the time synchronization method includes:
  • Step S10 confirming the time synchronization type of the current television system time
  • the confirmation method may be to detect the system time of the TV, and when the system time of the TV is wrong, confirm that the system time of the TV needs to be changed; or, after turning on the TV, the user finds the system of the TV If the time is wrong, initiate the system change instruction of the TV to confirm that the system time of the TV needs to be changed; or, there are other operations to confirm that the system time of the TV needs to be changed, which is related to the system settings of the TV, here Not much more.
  • the TV enables the system time synchronization function, that is, allows the system time synchronization of the TV, wherein the TV enables the system time synchronization function is a function option provided by the TV application system, that is, whether the system time is synchronized or not The option of the system time synchronization or not.
  • this option is an option that allows the system time to be synchronized by default at the factory without modification. Therefore, based on the TV ’s allow synchronization function, the TV's time synchronization type.
  • Step S20 if the time synchronization type is network synchronization, obtain the current network time to synchronize the system time of the television;
  • the time synchronization type based on the TV is network synchronization
  • the current network time is obtained, and the obtained network time is synchronized to the system time of the TV.
  • the corresponding network time needs to be determined according to the current location of the TV. Therefore, if the time synchronization type is network synchronization, obtaining the current network time to synchronize the system time of the TV Steps, including:
  • the location of the TV can determine the country or time zone of the TV and its location based on the current network connection.
  • the technology of determining the information of the country and the time zone through a network connection is a definition of a network address in the prior art, and details are not described herein again.
  • the UTC time is Coordinated Universal Time (English: Coordinated Universal Time), also known as Universal Time, Coordinated Universal Time.
  • CUT Coordinated Universal Time
  • TUC French
  • UTC is abbreviated.
  • system time UTC time + time zone, for example, UTC time is now 10:00 , The time zone is China's East 8 (GMT + 08: 00), then the time displayed on the computer (on the phone, on the TV) is 18:00.
  • the time zone is the US East West 5 (GMT-05: 00)
  • the displayed time is 05:00.
  • the calculated current time in the time zone where the television is located is synchronized to the system time of the television.
  • the UTC time is modified through the system settings of the TV.
  • the setting method includes setting an application system of the TV, that is, when the Android system obtains time automatically, in a networked state, Get the current network time. In this case, modify the UTC time of Linux.
  • the source interface of its TV can be defined as follows in practical applications:
  • the system settings of the TV include the country and time zone in which it is located.
  • first obtain the option of the time zone That is, first obtain the time zone where the TV is located.
  • the system time zone of the TV can be called by calling the Android source interface to obtain the system time zone; or,
  • the information about the time zone is obtained, and the country option of the country where the TV is located, that is, the country in the system settings of the TV is obtained, the corresponding time zone of the country can be confirmed by calling the Android source interface.
  • Time: DST also known as “Daylight Saving Time” and “Daylight Saving Time”
  • Daylight Saving Time is a system for artificially setting local time to save energy.
  • the unified time used during the implementation of this system is called “Daylight Saving Time” .
  • the time is artificially adjusted one hour faster, which enables people to get up early and go to bed early, reduce the amount of lighting, and make full use of lighting resources, thereby saving lighting electricity.
  • the specific regulations for each country adopting daylight saving time differ. At present, nearly 110 countries around the world implement daylight saving time every year. The time of daylight saving time is different in each country.
  • the time zone of a certain country will change from GMT + 01: 00 to GMT + 02: 00.
  • it may be determined whether to modify the calculated current time to daylight saving time according to an option of daylight saving time based on the television system settings. And the modification operation is determined with the setting content of the system settings of the television.
  • Step S30 If the time synchronization type is stream synchronization, obtain the stream time of the current monitoring broadcast, and synchronize the system time of the television with the stream time.
  • the time synchronization type based on the TV is code stream synchronization
  • listen to the received TOTUpdate broadcast obtain the offset of the broadcast code stream in the TOTUpdate broadcast, and convert the offset of the code stream Into a time zone.
  • the prerequisite is that the TV is currently watching digital TV, that is, after the TV is turned on, it is detected whether the digital TV of the TV is started, and the digital TV is the type of playback of the TV, that is, Application playback type of smart terminal.
  • the television monitors a TOTUpdate broadcast, and obtains a broadcast stream of the TOTUpdate broadcast.
  • the current time is calculated according to the obtained broadcast stream of the TOTUpdate broadcast, and the calculation method is that if the time synchronization type is stream synchronization, then the current stream time of the monitored broadcast is obtained, and the code is
  • the step of streaming time synchronizing the system time of the television includes:
  • the time zone where the television is located is determined according to the obtained time offset value of the stream in the broadcast, and the stream time is calculated based on the confirmed time zone where the television is located to synchronize the system time of the television.
  • the code stream here refers to the code stream containing the offset. If it is an ATSC or Vietnam code stream, there is no offset.
  • the middleware will send an offset change broadcast " com.tcl.TOTUpdate ", the application calls TtvAlarmManager.getClockOffset () by middleware
  • the interface obtains the offset, and then converts the offset to a time zone and sets it into the system.
  • PS The middleware can't get the system time zone, and it doesn't know the system time zone changes. Based on the above situation, it can be known that the time zone of the system can only be changed through the interface of the Android system. Therefore, the step of synchronizing the system time of the TV with the calculated stream time of the confirmed time zone of the TV includes:
  • the system source interface of the TV When the current time is calculated through the code stream, the system source interface of the TV is called to synchronize the calculated current time to the system time of the TV.
  • the source interface of the system is defined as: TTVAlarmManager. setTimeZoneSync (boolean sync), the source interface is a function setting for setting whether the time zone of the middleware is a code stream synchronization. If true is passed in, the time zone (offset) of the middleware is obtained from the code stream. If false is passed in, the time zone (offset) of the middleware is the value set by the application to the middleware. So it is generally set to true.
  • Time zone of the middleware (offset) Will affect functions such as program reservation. Because the application reservation program will pass non-UTC time to the middleware, the middleware needs to find the program according to the offset and UTC time. If the offset is not correct, the program is not correct. Therefore, when setting the time zone during MT5658 non-stream synchronization, set the offset with daylight saving time to the middleware.
  • TTvAlarmManager SetClockOffset (int seconds) Set the offset interface of the middleware.
  • the offset of the application setting just mentioned is to apply this interface to the middleware. If the current middleware time zone is as broadcast, when the code stream is synchronized, the offset of the middleware is obtained in real time from the code stream, without using the offset set by the application.
  • the step of broadcasting the stream time and synchronizing the system time of the television with the stream time further includes:
  • the network connection of the television is confirmed to be successful, the current network time is obtained, and the network time and the stream time are synchronized to cover the system time of the television.
  • the current TV's network connection is detected.
  • the confirmation method can be determined by the network connection status. After determining that the current TV's network connection is successful and the broadcast is acquired, Time, get the network time.
  • the acquired network time and the acquired stream time are synchronously covered to the system time of the TV, and the covered synchronized system time is the system time of the application system integrating the TV to achieve accurate synchronization time.
  • the system time of time synchronization to the TV is acquired correspondingly according to the time synchronization type of the TV, so as to achieve the beneficial effect of system time synchronization of the smart TV.
  • FIG. 3 is a schematic flowchart of a second embodiment of a time synchronization method of the present application. Based on the first embodiment shown above, after confirming the steps when the system time of the current television needs to be changed, include:
  • Step S40 When it is confirmed that the time of the current television system needs to be synchronized, obtain a location of the television that has been set in the television application system, wherein the location of the television that has been set includes a set location Time zone or country;
  • Step S50 Calculate the current time according to the obtained location of the television, and synchronize the calculated current time to the system time of the television.
  • step S60 when the location of the television cannot be obtained, a step of confirming a time synchronization type of the current television system time is performed.
  • the option content of the function option preset to set the location of the television in the television application system is directly obtained, and the content is confirmed according to the option content.
  • the location of the television, and the system time synchronized to the television is calculated based on the determined location of the television.
  • the location of the television is directly set according to the function options provided by the application system, and the location includes the country and time zone.
  • the system time of the current TV application system can be synchronized without using network synchronization and stream synchronization.
  • the network connection of the current TV needs to be successfully connected, or the connection relationship corresponding to the current time at the location is connected to successfully obtain according to the location current time.
  • the synchronization of the system time of the current TV is based on the current time of the set location.
  • the conditions of the set time zone take precedence over the content of the set country, that is, if the obtained location information in the TV system is obtained, the current time zone and location are In the country time, if the information in the time zone does not match the information in the country, the information in the time zone is applied preferentially, and the current time in the time zone is synchronized to the TV system time.
  • the priority of the location information of the location where it has been set can also be set through the corresponding function, that is, whether the information in the time zone or the country is preferred.
  • the setting function is set and deployed by the relevant developers, so I won't go into details here.
  • option information about the location options of the television in the system settings of the television is obtained, and the location options are system functions of the television for setting the location of the television, and
  • the content of the location includes the country and the time zone.
  • the specific setting content may be the system administrator of the TV. Settings.
  • the corresponding location where the television is located can be determined by the country or time zone in which it is located.
  • the time zone is a time zone divided by the location where the TV is located; when obtaining the time zone where the TV is located, by acquiring the content of the option about the time zone in the system function settings of the TV, generally speaking, the TV is the first time When applied, the TV's application system will remind the user to fill in the system options of the time zone manually to confirm the time zone of the TV; or, when the TV leaves the factory, directly set the default time zone of the TV.
  • Said time zone Zone is the area on the earth defined using the same time.
  • the International Longitude Conference was held in Washington in 1884, in order to overcome the chaos in time, the world was divided into 24 time zones (for example, China is the 8th east zone). Based on the above, when confirming that the position information is set in the system of the TV, the content of the position information is read according to the position information set by the TV, and determined based on the content of the position information The current time is synchronized to the television system time.
  • the step of obtaining the time synchronization type of the TV is performed to perform the system time of the TV according to the system synchronization type set by the TV Synchronous operation.
  • an embodiment of the present application further provides a computer-readable storage medium.
  • the computer-readable storage medium stores a time synchronization application program, and when the time synchronization application program is executed by a processor, the following operations are implemented:
  • time synchronization type is network synchronization, acquiring the current network time to synchronize the system time of the TV;
  • time synchronization type is stream synchronization, obtain the stream time of the current monitoring broadcast, and synchronize the system time of the television with the stream time.
  • time synchronization application when executed by the processor, the following operations are also implemented:
  • time synchronization application when executed by the processor, the following operations are also implemented:
  • the time zone where the television is located is determined according to the obtained time offset value of the stream in the broadcast, and the stream time is calculated based on the confirmed time zone where the television is located to synchronize the system time of the television.
  • time synchronization application when executed by the processor, the following operations are also implemented:
  • time synchronization application when executed by the processor, the following operations are also implemented:
  • the network connection of the television is confirmed to be successful, the current network time is obtained, and the network time and the stream time are synchronized to cover the system time of the television.
  • time synchronization application when executed by the processor, the following operations are also implemented:
  • the location of the television set in the television application system is obtained, where the location of the television set includes the set time zone or Country
  • time synchronization application when executed by the processor, the following operations are also implemented:

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开了一种时间同步方法,所述时间同步方法包括:确认当前电视系统时间的时间同步类型;若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。本申请还公开了一种时间同步装置、智能电视及计算机可读存储介质。本申请在确认当前电视的系统时间需更改时,根据所述电视的时间同步类型对应获取时间同步至电视的系统时间,以实现智能电视的系统时间同步的有益效果。

Description

时间同步方法、装置、智能电视及计算机可读存储介质
技术领域
本申请涉及软件应用技术领域,尤其涉及一种时间同步方法、装置、智能电视及计算机可读存储介质。
背景技术
电视的时间时区存在全球差异:不同国家默认时区要求不一;要求切换国家时能同步切换默认时区。同时Google设置里又设计了码流同步与网络同步两种机制,在实际应用中,若是码流同步与网络同步的操作同时进行或者前后进行时,容易导致电视机的应用系统时间更改时造成应用机制紊乱,进而导致智能终端在同步系统时间时出错。而在现有技术中,并没有相关的技术控制电视在同步系统时间时选取对应的时间同步机制以同步电视的系统时间,进一步的影响了用户体验。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
发明内容
本申请的主要目的在于提供一种时间同步方法,旨在解决现有技术的智能电视由于使用国家以及系统设置不同,导致智能电视应用系统的系统时间在同步时出现同步错误的技术问题。
为实现上述目的,本申请提供一种时间同步方法,包括以下内容:
确认当前电视系统时间的时间同步类型;
若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
优选地,所述若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间的步骤,包括:
基于当前的网络连接确认所述电视所在位置,根据已确认的所述电视所在位置确认网络时间,其中,所述电视所在位置包括所在国家或所在时区;
根据已确认的网络时间同步所述电视的系统时间。
优选地,所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,包括:
监听TOTUpdate广播,并获取所述广播中码流的时间偏移值;
根据获取到的所述广播中码流的时间偏移值确定所述电视所在时区,并以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间。
优选地,所述以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间的步骤,包括:
调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间。
优选地,所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,还包括:
确认所述电视的网络连接状态;
在确认所述电视的网络连接成功时,获取当前的网络时间,以所述网络时间及所述码流时间同步覆盖至所述电视的系统时间。
优选地,所述确认当前电视系统时间的时间同步类型的步骤之前,还包括:
在确认当前电视系统的时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置,其中,所述已设定的所述电视的所在位置包括设定的所在时区或所在国家;
根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间。
优选地,所述在确认当前电视系统时间需同步时,获取所述电视应用系统中以设定的所述电视的所在位置的步骤之后,还包括:
在未能获取到所述电视的所在位置时,执行确认当前电视系统时间的时间同步类型的步骤。
此外,为实现上述目的,本申请还提供一种时间同步装置,所述时间同步装置包括:
确认模块,用于确认当前电视系统时间的时间同步类型;
网络同步模块,用于在确认所述电视的时间同步类型为网络同步时,获取当前的网络时间同步至所述电视的系统时间;
码流同步模块,用于在确认所述电视的时间同步类型为码流同步时,获取当前的码流时间同步至所述电视的系统时间
本申请还提供一种智能电视,所述智能电视包括如上所述的时间同步装置,所述时间同步装置在执行时实现如上所述的时间同步方法的步骤。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有时间同步应用程序,所述时间同步应用程序被处理器执行时实现如上所述时间同步方法的步骤。
本申请实施例提出的一种时间同步方法,确认当前电视系统时间的时间同步类型;若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。本申请在确认当前电视的系统时间需更改时,根据所述电视的时间同步类型对应获取时间同步至电视的系统时间,以实现智能电视的系统时间同步的有益效果。
附图说明
图1是本申请实施例方案涉及的智能电视的终端结构示意图;
图2为本申请时间同步方法第一实施例的流程示意图;
图3为本申请时间同步方法第二实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例的主要解决方案是:确认当前电视系统时间的时间同步类型;若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
由于现有Google设置里设计了码流同步与网络同步两种机制,在实际应用中,若是码流同步与网络同步的操作同时进行或者前后进行时,容易导致电视机的应用系统时间更改时造成应用机制紊乱,进而导致智能终端在同步系统时间时出错。而在现有技术中,并没有相关的技术控制电视在同步系统时间时选取对应的时间同步机制以同步电视的系统时间,进一步的影响了用户体验。
本申请提供一种解决方案,在确认当前电视的系统时间需更改时,根据所述电视的时间同步类型对应获取时间同步至电视的系统时间,以实现智能电视的系统时间同步的有益效果。
如图1所示,图1是本申请实施例方案涉及的智能电视的终端结构示意图。
本申请实施例终端为智能电视,进一步的,本申请实施例终端也可以是PC、智能手机、平板电脑、电子书阅读器,便携计算机等具有显示功能的可移动式终端设备。如图1所示,该智能电视100包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及时间同步应用程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的时间同步应用程序,并执行以下操作:
确认当前电视系统时间的时间同步类型;
若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
基于当前的网络连接确认所述电视所在位置,根据已确认的所述电视所在位置确认网络时间,其中,所述电视所在位置包括所在国家或所在时区;
根据已确认的网络时间同步所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
监听TOTUpdate广播,并获取所述广播中码流的时间偏移值;
根据获取到的所述广播中码流的时间偏移值确定所述电视所在时区,并以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
确认所述电视的网络连接状态;
在确认所述电视的网络连接成功时,获取当前的网络时间,以所述网络时间及所述码流时间同步覆盖至所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
在确认当前电视系统的时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置,其中,所述已设定的所述电视的所在位置包括设定的所在时区或所在国家;
根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间。
进一步地,处理器1001可以调用存储器1005中存储的时间同步应用程序,还执行以下操作:
在未能获取到所述电视的所在位置时,执行确认当前电视系统时间的时间同步类型的步骤。
参照图2,图2为本申请时间同步方法第一实施例的流程示意图,所述时间同步方法包括:
步骤S10,确认当前电视系统时间的时间同步类型;
基于当前电视的应用,确认所述电视的系统时间是否需要更改。其确认方式可能是检测所述电视的系统时间,在确认所述电视的系统时间出错时,确认所述电视的系统时间需更改;或者,用户在开启所述电视后,发现所述电视的系统时间出错,发起所述电视的系统更改指令,确认所述电视的系统时间需更改;或者,还有其他确认所述电视的系统时间需更改的操作,与所述电视的系统设置相关,在此不多赘述。基于上述情况,在确认所述电视的系统时间需更改时,获取所述电视的时间同步类型,所述时间同步类型包括网络同步以及码流同步,而所述网络同步以及码流同步的前提条件是,所述电视开启系统时间同步功能,即允许所述电视的系统时间同步,其中,所述电视开启系统时间同步功能为所述电视应用系统所提供的一功能选项,即系统时间同步与否的选项,所述系统时间同步与否的选项,一般此选项在没有修改的基础上,电视出厂时默认都是允许系统时间同步的选项,因此,基于所述电视的允许同步功能,获取所述电视的时间同步类型。
步骤S20,若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
在基于所述电视的时间同步类型为网络同步时,基于当前电视的网络连接情况,获取当前的网络时间,并将获取到的网络时间同步至所述电视的系统时间。其中,在基于获取网络时间时,需通过所述电视当前的所在位置确定对应的网络时间,因此,所述若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间的步骤,包括:
基于当前的网络连接确认所述电视所在位置,根据已确认的所述电视所在位置确认网络时间,其中,所述电视所在位置包括所在国家或所在时区;
根据已确认的网络时间同步所述电视的系统时间。
检测当前电视的网络连接情况,并在确认网络连接成功时,根据已连接的网络确认所述电视所在位置,其电视所在位置可通过当前网络连接情况确定所述电视所在国家或者所在时区,其所在国家以及所在时区的信息通过网络连接的方式确定的技术,为现有技术的网络地址定义,在此不多赘述。其中,在根据网络连接确认所述电视所在位置时,在所述所在位置为所在国家的信息时,根据所述所在国家的信息,确定所述国家所在时区。并根据已确认到的所述电视所在时区,计算基于所述电视所在时区的当前时间,其中,在计算所述电视所在时区时,其计算格式为UTC时间加时区,及系统时间=UTC时间+时区。所述UTC时间,为协调世界时(英:Coordinated Universal Time),又称世界统一时间,世界标准时间,国际协调时间。英文(CUT)和法文(TUC)的缩写不同,作为妥协,简称UTC。基于上述计算格式,系统时间=UTC时间+时区,例如现在UTC时间是10:00 ,时区为中国的东8区(GMT+08:00),则电脑上(手机上、TV上)显示的时间是18:00。同理,如果时区为美国东部西5区(GMT-05:00),则显示的时间是05:00。如上所述,根据所述电视所在时区,将计算到的所述电视所在时区的当前时间,同步至所述电视的系统时间。进一步的,在根据UTC时间以及时区计算当前时间时,通过电视的系统设置修改所述UTC时间,其设置方式包括,设置电视的应用系统,即Android系统为自动获取时间时,在联网状态下,获取当前的网络时间,在此种情况下,修改Linux的UTC时间。其电视的源生接口在实际应用中,可定义为如下所述的内容:
Settings.Global.putInt(getContentResolver(), Settings.Global.AUTO_TIME, on ? 1 : 0);
设置中间件TTvAlarmManager.setTimeSync(true) 后,中间件就会获取码流时间,修改Linux的UTC时间。
如上所述,电视的系统设置中,包括所在国家及所在时区,在通过获取已设置的电视所在国家或者电视所在时区确认当前时间并更新所述电视的系统时间时,首先获取所在时区的选项,即首先获取所述电视所在时区,在读取到所述所在时区的时区信息时,还可通过调用所述电视的系统源生接口,即Android源生接口获取系统时区;或者,在未能获取到所述所在时区的信息,而获取到所述电视所在国家,即电视的系统设置中所在国家的国家选项时,可通过调用所述Android源生接口确认所述所在国家的对应所在时区。
另外,在更新所述电视的系统时间时,还涉及到夏令时的时间差异,所述(Daylight Saving Time:DST),又称“日光节约时制”和“夏令时间”,是一种为节约能源而人为规定地方时间的制度,在这一制度实行期间所采用的统一时间称为“夏令时间”。一般在天亮早的夏季人为将时间调快一小时,可以使人早起早睡,减少照明量,以充分利用光照资源,从而节约照明用电。各个采纳夏时制的国家具体规定不同。目前全世界有近110个国家每年要实行夏令时。每个国家实行夏令时的时间段不一样,有可能在某个时间段某个国家的时区就从GMT+01:00变成了GMT+02:00。在本申请方法中,关于当前获取/计算到的当前时间在同步至所述电视时,可根据所述电视系统设置中基于夏令时的选项确定是否将计算到的当前时间进行夏令时的修改,且所述修改操作与所述电视的系统设置的设置内容决定。
步骤S30,若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
在基于所述电视的时间同步类型为码流同步时,基于当前电视应用,监听收到的TOTUpdate广播,并在所述TOTUpdate广播中获取广播码流的offset,并将所述码流的offset转换成时区。其中,在监听TOTUpdate广播时,其前提条件为所述电视当前正在观看数字电视,即在电视开启后,检测所述电视的数字电视是否启动,所述数字电视为所述电视的播放类型,即智能终端的应用播放类型。在确认所述电视当前在数字点数播放状态下时,监听TOTUpdate广播,并获取所述TOTUpdate广播的广播码流。进一步的,根据获取到的TOTUpdate广播的广播码流,计算当前时间,其计算方式即所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,包括:
监听TOTUpdate广播,并获取所述广播中码流的时间偏移值;
根据获取到的所述广播中码流的时间偏移值确定所述电视所在时区,并以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间。
码流里面有时间的Offset(偏移量),当然这里的码流指的是包含offset的码流,如果是ATSC或者越南的码流就没有offset。在播放此码流的时候,中间件会发送offset变化广播” com.tcl.TOTUpdate”,应用通过调用中间件的TtvAlarmManager.getClockOffset() 接口获取offset,然后把offset转换为时区,设到系统里面。PS:中间件获取不到系统的时区,也不知道系统时区变化。基于上述情况,可知系统的时区只能通过Android系统的接口才能改变,因此,所述以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间的步骤,包括:
调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间。
在通过码流计算到当前的时间时,调用所述电视的系统源生接口将计算到的当前时间同步至所述电视的系统时间,在实际应用中,系统的源生接口定义为:TTvAlarmManager.setTimeZoneSync(boolean sync),所述源生接口是设置中间件的时区是否为码流同步的功能设置处。如果传入true,则中间件的时区(offset)从码流里面获取,如果传入false,则中间件的时区(offset)是应用设置到中间件的值。所以一般都设为true。
中间件的时区(offset) 会影响到节目预约等功能。因为应用预约节目会传入非UTC的时间到中间件,中间件需要根据offset和UTC时间去寻找节目,如果offset不对则节目就不对。因此在MT5658非码流同步时设置时区时要把带夏令时的offset设置到中间件。
TTvAlarmManager. setClockOffset(int seconds) 设置中间件的offset接口。刚刚上面提到的应用设置的offset 就是应用调此接口设置给中间件的。如果当前中间件时区是as broadcast,则当码流同步方式下,中间件的offset从码流实时获取,而不会用应用设置的offset。
另外,考虑到覆盖同步的系统时间更改,在当前电视在通过码流时间同步系统时间时,需考虑当前的网络连接情况,即所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,还包括:
确认所述电视的网络连接状态;
在确认所述电视的网络连接成功时,获取当前的网络时间,以所述网络时间及所述码流时间同步覆盖至所述电视的系统时间。
基于当前的码流同步类型,在监听广播获取码流时间时,检测当前电视的网络连接情况,其确认方式可通过网络连接状态决定,在确定当前电视的网络连接成功且监听广播获取码流时间时,获取网络时间。将获取到的网络时间以及获取到的码流时间同步覆盖至所述电视的系统时间,其覆盖同步系统时间为整合所述电视的应用系统的系统时间,实现同步时间的精准。
本实施例中,在确认当前电视的系统时间需更改时,根据所述电视的时间同步类型对应获取时间同步至电视的系统时间,以实现智能电视的系统时间同步的有益效果。
进一步的,参考图3,图3为本申请时间同步方法第二实施例的流程示意图,基于上述所示的第一实施例,所述在确认当前电视的系统时间需更改时的步骤之后,还包括:
步骤S40,在确认当前电视系统的时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置,其中,所述已设定的所述电视的所在位置包括设定的所在时区或所在国家;
步骤S50,根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间。
步骤S60,在未能获取到所述电视的所在位置时,执行确认当前电视系统时间的时间同步类型的步骤。
在本实施例中,在确认当前电视的应用系统的系统时间错误时,直接获取所述电视应用系统中预设的设定所述电视所在位置的功能选项的选项内容,根据所述选项内容确认所述电视所在位置,并以已确定的所述电视所在位置计算当前时间同步至所述电视的系统时间。如此,在所述电视的应用系统中,根据所述应用系统提供的功能选项,直接设定所述电视的所在位置,其所在位置包括所在国家以及所在时区。一般来说,终端应用系统的系统选项中有设计基于所述电视应用位置的选项,如上所述,在确认所述电视的系统时间需更改,且允许时间同步时,直接通过所述电视应用系统中已设定的位置信息直接同步系统时间。如此,即可不通过网络同步以及码流同步的方式同步当前电视应用系统的系统时间。另外,在通过已设定的当前所在位置同步系统时间时,其当前电视的网络连接需成功连接,或者对应的获取所在位置的当前时间的连接关系为已连接状态以成功根据所述所在位置获取当前时间。基于已设定的当前电视所在位置,所述当前电视的系统时间的同步则以已设定的所在位置的当前时间为准。并且,在确认当前电视所在位置时,其设定的所在时区的条件优先于设定的所在国家的内容,即,若是获取到的电视系统中已设定的所在位置的信息为所在时区及所在国家时,若所在时区与所在国家的信息不匹配,则优先应用所在时区的信息,获取所述所在时区的当前时间同步至电视系统时间。另外,确认当前电视所在位置时,其已设定的所在位置的位置信息的优先级,亦可通过对应的功能进行设定,即设定所在时区的信息优先还是所在国家的信息优先,其具体的设定功能由相关的开发人员进行设置部署,在此不多赘述。
根据所述电视的系统设置,获取所述电视的系统设置中有关于电视所在位置选项的选项信息,其所在位置选项为所述电视的系统功能,用于设定所述电视所在位置,且所述所在位置的内容包括所在国家及所在时区,在设定所述电视的所在位置时,根据所述电视给出的功能选项进行设定,其具体的设置内容可有所述电视的系统管理员设置。在实际应用中,可通过所在国家或者所在时区确定所述电视所在的对应位置。其中,所述所在时区,为所述电视所在位置划分的时区;在获取所述电视所在时区时,通过获取所述电视的系统功能设置中关于所在时区的选项内容,一般来说,电视在首次应用时,电视的应用系统会提醒用户手动填写所述所在时区的系统选项,以此确认所述电视所在时区;或者,所述电视在出厂时,直接设定所述电视的默认时区。所述时区(Time Zone)是地球上的区域使用同一个时间定义。1884年在华盛顿召开国际经度会议时,为了克服时间上的混乱,规定将全球划分为24个时区(例如中国是东8区)。基于上述情况,在确认所述电视的系统中设定有所在位置的信息时,根据所述电视已设定的位置信息,读取所述位置信息的内容,并根据所述位置信息的内容确定当前时间同步至所述电视系统时间。
而在确认所述电视的应用系统未设定所述电视所在位置时,执行获取所述电视的时间同步类型的步骤,以根据所述电视设定的系统同步类型对所述电视的系统时间进行同步操作。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有时间同步应用程序,所述时间同步应用程序被处理器执行时实现如下操作:
确认当前电视系统时间的时间同步类型;
若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
基于当前的网络连接确认所述电视所在位置,根据已确认的所述电视所在位置确认网络时间,其中,所述电视所在位置包括所在国家或所在时区;
根据已确认的网络时间同步所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
监听TOTUpdate广播,并获取所述广播中码流的时间偏移值;
根据获取到的所述广播中码流的时间偏移值确定所述电视所在时区,并以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
确认所述电视的网络连接状态;
在确认所述电视的网络连接成功时,获取当前的网络时间,以所述网络时间及所述码流时间同步覆盖至所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
在确认当前电视系统的时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置,其中,所述已设定的所述电视的所在位置包括设定的所在时区或所在国家;
根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间。
进一步地,所述时间同步应用程序被处理器执行时还实现如下操作:
在未能获取到所述电视的所在位置时,执行确认当前电视系统时间的时间同步类型的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种时间同步方法,其中,所述时间同步方法包括以下步骤:
    确认当前电视系统时间的时间同步类型;
    若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
    若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
  2. 如权利要求1所述的时间同步方法,其中,所述若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间的步骤,包括:
    基于当前的网络连接确认所述电视所在位置,根据已确认的所述电视所在位置确认网络时间,其中,所述电视所在位置包括所在国家或所在时区;
    根据已确认的网络时间同步所述电视的系统时间。
  3. 如权利要求1所述的时间同步方法,其中,所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,包括:
    监听TOTUpdate广播,并获取所述广播中码流的时间偏移值;
    根据获取到的所述广播中码流的时间偏移值确定所述电视所在时区,并以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间。
  4. 如权利要求3所述的时间同步方法,其中,所述以已确认的所述电视所在时区计算码流时间同步所述电视的系统时间的步骤,包括:
    调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间。
  5. 如权利要求4所述的时间同步方法,其中,所述调用所述电视的系统源生接口,以通过所述系统源生接口将所述码流时间同步所述电视的系统时间的步骤,还包括:
    获取所述系统源生接口的中间件时区信息;
    以获取到的所述时区信息计算所述码流时间,将计算到的所述码流时间同步所述电视的系统时间。
  6. 如权利要求1所述的时间同步方法,其中,所述若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间的步骤,还包括:
    确认所述电视的网络连接状态;
    在确认所述电视的网络连接成功时,获取当前的网络时间,以所述网络时间及所述码流时间同步覆盖至所述电视的系统时间。
  7. 如权利要求1所述的时间同步方法,其中,所述同步所述电视的系统时间的步骤,还包括:
    根据所述电视的所在位置确认是否实行夏令时制度;
    在确认所述所在位置实行夏令时制度时,以所述夏令时制度的修正时差修正当前同步系统时间。
  8. 如权利要求7所述的时间同步方法,其中,所述在确认所述所在位置实行夏令时制度时,以所述夏令时制度的修正时差修正当前同步系统时间的步骤,还包括:
    获取所述电视夏令时的修正时差;
    以获取到的所述夏令时修正时差修正当前同步的系统时间。
  9. 如权利要求1所述的时间同步方法,其中,所述确认当前电视系统时间的时间同步类型的步骤之前,还包括:
    在确认当前电视系统的时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置,其中,所述已设定的所述电视的所在位置包括设定的所在时区或所在国家;
    根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间。
  10. 如权利要求9所述的时间同步方法,其中,所述在确认当前电视系统时间需同步时,获取所述电视应用系统中以设定的所述电视的所在位置的步骤之后,还包括:
    若未能在所述电视应用系统获取所述电视的所在位置时,执行确认当前电视系统时间的时间同步类型的步骤。
  11. 如权利要求9所述的时间同步方法,其中,所述在确认当前电视的系统时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置的步骤,还包括:
    确认获取到的所述所在位置是否无误,所述所在位置包括所在时区及所在国家;
    若确认所述所在位置无误,执行根据获取到的所述电视所在位置计算当前时间,将计算到的当前时间同步至所述电视的系统时间的步骤。
  12. 如权利要求11所述的时间同步方法,其中,所述确认获取到的所述所在位置是否无误的步骤,还包括:
    若确认所述所在位置有误,则提取所述所在位置中的所在时区;
    以提取到的所述所在时区计算当前时间,并执行将计算到的当前时间同步至所述电视的系统时间的步骤。
  13. 如权利要求12所述的时间同步方法,其中,所述若确认所述所在位置有误,则提取所述所在位置中的所在时区的步骤,还包括:
    若未能在所述所在位置中提取到所述所在时区,则提取所述所在位置中的所在国家;
    以提取到的所述所在国家计算当前时间,并执行将计算到的当前时间同步至所述电视的系统时间的步骤。
  14. 如权利要求11所述的时间同步方法,其中,所述确认获取到的所述所在位置所述所在位置是否无误的步骤,还包括:
    读取所述所在位置的位置信息,以确认所述位置信息的所在时区与所在国家是否匹配;
    在确认所述所在时区与所述所在国家匹配时,确认所述所在位置无误;
    在确认所述所在时区与所述所在国家不匹配时,确认所述所在位置有误。
  15. 如权利要求9所述的时间同步方法,其中,所述在确认当前电视的系统时间需同步时,获取所述电视应用系统中已设定的所述电视的所在位置的步骤之前,还包括:
    获取当前电视系统的系统时间,并确认所述系统时间是否出错;
    若所述系统时间出错,则确认所述系统时间需同步,执行获取所述电视应用系统中已设定的所述电视的所在位置的步骤。
  16. 如权利要求15所述的时间同步方法,其中,所述若所述系统时间出错,则确认所述系统时间需同步,执行获取所述电视应用系统中已设定的所述电视的所在位置的步骤,还包括:
    确认所述电视是否允许时间同步;
    在确认所述电视允许时间同步时,执行确认电视系统时间的时间同步类型的步骤。
  17. 如权利要求16所述的时间同步方法,其中,所述确认当前电视是否允许时间同步的步骤之后,还包括:
    在确认所述电视不允许时间同步时,发起开启系统时间同步功能的请求;
    接收基于所述请求触发的确认指令,并根据所述确认指令执行确认电视系统时间的时间同步类型的步骤。
  18. 一种时间同步装置,其中,所述时间同步装置包括:
    确认模块,用于确认当前电视系统时间的时间同步类型;
    网络同步模块,用于在确认所述电视的时间同步类型为网络同步时,获取当前的网络时间同步至所述电视的系统时间;
    码流同步模块,用于在确认所述电视的时间同步类型为码流同步时,获取当前的码流时间同步至所述电视的系统时间。
  19. 一种智能电视,其中,所述智能电视包括时间同步装置,所述时间同步装置包括:
    确认模块,用于确认当前电视系统时间的时间同步类型;
    网络同步模块,用于在确认所述电视的时间同步类型为网络同步时,获取当前的网络时间同步至所述电视的系统时间;
    码流同步模块,用于在确认所述电视的时间同步类型为码流同步时,获取当前的码流时间同步至所述电视的系统时间。
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有时间同步应用程序,所述时间同步应用程序在执行时实现如下时间同步方法的步骤:
    确认当前电视系统时间的时间同步类型;
    若所述时间同步类型为网络同步,获取当前的网络时间同步所述电视的系统时间;
    若所述时间同步类型为码流同步,则获取当前监听广播的码流时间,并以所述码流时间同步所述电视的系统时间。
PCT/CN2019/085761 2018-08-27 2019-05-07 时间同步方法、装置、智能电视及计算机可读存储介质 WO2020042660A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810993832.6 2018-08-27
CN201810993832.6A CN109040820A (zh) 2018-08-27 2018-08-27 时间同步方法、装置、智能电视及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020042660A1 true WO2020042660A1 (zh) 2020-03-05

Family

ID=64625946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085761 WO2020042660A1 (zh) 2018-08-27 2019-05-07 时间同步方法、装置、智能电视及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN109040820A (zh)
WO (1) WO2020042660A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040820A (zh) * 2018-08-27 2018-12-18 深圳Tcl数字技术有限公司 时间同步方法、装置、智能电视及计算机可读存储介质
CN110225414A (zh) * 2019-07-04 2019-09-10 深圳市康冠技术有限公司 电视机及其时间显示方法、时间显示装置和可读存储介质
CN112351332B (zh) * 2020-10-30 2023-12-05 深圳Tcl新技术有限公司 电视节目的预约方法、智能大屏及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013085139A (ja) * 2011-10-11 2013-05-09 Toshiba Corp コンテンツ再生装置、サーバおよびコンテンツ再生方法
CN104754035A (zh) * 2015-03-06 2015-07-01 浪潮集团有限公司 一种ntp和rtc芯片配合确保管理主板时间的方法
CN105516118A (zh) * 2015-12-03 2016-04-20 Tcl集团股份有限公司 一种基于非rtc智能电视的时间同步方法及系统
CN107493499A (zh) * 2017-08-08 2017-12-19 青岛海信电器股份有限公司 终端系统时间更新方法、装置及电子设备
CN109040820A (zh) * 2018-08-27 2018-12-18 深圳Tcl数字技术有限公司 时间同步方法、装置、智能电视及计算机可读存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9426506B2 (en) * 2012-08-22 2016-08-23 University-Industry Cooperation Group Of Kyung Hee University Apparatuses for providing and receiving augmented broadcasting service in hybrid broadcasting environment
CN106231371B (zh) * 2016-07-27 2019-07-02 青岛海信电器股份有限公司 时间同步方法、电视及epg服务器
CN106412697A (zh) * 2016-09-20 2017-02-15 深圳Tcl数字技术有限公司 智能电视自动获取时区的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013085139A (ja) * 2011-10-11 2013-05-09 Toshiba Corp コンテンツ再生装置、サーバおよびコンテンツ再生方法
CN104754035A (zh) * 2015-03-06 2015-07-01 浪潮集团有限公司 一种ntp和rtc芯片配合确保管理主板时间的方法
CN105516118A (zh) * 2015-12-03 2016-04-20 Tcl集团股份有限公司 一种基于非rtc智能电视的时间同步方法及系统
CN107493499A (zh) * 2017-08-08 2017-12-19 青岛海信电器股份有限公司 终端系统时间更新方法、装置及电子设备
CN109040820A (zh) * 2018-08-27 2018-12-18 深圳Tcl数字技术有限公司 时间同步方法、装置、智能电视及计算机可读存储介质

Also Published As

Publication number Publication date
CN109040820A (zh) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2020042660A1 (zh) 时间同步方法、装置、智能电视及计算机可读存储介质
WO2017206456A1 (zh) 一种视频通话中视频图像展示方法及装置
WO2016101441A1 (zh) 一种进行文件同步的方法及系统
WO2018233352A1 (zh) 数据传输方法、装置、终端以及计算机可读存储介质
WO2020207030A1 (zh) 视频编码方法、系统、设备及计算机可读存储介质
WO2017211054A1 (zh) 蓝牙智能手表、智能终端、及其spp远程控制拍照的方法和系统
WO2020133766A1 (zh) 视频同步播放方法、设备及计算机可读存储介质
WO2016037461A1 (zh) 一种利用ibeacons技术的会议管理方法及终端
WO2015103954A1 (en) Information sharing method, information sharing apparatus, and electronic device
WO2018010240A1 (zh) 拍摄同步方法及同步装置
WO2015199420A1 (ko) 방송 시스템에서 시스템 시간 정보를 송수신하는 기법
WO2018053962A1 (zh) 智能电视自动获取时区的方法和装置
WO2019233190A1 (zh) 基于显示终端的文本转语音方法、显示终端及存储介质
WO2021091175A1 (ko) Nan 기반의 클러스터 머징 방법 및 이를 지원하는 전자 장치
WO2017148142A1 (zh) 桌面图标文件夹的名称切换方法、装置及电子设备
WO2020007099A1 (zh) 电视终端控制方法、设备及计算机可读存储介质
WO2016119414A1 (zh) 一种基于二维码的文件共享方法、系统及移动终端
WO2018201774A1 (zh) 数据审批方法、装置、设备和计算机可读存储介质
WO2017012417A1 (zh) 多屏互动设备之间的控制方法、多屏互动设备及系统
WO2020060021A1 (en) Packet data unit (pdu) session control method and apparatus
WO2019184469A1 (zh) 搜台控制方法、搜台控制装置以及计算机可读存储介质
WO2020073615A1 (zh) 设备软件的升级方法、数据转化器及可读存储介质
WO2019114587A1 (zh) 虚拟现实终端的信息处理方法、装置及可读存储介质
WO2016101249A1 (zh) 终端与环绕音响之间音频数据的无线传输方法及系统
WO2019137219A1 (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: 19853570

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 09.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19853570

Country of ref document: EP

Kind code of ref document: A1