CN112738622A - Digital television channel data searching method, terminal and storage medium - Google Patents

Digital television channel data searching method, terminal and storage medium Download PDF

Info

Publication number
CN112738622A
CN112738622A CN201910976139.2A CN201910976139A CN112738622A CN 112738622 A CN112738622 A CN 112738622A CN 201910976139 A CN201910976139 A CN 201910976139A CN 112738622 A CN112738622 A CN 112738622A
Authority
CN
China
Prior art keywords
frequency point
channel data
channel
digital television
acquiring
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.)
Granted
Application number
CN201910976139.2A
Other languages
Chinese (zh)
Other versions
CN112738622B (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 CN201910976139.2A priority Critical patent/CN112738622B/en
Publication of CN112738622A publication Critical patent/CN112738622A/en
Application granted granted Critical
Publication of CN112738622B publication Critical patent/CN112738622B/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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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
    • H04N21/4823End-user interface for program selection using a channel name

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)

Abstract

The invention discloses a digital television channel data searching method, a terminal and a storage medium, wherein the digital television channel data searching method comprises the following steps: acquiring a first frequency point of a digital television network, and acquiring a channel data table in the digital television network through the first frequency point, wherein the digital television network comprises the first frequency point and at least one second frequency point; and acquiring channel data of channels corresponding to the multiple frequency points in the digital television network according to the channel data table. According to the method for searching the digital television channel data, the channel data table reflecting the channel data corresponding to all the frequency points in the digital television network is obtained, so that the channel data corresponding to a plurality of frequency points in the digital television network can be obtained only by locking one frequency point, the effect of searching the channel data is finished, the frequency locking of the frequency points in the network is not needed, and the time for searching the channel data is greatly shortened.

Description

