CN112218141B - Television time determination method and device, electronic equipment and storage medium - Google Patents

Television time determination method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112218141B
CN112218141B CN202011074766.6A CN202011074766A CN112218141B CN 112218141 B CN112218141 B CN 112218141B CN 202011074766 A CN202011074766 A CN 202011074766A CN 112218141 B CN112218141 B CN 112218141B
Authority
CN
China
Prior art keywords
time
frequency point
code stream
candidate
point information
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.)
Active
Application number
CN202011074766.6A
Other languages
Chinese (zh)
Other versions
CN112218141A (en
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 Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202011074766.6A priority Critical patent/CN112218141B/en
Publication of CN112218141A publication Critical patent/CN112218141A/en
Application granted granted Critical
Publication of CN112218141B publication Critical patent/CN112218141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a television time determination method and device, electronic equipment and a storage medium. The method comprises the following steps: when a time scanning request is detected, current code stream time associated with current program frequency point information is obtained, candidate program frequency point information is determined when standard current code stream time is not obtained, candidate code stream time associated with the candidate program frequency point information is obtained, and the current time is determined based on the candidate code stream time, so that accurate television time is obtained, the problem that accurate time cannot be obtained due to the fact that a starting channel does not have time information is solved, and the accuracy of time reference of digital television services is improved.

Description

Television time determination method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of televisions, in particular to a television time determining method and device, electronic equipment and a storage medium.
Background
At present, overseas products, particularly digital television products such as European METZ and the like, have PVR recording, PVR recording reservation and EPG functions. The functions are realized based on accurate code stream time, so that the timely and accurate acquisition of each code stream time is crucial.
The current digital television system only obtains the code stream time of Live program when the system is started, if the code stream time is not standard or a TDT time date table is not inserted, the system time is not available or not the current accurate time, the time of the digital television system is still the time of the old system or the error time, and the user experience on digital television service functions such as PVR recording, PVR recording reservation, EPG function and the like is not facilitated.
Disclosure of Invention
The invention provides a method and a device for determining television time, electronic equipment and a storage medium, which are used for realizing the acquisition of accurate television time, thereby improving the accuracy of the time reference of a digital television service, avoiding the situation that the accurate time cannot be acquired because a starting channel has no time information, and improving the accuracy of the time reference of the digital television service.
In a first aspect, an embodiment of the present invention provides a method for determining a television time, including:
when a time scanning request is detected, acquiring current code stream time associated with current program frequency point information;
when the standard current code stream time is not acquired, determining candidate program frequency point information;
and acquiring candidate code stream time associated with the candidate program frequency point information, and determining the current time based on the candidate code stream time.
In a second aspect, an embodiment of the present invention further provides an apparatus for determining a television time, where the apparatus includes:
the current code stream time acquisition module is used for acquiring current code stream time associated with current program frequency point information when a time scanning request is detected;
the candidate program frequency point information determining module is used for determining candidate program frequency point information when the standard current code stream time is not acquired;
and the current time determining module is used for acquiring candidate code stream time associated with the candidate program frequency point information and determining the current time based on the candidate code stream time.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the television time determination method provided by the embodiment of the invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a television time determination method as provided by embodiments of the present invention.
According to the method and the device, when the time scanning request is detected, the current code stream time associated with the current program frequency point information is obtained, when the standard current code stream time is not obtained, the candidate program frequency point information is determined, the candidate code stream time associated with the candidate program frequency point information is obtained, and the current time is determined based on the candidate code stream time, so that the accurate television time is obtained, the accuracy of the time reference of the digital television service is improved, and the problem that the startup channel does not have the accurate time information is solved.
Drawings
In order to more clearly illustrate the technical solution of the exemplary embodiment of the present invention, a brief introduction will be made to the drawings required for describing the embodiment. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flowchart of a method for determining tv time according to an embodiment of the present invention;
fig. 2a is a schematic flowchart of a television time determination method according to a second embodiment of the present invention;
Fig. 2b is a timing diagram of a method for determining tv time according to a second embodiment of the present invention;
fig. 2c is a state transition diagram of a state machine of a method for determining tv time according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a television time determining apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of a method for determining television time according to an embodiment of the present invention, which is applicable to a situation where accurate television time needs to be obtained, where the method may be executed by a device for determining television time, where the device may be implemented by hardware and/or software, and the method specifically includes the following steps:
and S110, when the time scanning request is detected, acquiring the current code stream time associated with the current program frequency point information.
The time scanning request refers to a request generated at a specific time for obtaining an accurate time. Optionally, the time scan request is automatically generated upon detection of a power-on event. When a starting event is detected, a time scanning request is automatically generated to obtain accurate time corresponding to starting time, original system time corresponding to the starting time is updated to the accurate time, and reference time is provided for functions of PVR recording or EPG and the like.
The current program frequency point information may be frequency point information of a program being played at the current startup time and/or frequency point information of a program suspended to be played. It can be understood that each program corresponds to one piece of frequency point information, and each piece of program frequency point information corresponds to one piece of code stream time. The current code stream time can be understood as the code stream time corresponding to the frequency point information of the program being played at the current startup time and/or the frequency point information of the program which is paused to be played. The code stream Time may be Universal Time Coordinated (UTC) Time information corresponding to the program frequency point information, or Time information obtained by correcting the UTC Time by using a date correction julian day. The UTC Time is a uniform Time used in an international radio communication occasion and can be used to represent a current code stream Time, the UTC Time information is carried by a Time and Date Table (TDT), the TDT is a Table describing the UTC Time in a digital video broadcasting code stream, and is one of various service information tables included in an MPEG-2 transport stream. Illustratively, the current program frequency point information is a frequency point of a current startup program, each piece of compressed data received at the frequency point of the startup program is scanned, a TDT carried in the compressed data is acquired, and UTC time is taken out from the TDT as current code stream time associated with the startup program frequency point information.
And S120, when the standard current code stream time is not obtained, determining the frequency point information of the candidate program.
The standard current code stream time refers to the accurate time which can be used as functional reference time of PVR recording or EPG and the like. The candidate program frequency point information refers to frequency point information corresponding to a candidate program list acquired at the starting time.
Optionally, the current code stream time that does not obtain the standard includes: the current code stream time does not meet the preset first time threshold condition, or the current code stream time is not obtained.
The first time threshold is used for judging whether the current code stream time is accurate time, namely judging whether the current code stream time can be used as the reference time of each function of the television. The first time threshold may be preset according to a requirement, and if the first time threshold condition is met, the current code stream time is determined as the current time, for example, the first time threshold may be preset to 2020.01.01, and if the current code stream time is less than the first time threshold, the current code stream time is considered not to meet the preset first time threshold condition, and the standard current code stream time is not obtained; if the current code stream time is greater than a first time threshold, the current code stream time is considered to meet a preset first time threshold condition, and standard current code stream time is obtained; if the current code stream time is not acquired, the compressed data correspondingly transmitted under the current program frequency point information does not carry the code stream time information, and the compressed data is regarded as the current code stream time which is not acquired.
Optionally, determining candidate program frequency point information includes: acquiring frequency point list information associated with the program list, and determining candidate program frequency point information based on the frequency point list information. It can be understood that the candidate program frequency point information may be understood as frequency point information of all programs or part of programs in the rest programs that do not include the current program frequency point information.
S130, candidate code stream time related to the candidate program frequency point information is obtained, and the current time is determined based on the candidate code stream time.
The candidate code stream time refers to code stream time obtained by scanning compressed data received under the candidate program frequency point. The candidate program frequency point information corresponds to candidate code stream time, and the current time is determined based on the candidate code stream time. Specifically, the candidate code stream time associated with the frequency point information of the multiple candidate programs may be sequentially scanned, and if the candidate code stream time meets a preset first time threshold condition, the scanning is stopped and the current time is determined based on the candidate code stream time; or scanning candidate code stream time associated with multiple candidate program frequency point information at one time, selecting the same code stream time from multiple candidate code stream times, and determining the current time based on the same code stream time.
According to the technical scheme of the embodiment, when the time scanning request is detected, the current code stream time associated with the current program frequency point information is obtained, when the standard current code stream time is not obtained, the candidate program frequency point information is determined, the candidate code stream time associated with the candidate program frequency point information is obtained, and the current time is determined based on the candidate code stream time, so that the accurate television time is obtained, the accuracy of the time reference of the digital television service is improved, and the problem that the startup channel does not have the accurate time information is solved.
On the basis of the above technical solution, optionally, obtaining candidate code stream time associated with the candidate program frequency point information, and determining current time based on the candidate code stream time includes: traversing and locking the candidate program frequency point information through a tuner, sequentially acquiring candidate code stream time associated with the candidate program frequency point information, and judging whether the candidate code stream time meets a preset first time threshold condition; and taking the candidate code stream time meeting the first time threshold condition as the current time, and stopping traversing.
The tuner is used for sequentially locking a plurality of candidate program frequency point information, namely locking a certain candidate program frequency point information. The number of tuners may be 1 or 2. Preferably, 2 tuners are used for simultaneously performing the operation of locking the candidate program frequency point information, so as to improve the success rate of locking the candidate program frequency point information. It can be understood that the candidate code stream time associated with the candidate program frequency point information is obtained only when the candidate program frequency point information is locked by the tuner. Specifically, under the state of locking the candidate program frequency point information, scanning candidate code stream time associated with the candidate program frequency point information, if the candidate code stream time does not meet a preset first time threshold condition, unlocking the candidate program frequency point information, locking the next candidate program frequency point information, repeating the above process until the current time is obtained, and stopping frequency locking work of the tuner. Optionally, when the current candidate program frequency point information is locked, the candidate code stream time associated with the current candidate program frequency point information is not acquired, the current candidate program frequency point information is unlocked, and the next candidate program frequency point information is locked.
In the embodiment, the candidate program frequency point information is traversed and locked through the tuner, candidate code stream time related to the candidate program frequency point information is sequentially obtained, whether the candidate code stream time meets a preset first time threshold condition or not is judged, and traversing and locking of the tuner is stopped when the candidate code stream time meets the first time threshold condition, so that frequency locking scanning is stopped in time when the current time is obtained, and waste of resources is avoided while the current time is quickly obtained.
Specifically, the candidate program frequency point information locked by the tuner is added to a scanned frequency point information list, and when the candidate program frequency point information is locked by traversing through the tuner, the candidate program frequency point information in the scanned frequency point information list is skipped over, and the candidate code stream time associated with the rest of candidate program frequency point information is sequentially obtained. By adding the candidate program frequency point information locked by the tuner into the scanned frequency point information list, the frequency point information of the candidate program is prevented from being repeatedly locked and scanned, the acquisition speed of the current time is increased, and the waste of resources is reduced.
Optionally, traversing and locking the candidate program frequency point information through the tuner, and sequentially acquiring candidate code stream time associated with the candidate program frequency point information, including: when the tuner locks the candidate program frequency point information, acquiring a time and date table associated with the candidate program frequency point information and starting a timer; when the time and date table is obtained within the second time threshold, the time information in the time and date table is used as candidate code stream time; and when the time and date table is not acquired within the second time threshold, controlling the tuner to lock the frequency point information of the next candidate program, and acquiring the candidate code stream time associated with the frequency point information of the next candidate program.
The timer is used for prescribing the time for locking the frequency point information of each candidate program by the tuner, and a second time threshold value can be preset in the timer. Specifically, when the tuner locks the candidate program frequency point information, if the time and date table associated with the candidate program frequency point information is not obtained within the second time threshold, the tuner is controlled to unlock the candidate program frequency point information and lock the next candidate program frequency point information; and if the time-date table associated with the candidate program frequency point information is acquired within the second time threshold, taking the time information in the time-date table as candidate code stream time, judging whether the candidate code stream time meets the first time threshold condition, if so, determining the candidate code stream time as the current time, controlling the tuner to unlock the candidate program frequency point information and stop working, and if not, controlling the tuner to unlock the candidate program frequency point information and lock the next candidate program frequency point information. For example, the second time threshold may be set to 0.1s, 0.25s, 0.5s, and the like, and specifically may be determined according to the speed of scanning the TDT in the compressed data or the number of candidate program frequency point information, and if the speed of scanning the TDT in the compressed data is faster or the number of candidate program frequency point information is greater, the second time threshold in the timer may be set to 0.1 s; if the speed of scanning the TDT in the compressed data is slow or the number of candidate program frequency point information is small, the second time threshold in the timer may be set to 0.5 s. The time for locking the frequency point information of each candidate program by the tuner is specified by using the timer, so that the acquisition speed of the current time is increased.
On the basis of the above technical solution, after determining the current time based on the candidate code stream time, the method further includes: and sending the current time to the associated system as the current system time, and sending time updating information to each associated service module.
The association system refers to a setting system including a plurality of association service modules, such as a Linux system. The time update information includes current time information and update notification information. The associated service module may be a respective module, such as a tuner, that participates in obtaining the current time. The time updating information is sent to each associated service module, so that each associated service module stops the functions of frequency locking, time information scanning and the like, resource waste is avoided, meanwhile, the current time is sent to the associated system to serve as the current system time, reference time is provided for functions of PVR recording or EPG and the like, and product experience of users is improved.
Example two
Fig. 2a is a flowchart illustrating a television time determination method according to a second embodiment of the present invention. Based on the above embodiments, the present embodiment provides a preferred embodiment, fig. 2b is a timing diagram of a television time determination method according to a second embodiment of the present invention, and fig. 2c is a state transition diagram of a state machine of the television time determination method according to the second embodiment of the present invention. Wherein explanations of the same or similar terms as those of the above-described embodiments are omitted. As shown in fig. 2a, the method specifically includes the following steps:
S210, when a time scanning request is detected, the real-time management module sends a scanning starting instruction to the time scanning module to start time scanning, so that the time scanning module can obtain the current program frequency point information.
When a time scanning request is detected, the real-time management module generates a scanning start instruction, and sends the scanning start instruction to the state machine and the time scanning module, and the state machine changes the state from stop to start according to the scanning start instruction, as shown in fig. 2 c. When the state of the state machine is changed to the starting state, the time scanning module is controlled to receive a starting scanning instruction (corresponding to 201 in fig. 2 b), so that the time scanning module sends request information for acquiring the frequency point information of the current program to the program broadcasting module (corresponding to 202 in fig. 2 b), and after receiving the request information, the program broadcasting module returns the frequency point information of the current program to the time scanning module (corresponding to 203 in fig. 2 b).
And S220, acquiring the current code stream time associated with the current program frequency point information.
The time scanning module sends request information for starting a scanning program to the front end of the resource management module/compiler to apply for tuner resources to lock a frequency point (corresponding to 204 in fig. 2 b), and sends a control instruction for starting a timer (corresponding to 205 in fig. 2 b) to the timer module. After receiving the request message for starting the scanning program, the resource management module/compiler front-end sends an activation instruction (corresponding to 206 in fig. 2 b) to the filter resource activation module, so that the filter is in an activated state. The filter resource activation module sends a control instruction (corresponding to 207 in fig. 2 b) for opening the transmission stream to the filter module, and after receiving the control instruction for opening the transmission stream, the filter module opens the transmission stream and returns an open-loop response to the filter resource activation module (corresponding to 209 in fig. 2 b), and then the filter resource activation module sends an activated response to the time scanning module (corresponding to 210 in fig. 2 b).
After receiving the activated response, the time scanning module sends a control instruction for starting resource filtering to the filter resource activation module (corresponding to 211 in fig. 2 b), and the filter resource activation module calls a resource filtering function according to the control instruction for starting resource filtering and sends a filtering instruction (corresponding to 212 in fig. 2 b) to the filter module. The filter module filters out TDT data from the open-circuit transport stream data according to the filtering instruction, obtains UTC time from the TDT data as current code stream time, and returns filtering completion notification information to the filter resource activation module (corresponding to 213 in fig. 2 b), so that the filter resource activation module generates a scanning success signal and sends the scanning success signal to the time scanning module (corresponding to 214 in fig. 2 b). After receiving the scanning success signal, the time scanning module sends a pause timer instruction (corresponding to 215 in fig. 2 b) to the timer module, and forwards the scanning success signal to the real-time management module (corresponding to 216 in fig. 2 b). After receiving the scanning success signal, the real-time management module sends the scanning success signal to the state machine, and the state machine changes the state from start to completion according to the scanning success signal, as shown in fig. 2 c.
S230, judging whether the current code stream time is the standard current code stream time, if so, executing S240; if not, executing S250.
The real-time management module determines whether the current code stream time meets a preset first time threshold condition (corresponding to 217 in fig. 2 b).
And S240, determining the current code stream time as the current time.
If the real-time management module determines that the current code stream time meets a preset first time threshold condition, the current code stream time is determined as the current time, the current time is sent to the association system as the current system time, and time update information (corresponding to 218 in fig. 2 b) is sent to each association service module to notify each association service module that the time information is updated. Meanwhile, after receiving the time update information, the time scanning module generates a scanning termination request (corresponding to 219 in fig. 2 b), and sends the scanning termination request to the real-time management module (corresponding to 220 in fig. 2 b), so that the real-time management module generates a scanning termination instruction and sends the scanning termination instruction to the state machine. After receiving the scan termination command, the state machine transitions the state from the scan complete state to the stop state, as shown in fig. 2 c.
S250, traversing and locking the candidate program frequency point information through a tuner, sequentially acquiring candidate code stream time associated with the candidate program frequency point information, and judging whether the candidate code stream time meets a preset first time threshold condition; and taking the candidate code stream time meeting the first time threshold condition as the current time, and stopping traversing.
After the real-time management module judges that the current code stream time does not meet the preset first time threshold condition, the state of the state machine still keeps the starting state, as shown in fig. 2c, and when the state machine keeps the starting state, the real-time management module controls the time scanning module to send a timer starting instruction to the timer module. The timer module returns timing information including the second time threshold to the time scanning module (corresponding to 221 in fig. 2 b), and the time scanning module sends request information for acquiring frequency point information of the candidate program to the program broadcasting module (corresponding to 222 in fig. 2 b). And, the time scanning module sends request information for starting the scanning program to the front end of the resource management module/compiler to apply for tuner resources to lock the candidate program frequency point (corresponding to 223 in fig. 2 b). After the candidate program frequency point is locked, the subsequent step of obtaining the candidate code stream time can refer to the above contents, which is not described in detail herein. And if the candidate code stream time does not meet the code stream time of the first time threshold condition, repeating the step S250 until the candidate code stream time meeting the first time threshold condition is obtained.
In this embodiment, the whole tv time determination method is divided into two parts: and obtaining the current code stream time and the candidate code stream time. The standard current code stream time is determined as the current time, the non-standard current code stream time is discarded, and the candidate code stream time associated with the candidate program frequency point information is repeatedly obtained in a traversing manner until the candidate code stream time meets the first time threshold condition. The method and the device have the advantages that the accuracy of the time reference of the digital television service is improved, the situation that accurate time cannot be obtained due to the fact that a starting channel does not have accurate time information is avoided, meanwhile, the current time is obtained quickly, and waste of resources is reduced.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a television time determination apparatus according to a third embodiment of the present invention, where the present embodiment is applicable to a situation that television time needs to be determined, the apparatus specifically includes: a current code stream time obtaining module 310, a candidate program frequency point information determining module 320 and a current time determining module 330.
A current code stream time obtaining module 310, configured to obtain current code stream time associated with current program frequency point information when a time scanning request is detected;
a candidate program frequency point information determining module 320, configured to determine candidate program frequency point information when a standard current code stream time is not obtained;
And a current time determining module 330, configured to obtain candidate code stream time associated with the candidate program frequency point information, and determine a current time based on the candidate code stream time.
In this embodiment, when a time scanning request is detected by the current code stream time obtaining module, the current code stream time associated with the current program frequency point information is obtained, when the standard current code stream time is not obtained by the candidate program frequency point information determining module, the candidate program frequency point information is determined, the candidate code stream time associated with the candidate program frequency point information is obtained by the candidate program frequency point information determining module, and the current time is determined based on the candidate code stream time, so that the accurate television time is obtained, the accuracy of the time reference of the digital television service is improved, and the problem that the startup channel does not have the accurate time information is solved.
Optionally, the current code stream time when the standard is not obtained includes: the current code stream time does not meet the preset first time threshold condition, or the current code stream time is not obtained. Optionally, the time scan request is automatically generated upon detection of a power-on event.
Optionally, the candidate program frequency point information determining module 320 is further configured to obtain frequency point list information associated with the program list, and determine the candidate program frequency point information based on the frequency point list information.
Optionally, the current time determining module 330 is further configured to traverse and lock the candidate program frequency point information through the tuner, sequentially obtain candidate code stream time associated with the candidate program frequency point information, and determine whether the candidate code stream time meets a preset first time threshold condition; and taking the candidate code stream time meeting the first time threshold condition as the current time, and stopping traversing.
Optionally, the current time determining module 330 is further configured to, when the tuner locks the candidate program frequency point information, obtain a time and date table associated with the candidate program frequency point information and start the timer; when the time and date table is obtained within the second time threshold, the time information in the time and date table is used as candidate code stream time; and when the time and date table is not acquired within the second time threshold, controlling the tuner to lock the next candidate program frequency point information and acquiring the candidate code stream time related to the next candidate program frequency point information.
Optionally, the television time determination apparatus further includes a time update information sending module, configured to send the current time to the association system as the current system time after determining the current time based on the candidate code stream time, and send time update information to each association service module.
The television time determining device provided by the embodiment of the invention can execute the television time determining method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 40 suitable for use in implementing embodiments of the present invention. The device electronics 40 shown in fig. 4 is only an example and should not impose any limitation on the functionality or scope of use of embodiments of the present invention.
As shown in fig. 4, electronic device 40 is embodied in the form of a general purpose computing device. The components of electronic device 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 40 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 40 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The electronic device 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in the memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methodologies of embodiments of the invention as described.
The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), one or more devices that enable a user to interact with the electronic device 40, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interfaces 411. Also, the electronic device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 412. As shown, the network adapter 412 communicates with the other modules of the electronic device 40 over the bus 403. It should be understood that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 401 executes various functional applications and data processing by running a program stored in the system memory 402, for example, implementing the television time determination method provided by the embodiment of the present invention.
EXAMPLE five
A fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions which, when executed by a computer processor, are configured to perform a method for television time determination.
The method comprises the following steps:
when a time scanning request is detected, acquiring current code stream time associated with current program frequency point information;
when the standard current code stream time is not acquired, determining candidate program frequency point information;
and acquiring candidate code stream time associated with the candidate program frequency point information, and determining the current time based on the candidate code stream time.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for television time determination, comprising:
when a time scanning request is detected, acquiring current code stream time associated with current program frequency point information;
when the standard current code stream time is not acquired, determining candidate program frequency point information;
and acquiring candidate code stream time associated with the candidate program frequency point information, and determining the current time based on the candidate code stream time.
2. The method of claim 1, wherein the determining candidate program frequency point information comprises:
Acquiring frequency point list information associated with a program list, and determining the candidate program frequency point information based on the frequency point list information.
3. The method of claim 1, wherein the obtaining of the candidate code stream time associated with the candidate program frequency point information and the determining of the current time based on the candidate code stream time comprise:
traversing and locking the candidate program frequency point information through a tuner, sequentially acquiring candidate code stream time associated with the candidate program frequency point information, and judging whether the candidate code stream time meets a preset first time threshold condition;
and taking the candidate code stream time meeting the first time threshold condition as the current time, and stopping traversing.
4. The method of claim 3, wherein the step of obtaining the candidate code stream time associated with the candidate program frequency point information in sequence by locking the candidate program frequency point information through a tuner traversal comprises:
when the tuner locks the candidate program frequency point information, acquiring a time and date table associated with the candidate program frequency point information and starting a timer;
when the time and date table is obtained within a second time threshold value, taking time information in the time and date table as the candidate code stream time;
And when the time and date table is not acquired within the second time threshold, controlling the tuner to lock the frequency point information of the next candidate program, and acquiring the candidate code stream time associated with the frequency point information of the next candidate program.
5. The method according to claim 1, wherein the current codestream time when the standard is not obtained comprises:
and the current code stream time does not meet a preset first time threshold condition or the current code stream time is not obtained.
6. The method of claim 1, wherein the time scan request is automatically generated upon detection of a power-on event.
7. The method according to claim 1, further comprising, after said determining a current time based on the candidate codestream time:
and sending the current time to an association system as the current system time, and sending time updating information to each association service module.
8. A television time determination apparatus, comprising:
the current code stream time acquisition module is used for acquiring current code stream time associated with current program frequency point information when a time scanning request is detected;
The candidate program frequency point information determining module is used for determining candidate program frequency point information when the standard current code stream time is not acquired;
and the current time determining module is used for acquiring candidate code stream time associated with the candidate program frequency point information and determining the current time based on the candidate code stream time.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the television time determination method of any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the television time determination method of any of claims 1-7 when executed by a computer processor.
CN202011074766.6A 2020-10-09 2020-10-09 Television time determination method and device, electronic equipment and storage medium Active CN112218141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011074766.6A CN112218141B (en) 2020-10-09 2020-10-09 Television time determination method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011074766.6A CN112218141B (en) 2020-10-09 2020-10-09 Television time determination method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112218141A CN112218141A (en) 2021-01-12
CN112218141B true CN112218141B (en) 2022-06-28

Family

ID=74052906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011074766.6A Active CN112218141B (en) 2020-10-09 2020-10-09 Television time determination method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112218141B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3571503A (en) * 1967-11-24 1971-03-16 Columbia Broadcasting Systems Method and apparatus for simultaneously recording on film time displaced segments of an electrical signal
CN101370094A (en) * 2007-08-17 2009-02-18 青岛海信电器股份有限公司 Television set and its timing method and channel switching method
CN101399966A (en) * 2008-09-05 2009-04-01 深圳创维数字技术股份有限公司 IP set-top box and method for realizing cross frequency service in IP set-top box
JP2011055445A (en) * 2009-09-04 2011-03-17 National Institute Of Information & Communication Technology Radio communication network system, communication device, communication terminal and radio communication method
CN101998071A (en) * 2009-08-12 2011-03-30 上海明波通信技术有限公司 Digital terrestrial television receiver and receiving method
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN105830452A (en) * 2013-12-19 2016-08-03 尼尔森(美国)有限公司 Methods and apparatus to verify and/or correct media lineup information
CN107493499A (en) * 2017-08-08 2017-12-19 青岛海信电器股份有限公司 Terminal system method for updating time, device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3571503A (en) * 1967-11-24 1971-03-16 Columbia Broadcasting Systems Method and apparatus for simultaneously recording on film time displaced segments of an electrical signal
CN101370094A (en) * 2007-08-17 2009-02-18 青岛海信电器股份有限公司 Television set and its timing method and channel switching method
CN101399966A (en) * 2008-09-05 2009-04-01 深圳创维数字技术股份有限公司 IP set-top box and method for realizing cross frequency service in IP set-top box
CN101998071A (en) * 2009-08-12 2011-03-30 上海明波通信技术有限公司 Digital terrestrial television receiver and receiving method
JP2011055445A (en) * 2009-09-04 2011-03-17 National Institute Of Information & Communication Technology Radio communication network system, communication device, communication terminal and radio communication method
CN105830452A (en) * 2013-12-19 2016-08-03 尼尔森(美国)有限公司 Methods and apparatus to verify and/or correct media lineup information
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN107493499A (en) * 2017-08-08 2017-12-19 青岛海信电器股份有限公司 Terminal system method for updating time, device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
校园网络电视媒体直播***的设计与实现;黄照翠等;《中国教育信息化》;20161105;全文 *

Also Published As

Publication number Publication date
CN112218141A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
EP1357744B1 (en) TV control resource management
US20020032754A1 (en) Method and apparatus for profiling in a distributed application environment
US10205973B2 (en) Method and system for linking real-time broadcasting with non-real-time video service using user history information
CN110012345B (en) Channel switching method and television terminal
CN112218141B (en) Television time determination method and device, electronic equipment and storage medium
CN107959890B (en) Detection method, device, terminal and storage medium for reserved recording
CN110198481B (en) Program updating method and device, electronic equipment and storage medium
CN101808238B (en) Digital television integrated machine dominant frequency point identification method and digital television integrated machine
CN1820251A (en) Method of executing software applications
US7062779B1 (en) Methods and apparatus for accessing synchronized broadcast data
KR100691120B1 (en) Middleware and method for managing memory error
US11463493B2 (en) Method and apparatus for playing media file
CN113593139A (en) Express delivery cabinet information interaction method and device
CN113553488A (en) Method and device for updating index data in search engine, electronic equipment and medium
CN108566526B (en) Program playing method and device and set top box
CN111405015A (en) Data processing method, device, equipment and storage medium
KR100810854B1 (en) Data broadcasting receiver with middleware for processing fault situation and operating method thereof
US6745393B2 (en) Broadcast receiving apparatus
CN113037698B (en) Video manufacturer adaptation method, device, equipment and medium based on configuration file
US11250267B2 (en) Method and apparatus for processing information associated with video, electronic device, and storage medium
CN110597607B (en) Execution method and device of asynchronous application program, storage medium and electronic equipment
CN115633088A (en) Cable Modem online method, device, equipment and storage medium
CN113473175B (en) Content display method and display equipment
CN110619195B (en) Authority application processing method, device, equipment and storage medium
JP2000187924A (en) Recording and reproducing device and program recording medium

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
GR01 Patent grant
GR01 Patent grant