CN110198481B - Program updating method and device, electronic equipment and storage medium - Google Patents

Program updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110198481B
CN110198481B CN201910465658.2A CN201910465658A CN110198481B CN 110198481 B CN110198481 B CN 110198481B CN 201910465658 A CN201910465658 A CN 201910465658A CN 110198481 B CN110198481 B CN 110198481B
Authority
CN
China
Prior art keywords
program
program updating
frequency point
identification
real
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
CN201910465658.2A
Other languages
Chinese (zh)
Other versions
CN110198481A (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.)
BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY Co.,Ltd.
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD
Shenzhen Skyworth Digital 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 BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD, Shenzhen Skyworth Digital Technology Co Ltd filed Critical BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD
Priority to CN201910465658.2A priority Critical patent/CN110198481B/en
Publication of CN110198481A publication Critical patent/CN110198481A/en
Application granted granted Critical
Publication of CN110198481B publication Critical patent/CN110198481B/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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Abstract

The embodiment of the invention discloses a program updating method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: periodically detecting a real-time program updating identifier and an existing program updating identifier stored by a system; when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing program updating operation; after executing the program updating operation for a preset time, executing a detection completion operation to judge whether all the current preset program data are received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification; if not, judging whether the current frequency point belongs to a live broadcast frequency point; if not, waiting for the next period to continue to execute the program updating operation. By adopting the technical scheme, the program updating operation can be continued when the user switches from the non-live frequency point to the live frequency point, so that the preset program data can be completely received as far as possible, and the system consumption is reduced.

Description

Program updating method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of digital televisions, in particular to a program updating method and device, electronic equipment and a storage medium.
Background
In the field of digital televisions, program searching is a precondition for watching television programs, and in order to increase the speed of program searching, digital televisions have been developed to issue a program update identifier, an NIT (Network Information Table), an SDT (System Device Table) Actual Table, an SDT Other Table, and the like through a unidirectional TS (Transport Stream) code Stream (such as a TS code Stream transmitted based on a coaxial cable). The NIT is used for describing the number of the current frequency points, the number of programs corresponding to each frequency point, the service Id of each program, the program type and other information. The SDT Actual table is used for describing information such as program names, program types and the like of all programs of the current frequency point. The SDT Other table is used to describe the program names and corresponding program types of all frequency points except the current frequency point. Each bin corresponds to an SDT Other table. According to the table data, whether the current digital television program has program updating or not is monitored under any live program frequency point, and all programs can be received and stored under a single frequency point, so that the channel searching speed and the user experience of a user are improved.
However, when the program update is performed, a situation that the program reception is not completely performed may be encountered, that is, all the programs described in the NIT table are not completely downloaded. To address this problem, two general approaches are used, one is: the program update operation continues to receive program data until all programs described in the NIT table are downloaded. The other is as follows: before the program updating mark sent by the TS code stream is not changed, the program updating operation is executed only once no matter whether the program is completely received or not,
therefore, the first method undoubtedly brings great consumption to the system resources of the set-top box; the second method cannot guarantee that all programs described in the NIT table are downloaded, and thus, the channel searching speed and user experience of the user cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a program updating method, a device, electronic equipment and a storage medium, through which downloading and updating of a whole program can be realized without causing great consumption of system resources of a set top box.
In a first aspect, an embodiment of the present invention provides a program updating method, where the method includes:
periodically detecting a real-time program updating identifier and an existing program updating identifier stored by a system;
when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, starting to execute a program updating operation;
after the program updating operation is started for a preset time, executing a detection completion operation to judge whether the current preset program data are all received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification;
if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point;
and if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continuously execute the program updating operation.
In a second aspect, an embodiment of the present invention provides a program updating apparatus, where the apparatus includes:
the detection module is used for periodically detecting the real-time program updating identification and the existing program updating identification stored by the system;
the updating module is used for starting to execute the program updating operation when the real-time program updating identification is determined to be inconsistent with the existing program updating identification;
the first judgment module is used for executing the detection completion operation after the program updating operation is started for a preset time length so as to judge whether all the current preset program data are received through the program updating operation;
the modification module is used for modifying the existing program update identification into the real-time program update identification if the current preset program data is completely received through the program update operation;
the second judgment module is used for judging whether the current frequency point belongs to a live broadcast frequency point or not if the current preset program data is not completely received through the program updating operation;
and the waiting module is used for waiting for the next period to continuously execute the program updating operation if the current frequency point does not belong to the live broadcast frequency point.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the program updating method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a storage medium containing computer-executable instructions which, when executed by a computer processor, implement the program update method according to the first aspect described above.
The embodiment of the invention provides a program updating method, which periodically detects a real-time program updating identifier and an existing program updating identifier stored by a system; when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, starting to execute a program updating operation; after the program updating operation is started for a preset time, executing a detection completion operation to judge whether the current preset program data are all received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification; if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point; if the current frequency point does not belong to the live frequency point, the technical means of waiting for the next period to continuously execute the program updating operation is realized, the program updating operation can be continuously executed when the user switches from the non-live frequency point to the live frequency point, the preset program data can be completely received as far as possible, and the system consumption is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and 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 contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a program updating method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a program updating method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a program updating apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating a program updating method according to an embodiment of the present invention. The program updating method disclosed in this embodiment is suitable for the case of performing program updating based on a TS stream transmitted by a coaxial cable, and may be executed by a program updating apparatus, where the apparatus may be implemented by software and/or hardware, and is generally integrated in a terminal, such as a digital television or a set-top box. Referring specifically to fig. 1, the method comprises the steps of:
step 110, periodically detecting the real-time program update identifier and the existing program update identifier stored in the system.
The real-time program updating identification is obtained by analyzing the TS code stream and is used for representing the version of the program released by a program operator in real time; the existing program update identifier is used to indicate the version of the program for which the current television system has completed updating. The programs specifically refer to channel programs, for example, including central satellite television, Zhejiang satellite television, Hunan satellite television, and the like, and do not refer to programs such as TV shows, movies, or art programs. Programs such as drama, movie or anarchic are generally referred to as events in the digital television field, and the programs are specifically referred to as channel programs such as central satellite television, Zhejiang satellite television, Hunan satellite television and the like.
And step 120, when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing a program updating operation.
Supposing that the update identifier of the real-time program is 3 by analyzing the TS code stream, the current frequency points have 150 programs, and the update identifier of the existing program stored in the system is 2, because the update identifier of the real-time program is not consistent with the update identifier of the existing program stored in the system, or because the update identifier of the real-time program is higher than the version of the update identifier of the existing program stored in the system, it indicates that the program operator has updated the existing program, and therefore the existing program of the television system needs to be updated in the background, and the 150 programs are all received and downloaded, so as to improve the channel searching efficiency of the user.
Step 130, after executing the program updating operation for the preset duration, executing the detection completion operation to determine whether all the current preset program data are received through the program updating operation.
The preset program data specifically refers to all program data under all current frequency points obtained by analyzing the TS code stream. Specifically, the purpose of performing the detection completion operation is to determine whether all the 150 programs are received and downloaded by performing the program updating operation once, if so, modify the existing program updating identifier of the system to the real-time program updating identifier, otherwise, continue to perform step 150.
Step 140, if the current preset program data is completely received through the program updating operation, modifying the existing program updating identifier into the real-time program updating identifier.
And 150, if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point.
The current frequency point specifically refers to a frequency point where a program currently watched by a user is located, for example, if the user is currently watching the Zhejiang satellite television, the current frequency point refers to a frequency point where the Zhejiang satellite television is located. If the user is watching the on-demand program at present, namely watching the program from a third-party resource platform, for example, the program passing through the Yoku on-demand, the frequency point at the moment does not belong to the live frequency point, when the user is confirmed to watch the on-demand program, the current program updating operation is finished, namely, the program is stopped to be continuously downloaded so as to reduce the system consumption, but the existing program updating identification is not changed, the program updating operation of the next period is waited to continuously update the program, namely, the next detection that the real-time program updating identification and the existing program updating identification stored by the system are the period is waited. The period can be set to 10 seconds, and can also be set according to the actual situation, and is usually set before the digital television leaves the factory, and the user does not need to perform related operations. The real-time program updating identification is compared with the existing program updating identification stored in the system once every 10 seconds, and when the real-time program updating identification and the existing program updating identification are inconsistent, the program updating operation is triggered, instead of continuously receiving the programs when the current preset program data are not completely received, so that the system is greatly consumed.
And step 160, if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continue to execute the program updating operation.
In the program updating method provided by this embodiment, a real-time program updating identifier and an existing program updating identifier stored in a system are periodically detected; when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, starting to execute a program updating operation; if all the preset program data are not received in one updating operation, different measures are taken according to whether the current frequency point is a live frequency point, if the current frequency point does not belong to the live frequency point, the next period is waited to continue executing the technical means of the program updating operation, when a user switches from the non-live frequency point to the live frequency point, the program updating operation can be continued, so that all the preset program data are received as far as possible, and the system consumption is reduced.
Example two
Fig. 2 is a flowchart illustrating a program updating method according to a second embodiment of the present invention. On the basis of the above embodiment, the present embodiment is further optimized by adding steps 270 to 290, and specifically referring to fig. 2, the method includes the following steps:
step 210, periodically detecting the real-time program update identifier and the existing program update identifier stored in the system.
And step 220, when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing a program updating operation.
Step 230, after executing the program updating operation for the preset duration, executing the detection completion operation to determine whether all the current preset program data are received through the program updating operation.
Step 240, if the current preset program data is completely received through the program updating operation, modifying the existing program updating identifier into the real-time program updating identifier.
And step 250, if the current preset program data is not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point.
And step 260, if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continuously execute the program updating operation.
And 270, if the current frequency point belongs to the live broadcast frequency point, judging whether the execution times of the detection operation reaches a threshold value.
Step 280, if the number of execution times of the detection operation is up to the threshold, modifying the existing program update identifier into the real-time program update identifier, and simultaneously, returning the number of execution times of the detection operation to zero, and marking the non-received preset program according to a preset format.
The threshold may be set to 5 or other values, and is typically set before the digital tv leaves the factory. By setting the threshold, it is possible to prevent an endless background program update operation due to an objective cause other than the user operation. If all the preset program data are not received when the number of execution times of the detection operation is up to the threshold, it may be that the signal of the user end has a problem, for example, the signal quality is poor, or the TS code stream description of the front end is incorrect, for example, the number of the frequency point information described in the NIT table is greater than the sum of the number of the frequency point information of the SDT Actual table and the SDT Other table.
Wherein the preset format comprises: and at least one of frequency point frequency information of the program, current network identification information, current transport stream TS identification and service ID. The current network identification information specifically refers to a network identification of the user side, and is mainly used for identifying a city where the user is located. The preset programs which are not received are marked through the preset format, so that engineering personnel can conveniently and quickly locate the reasons of the problems, and the problems can be efficiently solved.
Step 290, if the number of times of executing the detection operation is not reached to the threshold, waiting for the next period to continue executing the program updating operation, and increasing the number of times of executing the detection operation by one.
In the program updating method provided by this embodiment, if all preset program data are not completely received in one updating operation, different measures are taken according to whether the current frequency point is a live frequency point, if the current frequency point belongs to the live frequency point and whether the execution frequency of the detection operation is up to a threshold, the existing program updating identifier is modified into the real-time program updating identifier, and meanwhile, the execution frequency of the detection operation is set to zero, and the preset program that is not received is marked according to the preset format, so that the endless background program updating operation caused by non-user operation objective reasons is effectively avoided while the preset program data are completely received as much as possible, and the system consumption is reduced.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a program updating apparatus according to a third embodiment of the present invention. Referring to fig. 3, the apparatus comprises: a detection module 310, an update module 320, a first judgment module 330, a modification module 340, a second judgment module 350, and a wait module 360;
the detecting module 310 is configured to periodically detect a real-time program update identifier and an existing program update identifier stored in the system; an update module 320, configured to execute a program update operation when it is determined that the real-time program update identifier is inconsistent with the existing program update identifier; a first determining module 330, configured to perform a detection completion operation after performing a program updating operation for a preset duration, so as to determine whether all current preset program data are received through the program updating operation; a modification module 340, configured to modify the existing program update identifier into the real-time program update identifier if all the current preset program data is received through the program update operation; a second judging module 350, configured to judge whether the current frequency point belongs to a live broadcast frequency point if the current preset program data is not completely received through the program updating operation; and a waiting module 360, configured to wait for a next period to continue to execute the program updating operation if the current frequency point does not belong to the live broadcast frequency point.
Further, the apparatus further comprises: a third judging module, configured to judge whether the number of times of execution of the detection operation is completed reaches a threshold value if the current frequency point belongs to a live broadcast frequency point; correspondingly, the modifying module 340 is further configured to modify the existing program update identifier into the real-time program update identifier if the number of times of performing the detection operation reaches a threshold, and return the number of times of performing the detection operation to zero.
Further, the apparatus further includes a marking module, configured to mark, according to a preset format, a preset program that is not received, if the number of times of execution of the detection operation reaches a threshold. The preset format comprises: and at least one of frequency point frequency information of the program, current network identification information, current transport stream TS identification and service ID.
Further, the waiting module 360 is further configured to wait for a next period to continue to execute the program updating operation if the number of times of executing the detection completion operation does not reach the threshold, and increase the number of times of executing the detection completion operation by one.
Further, the real-time program update identifier is obtained by analyzing the TS code stream.
The program updating apparatus provided in this embodiment enables a user group having an association relationship to be mined.
The program updating device provided by the embodiment of the invention can execute the program updating method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the program update method provided in any of the embodiments of the present invention, reference may be made to the technical details not described in detail in the embodiments above.
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 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 4, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 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, and a processor or 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 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and 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 bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set of program modules (e.g., program update apparatus detection module 310, update module 320, first determination module 330, modification module 340, second determination module 350, and wait module 360) configured to perform the functions of embodiments of the present invention.
A program/utility 40 having a set of program modules 42 (e.g., a program update apparatus detection module 310, an update module 320, a first determination module 330, a modification module 340, a second determination module 350, and a wait module 360) may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may include an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 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 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, to implement a program updating method provided by an embodiment of the present invention, the method including:
periodically detecting a real-time program updating identifier and an existing program updating identifier stored by a system;
when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing program updating operation;
after executing the program updating operation for a preset time, executing a detection completion operation to judge whether all the current preset program data are received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification;
if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point;
and if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continuously execute the program updating operation.
The processing unit 16 executes various functional applications and data processing, such as implementing a program update method provided by an embodiment of the present invention, by running a program stored in the system memory 28.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the program updating method provided in any embodiment of the present invention.
EXAMPLE five
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 a program updating method provided in an embodiment of the present invention, where the method includes:
periodically detecting a real-time program updating identifier and an existing program updating identifier stored by a system;
when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing program updating operation;
after executing the program updating operation for a preset time, executing a detection completion operation to judge whether all the current preset program data are received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification;
if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point;
and if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continuously execute the program updating operation.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the program updating method provided by any embodiments of the present invention.
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 aspects 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 is only illustrative of the preferred embodiments of the present invention and the technical principles 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 (8)