Digital television channel data searching method, terminal and storage medium
Technical Field
The present invention relates to the field of digital television technologies, and in particular, to a method, a terminal, and a storage medium for searching digital television channel data.
Background
Channel data searching of a Digital television based on a Digital Video Broadcasting (DVB) standard is to acquire channel data by using a television tuner to lock frequency points in a Digital television network and then receiving a TS Stream (transport Stream, a DVD file format) file broadcasted from a front end through the frequency points, wherein the TS Stream can be independently decoded from any segment of the Video Stream. In the prior art, when searching for digital television channel data, frequency locking is often performed on each frequency point in a network to obtain channel data, so that a large amount of channel data searching time is consumed, and user experience is affected.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a terminal and a storage medium for searching digital television channel data, aiming at solving the problem that the searching of digital television channel data in the prior art takes a long time.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a digital television channel data searching method, wherein said method comprises:
acquiring a first frequency point of a digital television network, and acquiring a channel data table in the digital television network through the first frequency point, wherein the digital television network comprises the first frequency point and at least one second frequency point;
and acquiring channel data of channels corresponding to the multiple frequency points in the digital television network according to the channel data table.
The method for searching digital television channel data, wherein the channel data table includes a network information table and a service description table, the service description table includes a first service description table and a second service description table, the first service description table reflects the channel data corresponding to the first frequency point, the second service description table reflects the channel data corresponding to each second frequency point, the channel data includes a channel name, and the obtaining the channel data of the channels corresponding to the multiple frequency points in the digital television network according to the channel data table specifically includes:
acquiring a channel name corresponding to the first frequency point according to the network information table and the first service description table;
and acquiring the channel names respectively corresponding to the second frequency points according to the network information table and the second service description table.
The method for searching digital television channel data, wherein the acquiring of the channel name corresponding to the first frequency point according to the network information table and the first service description table specifically includes:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
and acquiring a channel name corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel name in the first service description table.
The method for searching digital television channel data, wherein the obtaining of the channel names corresponding to the second frequency points according to the network information table and the second service description table specifically includes:
acquiring second frequency point identifiers corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel names respectively corresponding to the second frequency points according to the corresponding relation between the second frequency point identifiers and the channel names in the second service description table.
The method for searching digital television channel data, wherein the channel data includes channel grouping information, the channel data table includes a network information table and a service group association table, and the obtaining of the channel data of the channels corresponding to the multiple frequency points in the digital television network according to the channel data table specifically includes:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
acquiring the channel grouping information corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel grouping information in the service group association table;
acquiring second frequency point identifications corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel grouping information corresponding to each second frequency point according to the corresponding relation between the second frequency point identifier and the channel grouping information in the service group association table.
The method for searching digital television channel data, wherein after acquiring the channel data of the channels corresponding to the plurality of frequency points in the digital television network according to the channel data table, the method further comprises:
judging whether the frequency point number corresponding to the acquired channel data in the digital television network reaches a preset number or not;
if the number of the frequency points corresponding to the acquired channel data in the digital television network does not reach the preset number, continuing to execute the step of acquiring the channel data of the channels corresponding to the plurality of frequency points in the digital television network according to the channel data table;
and if the frequency point number corresponding to the acquired channel data in the digital television network reaches the preset number, stopping channel data search in the digital television network.
The method for searching digital television channel data, wherein the channel data is stored in a segment of a service description table and/or a service group association table, the segment corresponds to frequency points in the digital television network one to one, and the step of judging whether the number of the frequency points corresponding to the channel data acquired in the digital television network reaches a preset number specifically comprises the steps of:
acquiring the number of the acquired segments in the service description table, and judging whether the number of the acquired segments in the service description table is equal to the preset number or not;
and/or acquiring the number of the acquired segments in the service group association table, and judging whether the number of the acquired segments in the service group association table is equal to the preset number.
The method for searching digital television channel data, wherein after stopping searching for channel data in the digital television network, further comprises:
when an instruction for playing the channel program corresponding to the first frequency point is received, acquiring a first program association table and a first program mapping table corresponding to the first frequency point, and playing the channel program corresponding to the first frequency point according to the first program association table and the first program mapping table;
and when an instruction for playing the channel program corresponding to the second frequency point is received, acquiring a second program association table and a second program mapping table corresponding to the second frequency point, and playing the channel program corresponding to the second frequency point according to the second program association table and the second program mapping table.
A terminal, wherein the terminal comprises: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions, the processor adapted to invoke the instructions in the storage medium to perform the steps of implementing the digital television channel data search method of any of the above.
A storage medium having one or more programs stored thereon that are executable by one or more processors to implement the steps of the digital television channel data search method of any preceding claim.
Has the advantages that: compared with the prior art, the invention provides a digital television channel data searching method, a terminal and a storage medium, wherein the digital television channel data searching method can acquire the channel data respectively corresponding to a plurality of frequency points in the digital television network by acquiring the channel data table reflecting the channel data corresponding to all the frequency points in the digital television network only by locking one frequency point, thereby completing the channel data searching effect, and greatly shortening the time for searching the channel data without locking the frequency points in the network one by one.
Drawings
Fig. 1 is a flowchart of a first embodiment of a method for searching digital tv channel data according to the present invention;
FIG. 2 is a schematic diagram of a network information table;
FIG. 3 is a schematic diagram of a service description table;
fig. 4 is a flowchart illustrating sub-steps of one possible implementation manner of step S200 in the first embodiment of the method for searching digital tv channel data according to the present invention;
fig. 5 is a schematic structural diagram of a terminal provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. 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 method for searching the digital television channel data can be applied to terminals with tuners, such as set-top boxes, digital television integrated machines with built-in set-top box functions and the like.
In the digital television technology, a digital television operator (a broadcast station in each place, such as a broadcast station in the south of the lake and a broadcast station in the east of the guangdong) broadcasts program data of each channel in a corresponding digital television network in the form of a TS Stream (transport Stream, a DVD file format that can be independently decoded from any segment of a video Stream) file. The TS stream file is broadcast through a specific frequency point, one frequency point corresponds to one TS stream, and one TS stream may include data packets of multiple services, that is, data packets of multiple channels, for example, the TS streams of the shenzhen satellite view and the shenzhen entertainment channel are broadcast through the frequency point of 75MHz, that is, the terminal may receive the data packets of the shenzhen satellite view and the shenzhen entertainment channel through the frequency point of 75MHz, and then play the shenzhen satellite view and the shenzhen entertainment channel.
Before broadcasting the channels in the digital television network according to the TS stream transmitted by the frequency points in the digital television network, channel data search needs to be performed, wherein the channel data is data reflecting the information of the channels in the digital television network and used for identifying the corresponding channels, and after the channel data is obtained by searching, the terminal can display the channel data on an interface, so that a user can know the related information of the corresponding channels according to the channel data.
When searching for channel data of the digital television, channel data of a channel corresponding to a frequency point in a digital television network is acquired. In the prior art, channel data of channels corresponding to each frequency point is acquired through each frequency point in the digital television network respectively, so that channel data search of the digital television network is realized.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for searching digital tv channel data according to a first embodiment of the present invention. The method comprises the following steps:
s100, acquiring a first frequency point of a digital television network, and acquiring a channel data table in the digital television network through the first frequency point.
Specifically, the digital television network has a plurality of frequency points, including a first frequency point and at least one second frequency point, where the first frequency point is a main frequency point of the digital television network, and in the field, the main frequency point is a fixed frequency point set by a digital television operator, that is, the main frequency point of the digital television network is fixed, so that the main frequency point, that is, the first frequency point, is preset in the terminal, and when a data channel is searched, the terminal directly obtains the first frequency point, and obtains a TS stream file through the first frequency point.
Specifically, it has been described above that, in the digital television network, program data of a channel is transmitted through a TS stream file, and in order to enable a terminal to identify what channel data corresponds to a data packet in the TS stream file, the TS stream file further includes the channel data table, and after the terminal acquires the channel data table, the channel data may be acquired according to the channel data table.
S200, acquiring channel data of channels corresponding to the multiple frequency points in the digital television network according to the channel data table.
Specifically, it has been described above that the channel data is data reflecting information of channels in the digital television network, and in a possible implementation manner, the channel data may include a channel name, and when the channel data includes the channel name, that is, when the channel name of a channel corresponding to each of a plurality of frequency points in the digital television network is obtained according to the channel data table, the channel data table includes a network information table and a service description table, that is, the network information table and the service description table included in a TS stream file corresponding to the first frequency point are received through the first frequency point. The data in the network information table reflects frequency point identifiers of all frequency points in the digital television network, the data in the service description table reflects channel data corresponding to each frequency point identifier in the digital television network, and the network information table and the service description table are explained in detail with reference to the accompanying drawings as follows:
a Network Information Table (NIT, Network Information Table), as shown in fig. 2, is a Table describing the whole digital television Network, and all TS streams in the digital television Network are described in the Network Information Table, including frequency points and frequency point identifiers corresponding to the TS streams. The frequency point identifier refers to an identifier capable of distinguishing each frequency point, that is, the frequency point corresponds to the frequency point identifier one to one. Specifically, the frequency point identifier specifically includes a Transport stream identifier (TSID, Transport stream ID) and an Original Network identifier (ONID, Original Network ID), and the Transport stream identifier and the Original Network identifier are combined to jointly mark one frequency point, that is, for different frequency points, the combination of the Transport stream identifier and the Original Network identifier is necessarily different, for example, the Network information table shown in fig. 2 includes descriptions of multiple TS streams such as a TS stream description 1 and a TS stream description 2, where the TS stream description 1 describes the frequency point corresponding to the TS stream: 403MHz, and frequency point identification: the transport stream identifier is 0x1, and the original network identifier is 0x1, that is, the frequency point identifier of this frequency point of 403MHz is: the transport stream identification is 0x1 and the original network identification is 0x 1.
A Service Description Table (SDT), as shown in fig. 3, describes channel names of channels corresponding to the TS streams. In the service description table, each TS stream is distinguished by the frequency point identifier, and as described above, the TS streams and the frequency points are in a one-to-one correspondence relationship, and the frequency points and the frequency point identifiers are in a one-to-one correspondence relationship, so that the TS streams can be distinguished by the frequency point identifiers of the corresponding frequency points. For example, the service description table shown in fig. 3 describes that the corresponding frequency point identifier is: the transport stream is identified as 0x50, and the plurality of services corresponding to the TS stream identified as 0x1 by the original network identifier include a Service description 1, a Service description 2, a Service description 3, and the like, where a Service name (Service name) describing the Service in the Service description 1 is olddos-2, that is, a corresponding channel name is olddos-2. It can be seen that a TS stream may correspond to multiple channels, and in the service description table, for each TS stream, the channel names of all channels corresponding to the TS stream are described.
In particular, in the digital television network, besides the first frequency point, at least one second frequency point is also included, in this embodiment, the service description table obtained by the terminal through the first frequency point includes a first service description table and a second service description table, and specifically, the first service description table is a current stream service description table (SDT actual), the second service description table is other stream service description table (SDT other), when the service description table is obtained through the first frequency point, the current stream is a TS stream corresponding to the first frequency point, and other streams are other frequency points except the first frequency point in the digital television network, namely, the TS stream corresponding to each second frequency point, that is, the first service description table reflects the channel data corresponding to the first frequency point, and the second service description table reflects the channel data corresponding to each second frequency point.
As can be seen from the above description, the network information table describes the frequency points and the frequency point identifiers corresponding to all TS streams in the digital television network, and then a plurality of frequency points in the digital television network can be obtained according to the network information table. And the first service description table reflects the channel data corresponding to the first frequency point, and the second service description table reflects the channel data corresponding to each second frequency point. And according to the network information table, the first service description table and the second service description table, channel names respectively corresponding to a plurality of frequency points in the digital television network can be obtained, so that channel data search is realized.
As shown in fig. 4, in this implementation manner, the obtaining, according to the channel data table, channel data of channels corresponding to a plurality of frequency points in the digital television network specifically includes:
s210, acquiring a channel name corresponding to the first frequency point according to the network information table and the first service description table.
According to the foregoing description, the first frequency point identifier corresponding to the first frequency point is described in the network information table, and the channel name corresponding to the first frequency point identifier is described in the first service description table, so that the first frequency point identifier is used as a description part common to the network information table and the first service description table, and the two tables can be linked, so as to obtain the channel name corresponding to the first frequency point according to the network information table and the first service description table.
Specifically, the obtaining of the channel name corresponding to the first frequency point according to the network information table and the first service description table includes:
s211, acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table.
The network information table describes frequency point identifiers corresponding to all frequency points in the digital television network, and the first frequency point is a main frequency point of the digital television network and is a fixed value, so that a terminal can directly acquire the first frequency point identifier corresponding to the first frequency point according to the network information table according to the first frequency point.
S212, acquiring a channel name corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel name in the first service description table.
The first service description table is a current stream service description table and describes channel data of a channel corresponding to the first frequency point, and as can be seen from the foregoing description, the first service description table describes channel names of all channels corresponding to the first frequency point identifier, that is, the first service description table stores a corresponding relationship between the first frequency point identifier and the channel names, so that after the first frequency point identifier is obtained according to the network information table, the channel name corresponding to the first frequency point identifier can be obtained according to the first frequency point identifier, and then the channel name corresponding to the first frequency point is obtained. For example, the frequency point identifier corresponding to the first frequency point 403MHz obtained according to the network information table is: the transport stream identifier is 0x1, the original network identifier is 0x1, and in the first service description table, the transport stream identifier is 0x1, and the frequency bin identifiers corresponding to the original network identifier of 0x1 are Shenzhen satellite view and Shenzhen entertainment channels, so the channel names corresponding to the first frequency bin 403MHz are Shenzhen satellite view and Shenzhen entertainment channels.
Referring to fig. 4 again, the obtaining channel data corresponding to a plurality of frequency points in the digital television network according to the channel data table further includes:
s220, acquiring the channel names respectively corresponding to the second frequency points according to the network information table and the second service description table.
Similar to the acquisition of the channel name corresponding to the first frequency point, the second frequency point identifiers corresponding to the second frequency points are all described in the network information table, and the channel names corresponding to the second frequency point identifiers are described in the second service description table, so that the second frequency point identifiers serve as a common description part in the network information table and the second service description table, and can link the two tables, and the channel names corresponding to the second frequency points are acquired according to the network information table and the second service description table.
The obtaining of the channel names corresponding to the second frequency points according to the network information table and the second service description table includes:
and S221, acquiring second frequency point identifiers respectively corresponding to the second frequency points according to the network information table.
All TS streams in the digital television network are described in the network information table, so that in addition to the first channel identification corresponding to the first frequency point, second channel identifications corresponding to the second frequency points can be obtained according to the network information table.
S222, obtaining the channel names corresponding to the second frequency points according to the corresponding relation between the second frequency point identifiers and the channel names in the second service description table.
The second service description table is another stream service description table, which describes other frequency points except the first frequency point, that is, channel data corresponding to the second frequency point, and as can be seen from the foregoing description, the second service description table describes channel names of all channels corresponding to each second frequency point identifier, that is, the second service description table stores the corresponding relationship between each second frequency point identifier and the channel name, so that after the second frequency point identifiers corresponding to each second frequency point are obtained according to the network information table, the channel names corresponding to each first frequency point identifier can be obtained according to the second frequency point identifiers, and then the channel names corresponding to each first frequency point identifier are obtained. For example, the frequency point identifier corresponding to the second frequency point of 410MHz obtained according to the network information table is: the transport stream id is 0x1, the original network id is 0x1, and in the first service description table, the transport stream id is 0x1, the frequency point id of the original network id is 0x1 corresponds to the channel names of guangdong satellite television and guangdong financial channel, and then the channel name corresponding to the second frequency point of 410MHz is the channel of guangdong satellite television and guangdong financial channel.
In another possible implementation manner, the channel data may include channel grouping information, where the channel grouping information reflects a category corresponding to the channel, and specifically, facilitates user selection of the channel, and may define the category of the channel, for example, the channel is classified into categories such as "high definition", "standard definition", and the like according to a definition program of the channel, and the channel is classified into categories such as "sports", "financial", and the like according to content of the channel. And when the terminal acquires the channel grouping information, displaying the channel grouping information, so that a user can quickly select a channel which the user wants to see according to the channel grouping information when selecting the channel.
When the channel data includes the channel grouping information, that is, the channel grouping information of the channels corresponding to the multiple frequency points in the digital television network is obtained according to the channel data table, the channel data table includes a network information table and a service group association table, that is, the terminal receives the network information table and the service group association table included in the TS stream file corresponding to the first frequency point through the first frequency point, and obtains the channel grouping information of the channels according to the network information table and the service group association table.
The network information table has been described in detail above, and is not described in detail herein.
The Bouquet Association Table (BAT) is a Table describing a Bouquet name corresponding to a service included in each TS stream in the digital television network, and data in the Bouquet Association Table reflects grouping information of a channel.
When the channel data includes the channel grouping information, the obtaining, according to the channel data, channel data corresponding to a plurality of frequency points in the digital television network specifically includes:
s310, acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table.
Specifically, it has been described above that the network information table describes frequency point identifiers corresponding to all frequency points in the digital television network, and the first frequency point is a dominant frequency point of the digital television network and is a fixed value, so that the terminal can directly obtain the first frequency point identifier corresponding to the first frequency point according to the network information table according to the first frequency point.
S320, acquiring the channel grouping information corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel grouping information in the service group association table.
Similar to the service description table, the service group association table also uses frequency point identifiers to distinguish TS streams, that is, the service group association table reflects the correspondence between the frequency point identifiers of the frequency points in the digital television network and the channel grouping information, that is, after the first frequency point identifier corresponding to the first frequency point is obtained according to the network information table, the channel grouping information corresponding to the first frequency point can be obtained according to the correspondence between the first frequency point identifier and the channel grouping information in the service group association table.
S330, acquiring second frequency point identifiers corresponding to the second frequency points respectively according to the network information table;
as also explained above, the network information table describes all TS streams in the digital television network, and therefore, in addition to the first channel identifier corresponding to the first frequency point, the network information table may also be used to obtain second channel identifiers corresponding to the second frequency points, respectively.
S340, acquiring the channel grouping information corresponding to each second frequency point according to the corresponding relation between the second frequency point identifier and the channel grouping information in the service group association table.
As explained above, the service group association table reflects the correspondence between the frequency point identifier of each frequency point in the digital television network and the channel grouping information, and after the first frequency point identifier corresponding to each second frequency point is obtained according to the network information table, the channel grouping information corresponding to each second frequency point can be obtained according to the correspondence between the second frequency point identifier and the channel grouping information in the service group association table.
It should be noted that the above two possible implementations may be implemented separately or simultaneously, that is, the channel data may include only the channel name or only the channel grouping information, or may include both the channel name and the channel grouping information. The obtaining of the channel data of the channels corresponding to the multiple frequency points in the digital television network according to the channel data table may be obtaining the channel names corresponding to the multiple frequency points in the digital television network only by receiving the network information table and the service description table or obtaining the channel grouping information only by receiving the network information table and the service group association table, or obtaining the channel names and the channel grouping information corresponding to the multiple frequency points in the digital television network only by receiving the network information table, the service description table and the service group association table.
After the channel data in the digital television network is obtained according to the channel data table, the method further comprises the following steps:
s300, judging whether the frequency point number corresponding to the channel data acquired in the digital television network reaches a preset number.
Specifically, a plurality of frequency points exist in the digital television network, each frequency point corresponds to channel data, and when channel data in the digital television network is searched, channel data corresponding to all frequency points in the digital television network may be acquired, or only channel data corresponding to a part of frequency points may be acquired. The preset number may be the number of frequency points in the network information table, that is, the number of all frequency points in the digital television network, or may be a preset fixed value, for example, 20, 50, or the like.
And if the number of the frequency points corresponding to the acquired channel data in the digital television network does not reach the preset number, continuing to execute the step of acquiring the channel data of the channels corresponding to the plurality of frequency points in the digital television network according to the channel data table.
And if the frequency point number corresponding to the acquired channel data in the digital television network reaches the preset number, stopping channel data search in the digital television network.
Specifically, after stopping the channel data search in the digital television network, the terminal may store the correspondence between the frequency points and the channel data in the database, that is, the terminal may store the channel data search result, so that the terminal may call the channel data in a later period.
As can be seen from the foregoing description, the channel data table may include a service description table and/or a service group association table, the channel data is stored in the service description table and/or the service group association table, specifically, as shown in fig. 3, the data in the service description table and the service association table is encapsulated in a section (section) form, the channel data is stored in the section, and the sections in the service description table and the sections in the service group association table are respectively in one-to-one correspondence with frequency points in the digital television network. Specifically, the determining whether the number of frequency points corresponding to the channel data acquired in the digital television network has reached a preset number specifically includes:
acquiring the number of the acquired segments in the service description table, and judging whether the number of the acquired segments in the service description table is equal to the preset number or not;
and/or acquiring the number of the acquired segments in the service group association table, and judging whether the number of the acquired segments in the service group association table is equal to the preset number.
As already explained above, the channel data may be stored in the service description table and/or the service group association table, and when the channel data only includes a channel name, the channel data corresponding to the frequency point is stored in the segment of the service description table, and the segments in the service description table correspond to the frequency points one to one, so that the number of the segments acquired in the service description table is the number of the frequency points corresponding to the acquired channel data. Similarly, when the channel data only includes channel grouping information, the channel data corresponding to the frequency points are stored in the segments of the service group association table, and the segments of the service group association table correspond to the frequency points one to one, so that the number of the segments acquired in the service group association table is the number of the frequency points corresponding to the acquired channel data. And when the channel data comprises channel names and channel grouping information, the channel data corresponding to the frequency points are respectively stored in the service description table and the service group association table, and when the number of the segments acquired in the service description table and the number of the segments acquired in the service group association table are both equal to the preset number, the number of the frequency points corresponding to the acquired channel data is equal to the preset number.
In the digital television network, the frequency points or the channels corresponding to the frequency points are updated, so in one implementation manner, when judging whether the number of the frequency points corresponding to the channel data acquired in the digital television network reaches the preset number, the number is combined with the version number of the channel data table. Specifically, the version number of the channel data table indicates which version the channel data table is, the version number is described in the channel data table by a version number, and the version number is stored in each segment, that is, the version number of the channel data table is described in each segment, and when the terminal determines whether the number of frequency points corresponding to channel data acquired in the digital television network reaches a preset number, the terminal acquires the version number of the service description table and/or the service group association table first, and then determines whether the number of segments corresponding to the version number in the acquired service description table and/or the number of segments corresponding to the version number in the acquired service group description table are equal to the preset number.
The channel data searching method provided in this embodiment further includes, after stopping the channel data search in the digital television network:
when an instruction for playing the channel program corresponding to the first frequency point is received, acquiring a first program association table and a first program mapping table corresponding to the first frequency point, and playing the channel program corresponding to the first frequency point according to the first program association table and the first program mapping table;
and when an instruction for playing the channel program corresponding to the second frequency point is received, acquiring a second program association table and a second program mapping table corresponding to the second frequency point, and playing the channel program corresponding to the second frequency point according to the second program association table and the second program mapping table.
The Program Association Table (PAT) and the Program Map Table (PMT) contain tables of data required when playing a channel according to a current TS stream. Specifically, the program association table describes a program mapping table corresponding to each channel in a corresponding TS stream, and the program mapping table specifically describes an ES ID (elementary stream ID) corresponding to a channel program data packet in a channel, so that which elementary streams of channel audio and video data included in one TS stream are determined according to the program association table and the program mapping table, and when a specific channel is played, a TS stream corresponding to the channel can be acquired according to a frequency point corresponding to the channel, and then audio and video data corresponding to the TS stream is acquired for playing.
As is apparent from the above description, the program association table and the program mapping table are tables required when channel programs are broadcast. In this embodiment, after receiving an instruction to play a channel program, the program association table and the program mapping table corresponding to the channel are obtained, that is, when channel data is searched, the program association table and the program mapping table are not obtained, and when a channel program needs to be played, the program association table and the program mapping table are obtained correspondingly, so that time for searching channel data is shortened.
In summary, in this embodiment, the channel data table that reflects the channel data corresponding to all the frequency points in the digital television network is obtained through the first frequency point, that is, the main frequency point, so that the channel data corresponding to the multiple frequency points in the digital television network can be obtained only by locking one frequency point, the channel data search effect is completed, the channel data search time is greatly shortened, the waiting time of a user can be reduced, and the use experience is improved.
It should be understood that, although the steps in the flowcharts shown in the figures of the present specification are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Example two
Based on the above embodiment, the present invention further provides a terminal, where the terminal may be a set-top box or a digital television all-in-one machine with built-in set-top box function, and a schematic block diagram thereof may be as shown in fig. 5. The terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal is used for connecting and communicating with an external terminal through a network. The computer program when executed by a processor implements a digital television channel data searching method. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the terminal is arranged in the terminal in advance and used for detecting the current operating temperature of internal equipment.
It will be appreciated by those skilled in the art that the block diagram of fig. 5 is only a block diagram of a portion of the structure associated with the inventive arrangements and does not constitute a limitation of the terminal to which the inventive arrangements are applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a terminal is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing at least the following steps:
acquiring a first frequency point of a digital television network, and acquiring a channel data table in the digital television network through the first frequency point, wherein the digital television network comprises the first frequency point and at least one second frequency point;
and acquiring channel data of channels corresponding to the multiple frequency points in the digital television network according to the channel data table.
The channel data table includes a network information table and a service description table, the service description table includes a first service description table and a second service description table, the first service description table reflects the channel data corresponding to the first frequency point, the second service description table reflects the channel data corresponding to each second frequency point, the channel data includes a channel name, and the acquiring the channel data of the channel corresponding to each of the plurality of frequency points in the digital television network according to the channel data table specifically includes:
acquiring a channel name corresponding to the first frequency point according to the network information table and the first service description table;
and acquiring the channel names respectively corresponding to the second frequency points according to the network information table and the second service description table.
The acquiring the channel name corresponding to the first frequency point according to the network information table and the first service description table specifically includes:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
and acquiring a channel name corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel name in the first service description table.
Wherein, the obtaining of the channel names respectively corresponding to the second frequency points according to the network information table and the second service description table specifically includes:
acquiring second frequency point identifiers corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel names respectively corresponding to the second frequency points according to the corresponding relation between the second frequency point identifiers and the channel names in the second service description table.
The channel data includes channel grouping information, the channel data table includes a network information table and a service group association table, and the obtaining of the channel data of the channels corresponding to the multiple frequency points in the digital television network according to the channel data table specifically includes:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
acquiring the channel grouping information corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel grouping information in the service group association table;
acquiring second frequency point identifications corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel grouping information corresponding to each second frequency point according to the corresponding relation between the second frequency point identifier and the channel grouping information in the service group association table.
After acquiring the channel data of the channels corresponding to the multiple frequency points in the digital television network according to the channel data table, the method further includes:
judging whether the frequency point number corresponding to the acquired channel data in the digital television network reaches a preset number or not;
if the number of the frequency points corresponding to the acquired channel data in the digital television network does not reach the preset number, continuing to execute the step of acquiring the channel data of the channels corresponding to the plurality of frequency points in the digital television network according to the channel data table;
and if the frequency point number corresponding to the acquired channel data in the digital television network reaches the preset number, stopping channel data search in the digital television network.
Wherein the channel data is stored in a segment of a service description table and/or a service group association table, the segment corresponds to frequency points in the digital television network one to one, and the determining whether the number of the frequency points corresponding to the channel data acquired in the digital television network has reached a preset number specifically includes:
acquiring the number of the acquired segments in the service description table, and judging whether the number of the acquired segments in the service description table is equal to the preset number or not;
and/or acquiring the number of the acquired segments in the service group association table, and judging whether the number of the acquired segments in the service group association table is equal to the preset number.
Wherein the stopping of channel data searching in the digital television network further comprises:
when an instruction for playing the channel program corresponding to the first frequency point is received, acquiring a first program association table and a first program mapping table corresponding to the first frequency point, and playing the channel program corresponding to the first frequency point according to the first program association table and the first program mapping table;
and when an instruction for playing the channel program corresponding to the second frequency point is received, acquiring a second program association table and a second program mapping table corresponding to the second frequency point, and playing the channel program corresponding to the second frequency point according to the second program association table and the second program mapping table.
EXAMPLE III
The present invention also provides a storage medium storing one or more programs executable by one or more processors to implement the steps of the digital television channel data searching method described in the above embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for searching digital television channel data, said method comprising:
acquiring a first frequency point of a digital television network, and acquiring a channel data table in the digital television network through the first frequency point, wherein the digital television network comprises the first frequency point and at least one second frequency point;
and acquiring channel data of channels corresponding to the multiple frequency points in the digital television network according to the channel data table.
2. The method according to claim 1, wherein the channel data table includes a network information table and a service description table, the service description table includes a first service description table and a second service description table, the first service description table reflects the channel data corresponding to the first frequency point, the second service description table reflects channel data corresponding to each second frequency point, the channel data includes a channel name, and the obtaining channel data of channels corresponding to a plurality of frequency points in the digital television network according to the channel data table specifically includes:
acquiring a channel name corresponding to the first frequency point according to the network information table and the first service description table;
and acquiring the channel names respectively corresponding to the second frequency points according to the network information table and the second service description table.
3. The method according to claim 2, wherein said obtaining a channel name corresponding to said first frequency point according to said network information table and said first service description table specifically comprises:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
and acquiring a channel name corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel name in the first service description table.
4. The method according to claim 2, wherein said obtaining channel names corresponding to said second frequency points according to said network information table and said second service description table specifically comprises:
acquiring second frequency point identifiers corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel names respectively corresponding to the second frequency points according to the corresponding relation between the second frequency point identifiers and the channel names in the second service description table.
5. The method according to claim 1, wherein the channel data includes channel grouping information, the channel data table includes a network information table and a service group association table, and the obtaining channel data of channels corresponding to a plurality of frequency points in the digital television network according to the channel data table specifically includes:
acquiring a first frequency point identifier corresponding to the first frequency point according to the network information table;
acquiring the channel grouping information corresponding to the first frequency point according to the corresponding relation between the first frequency point identifier and the channel grouping information in the service group association table;
acquiring second frequency point identifications corresponding to the second frequency points respectively according to the network information table;
and acquiring the channel grouping information corresponding to each second frequency point according to the corresponding relation between the second frequency point identifier and the channel grouping information in the service group association table.
6. The method according to claim 1, wherein after obtaining channel data for channels corresponding to a plurality of frequency points in said digital television network according to said channel data table, said method further comprises:
judging whether the frequency point number corresponding to the acquired channel data in the digital television network reaches a preset number or not;
if the number of the frequency points corresponding to the acquired channel data in the digital television network does not reach the preset number, continuing to execute the step of acquiring the channel data of the channels corresponding to the plurality of frequency points in the digital television network according to the channel data table;
and if the frequency point number corresponding to the acquired channel data in the digital television network reaches the preset number, stopping channel data search in the digital television network.
7. The method according to claim 6, wherein the channel data table comprises a service description table and/or a service group association table, the channel data is stored in segments of the service description table and/or the service group association table, the segments of the service description table and the segments of the service group association table are in one-to-one correspondence with frequency points in the digital television network, and the determining whether the number of frequency points corresponding to the channel data acquired in the digital television network has reached a preset number specifically comprises:
acquiring the number of the acquired segments in the service description table, and judging whether the number of the acquired segments in the service description table is equal to the preset number or not;
and/or acquiring the number of the acquired segments in the service group association table, and judging whether the number of the acquired segments in the service group association table is equal to the preset number.
8. The method according to claim 6, wherein said stopping of channel data searching in said digital television network further comprises:
when an instruction for playing the channel program corresponding to the first frequency point is received, acquiring a first program association table and a first program mapping table corresponding to the first frequency point, and playing the channel program corresponding to the first frequency point according to the first program association table and the first program mapping table;
and when an instruction for playing the channel program corresponding to the second frequency point is received, acquiring a second program association table and a second program mapping table corresponding to the second frequency point, and playing the channel program corresponding to the second frequency point according to the second program association table and the second program mapping table.
9. A terminal, characterized in that the terminal comprises: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions, the processor adapted to invoke the instructions in the storage medium to perform the steps of implementing the digital television channel data search method of any of claims 1 to 8.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the digital television channel data search method of any of claims 1 to 8.
CN201910976139.2A 2019-10-14 2019-10-14 Digital television channel data searching method, terminal and storage medium Active CN112738622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910976139.2A CN112738622B (en) 2019-10-14 2019-10-14 Digital television channel data searching method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910976139.2A CN112738622B (en) 2019-10-14 2019-10-14 Digital television channel data searching method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112738622A true CN112738622A (en) 2021-04-30
CN112738622B CN112738622B (en) 2023-05-23

Family

ID=75588661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910976139.2A Active CN112738622B (en) 2019-10-14 2019-10-14 Digital television channel data searching method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112738622B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460452A (en) * 2022-08-09 2022-12-09 海信视像科技股份有限公司 Display device and channel playing method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472097A (en) * 2007-12-27 2009-07-01 深圳创维数字技术股份有限公司 Digital television receiver and method for searching program automatically in empty status
CN101656842A (en) * 2008-08-22 2010-02-24 深圳Tcl新技术有限公司 Single frequency point quick channel search method of digital television
CN101917571A (en) * 2010-09-02 2010-12-15 深圳市德合科技有限公司 Method, device and set-top box for automatically searching cable television channels
CN102075807A (en) * 2011-01-06 2011-05-25 深圳创维数字技术股份有限公司 Digital television program searching method, and digital television receiving terminal and transmission system
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table
CN102404628A (en) * 2011-12-02 2012-04-04 深圳创维数字技术股份有限公司 Method and device for searching programs for digital television
CN102595232A (en) * 2012-02-24 2012-07-18 青岛海信电器股份有限公司 Relative information search method of digital television programs and digital television receiving terminal
WO2015058570A1 (en) * 2013-10-24 2015-04-30 深圳Tcl新技术有限公司 Method and device for automatically recognizing network operator to realize data configuration
CN105025352A (en) * 2015-07-21 2015-11-04 深圳市茁壮网络股份有限公司 Digital television channel data packaging method and rapid searching method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472097A (en) * 2007-12-27 2009-07-01 深圳创维数字技术股份有限公司 Digital television receiver and method for searching program automatically in empty status
CN101656842A (en) * 2008-08-22 2010-02-24 深圳Tcl新技术有限公司 Single frequency point quick channel search method of digital television
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table
CN101917571A (en) * 2010-09-02 2010-12-15 深圳市德合科技有限公司 Method, device and set-top box for automatically searching cable television channels
CN102075807A (en) * 2011-01-06 2011-05-25 深圳创维数字技术股份有限公司 Digital television program searching method, and digital television receiving terminal and transmission system
CN102404628A (en) * 2011-12-02 2012-04-04 深圳创维数字技术股份有限公司 Method and device for searching programs for digital television
CN102595232A (en) * 2012-02-24 2012-07-18 青岛海信电器股份有限公司 Relative information search method of digital television programs and digital television receiving terminal
WO2015058570A1 (en) * 2013-10-24 2015-04-30 深圳Tcl新技术有限公司 Method and device for automatically recognizing network operator to realize data configuration
CN105025352A (en) * 2015-07-21 2015-11-04 深圳市茁壮网络股份有限公司 Digital television channel data packaging method and rapid searching method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QING MENG WANG 等: "A new method based on radio frequency spectrum for background noise curve extraction" *
赵伟: "调频广播自动化检测研究及系统设计" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460452A (en) * 2022-08-09 2022-12-09 海信视像科技股份有限公司 Display device and channel playing method

Also Published As

Publication number Publication date
CN112738622B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US20060184965A1 (en) Method for providing electronic program guide for digital broadcasting
KR101644436B1 (en) Method for processing targeting descriptor in non-real-time receiver
US9032442B2 (en) Acquiring cable channel map information in a cable receiver
KR20150084775A (en) On-demand access to scheduled content
US20100002139A1 (en) Method of controlling receiver for processing broadcast signal defining multi-channel broadcast and broadcast receiver using the same
US20120092560A1 (en) Selection of a data stream for receiving a data service
WO2017012429A1 (en) Method and system for acquiring digital television program parameter
US8930981B2 (en) Television channel mapping techniques
JP2008048250A (en) Receiving apparatus and receiving method
US20090199258A1 (en) Method of setting mapping between channel number and program number
CN112738622B (en) Digital television channel data searching method, terminal and storage medium
CN108235073B (en) Program updating method
US9271045B2 (en) Method and apparatus of channel switching using pre-acquisited PSI table
CN108900899B (en) Operator platform-based quick search method for digital set top box
KR100827156B1 (en) Method of providing information for configuring a broadcasting screen and the dvb-h system therefor
US9172899B2 (en) Method and apparatus for determining that received broadcasting signals from different input ports are the same content
US8782697B2 (en) System and method for providing improved channel mapping
JP2002320167A (en) On-vehicle digital broadcast receiver and method of displaying program guide thereof
CN115379255B (en) Hierarchical storage method based on data broadcast data organization
KR102076534B1 (en) Display apparatus and control method thereof
KR101569936B1 (en) Broadcasting receiver and method for updating broadcasting schedule
CN107995520B (en) Channel information acquisition method, device and terminal
CN111935515A (en) Method, device, equipment and medium for generating electronic program guide data table
US8451387B2 (en) Display
US8370893B2 (en) Digital television receiver

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