CN109842814B - Program switching method and device, television and readable storage medium - Google Patents

Program switching method and device, television and readable storage medium Download PDF

Info

Publication number
CN109842814B
CN109842814B CN201811609313.1A CN201811609313A CN109842814B CN 109842814 B CN109842814 B CN 109842814B CN 201811609313 A CN201811609313 A CN 201811609313A CN 109842814 B CN109842814 B CN 109842814B
Authority
CN
China
Prior art keywords
program
target
identifier
usd
switching
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
CN201811609313.1A
Other languages
Chinese (zh)
Other versions
CN109842814A (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 TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL 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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201811609313.1A priority Critical patent/CN109842814B/en
Publication of CN109842814A publication Critical patent/CN109842814A/en
Priority to PCT/CN2019/125721 priority patent/WO2020135130A1/en
Application granted granted Critical
Publication of CN109842814B publication Critical patent/CN109842814B/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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

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

Abstract

The invention discloses a program switching method, a device, a television and a readable storage medium.A request is made to acquire a program description information table (USD) table corresponding to a target program as a target USD table according to a target program identifier in a program switching instruction when the program switching instruction is received, and a target program content identifier of the target program is acquired in the target USD table; judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not; and if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program to the target program. According to the invention, through presetting the mapping table, the time consumption of program switching is reduced, the program switching speed is improved, the user experience is improved, and the technical problems of longer program switching time and lower switching efficiency in the prior art are solved.

Description

Program switching method and device, television and readable storage medium
Technical Field
The present invention relates to the field of digital television technologies, and in particular, to a program switching method and apparatus, a television, and a readable storage medium.
Background
Televisions play an important role in people's life as a means of disseminating media information. With the development of science and technology, the appearance of set-top boxes enriches the digital television program life of people. People realize the switching of digital television programs by operating the set top box. The digital television program is transmitted to the set-top box through the cable network, and the set-top box switches the program when the user needs to switch the digital television program, so that the current digital television program is switched to the target digital television program selected by the user. When the target digital television program and the current digital television program are not on one frequency point, the set top box needs to switch the frequency point to the frequency point of the target digital television program so as to realize the switching of the digital television program. However, the switching time of the existing program is long, and the switching efficiency is low. Therefore, how to solve the problems of long program switching time and low switching efficiency in the prior art is a problem that needs to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a program switching method, a television and a readable storage medium, and aims to solve the technical problems of long program switching time and low switching efficiency in the prior art.
In order to achieve the above object, the present invention provides a program switching method, which includes the following steps:
when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table (USD) table corresponding to a target program, serving as the target USD table, and acquiring a target program content identifier of the target program in the target USD table;
judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
and if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program to the target program.
Optionally, when receiving a program switching instruction, according to a target program identifier in the program switching instruction, requesting to obtain a program description information table USD table corresponding to a target program, as the target USD table, and before the step of obtaining the target program content identifier of the target program in the target USD table, the method further includes:
requesting to acquire a USD table of each program in a channel list, and determining a program content identifier corresponding to each program according to the USD table of each program;
requesting to acquire an MPT table corresponding to each program, and determining a resource packet identifier corresponding to each program according to the MPT table corresponding to each program and a program content identifier;
and storing the mapping relation between the program content identification and the resource package identification corresponding to each program to the preset mapping table.
Optionally, after the step of determining whether the target resource packet identifier corresponding to the target program signal identifier exists in the preset mapping table, the method further includes:
if the target resource packet identifier does not exist in the preset mapping table, requesting to acquire a data packet distribution table (MPT) table corresponding to the target program as a target MPT table, and acquiring a resource packet identifier corresponding to the target program signal identifier in the target MPT table as a target resource packet identifier;
and acquiring the mapping relation between the target program signal identifier and the target resource packet identifier, and storing the mapping relation between the target program signal identifier and the target resource packet identifier into the preset mapping table.
Optionally, if the target resource package identifier exists in the preset mapping table, after the step of obtaining and playing corresponding target program data according to the target resource package identifier to switch the current program to the target program, the method further includes:
and when the target MPT table is detected to be changed, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
Optionally, the step of acquiring updated data in the updated target MPT table when detecting that the target MPT table changes, and updating the resource package identification data in the preset mapping table according to the updated data specifically includes:
acquiring the current version number of the target MPT, comparing the current version number with the stored version number, and judging whether the current version number is consistent with the stored version number;
and if the current version number is inconsistent with the stored version number, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
Optionally, the step of obtaining the target program content identifier of the target program in the target USD table specifically includes:
and acquiring one or more of a target program audio identifier, a target program video identifier and a target program subtitle identifier of the target program in the target USD table.
Optionally, when receiving the program switching instruction, according to the target program identifier in the program switching instruction, requesting to obtain a program description information table USD table corresponding to the target program, where the step of serving as the target USD table specifically includes:
when a program switching instruction is received, determining a target program number of the target program in a channel list according to the program switching instruction;
and requesting to acquire a program description information table (USD) table corresponding to the target program as a target USD table according to the target program number.
In order to achieve the above object, the present invention also provides a program switching apparatus, including:
the content acquisition module is used for requesting to acquire a program description information table (USD) table corresponding to a target program according to a target program identifier in a program switching instruction when the program switching instruction is received, taking the USD table as the target USD table, and acquiring the target program content identifier of the target program in the target USD table;
the resource judging module is used for judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
and the program switching module is used for acquiring and playing corresponding target program data according to the target resource packet identifier if the target resource packet identifier exists in the preset mapping table so as to switch the current program to the target program.
In addition, in order to achieve the above object, the present invention further provides a television set, which includes a processor, a memory, and a program switching program stored on the memory and executable by the processor, wherein the program switching program, when executed by the processor, implements the steps of the program switching method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a program switching program stored thereon, wherein the program switching program, when executed by a processor, implements the steps of the program switching method as described above.
The invention provides a program switching method, which comprises the steps of requesting to obtain a program description information table (USD) table corresponding to a target program according to a target program identifier in a program switching instruction when the program switching instruction is received, taking the USD table as a target USD table, and obtaining a target program content identifier of the target program in the target USD table; judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not; and if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program to the target program. Through the mode, the mapping relation between the program content identification and the resource package identification is stored through the preset mapping table, the condition that a plurality of list information is required to be acquired in real time during each program switching is avoided, the time consumption of program switching is reduced, the program switching speed is improved, the user experience is improved, and the technical problems that the existing program switching time is long and the switching efficiency is low are solved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a television according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a program switching method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a program switching method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a program switching method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main idea of the embodiment scheme of the invention is as follows: when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table (USD) table corresponding to a target program, serving as the target USD table, and acquiring a target program content identifier of the target program in the target USD table; judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not; if the target resource packet identifier exists in the preset mapping table, the corresponding target program data is acquired and played according to the target resource packet identifier so as to switch the current program to the target program, and the technical problems of long switching time and low switching efficiency of the existing program are solved.
The program switching method related to the embodiment of the invention is mainly applied to the television, and the television can be realized in various ways. For example, a fixed terminal such as a smart tv, a liquid crystal tv, or a curved tv.
While the following description will be made with a P-tv set as a switching terminal of programs, those skilled in the art will appreciate that the configuration according to the embodiment of the present invention can be applied to other types of terminals besides elements particularly used for mobile purposes.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a television according to an embodiment of the present invention. In the embodiment of the present invention, the television set may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration of the television set shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer-readable storage medium in fig. 1, may include an operating system, a network communication module, and a program switching program.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call a switching program of the program stored in the memory 1005 and perform the following operations:
when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table (USD) table corresponding to a target program, serving as the target USD table, and acquiring a target program content identifier of the target program in the target USD table;
judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
and if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program to the target program.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
requesting to acquire a USD table of each program in a channel list, and determining a program content identifier corresponding to each program according to the USD table of each program;
requesting to acquire an MPT table corresponding to each program, and determining a resource packet identifier corresponding to each program according to the MPT table corresponding to each program and a program content identifier;
and storing the mapping relation between the program content identification and the resource package identification corresponding to each program to the preset mapping table.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
if the target resource packet identifier does not exist in the preset mapping table, requesting to acquire a data packet distribution table (MPT) table corresponding to the target program as a target MPT table, and acquiring a resource packet identifier corresponding to the target program signal identifier in the target MPT table as a target resource packet identifier;
and acquiring the mapping relation between the target program signal identifier and the target resource packet identifier, and storing the mapping relation between the target program signal identifier and the target resource packet identifier into the preset mapping table.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
and when the target MPT table is detected to be changed, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
acquiring the current version number of the target MPT, comparing the current version number with the stored version number, and judging whether the current version number is consistent with the stored version number;
and if the current version number is inconsistent with the stored version number, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
and acquiring one or more of a target program audio identifier, a target program video identifier and a target program subtitle identifier of the target program in the target USD table.
Further, the processor 1001 may also call a program switching program stored in the memory 1005, and perform the following operations:
when a program switching instruction is received, determining a target program number of the target program in a channel list according to the program switching instruction;
and requesting to acquire a program description information table (USD) table corresponding to the target program as a target USD table according to the target program number.
Based on the hardware structure of the switching device of the program, the invention provides various embodiments of the switching method of the program.
The invention provides a program switching method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a program switching method according to a first embodiment of the present invention.
In this embodiment, the program switching method includes the following steps:
step S10, when receiving a program switching instruction, according to a target program identifier in the program switching instruction, requesting to obtain a program description information table (USD) table corresponding to a target program, as a target USD table, and obtaining a target program content identifier of the target program in the target USD table;
in this embodiment, the digital television standard ATSC3.0 refers to signaling messages (signaling messages) defined by the MMTP protocol, and the ATSC3.0 mainly uses an MPT table (MMT packet table, packet distribution information in the MMT protocol) in the MMTP protocol. The ATSC3.0 standard develops a spare field of an MMTP protocol, that is, an added MA3 message (mmt ATSC3 message), where the MA3 message is used to describe program information corresponding to a current IP address or a frequency point of a television apparatus. The MA3 message contains a USD table (userServiceDescription, program description information) therein.
In order to solve the technical problems of long switching time and low switching efficiency of the existing programs, a program switching method is provided, and specifically, when a program switching instruction sent by a user is received, a target program identifier of a target program to be played in the program switching instruction is obtained. And then acquiring a USD (user service description, program description information) table corresponding to the target program according to the target program identifier. The USD table comprises program content information Component and description information of a corresponding program, the type of the program content comprises audio, video or subtitles, and the like, and the description information is whether the audio is in an audio-visual mode or whether the video is in a 4K or HD mode. Different program content components of each program have different Component IDs corresponding to them, and are used for distinguishing different components. And after the target program identification is determined, acquiring a USD table corresponding to the target program, namely a target USD table, according to the target program identification. And acquiring a target program content identifier corresponding to the target program in the target USD table.
Further, the obtaining of the target program content identifier of the target program in the target USD table specifically includes:
and acquiring one or more of a target program audio identifier, a target program video identifier and a target program subtitle identifier of the target program in the target USD table.
In this embodiment, the program content includes audio, video, or subtitles, and when the USD table corresponding to the target program is determined, the audio identifier, the video identifier, and the subtitle identifier corresponding to the target program are determined according to the USD table. After the audio identifier, the video identifier and the subtitle identifier are determined in the USD table, the corresponding audio resource packet identifier, the video resource packet identifier and the subtitle resource packet identifier can be obtained according to the audio identifier, the video identifier and the subtitle identifier, and then the corresponding audio, video, subtitle, etc. can be obtained and played according to the audio resource packet identifier, the video resource packet identifier and the subtitle resource packet identifier.
Further, when receiving a program switching instruction, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table USD corresponding to a target program, where the step of using the program description information table USD as a target USD table specifically includes:
when a program switching instruction is received, determining a target program number of the target program in a channel list according to the program switching instruction;
and requesting to acquire a program description information table (USD) table corresponding to the target program as a target USD table according to the target program number.
In this embodiment, when a program switching instruction sent by a user is received, for example, switching to a3 channel or switching to a next channel, the program switching instruction is analyzed. And when the program switching instruction is a channel identifier, acquiring a corresponding mapping program number in a channel list according to the channel identifier as a target program number. And when the program switching instruction is to switch to the previous channel, the next channel or return to the previous channel, determining a target program number in a channel list according to the program switching instruction and the current program number, and then requesting to acquire a target USD (universal serial bus) table corresponding to the target program according to the target program number.
Step S20, judging whether a preset mapping table has a target resource package identification corresponding to the target program content identification;
specifically, the target program content identifier is compared with a preset mapping table, whether a target resource packet identifier packet ID corresponding to the target program content identifier exists in the preset mapping table is judged, for example, a target program audio resource packet identifier corresponding to a target program audio identifier exists, and then, according to the target program audio resource packet identifier, a corresponding target program audio is played. The preset mapping table may be a structure array MAP, and the MAP is used for storing a mapping relationship between a component ID and a packet ID.
Step S30, if the target resource package identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource package identifier, so as to switch the current program to the target program.
Specifically, if a target resource packet identifier corresponding to a target program exists in the preset mapping table, the target resource packet identifier is sent to a playing module in the television device, and the corresponding resource packet is played through the playing module, so as to filter and play the corresponding program.
Further, after the step S20, the method further includes:
if the target resource packet identifier does not exist in the preset mapping table, requesting to acquire a data packet distribution table (MPT) table corresponding to the target program as a target MPT table, and acquiring a resource packet identifier corresponding to the target program signal identifier in the target MPT table as a target resource packet identifier;
and acquiring the mapping relation between the target program signal identifier and the target resource packet identifier, and storing the mapping relation between the target program signal identifier and the target resource packet identifier into the preset mapping table.
In this embodiment, a structure array MAP is established, and the MAP functions like a MAP class in java and is used for storing mapping between component IDs and packet IDs. When a program switching instruction is received, a channel searching module requests a USD (universal serial bus) table corresponding to a target program to acquire program description information and component ID of the target program. And then searching whether a packet ID corresponding to the component ID exists in the MAP, if so, directly using the mapped packet ID, sending the packet ID to a playing module to play a corresponding target program, if not, requesting an MPT table corresponding to the target program, then obtaining the corresponding packet ID in the MPT table according to the component ID, establishing a mapping relation between the component ID and the packet ID, and connecting the mapping relation to the MAP, so that when the target program is switched to in the subsequent process, the packet ID can be obtained according to the preset mapping table.
The embodiment provides a program switching method, a device, a television and a readable storage medium, wherein when a program switching instruction is received, according to a target program identifier in the program switching instruction, a request is made to acquire a program description information table (USD) table corresponding to a target program, the USD table is used as a target USD table, and a target program content identifier of the target program is acquired in the target USD table; judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not; and if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program to the target program. Through the mode, the mapping relation between the program content identification and the resource package identification is stored through the preset mapping table, the condition that a plurality of list information is required to be acquired in real time during each program switching is avoided, the time consumption of program switching is reduced, the program switching speed is improved, the user experience is improved, and the technical problems that the existing program switching time is long and the switching efficiency is low are solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a program switching method according to a second embodiment of the present invention.
Based on the above embodiment shown in fig. 2, before step S10, the method further includes:
step S01, requesting to obtain the USD table of each program in the channel list, and determining the program content identification corresponding to each program according to the USD table of each program;
in this embodiment, the component ID and the packet ID corresponding to each program in the channel list may be obtained in advance, and the mapping relationship between the component ID and the packet ID is stored in the preset mapping table. Therefore, when switching channels, the packet ID in the PRT table does not need to be acquired according to the component ID in the USD table, and only the component ID in the USD table corresponding to the target program needs to be acquired. Specifically, a USD table corresponding to a program in a channel list is obtained, and then program content identifiers corresponding to the program, including identifiers such as audio, video and letters, are determined according to the USD table.
Step S02, requesting to obtain the MPT table of the data packet distribution table corresponding to each program, and determining the resource packet identification corresponding to each program according to the MPT table and the program content identification corresponding to each program;
specifically, the corresponding MPT tables are obtained in parallel according to the identifiers such as the audio, the video, and the letters, and the resource package identifiers corresponding to the identifiers such as the audio, the video, and the letters are respectively determined according to the corresponding MPT tables.
Step S03, storing the mapping relationship between the program content identifier and the resource package identifier corresponding to each program in the preset mapping table.
Specifically, mapping relationships are established between the identifiers such as the audio, the video and the letters and the corresponding identifiers of the resource packages such as the audio, the video and the letters, and the corresponding mapping relationships are stored in a preset mapping table. In a specific embodiment, a preset mapping table for storing the mapping relationship between the component ID and the packet ID may be established in advance, and the mapping relationship between the component ID and the packet ID may be stored in real time when the corresponding program is switched.
Referring to fig. 4, fig. 4 is a flowchart illustrating a program switching method according to a third embodiment of the present invention.
Based on the embodiment shown in fig. 2, after step S10, the method further includes:
step S40, when detecting that the target MPT table changes, obtaining updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
In this embodiment, when the MAP between the component ID and the packet ID is cached using the MAP, if the code stream is updated, the packet ID in the MPT table will change. Therefore, the packet ID in the preset mapping table needs to be updated correspondingly. Specifically, whether a target MPT table changes is detected in real time, and the method specifically comprises the following steps: the channel searching module in the television device requests the USD table or the MPT table to monitor the MPT table in real time in a callback mode. If the MPT table is updated through the TVcraft analysis module for analyzing and caching various tables, the updated table data is sent to the registrant. Therefore, the channel searching module can correspondingly update the MAP in the callback of the registered MPT table, and the MAP table can be updated in time when the code stream changes.
Acquiring the current version number of the target MPT, comparing the current version number with the stored version number, and judging whether the current version number is consistent with the stored version number;
and if the current version number is inconsistent with the stored version number, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
Specifically, since version number version of the MPT table changes when data in the MPT changes, whether the target MPT changes can be determined by determining whether the previous and subsequent version numbers of the target MPT table are consistent. And when the version numbers are inconsistent, updating the component ID and the packet ID in the MAP table according to the unchanged component ID and the changed packet ID in the MPT table.
In addition, an embodiment of the present invention further provides a program switching device, where the program switching device includes:
the content acquisition module is used for requesting to acquire a program description information table (USD) table corresponding to a target program according to a target program identifier in a program switching instruction when the program switching instruction is received, taking the USD table as the target USD table, and acquiring the target program content identifier of the target program in the target USD table;
the resource judging module is used for judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
and the program switching module is used for acquiring and playing corresponding target program data according to the target resource packet identifier if the target resource packet identifier exists in the preset mapping table so as to switch the current program to the target program.
Furthermore, the invention also provides a television.
The television set comprises a processor, a memory and a program switching program which is stored on the memory and can be executed by the processor, wherein when the program switching program is executed by the processor, the steps of the program switching method are realized.
The method implemented when the program switching program is executed may refer to each embodiment of the program switching method of the present invention, and details thereof are not described herein.
Further, the present invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a program switching program, wherein the program switching program, when executed by a processor, implements the steps of the program switching method as described above.
The method implemented when the program switching program is executed may refer to each embodiment of the program switching method of the present invention, and details thereof are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A program switching method is characterized by comprising the following steps:
when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table (USD) table corresponding to a target program, wherein the USD table is used as a target USD table, and acquiring a target program content identifier of the target program in the target USD table, the USD table comprises program content information Component and description information of the corresponding program, and different program content components of each program correspond to different Component IDs for distinguishing different components;
judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
if the target resource packet identifier exists in the preset mapping table, acquiring and playing corresponding target program data according to the target resource packet identifier so as to switch the current program into the target program;
when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table USD table corresponding to a target program, as a target USD table, and before the step of acquiring a target program content identifier of the target program in the target USD table, the method further includes:
requesting to acquire a USD table of each program in a channel list, and determining a program content identifier corresponding to each program according to the USD table of each program;
requesting to acquire an MPT table corresponding to each program, and determining a resource packet identifier corresponding to each program according to the MPT table corresponding to each program and a program content identifier;
and storing the mapping relation between the program content identification and the resource package identification corresponding to each program to the preset mapping table.
2. The method for switching programs according to claim 1, wherein after the step of determining whether the target resource package identifier corresponding to the target program content identifier exists in the preset mapping table, the method further comprises:
if the target resource packet identifier does not exist in the preset mapping table, requesting to acquire a data packet distribution table (MPT) table corresponding to the target program as a target MPT table, and acquiring a resource packet identifier corresponding to the target program content identifier in the target MPT table as a target resource packet identifier;
and acquiring the mapping relation between the target program content identification and the target resource packet identification, and storing the mapping relation between the target program content identification and the target resource packet identification into the preset mapping table.
3. The method for switching programs according to claim 2, wherein, if the target resource packet identifier exists in the preset mapping table, after the step of obtaining and playing corresponding target program data according to the target resource packet identifier to switch the current program to the target program, the method further comprises:
and when the target MPT table is detected to be changed, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
4. The program switching method according to claim 3, wherein the step of acquiring updated data in the updated target MPT table when detecting that the target MPT table changes, and updating the resource package identification data in the preset mapping table according to the updated data specifically comprises:
acquiring the current version number of the target MPT, comparing the current version number with the stored version number, and judging whether the current version number is consistent with the stored version number;
and if the current version number is inconsistent with the stored version number, acquiring updated data in the updated target MPT table, and updating the resource package identification data in the preset mapping table according to the updated data.
5. The program switching method according to claim 1, wherein the step of obtaining the target program content identifier of the target program in the target USD table specifically includes:
and acquiring one or more of a target program audio identifier, a target program video identifier and a target program subtitle identifier of the target program in the target USD table.
6. The program switching method according to any one of claims 1 to 5, wherein when receiving a program switching instruction, requesting to obtain a program description information table (USD) table corresponding to a target program according to a target program identifier in the program switching instruction, and the step of using the USD table as the target USD table specifically includes:
when a program switching instruction is received, determining a target program number of the target program in a channel list according to the program switching instruction;
and requesting to acquire a program description information table (USD) table corresponding to the target program as a target USD table according to the target program number.
7. A program switching apparatus, comprising:
the content acquisition module is used for requesting to acquire a program description information table (USD) table corresponding to a target program as a target USD table according to a target program identifier in a program switching instruction when the program switching instruction is received, and acquiring the target program content identifier of the target program in the target USD table, wherein the USD table comprises program content information Component and description information of the corresponding program, and different program content components of each program correspond to different Component IDs for distinguishing different components;
the resource judging module is used for judging whether a target resource packet identifier corresponding to the target program content identifier exists in a preset mapping table or not;
a program switching module, configured to, if the target resource packet identifier exists in the preset mapping table, obtain and play corresponding target program data according to the target resource packet identifier, so as to switch a current program to the target program;
when a program switching instruction is received, according to a target program identifier in the program switching instruction, requesting to acquire a program description information table USD table corresponding to a target program, as a target USD table, and before the step of acquiring a target program content identifier of the target program in the target USD table, the method further includes:
requesting to acquire a USD table of each program in a channel list, and determining a program content identifier corresponding to each program according to the USD table of each program;
requesting to acquire an MPT table corresponding to each program, and determining a resource packet identifier corresponding to each program according to the MPT table corresponding to each program and a program content identifier;
and storing the mapping relation between the program content identification and the resource package identification corresponding to each program to the preset mapping table.
8. A television set, characterized in that the television set comprises a processor, a memory, and a program switching program stored on the memory and executable by the processor, wherein the program switching program, when executed by the processor, implements the steps of the program switching method according to any one of claims 1 to 6.
9. A computer-readable storage medium, having a program switching program stored thereon, wherein the program switching program, when executed by a processor, implements the steps of the program switching method according to any one of claims 1 to 6.
CN201811609313.1A 2018-12-26 2018-12-26 Program switching method and device, television and readable storage medium Active CN109842814B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811609313.1A CN109842814B (en) 2018-12-26 2018-12-26 Program switching method and device, television and readable storage medium
PCT/CN2019/125721 WO2020135130A1 (en) 2018-12-26 2019-12-16 Program switching method, device, television set, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609313.1A CN109842814B (en) 2018-12-26 2018-12-26 Program switching method and device, television and readable storage medium

Publications (2)

Publication Number Publication Date
CN109842814A CN109842814A (en) 2019-06-04
CN109842814B true CN109842814B (en) 2021-01-12

Family

ID=66883444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609313.1A Active CN109842814B (en) 2018-12-26 2018-12-26 Program switching method and device, television and readable storage medium

Country Status (2)

Country Link
CN (1) CN109842814B (en)
WO (1) WO2020135130A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842814B (en) * 2018-12-26 2021-01-12 深圳Tcl数字技术有限公司 Program switching method and device, television and readable storage medium
CN112615783B (en) * 2020-11-17 2022-02-22 新华三大数据技术有限公司 Table item updating method and device, electronic equipment and storage medium
CN113973233A (en) * 2021-10-22 2022-01-25 深圳小湃科技有限公司 Method, device and equipment for optimizing switching playing of multi-platform film and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8090241B2 (en) * 2007-05-15 2012-01-03 Broadcom Corporation System and method for simultaneous network recording and playback of digital television programs
EP2160906B1 (en) * 2007-06-19 2015-07-22 Nokia Technologies Oy System and method for an MBMS to PSS handover
CN101521777B (en) * 2009-03-31 2011-02-16 深圳创维数字技术股份有限公司 DTV frequency channel switching method, DTV frequency channel switching system and DTV receiving terminal
CN101667208B (en) * 2009-09-25 2013-06-26 深圳创维数字技术股份有限公司 Digital television receiver and methods for searching and switching programs thereof
US10034042B2 (en) * 2013-10-30 2018-07-24 Saturn Licensing Llc Content supply apparatus, content supply method, program, terminal apparatus, and content supply system
EP4319171A3 (en) * 2014-01-17 2024-03-06 Saturn Licensing LLC Receiving device, reception method, transmitting device, and transmission method
EP3206391A4 (en) * 2014-10-12 2018-03-21 LG Electronics Inc. Broadcast signal transmission device, broadcast signal reception device, broadcast signal transmission method, and broadcast signal reception method
WO2016126116A1 (en) * 2015-02-04 2016-08-11 엘지전자 주식회사 Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method, and broadcast signal receiving method
CN104703026A (en) * 2015-02-04 2015-06-10 四川长虹电器股份有限公司 Method for quickly changing digital television scrambling programs
WO2016129866A1 (en) * 2015-02-10 2016-08-18 엘지전자 주식회사 Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method, and broadcast signal receiving method
CN106550266A (en) * 2015-09-21 2017-03-29 中国移动通信集团公司 A kind of video broadcasting method and video acquisition synthesizer
CN106454493B (en) * 2016-10-20 2019-09-17 青岛海信电器股份有限公司 Currently playing TV program information querying method and smart television
CN109842814B (en) * 2018-12-26 2021-01-12 深圳Tcl数字技术有限公司 Program switching method and device, television and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于TS流的数字电视信号切换";赖峻;《中国优秀博硕士学位论文全文数据库 (硕士)》;20050815;全文 *
"基于单播流的IPTV频道切换提速方案研究";翁颐;《电信科学》;20141231;全文 *

Also Published As

Publication number Publication date
WO2020135130A1 (en) 2020-07-02
CN109842814A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN109842814B (en) Program switching method and device, television and readable storage medium
CN108933948B (en) Video playing progress synchronization method and device
CA2936328C (en) Reception apparatus, reception method, transmission apparatus, and transmission method
US8789118B2 (en) Method, terminal and server for allocating signal route resource in voice on demand service
CN113590067A (en) Screen projection control method, system, device and computer readable storage medium
US8655363B2 (en) Wireless communication terminal requesting content of broadcast/multicast to handoff destination base station
CN111263222B (en) Channel playing control method and device, television and readable storage medium
KR20070077744A (en) Method and apparatus for providing summary information of data broadcasting service in digital multimedia broadcasting terminal
CN113747183A (en) Live video sharing method and system and readable storage medium
CN113873279A (en) Video data decoding method, system and storage medium
CN112565204A (en) Control method and device for video data transmission and computer readable storage medium
CN109120993B (en) Voice recognition method, intelligent terminal, voice recognition system and readable storage medium
CN107493518B (en) IPTV terminal network outlet switching method, device and readable storage medium
CN108235073B (en) Program updating method
CN110225395B (en) Program content display method, set top box terminal and program management system
CN108111906B (en) Channel searching method and device and computer readable storage medium
CN107566860B (en) Video EPG acquisition and playing method, cloud platform server, television and system
CN114501068B (en) Video live broadcast method, architecture, system and computer readable storage medium
CN113747204B (en) Program acquisition method, device, server and storage medium
CN111190684B (en) Display terminal user interface replacement method, device, equipment and storage medium
CN108235109B (en) Table information transmission method, smart television and computer readable storage medium
CN109040831B (en) Playing method and device for multi-scene channel searching and computer readable storage medium
CN107277132B (en) DLNA (digital Living network alliance) pushing processing method, multimedia receiving end and storage medium
KR101982152B1 (en) Method and apparatus for processing object for auxiliary service associated with broadcast service in Broadcast receiver
CN111263214A (en) Multi-screen interaction realization method and system

Legal Events

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