1. A program update method, comprising:
periodically detecting a real-time program updating identifier and an existing program updating identifier stored by a system;
when the real-time program updating identification is determined to be inconsistent with the existing program updating identification, executing program updating operation;
after executing the program updating operation for a preset time, executing a detection completion operation to judge whether all the current preset program data are received through the program updating operation, and if so, modifying the existing program updating identification into the real-time program updating identification;
if the current preset program data are not completely received through the program updating operation, judging whether the current frequency point belongs to a live broadcast frequency point;
if the current frequency point does not belong to the live broadcast frequency point, waiting for the next period to continuously execute the program updating operation;
if the current frequency point belongs to the live broadcast frequency point, judging whether the execution times of the detection operation is up to a threshold value;
and if the execution times of the detection operation is up to a threshold value, modifying the existing program updating identification into the real-time program updating identification, and simultaneously returning the execution times of the detection operation to zero.
2. The method of claim 1, further comprising: and if the execution times of the detection operation reaches a threshold value, marking the non-received preset program according to a preset format.
3. The method of claim 2, wherein the preset format comprises: and at least one of frequency point frequency information of the program, current network identification information, current transport stream TS identification and service ID.
4. The method of claim 1, further comprising: and if the execution times of the detection operation is not up to the threshold value, waiting for the next period to continuously execute the program updating operation, and increasing the execution times of the detection operation by one.
5. The method according to any one of claims 1-4, wherein the real-time program update flag is obtained by parsing the TS stream.
6. A program update apparatus, comprising:
the detection module is used for periodically detecting the real-time program updating identification and the existing program updating identification stored by the system;
the updating module is used for executing program updating operation when the real-time program updating identification is determined to be inconsistent with the existing program updating identification;
the first judgment module is used for executing detection completion operation after executing program updating operation for a preset time length so as to judge whether all current preset program data are received through the program updating operation;
the modification module is used for modifying the existing program update identification into the real-time program update identification if the current preset program data is completely received through the program update operation;
the second judgment module is used for judging whether the current frequency point belongs to a live broadcast frequency point or not if the current preset program data is not completely received through the program updating operation;
the waiting module is used for waiting for the next period to continuously execute the program updating operation if the current frequency point does not belong to the live broadcast frequency point;
a third judging module, configured to judge whether the number of times of execution of the detection operation is completed reaches a threshold value if the current frequency point belongs to a live broadcast frequency point;
correspondingly, the modification module is further configured to modify the existing program update identifier into the real-time program update identifier if the number of times of execution of the detection operation is reached to a threshold, and return the number of times of execution of the detection operation to zero.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the program update method according to any of claims 1-5 when executing the computer program.
8. A storage medium containing computer-executable instructions which, when executed by a computer processor, implement the program update method of any one of claims 1-5.
CN201910465658.2A 2019-05-30 2019-05-30 Program updating method and device, electronic equipment and storage medium Active CN110198481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465658.2A CN110198481B (en) 2019-05-30 2019-05-30 Program updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465658.2A CN110198481B (en) 2019-05-30 2019-05-30 Program updating method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110198481A CN110198481A (en) 2019-09-03
CN110198481B true CN110198481B (en) 2021-11-02

Family

ID=67753621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465658.2A Active CN110198481B (en) 2019-05-30 2019-05-30 Program updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110198481B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971842A (en) * 2019-10-30 2020-04-07 林胜勇 Switcher capable of automatically processing extension of news simulcast time
CN115002507A (en) * 2022-07-29 2022-09-02 飞狐信息技术(天津)有限公司 Video data updating method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857797A (en) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 Background control method and system for video playing
CN107277610A (en) * 2012-02-29 2017-10-20 青岛海信电器股份有限公司 A kind of method for updating TV programme
CN108235073A (en) * 2015-01-09 2018-06-29 青岛海信宽带多媒体技术有限公司 A kind of program updating method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780444B (en) * 2015-03-18 2018-07-20 福建新大陆通信科技股份有限公司 One kind realizing background update programs of set-top box method and system based on PSI/SI tables
US10356480B2 (en) * 2016-07-05 2019-07-16 Pluto Inc. Methods and systems for generating and providing program guides and content
CN107071576A (en) * 2017-05-10 2017-08-18 广州视源电子科技股份有限公司 TV programme automatic update method, device, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277610A (en) * 2012-02-29 2017-10-20 青岛海信电器股份有限公司 A kind of method for updating TV programme
CN102857797A (en) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 Background control method and system for video playing
CN108235073A (en) * 2015-01-09 2018-06-29 青岛海信宽带多媒体技术有限公司 A kind of program updating method

Also Published As

Publication number Publication date
CN110198481A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
US9961398B2 (en) Method and device for switching video streams
US10368121B2 (en) System and method for collecting data
US20190149872A1 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN110825456B (en) Loading time calculation method, loading time calculation device, computer equipment and storage medium
CN108668143B (en) Drainage method, device, server and storage medium
CN108174280B (en) Audio and video online playing method and system
CN108829423B (en) System upgrading method, device, equipment and storage medium for Android equipment
CN104539977A (en) Live broadcast previewing method and device
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
CN110198481B (en) Program updating method and device, electronic equipment and storage medium
CN104918136A (en) Video positioning method and device
US20220272425A1 (en) Systems and methods for summarizing missed portions of storylines
CN111510755A (en) Audio and video switching method and device, computer equipment and readable storage medium
WO2020124966A1 (en) Program search method, apparatus and device, and medium
CN112422978A (en) Intelligent transcoding method and device, electronic equipment and storage medium
CN109902726B (en) Resume information processing method and device
US9071881B2 (en) Identifying an end of a television program
CN112118487B (en) Video playing control method, device, equipment and medium
CN113727172B (en) Video cache playing method and device, electronic equipment and storage medium
US20190089951A1 (en) Digital Closed Caption Corruption Reporting
CN108521601B (en) Method and device for rapidly playing non-standard code stream
CN115412389B (en) Message recommendation method and device, electronic equipment and readable storage medium
US20240114030A1 (en) Method and apparatus for multimedia processing, and electronic device and medium
CN111935515B (en) Method, device, equipment and medium for generating electronic program guide data table
CN110691256B (en) Video associated information processing method and device, server and storage 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
TA01 Transfer of patent application right

Effective date of registration: 20210930

Address after: 4021, 4th floor, building 18, Laizhen Jiayuan, Haidian District, Beijing 100089

Applicant after: BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY Co.,Ltd.

Applicant after: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 518057 A14 Floor, Chuangwei Building, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant