CN113923522A - Time updating method and device for set top box and computer readable storage medium - Google Patents

Time updating method and device for set top box and computer readable storage medium Download PDF

Info

Publication number
CN113923522A
CN113923522A CN202111200869.7A CN202111200869A CN113923522A CN 113923522 A CN113923522 A CN 113923522A CN 202111200869 A CN202111200869 A CN 202111200869A CN 113923522 A CN113923522 A CN 113923522A
Authority
CN
China
Prior art keywords
time
dvb
network
top box
updating
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
Application number
CN202111200869.7A
Other languages
Chinese (zh)
Inventor
邹国庆
李军
曾秋龙
孙悦遇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen SDMC Technology Co Ltd
Original Assignee
Shenzhen SDMC Technology Co Ltd
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 Shenzhen SDMC Technology Co Ltd filed Critical Shenzhen SDMC Technology Co Ltd
Priority to CN202111200869.7A priority Critical patent/CN113923522A/en
Publication of CN113923522A publication Critical patent/CN113923522A/en
Pending legal-status Critical Current

Links

Images

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/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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • 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/41Structure of client; Structure of client peripherals
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet

Abstract

The invention discloses a time updating method and a time updating device of a set top box and a computer readable storage medium, wherein the method comprises the following steps: searching and locking a broadcast channel to connect the DVB server when the network connection failure is detected; when receiving channel content broadcast by a DVB server, analyzing the channel content to obtain DVB time; the system time is updated according to the DVB time. The invention improves the stability of the set top box updating system time.

Description

Time updating method and device for set top box and computer readable storage medium
Technical Field
The present invention relates to the field of set-top box technologies, and in particular, to a method and an apparatus for updating time of a set-top box, and a computer-readable storage medium.
Background
When the network equipment updates the system time, the network equipment usually accesses the NTP server to acquire the standard time after connecting the internet, but the method has a defect that the time cannot be requested when the network internet is not communicated or the NTP server is abnormal. While some network devices, such as set-top boxes, do not save time. Therefore, in the prior art, when the system time of the network equipment is updated, the stability of the updating method is low.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for updating system time of a set top box, and a computer-readable storage medium, so as to solve a technical problem of how to improve stability of system time update of a network device.
The embodiment of the invention provides a time updating method of a set top box, which comprises the following steps:
searching and locking a broadcast channel to connect the DVB server when the network connection failure is detected;
when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time;
and updating the system time according to the DVB time.
In one embodiment, the searching and locking the broadcast channel to connect to the DVB server when detecting that the network cannot be connected includes:
and when the network connection failure is detected, searching and locking a broadcast channel at a preset frequency so as to connect the DVB server.
In an embodiment, the step of updating the system time according to the DVB time comprises:
determining whether a current time is equal to the DVB time;
when the current time is equal to the DVB time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the DVB time, executing the step of updating the system time according to the DVB time.
In one embodiment, after the step of searching and locking a broadcast channel when the network is detected to be unavailable, the method further comprises:
and when the broadcast channel is failed to be locked, outputting prompt information of failure of connecting the DVB server.
In an embodiment, before the step of searching and locking a broadcast channel to connect to a DVB server when it is detected that the network cannot be connected, the method further includes:
and when the power-on is detected, restoring the system time to the preset default time.
In an embodiment, before the step of searching and locking a broadcast channel to connect to a DVB server when it is detected that the network cannot be connected, the method further includes:
detecting whether a connection to a network is made;
when the connection to the network is detected, sending a time acquisition request to an NTP server;
receiving the network time sent by the NTP server;
and updating the system time according to the network time.
In one embodiment, after the step of sending a time acquisition request to the NTP server when connection to the network is detected, the method further comprises:
and if the network time sent by the NTP server is not received within the preset time, outputting the abnormal prompt information of the NTP server.
In one embodiment, before the step of updating the system time according to the network time, the method further comprises:
determining whether a current time is equal to the network time;
when the current time is equal to the network time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the network time, executing the step of updating the system time according to the network time.
The embodiment of the invention also provides a time updating device of the set-top box, which comprises the following steps: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the time updating method of the set-top box as described above when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the time updating method for a set top box as described above are implemented.
In the technical scheme of the embodiment, when the fact that the network cannot be connected is detected, a broadcast channel is searched and locked to be connected with a DVB server; when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time; and updating the system time according to the DVB time. Because the set-top box can not save time after being powered off, the set-top box can always automatically update the system time after being connected with the network, but when the network is unstable, the set-top box can not update the system time to the accurate time in time, therefore, when the set-top box can not be connected with the network, the invention can search and lock the broadcast channel, and because the channel content of the broadcast channel is broadcasted by a DVB server, the invention can carry DVB time, and when the channel content is received, the DVB time can be analyzed to obtain the DVB time, and then the system time is updated, thereby realizing the update of the system time under the condition of no network, and under the condition of no network, the invention improves the stability of the set-top box for updating the system time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic hardware architecture diagram of a time update apparatus of a set-top box according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a time updating method for a set-top box according to the present invention;
fig. 3 is a detailed flowchart of step S30 of the time updating method of the set-top box according to the second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for updating time of a set-top box according to the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment of the time updating method of the set-top box of the present invention:
fig. 6 is a flowchart illustrating a fifth embodiment of a time updating method for a set-top box according to the present invention;
fig. 6A is a reference diagram of a fifth embodiment of the time updating method of the set-top box according to the invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is: searching and locking a broadcast channel to connect the DVB server when the network connection failure is detected; when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time; and updating the system time according to the DVB time.
Because the set-top box can not save time after being powered off, the set-top box can always automatically update the system time after being connected with the network, but when the network is unstable, the set-top box can not update the system time to the accurate time in time, therefore, when the set-top box can not be connected with the network, the invention can search and lock the broadcast channel, and because the channel content of the broadcast channel is broadcasted by a DVB server, the invention can carry DVB time, and when the channel content is received, the DVB time can be analyzed to obtain the DVB time, and then the system time is updated, thereby realizing the update of the system time under the condition of no network, and under the condition of no network, the invention improves the stability of the set-top box for updating the system time.
As an implementation, the time updating apparatus of the set-top box may be as shown in fig. 1.
The embodiment of the invention relates to a time updating device of a set-top box, which comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As in fig. 1, a detection program may be included in the memory 103 as a computer-readable storage medium; and the processor 101 may be configured to call the detection program stored in the memory 102 and perform the following operations:
searching and locking a broadcast channel to connect the DVB server when the network connection failure is detected;
when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time;
and updating the system time according to the DVB time.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and when the network connection failure is detected, searching and locking a broadcast channel at a preset frequency so as to connect the DVB server.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining whether a current time is equal to the DVB time;
when the current time is equal to the DVB time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the DVB time, executing the step of updating the system time according to the DVB time.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and when the broadcast channel is failed to be locked, outputting prompt information of failure of connecting the DVB server.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and when the power-on is detected, restoring the system time to the preset default time.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
detecting whether a connection to a network is made;
when the connection to the network is detected, sending a time acquisition request to an NTP server;
receiving the network time sent by the NTP server;
and updating the system time according to the network time.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and if the network time sent by the NTP server is not received within the preset time, outputting the abnormal prompt information of the NTP server.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining whether a current time is equal to the network time;
when the current time is equal to the network time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the network time, executing the step of updating the system time according to the network time.
In the technical scheme of the embodiment, when the fact that the network cannot be connected is detected, a broadcast channel is searched and locked to be connected with a DVB server; when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time; and updating the system time according to the DVB time. Because the set-top box can not save time after being powered off, the set-top box can always automatically update the system time after being connected with the network, but when the network is unstable, the set-top box can not update the system time to the accurate time in time, therefore, when the set-top box can not be connected with the network, the invention can search and lock the broadcast channel, and because the channel content of the broadcast channel is broadcasted by a DVB server, the invention can carry DVB time, and when the channel content is received, the DVB time can be analyzed to obtain the DVB time, and then the system time is updated, thereby realizing the update of the system time under the condition of no network, and under the condition of no network, the invention improves the stability of the set-top box for updating the system time.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, fig. 2 is a first embodiment of a time updating method of a set-top box according to the present invention, the method includes the following steps:
in step S10, when it is detected that the network cannot be connected, a broadcast channel is searched and locked to connect the DVB server.
In this embodiment, when the set-top box cannot connect to the network, the system time cannot be updated, and at this time, the time updating apparatus of the set-top box searches and locks the broadcast channel, thereby implementing connection with the DVB server. Among them, DVB (digital Video broadcasting) is a series of internationally recognized digital television public standards maintained by the DVB project. The transmission system of the DVB standard is divided into a Source Coding and decoding (Source Coding) part and a Channel Coding and decoding (Channel Coding) part. The source coding adopts MPEG-2 code stream, firstly multiplexes audio and video, and then multiplexes a plurality of digital television program streams. Corresponding demultiplexing and decoding are carried out at the receiving end. The channel coding and decoding comprises the following steps: forward error correction encoding, decoding, modulating, demodulating and up and down converting 3 parts. Satellite transmission adopts QPSK (4-phase shift keying modulation), cable transmission adopts QAM (quadrature amplitude modulation), and terrestrial transmission adopts COFDM (coded orthogonal frequency division multiplexing) or 16VSB (16-level vestigial sideband modulation). The DVB standards include: 1. DVB-S-digital satellite direct broadcast system standard: the digital satellite transmission system is designed to satisfy the bandwidth of a satellite transponder and the transmission characteristics of a satellite signal. The standard uses satellites as the transmission medium. The video, audio and data are put into MPEG-2 transmission stream packed in fixed length, the signal has strong anti-interference ability in transmission process, then the channel process is carried out. The compressed digital signal transmitted by the satellite is processed by the satellite set-top box after passing through the satellite receiver, and a video signal is output. The transmission coverage is wide and the program amount is large. The data stream adopts a Quadrature Phase Shift Keying (QPSK) mode, when an MP @ ML (main class @ main level) format of MPEG-2 is used, the code rate of a user side for achieving CCIR601 studio quality is 9Mb/s, and the code rate for achieving PAL quality is 5 Mb/s. 2. DVB-C digital cable broadcast system standard: the cable television network is used as a transmission medium, and the application range is wide. The cable television system is divided into two parts: CATV head-ends and integrated decoding receivers (IRDs). The transmission stream adopting MPEG-2 compression coding has strong external interference resistance and relatively high signal strength compared with satellite transmission because the transmission medium adopts coaxial cable. The modulation modes include 16, 32 and 64QAM modes, and for QAM modulation, the higher the transmission information rate is, the lower the interference resistance is. When 64QAM quadrature amplitude modulation is adopted, the transmission code rate of one PAL channel is 41.34Mb/s, and the transmission code rate can be used for multiplexing a plurality of programs. The DVB-C transmission system has the following main characteristics: A. can be adapted to various program sources. The programs transmitted by the DVB-C transmission system can be from programs received from a satellite system, local television programs and other external program signals; B. can be used for both standard digital television and HDTV. 3. VB-T digital terrestrial broadcasting system standard: the standard for this system was passed in 1998, which is the most complex DVB transmission system. 4 sets of television programs can be transmitted in 8MHz bandwidth without using a Coded Orthogonal Frequency Division Multiplexing (COFDM) modulation mode, and the transmission quality is high. MPEG-2 digital video and audio compression coding technology is adopted. The transmission capacity of terrestrial digital transmission is theoretically as large as that of a cable television system, and the coverage of a local area is good. The system is beneficial to coexistence of digital and analog televisions, and shows advantages in mixed transmission with the existing analog televisions. The main specifications in the DVB-T standard are the system structure and signal processing mode of the transmitting end, the receiving end is open, and each manufacturer can develop respective DVB-T receiving equipment as long as the equipment can correctly receive and process the transmitted signal and meet the performance index specified in the DVB-T. 4. DVB-SMATV digital SMATV (satellite common antenna television) broadcast system standard: the standard is established on the basis of DVB-S and DVB-C. 5. DVB-MS digital broadcast MMDS distribution system standard above 10 GHZ: MMDS is a system that distributes multichannel television programs using amplitude modulated microwave to multicast. The system is based on DVB-S, and microwave signals carrying a large number of programs are directly transmitted to the home. DVB-MS signals can be received by a DVB-S receiver in conjunction with an MMDS frequency switch. 6. DVB-MC is lower than the digital broadcasting MMDS distribution system standard of 10GHZ, the standard is based on DVB-C, and microwave signals carrying a large number of programs are directly transmitted to the home. The DVB-MC signal can be received by a DVB-C receiver equipped with an MMDS frequency converter. 7. The DVB-H standard is a standard that builds on both the DVB and DVB-T standards. The DVB-H system front end is composed of a DVB-H wrapper and a DVB-H modulator, wherein the DVB-H wrapper is responsible for wrapping IP data into MPEG-2 system Transport Streams (TS), and the DVB-H modulator is responsible for channel coding and modulation; the system terminal is composed of a DVB-H demodulator and a DVB-H terminal, wherein the DVB-H demodulator is responsible for channel demodulation and decoding, and the DVB-H terminal is responsible for displaying and processing related services.
Optionally, when it is detected that the network cannot be connected, the broadcast channel is searched and locked at a preset frequency to connect the DVB server.
Step S20, when receiving the channel content broadcast by the DVB server, parsing the channel content to obtain the DVB time.
In this embodiment, the set top box receives channel content broadcast by the DVB server, and when receiving the channel content, the set top box may analyze DVB time carried in the channel content.
And step S30, updating the system time according to the DVB time.
In this embodiment, the set top box does not save time after being powered off, and usually automatically updates the system time after being connected to the network, but when the network is unstable, the set top box cannot timely update the system time to accurate time, so that the set top box searches and locks a broadcast channel when the set top box cannot be connected to the network.
Referring to fig. 3, fig. 3 is a second embodiment of the time updating method of the set-top box according to the present invention, and based on the first embodiment, step S30 includes:
step S31, determining whether the current time is equal to the DVB time.
And step S32, when the current time is equal to the DVB time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated.
Step S33, when the current time is not equal to the DVB time, executing the step of updating the system time according to the DVB time
In the technical scheme of the embodiment, after the DVB time is obtained through analysis, if the system time is determined to be the same as the DVB time, the system time of the set top box is determined not to need to be updated, so that the time updating process of the set top box can be finished, and the intelligent degree of the system time of the set top box is improved.
Referring to fig. 4, fig. 4 is a third embodiment of the time updating method of the set-top box according to the present invention, and based on any one of the first to second embodiments, after step S10, the method further includes:
and step S40, when the broadcast channel is failed to be locked, outputting a prompt message of failure of connecting the DVB server.
In the technical scheme of this embodiment, when the broadcast channel cannot be locked, the channel content broadcast by the DVB server cannot be received, that is, the DVB time cannot be analyzed, so that the prompt information is output, a user can know the situation in time, and the user experience is improved.
Referring to fig. 5, fig. 5 is a fourth embodiment of the time updating method of the set-top box according to the present invention, based on any one of the first to third embodiments, before step S10, the method further includes:
in step S50, when power-on is detected, the system time is restored to a preset default time.
In this embodiment, power-on is detected, which indicates that the set-top box has been powered off before, and the time of the set-top box is messy, so that after power-on is detected, the system time is directly updated to the default time, wherein the default time is preferably a time having a larger difference with the current date, for example: x month x day 1975.
In the technical scheme of the embodiment, the default time with a large difference from the current time is set, so that the time updating device of the set-top box can determine time confusion more easily based on the reset default time, and the system time is actively updated.
Referring to fig. 6, fig. 6 is a fifth embodiment of the time updating method of the set-top box according to the present invention, based on any one of the first to fourth embodiments, before step S10, the method further includes:
step S60, it is detected whether to connect to the network.
In step S70, when connection to the network is detected, a time acquisition request is sent to the NTP server.
And step S80, receiving the network time sent by the NTP server.
And step S90, updating the system time according to the network time.
In this embodiment, NTP server (NTP) is a Protocol for synchronizing computer Time, which can synchronize the computer to its server or clock source (e.g. quartz clock, GPS, etc.), provide high accuracy Time correction (the difference between the standard and the standard on LAN is less than 1 millisecond, and tens of milliseconds on WAN), and prevent malicious Protocol attack via encryption confirmation. Time is propagated on the level of the NTP server. All servers are classified into different stratums according to distance from the external UTC source. NTP provides accurate time, and first has an accurate time source, which should be the international standard time UTC.
The time source for obtaining UTC by NTP can be an atomic clock, an astronomical clock, a satellite or can be obtained from the Internet. This provides an accurate and reliable source of time. Time is propagated on the level of the NTP server. All servers are classified into different stratums by distance from the external UTC source. Stratum-1 is at the top level with external UTC access, Stratum-2 gets time from Stratum-1, Stratum-3 gets time from Stratum-2, and so on, but the total number of Stratum is limited to 15. All these servers form a logically stepped architecture interconnect, while Stratum-1's time server is the foundation of the overall system.
The host computer is typically connected to multiple time servers, and the time from the different servers is filtered using statistical algorithms to select the best path and source to correct the host time. NTP services operate efficiently even if a host cannot be associated with a time server for a long time.
To prevent malicious disruption to the time server, NTP uses an Authentication mechanism that checks whether the information coming to the time is really coming from the claimed server and checks the return path of the material to provide a protection mechanism against interference.
Optionally, determining whether the current time is equal to the network time; when the current time is equal to the network time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated; and when the current time is not equal to the network time, executing the step of updating the system time according to the network time. And the system time is the same as the network time, so that the system time of the set top box is judged not to be disordered, the system time of the set top box is not updated, and the intelligent degree of the system time of the set top box is improved.
Optionally, if the network time sent by the NTP server is not received within the preset time, a prompt message indicating that the NTP server is abnormal is output. By outputting the abnormal prompt information of the NTP server, the user can know the failure in the mode of updating the time through the network in time.
Optionally, if the network time sent by the NTP server is not received within a preset time, searching and locking a broadcast channel to connect the DVB server; when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time; and updating the system time according to the DVB time. By the method, the system time can be updated by searching and locking the broadcast channel to acquire the DVB time under the condition that a network exists but the system time cannot be updated through the network, so that the flexibility of updating the system time of the set top box is improved.
Optionally, referring to fig. 6A, when receiving channel content, filtering preset information and then parsing to obtain DVB time, specifically, when receiving channel content, filtering DVB PSI/SI information, then parsing a TOT/TDT table to obtain DVB time, and then updating a system clock based on the obtained DVB time.
In the technical solution of this embodiment, if it is detected that the set-top box is successfully connected to the network, the network is used to update the system time, and the method for updating based on the broadcast channel is used as a standby updating method, which can improve the stability of the set-top box in updating the system time.
In order to achieve the above object, an embodiment of the present invention further provides a time updating apparatus for a set top box, where the time updating apparatus for a set top box includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the time updating method of the set-top box as described above when executing the computer program.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the time updating method of the set-top box as described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a network configuration product program embodied on one or more computer-usable computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These transaction-orchestrated process computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions that execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A time updating method of a set top box is characterized by comprising the following steps:
searching and locking a broadcast channel to connect the DVB server when the network connection failure is detected;
when receiving the channel content broadcasted by the DVB server, analyzing the channel content to obtain DVB time;
and updating the system time according to the DVB time.
2. The time update method of a set-top box according to claim 1, wherein the searching and locking a broadcast channel to connect to a DVB server when the network unavailability is detected comprises:
and when the network connection failure is detected, searching and locking a broadcast channel at a preset frequency so as to connect the DVB server.
3. The time updating method of a set-top box according to claim 1, wherein the step of updating the system time according to the DVB time comprises:
determining whether a current time is equal to the DVB time;
when the current time is equal to the DVB time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the DVB time, executing the step of updating the system time according to the DVB time.
4. The time update method of a set-top box according to claim 1, wherein after the step of searching for and locking a broadcast channel when the network unavailability is detected, the method further comprises:
and when the broadcast channel is failed to be locked, outputting prompt information of failure of connecting the DVB server.
5. The time update method of a set-top box according to claim 1, wherein before the step of searching and locking a broadcast channel to connect to a DVB server when the network unavailability is detected, the method further comprises:
and when the power-on is detected, restoring the system time to the preset default time.
6. The time update method of a set-top box according to claim 1, wherein before the step of searching and locking a broadcast channel to connect to a DVB server when the network unavailability is detected, the method further comprises:
detecting whether a connection to a network is made;
when the connection to the network is detected, sending a time acquisition request to an NTP server;
receiving the network time sent by the NTP server;
and updating the system time according to the network time.
7. The time updating method of a set-top box according to claim 6, wherein after said step of sending a time acquisition request to the NTP server when connection to the network is detected, the method further comprises:
and if the network time sent by the NTP server is not received within the preset time, outputting the abnormal prompt information of the NTP server.
8. The time updating method of a set-top box according to claim 6, wherein said step of updating a system time according to the network time is preceded by the method further comprising:
determining whether a current time is equal to the network time;
when the current time is equal to the network time, canceling updating the system time and outputting prompt information of which the system time does not need to be updated;
and when the current time is not equal to the network time, executing the step of updating the system time according to the network time.
9. A time update apparatus of a set-top box, the time update apparatus of the set-top box comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps of the time update method of a set-top box according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the time updating method of a set-top box according to any one of claims 1 to 8.
CN202111200869.7A 2021-10-14 2021-10-14 Time updating method and device for set top box and computer readable storage medium Pending CN113923522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111200869.7A CN113923522A (en) 2021-10-14 2021-10-14 Time updating method and device for set top box and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111200869.7A CN113923522A (en) 2021-10-14 2021-10-14 Time updating method and device for set top box and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113923522A true CN113923522A (en) 2022-01-11

Family

ID=79240850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111200869.7A Pending CN113923522A (en) 2021-10-14 2021-10-14 Time updating method and device for set top box and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113923522A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030219081A1 (en) * 2002-05-21 2003-11-27 Sheehan Patrick M. System and method for providing private in-band data to digital set-top boxes in a broadcast environment
JP2007124471A (en) * 2005-10-31 2007-05-17 Sharp Corp Digital equipment
WO2011105569A1 (en) * 2010-02-25 2011-09-01 マスプロ電工株式会社 Multiplexing device, encoder, digital modulator, and autonomous broadcasting system
WO2012028851A1 (en) * 2010-09-02 2012-03-08 British Broadcasting Corporation Method and system for additional service synchronisation
CN105933733A (en) * 2016-05-18 2016-09-07 青岛海信传媒网络技术有限公司 Clock synchronization method, clock synchronization device, set top box and television
CN108712225A (en) * 2018-05-17 2018-10-26 广州视源电子科技股份有限公司 A kind of method, apparatus, electronic equipment and computer readable storage medium obtaining time synchronization information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030219081A1 (en) * 2002-05-21 2003-11-27 Sheehan Patrick M. System and method for providing private in-band data to digital set-top boxes in a broadcast environment
JP2007124471A (en) * 2005-10-31 2007-05-17 Sharp Corp Digital equipment
WO2011105569A1 (en) * 2010-02-25 2011-09-01 マスプロ電工株式会社 Multiplexing device, encoder, digital modulator, and autonomous broadcasting system
WO2012028851A1 (en) * 2010-09-02 2012-03-08 British Broadcasting Corporation Method and system for additional service synchronisation
CN105933733A (en) * 2016-05-18 2016-09-07 青岛海信传媒网络技术有限公司 Clock synchronization method, clock synchronization device, set top box and television
CN108712225A (en) * 2018-05-17 2018-10-26 广州视源电子科技股份有限公司 A kind of method, apparatus, electronic equipment and computer readable storage medium obtaining time synchronization information

Similar Documents

Publication Publication Date Title
US8503447B2 (en) Broadcast receiver and channel information processing method
US9178774B2 (en) Channel hopping scheme for update of data for multiple services across multiple channels
JP4927198B2 (en) System for error management of program specific information in video decoder
US10735787B2 (en) Transmission device, transmission method, reception device, reception method, and computer program
US8934529B2 (en) Method and apparatus for providing robust reception in a wireless communications system
EP2442582B1 (en) Selection of a data stream for receiving a data service
US20080040762A1 (en) System and method for transmitting/receiving ESG data update information in DVB-H system
JP2013504912A (en) Distribution of MPEG-2TS multiplexed multimedia stream by selecting elementary packets of MPEG-2TS multiplexed multimedia stream
US7477324B2 (en) Transmission system
CN102595196A (en) Method and device for receiving application data
EP2046033A2 (en) Broadcast receiver and system information processing method
CA2638185C (en) Broadcast content distribution system, and distribution apparatus and broadcast reception terminal device for use in the system
US20110099577A1 (en) Filtering of dynamic services in cached service acquisition data
US20070115889A1 (en) Method and apparatus for providing trust guarantee transmission service in digital broadcasting system
CN113923522A (en) Time updating method and device for set top box and computer readable storage medium
US9294208B2 (en) Method and system to signal network information in TPS bits
JP2000209279A (en) Signal processor and signal processing method
Arsinte et al. Some Aspects of Testing Process for Transport Streams in Digital Video Broadcasting
WO2007040572A1 (en) Transmission of information on an auxiliary channel
JP2007124490A (en) Cable television management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination