CN109587550A - Channel search method and device - Google Patents
Channel search method and device Download PDFInfo
- Publication number
- CN109587550A CN109587550A CN201711026440.4A CN201711026440A CN109587550A CN 109587550 A CN109587550 A CN 109587550A CN 201711026440 A CN201711026440 A CN 201711026440A CN 109587550 A CN109587550 A CN 109587550A
- Authority
- CN
- China
- Prior art keywords
- data
- program
- preset
- group
- quick
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 22
- 238000004590 computer program Methods 0.000 claims description 19
- 239000002131 composite material Substances 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 7
- 241001269238 Data Species 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 239000000284 extract Substances 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4345—Extraction or processing of SI, e.g. extracting service information from an MPEG stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Circuits Of Receivers In General (AREA)
Abstract
The invention belongs to TV technology more particularly to channel search methods and device.Channel search method includes: to parse Program Association Table in the code stream of default frequency point;According to the related information of PID Packet Identifier and table, Program Map Table and network information table are extracted from the code stream;Quick scan service table is read from the default identification fields of the network information table according to preset reading algorithm and quickly scans net list;The program data in the Program Map Table, the quick scan service table and the quick scanning net list is combined, to fast implement the acquisition to whole program datas, improves tuning speed.
Description
Technical field
The invention belongs to TV technology more particularly to channel search methods and device.
Background technique
DTV has become essential equipment in people's daily life, gets over to meet user to TV programme
Carry out higher requirement, digital television techniques are also being showing improvement or progress day by day, and wherein TV tuning technology is the important set of digital television techniques
At part.
Current tuning technology generally by the way of full range point tuning, i.e., is successively searched for from low frequency point to high-frequency point
Each frequency point data is finally combined and generates the program data of whole DTVs by the data of each frequency point, this tuning
Code stream of the mode due to needing to receive and handle whole frequency points, so the tuning time is generally longer.
It can be seen that there is tuning overlong time in current station search mode.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of channel search method and device, to solve searching for existing DTV
The problem of platform overlong time.
The first aspect of the embodiment of the present invention provides a kind of channel search method, comprising: receives code stream from default frequency point;Institute
It states and parses Program Association Table in code stream, the Program Association Table includes the related information of PID Packet Identifier and table;According to the packet
The related information of identifier and table determines the corresponding PID Packet Identifier of Program Map Table and the corresponding packet mark of network information table
Symbol, and according to the corresponding PID Packet Identifier of the Program Map Table and the corresponding PID Packet Identifier of the network information table, from described
The Program Map Table and the network information table are extracted in code stream, the Program Map Table includes the number of programs of current frequency point
According to the network information table includes the program data of other frequency points;According to preset reading algorithm from the network information table
Quick scan service table is read in default identification fields and quickly scans net list;Combine the Program Map Table, it is described quickly
Program data in scan service table and the quick scanning net list.
The second aspect of the embodiment of the present invention provides a kind of tuning device, comprising: receiving module is used for from default frequency point
Receive code stream;Parsing module, for parsing Program Association Table in the code stream, the Program Association Table includes PID Packet Identifier
With the related information of table;Extraction module determines that Program Map Table is corresponding for the related information according to the PID Packet Identifier and table
PID Packet Identifier and the corresponding PID Packet Identifier of network information table, and according to the corresponding PID Packet Identifier of the Program Map Table and
The corresponding PID Packet Identifier of the network information table, extracts the Program Map Table and the network information from the code stream
Table, the Program Map Table include the program data of current frequency point, and the network information table includes the program data of other frequency points;
Read module, for reading quick scan service from the default identification fields of the network information table according to preset reading algorithm
Table and quickly scan net list;Composite module, for combining the Program Map Table, the quick scan service table and institute
State the program data in quickly scanning net list.
The third aspect of the embodiment of the present invention provides a kind of tuning device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, which is characterized in that described in the processor executes
The step of channel search method as described in relation to the first aspect is realized when computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, which is characterized in that realizes when the computer program is executed by processor such as first aspect institute
The step of channel search method stated.
Existing beneficial effect is the embodiment of the present invention compared with prior art: parsing section in the code stream of default frequency point
Mesh contingency table;According to the related information of PID Packet Identifier and table, Program Map Table and network information table are extracted from the code stream;
Quick scan service table is read from the default identification fields of the network information table according to preset reading algorithm and is quickly swept
Retouch net list;Combine the program in the Program Map Table, the quick scan service table and the quick scanning net list
Data improve tuning speed to fast implement the acquisition to whole program datas.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of channel search method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of channel search method S104 provided in an embodiment of the present invention;
Fig. 3 is the reading algorithm schematic diagram of FST provided in an embodiment of the present invention;
Fig. 4 is the reading algorithm schematic diagram of FNT provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of tuning device provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of tuning device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of channel search method provided in an embodiment of the present invention, including step S101-S105, is described in detail
It is as follows:
Step S101 receives code stream from default frequency point.
It is to be appreciated that one of inventive point that the embodiment of the present invention improves tuning speed is that through a single-frequency
Point code stream in data acquisition whole frequency point data information, without successively receive and handle whole frequency points code stream in
Data, so the embodiment of the present invention need to determine first a frequency point and from the frequency point receive code stream.
Notably, satellite is for transmitting TV station or other program providers in modern digital television techniques
The program data of offer, in fact, including whole program datas of the frequency point operator on the single frequency point of satellite, i.e.,
As long as multiple frequency points are responsible for transmitting the program data of an operator in a satellite, one of which frequency point in fact contains
There is the program data of other frequency points, however in current tuning technology, it is each in the code stream transmitted to single frequency point due to lacking
The detailed analysis of a table, and lack the design of the reading algorithm for crucial table, the prior art does not make full use of individually
Program data contained by frequency point.
Further, in embodiments of the present invention, in order to allow television set to receive code stream from default frequency point, so connecing
It needs to configure various parameters before receiving code stream, to lock a frequency point, specific steps include:
Firstly, receiving the operator of user's selection.
It is to be appreciated that in real life, different operators may select different satellite or identical satellite
Different frequency transmits program data, therefore the embodiment of the present invention needs starting to make to receive selection of the user for operator, with
Carry out the subsequent selection for satellite and frequency point.
Secondly, determining the corresponding configuration group of the operator according to the corresponding relationship of preset operator and configuration group number
Number.
In embodiments of the present invention, a configuration group number and a series of configuration parameter are contained in each configuration group.
Specifically, the embodiment of the present invention needs height of the tuner under the control of central processing unit from different satellite or identical satellite
Again and again point receives code stream, amplifies and the processing such as IF carrier being sent to IF process module after frequency-selecting, it is laggard
The decoding of row channel, then various final available data are generated after decomposing to decoded data, in the processing of each link
In all there is different configuration parameters, the effect of configuration group is exactly the selection for alloing tuning equipment according to user for operator
The various configuration parameters of quick obtaining.
Finally, being configured according to the corresponding configuration parameter of the configuration group number to tuning equipment.
It is to be appreciated that according to above three step, tuning equipment can the user of selection according to to(for) operator, quickly
One operator of locking is used to transmit the frequency point of program data, and then receives code stream from default frequency point, walks for subsequent tuning
Original program data is provided suddenly.
Step S102, according to the related information of the PID Packet Identifier and table, extracted from the code stream Program Map Table with
And network information table, the Program Map Table include the program data of current frequency point, the network information table includes other frequency points
Program data.
In embodiments of the present invention, Program Association Table (Program Association Table, PAT) is to search below
The table of one starting of other tables and program data, PAT includes the related information of PID Packet Identifier and table.In digital television techniques
In, some tables (such as Program Map Table and network information table) that code stream is transmitted have corresponding PID Packet Identifier, PID Packet Identifier
For alloing tuning equipment to grab corresponding table, but in the code stream of different operators or different satellites, packet
The incidence relation of identifier and table may be different, it is therefore desirable to correctly packet mark can be just found according to Program Association Table
The related information of Fu Yubiao.
Notably, the 0X0000 that the PID Packet Identifier of PAT is usually fixed, therefore the PID Packet Identifier for passing through PAT, so that it may
To parse PAT from code stream.
Step S103 determines the corresponding PID Packet Identifier of Program Map Table according to the related information of the PID Packet Identifier and table
And the corresponding PID Packet Identifier of network information table, and believed according to the corresponding PID Packet Identifier of the Program Map Table and the network
The corresponding PID Packet Identifier of table is ceased, the Program Map Table and the network information table, the program are extracted from the code stream
Mapping table includes the program data of current frequency point, and the network information table includes the program data of other frequency points
In embodiments of the present invention, Program Map Table (Program Map Table, PMT) includes the program of current frequency point
The PID Packet Identifier of data, PMT can be found from PAT.Network information table (Network Information Table, NIT)
Program data comprising other frequency points.
It is to be appreciated that since corresponding PID Packet Identifier may be different in different code streams by PMT and NIT, so if
Want from PMT and NIT needs are extracted in code stream first according to the PMT in the code stream of current frequency point determining in PAT and NIT pairs
The PID Packet Identifier answered, and then PMT and NIT is extracted from code stream according to the PID Packet Identifier of PMT and the PID Packet Identifier of NIT.
Notably, current technology lacks the application for NIT, it is general only to be described using the list of frequency of NIT
Frequency information in sub (Freguency List Descriptor), and have ignored the number of programs of the other frequency points carried in NIT
According to the inventive point of the application is exactly using the data of a default identification fields in NIT, and specific Land use systems will below in detail
It states.
Step S104 reads quick scanning according to preset reading algorithm from the default identification fields of the network information table
Agent list and quickly scan net list.
In the data of NIT, there are the tables that two contain other frequency point program datas, and one is quick scan service table
(Fastscan Service Table, FST), the other is quickly scan net list (Fastscan Network Table,
FNT).But since the prior art understands in not deep enough and this two tables the storage position of this two tables and feature
The particularity of data storage method, the interior data stored of this two tables being applied well, in embodiments of the present invention
The content of FST and FNT are read out from NIT by a preset reading algorithm.
Fig. 2 shows the specific implementation flows of channel search method S104 provided in an embodiment of the present invention, and details are as follows:
Step S1041 is extracted from the data of the default identification fields described quick according to preset gauge outfit identifier
The data in data and the quick scanning net list in scan service table.
Optionally, the default identification fields include: the identification fields that flag bit (descriptor_tag) is 0X04.
In embodiments of the present invention, FST and FNT is present in the identification fields that flag bit is 0X04, and FST and FNT have
Corresponding gauge outfit identifier (table_id).It is to be appreciated that the preset gauge outfit identifier according to FST can be from NIT's
Flag bit (descriptor_tag) is that the identification fields of 0X04 extract the data of FST, according to the preset gauge outfit identifier of FNT
The data of FNT can be extracted from the identification fields that the flag bit (descriptor_tag) of NIT is 0X04.
Step S1042, it is pre- every second since after the first preset byte of the data in the quick scan service table
If the data of byte are as a program service group, to recycle the data divided in the quick scan service table.
It is to be appreciated that since FST memory is placed with the program data of multiple programs, and the characteristics of FST storing data is each
The program data of a program circuits sequentially storage, i.e., and then stores another section after the program data storage of one program
Purpose program data, so needing in order to read FST and for the meaning of the subsequent parsing FST program data for including to FST
Data carry out circulation packet transaction.
Specifically, the data in FST are started the cycle over after the first preset byte and divides program service group, each program clothes
Business group accounts for the second preset byte.It is to be appreciated that since FST includes a gauge outfit, and in gauge outfit and do not include specific program
Data, and the only auxiliary information of some FST, such as: the data such as table_id, section_syntax_indicator,
Program service group is divided so needing to start the cycle over after the first preset byte.
Specifically, after the gauge outfit data of the first preset byte, the data every the second preset byte save FST as one
Mesh service group, each program service group include the partial programme data of a program.
Step S1043, it is pre- every the 4th since after the third preset byte of the data in the quick scanning net list
If the data of byte are as a programme network group, to recycle the data divided in the quick scanning net list.
It is to be appreciated that it is similar with FST, since FNT memory is placed with the program data of multiple programs, and FNT storing data
The characteristics of be that the program data of each program circuits sequentially storage, i.e., and then deposited after the program data storage of one program
The program data of another program is stored up, so in order to read FNT and containing for the subsequent parsing FNT program data for including
Justice needs to carry out circulation packet transaction to FNT data.
Specifically, the data in FNT are started the cycle over after the first preset byte and divides program service group, each program clothes
Business group accounts for the second preset byte.It is to be appreciated that since FNT includes a gauge outfit, and in gauge outfit and do not include specific program
Data, and the only auxiliary information of some FNT, such as: the data such as table_id, section_syntax_indicator,
Program service group is divided so needing to start the cycle over after the first preset byte.
Specifically, after the gauge outfit data of the first preset byte, the data every the second preset byte save FNT as one
Mesh service group, each program service group include the partial programme data of a program.
Step S1044 is read in the data and each programme network group in each program service group
Data.
It is to be appreciated that the embodiment of the present invention can be successively read out FST by the division to data in FST and FNT
With the partial programme data of program each in FNT, in subsequent steps, it is only necessary to by the same program in FST and FNT
Partial programme data combine, and just generate the complete programs data an of program.
In order to better illustrate, how the embodiment of the present invention is read out the data of FST and FNT, and Fig. 3 is shown
The reading algorithm schematic diagram of FST, wherein the content of syntax column from top to bottom successively indicates the vertical language of data in FST
Justice, the corresponding semantic shared byte in FST of the content representation of No.of bits column.For example, the since FST the 1st
A byte is to the 8th byte representation table_id, the 9th byte representation section_syntax_indicator, the 11st word
Section indicates Reserved, 12-13 byte representation ISO reserved etc..It further, can be with from the syntax of Fig. 3 column
Find out, the gauge outfit of FST is belonged to from Table_id to last_section_number, and since Original_network_id
A program service group is partly belonged to Service_descriptor, in embodiments of the present invention, when tuning equipment is read
It, can be using next byte as the Original_ of new program service group after a complete Service_descriptor
Network_id, and then read a new program service group.
Fig. 4 shows the reading algorithm schematic diagram of FNT, the specific implementation as represented by the reading algorithm schematic diagram of FNT
Mode is similar with Fig. 3, only specific semantic difference, so not repeating the specific embodiment of Fig. 4 herein.
Further, in the data read in each program service group and each programme network
After data in group, further includes: according to field location in preset program service group and semantic corresponding relationship, parse each
Data in the program service group;According to field location in preset programme network group and semantic corresponding relationship, parsing is each
Data in a programme network group.
As shown in Figure 3 and Figure 4, in a program service group, that is, Fig. 3 syntax arrange from Original_network_id to
The part of Service_descriptor, each byte have corresponding semanteme, likewise, programme network group each
Byte also has corresponding semanteme.For example, first 16 byte representation Original_network_id of programme network group, and connect down
The 16 byte representation Transport_stream_id etc. come, these semantic and byte corresponding relationships are by applicant in day
Often summed up in practice.
It is to be appreciated that the reading algorithm of the FST by similar Fig. 3, so that it may according to word in preset program service group
Fragment position and semantic corresponding relationship, parse the data in each program service group;Pass through the reading of the FNT of similar Fig. 4
Take algorithm, so that it may according to field location in preset programme network group and semantic corresponding relationship, parse each section
Data in mesh group of networks.
Step S105 combines the Program Map Table, the quick scan service table and the quick scanning net list
In program data.
As described above, due to Program Map Table include current frequency point program data, and quickly scan service table and
Quickly scanning net list includes the partial programme data of the other frequency points in part, therefore the data of three tables are combined, just
Whole program datas that an available operator is transmitted by each frequency point.
It is to be appreciated that the beneficial effect of the embodiment of the present invention is exactly, by the number for receiving and handling the transmission of a frequency point
According to, so that it may the data that the code stream of whole frequency points is included are read and parsed, tuning speed is substantially increased.
Fig. 5 shows the structural block diagram of tuning device provided in an embodiment of the present invention.
Referring to Fig. 5, which includes:
Receiving module 501, for receiving code stream from default frequency point;
Parsing module 502, for parsing Program Association Table in the code stream, the Program Association Table includes packet mark
The related information of Fu Yubiao;
Extraction module 503 determines the corresponding packet of Program Map Table for the related information according to the PID Packet Identifier and table
Identifier and the corresponding PID Packet Identifier of network information table, and according to the corresponding PID Packet Identifier of the Program Map Table and described
The corresponding PID Packet Identifier of network information table extracts the Program Map Table and the network information table, institute from the code stream
The program data that Program Map Table includes current frequency point is stated, the network information table includes the program data of other frequency points;
Read module 504, for being read from the default identification fields of the network information table according to preset reading algorithm
Quick scan service table and quickly scan net list;
Composite module 505, for combining the Program Map Table, the quick scan service table and the quick scanning
Program data in net list.
Further, described device further include:
Selecting module, for receiving the operator of user's selection;
Determining module determines that the operator is corresponding for the corresponding relationship according to preset operator and configuration group number
Configuration group number;
Configuration module, for being configured according to the corresponding configuration parameter of the configuration group number to tuning equipment.
Further, the read module is specifically used for:
The quick scan service table is extracted from the data of the default identification fields according to preset gauge outfit identifier
Data in interior data and the quick scanning net list;
Since after the first preset byte of the data in the quick scan service table, every the number of the second preset byte
According to as a program service group, the data in the quick scan service table are divided with circulation;
Since after the third preset byte of the data in the quick scanning net list, every the number of the 4th preset byte
According to as a programme network group, the data in the quick scanning net list are divided with circulation;
Read the data in the data and each programme network group in each program service group.
Further, the default identification fields include: the identification fields that flag bit is 0X04.
Further, read module is also used to:
According to field location in preset program service group and semantic corresponding relationship, each program service group is parsed
Interior data;
According to field location in preset programme network group and semantic corresponding relationship, each programme network group is parsed
Interior data.
Fig. 6 is the schematic diagram for the tuning device that one embodiment of the invention provides.As shown in fig. 6, the tuning of the embodiment fills
It sets and includes: processor 60, memory 61 and be stored in the meter that can be run in the memory 61 and on the processor 60
Calculation machine program 62, such as tuning program.The processor 60 realizes above-mentioned each tuning side when executing the computer program 62
Step in method embodiment, such as step S101 to S105 shown in FIG. 1.Alternatively, the processor 60 executes the computer
The function of each module/unit in above-mentioned each Installation practice, such as the function of module 501 to 505 shown in Fig. 5 are realized when program 62
Energy.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 62 in the tuning device 6 is described.For example, the computer program 62 can be divided
It is cut into receiving module, parsing module, extraction module, read module and composite module, each module concrete function is as follows:
Receiving module, for receiving code stream from default frequency point;
Parsing module, for parsing Program Association Table in the code stream, the Program Association Table includes PID Packet Identifier
With the related information of table;
Extraction module determines the corresponding packet mark of Program Map Table for the related information according to the PID Packet Identifier and table
Know symbol and the corresponding PID Packet Identifier of network information table, and according to the corresponding PID Packet Identifier of the Program Map Table and the net
The corresponding PID Packet Identifier of network information table extracts the Program Map Table and the network information table from the code stream, described
Program Map Table includes the program data of current frequency point, and the network information table includes the program data of other frequency points;
Read module, for being read from the default identification fields of the network information table quickly according to preset reading algorithm
Scan service table and quickly scan net list;
Composite module, for combining the Program Map Table, the quick scan service table and the quick scanning net
Program data in network table.
The tuning device 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The tuning device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6
The only example of tuning device 6 does not constitute the restriction to tuning device 6, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the tuning device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.The step of channel search method that the processor 60 calls memory to execute, is as follows:
Code stream is received from default frequency point;Program Association Table is parsed in the code stream, the Program Association Table includes packet
The related information of identifier and table;According to the related information of the PID Packet Identifier and table, program map is extracted from the code stream
Table and network information table, the Program Map Table include the program data of current frequency point, and the network information table includes other
The program data of frequency point;Quickly scanning clothes are read from the default identification fields of the network information table according to preset reading algorithm
Business table and quickly scan net list;Combine the Program Map Table, the quick scan service table and the quick scanning
Program data in net list, to complete the search of the program data of whole frequency points.
Before the reception code stream from default frequency point, further includes: receive the operator of user's selection;According to preset fortune
It seeks quotient and configures the corresponding relationship of group number, determine the corresponding configuration group number of the operator;It is corresponding according to the configuration group number
Configuration parameter configures tuning equipment, to position preset frequency point.
It is described that quick scan service is read from the default identification fields of the network information table according to preset reading algorithm
Table and quickly scan net list, comprising: extract from the data of the default identification fields according to preset gauge outfit identifier
The data in data and the quick scanning net list in the quick scan service table;From the quick scan service table
Start after first preset byte of interior data, every the second preset byte data as a program service group, with circulation
Divide the data in the quick scan service table;It is opened after the third preset byte of the data in the quick scanning net list
Begin, every the 4th preset byte data as a programme network group, divided in the quick scanning net list with circulation
Data;Read the data in the data and each programme network group in each program service group.
The default identification fields include: the identification fields that flag bit is 0X04.
Number in the data and each programme network group read in each program service group
According to later, further includes: according to field location in preset program service group and semantic corresponding relationship, parse each program
Data in service group;According to field location in preset programme network group and semantic corresponding relationship, each section is parsed
Data in mesh group of networks.
The memory 61 can be the internal storage unit of the tuning device, such as the hard disk or interior of tuning device 6
It deposits.The memory 61 is also possible to the External memory equipment of the tuning device/device 6, such as tuning device/device
The plug-in type hard disk being equipped on 6, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) block, flash card (Flash Card) etc..Further, the memory 61 can also both include the tuning device/device
6 internal storage unit also includes External memory equipment.The memory 61 is for storing the computer program and described
Other programs and data needed for tuning device.The memory 61, which can be also used for temporarily storing, have been exported or will
The data of output.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/device and method can pass through
Other modes are realized.For example, device/Installation practice described above is only schematical, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of channel search method characterized by comprising
Code stream is received from default frequency point;
Program Association Table is parsed in the code stream, the Program Association Table includes the related information of PID Packet Identifier and table;
According to the related information of the PID Packet Identifier and table, the corresponding PID Packet Identifier of Program Map Table and network information table are determined
Corresponding PID Packet Identifier, and marked according to the corresponding PID Packet Identifier of the Program Map Table and the corresponding packet of the network information table
Know symbol, the Program Map Table and the network information table are extracted from the code stream, the Program Map Table includes current
The program data of frequency point, the network information table include the program data of other frequency points;
Quick scan service watch and fast is read from the default identification fields of the network information table according to preset reading algorithm
Speed scanning net list;
Combine the program data in the Program Map Table, the quick scan service table and the quick scanning net list.
2. channel search method as described in claim 1, which is characterized in that before the reception code stream from default frequency point, also wrap
It includes:
Receive the operator of user's selection;
According to the corresponding relationship of preset operator and configuration group number, the corresponding configuration group number of the operator is determined;
Tuning equipment is configured according to the configuration group number corresponding configuration parameter.
3. channel search method as described in claim 1, which is characterized in that described to be believed according to preset reading algorithm from the network
Quick scan service table is read in the default identification fields of breath table and quickly scans net list, comprising:
According to preset gauge outfit identifier from being extracted in the data of the default identification fields in the quick scan service table
Data in data and the quick scanning net list;
Since after the first preset byte of the data in the quick scan service table, the data every the second preset byte are made
For a program service group, the data in the quick scan service table are divided with circulation;
Since after the third preset byte of the data in the quick scanning net list, the data every the 4th preset byte are made
For a programme network group, the data in the quick scanning net list are divided with circulation;
Read the data in the data and each programme network group in each program service group.
4. channel search method as described in any one of claims 1-3, which is characterized in that the default identification fields include: flag bit
For the identification fields of 0X04.
5. channel search method as claimed in claim 3, which is characterized in that in the number read in each program service group
Accordingly and after the data in each programme network group, further includes: according to field location in preset program service group with
Semantic corresponding relationship parses the data in each program service group;According to field location in preset programme network group
With semantic corresponding relationship, the data in each programme network group are parsed.
6. a kind of tuning device characterized by comprising
Receiving module, for receiving code stream from default frequency point;
Parsing module, for parsing Program Association Table in the code stream, the Program Association Table includes PID Packet Identifier and table
Related information;
Extraction module determines the corresponding PID Packet Identifier of Program Map Table for the related information according to the PID Packet Identifier and table
And the corresponding PID Packet Identifier of network information table, and believed according to the corresponding PID Packet Identifier of the Program Map Table and the network
The corresponding PID Packet Identifier of table is ceased, the Program Map Table and the network information table, the program are extracted from the code stream
Mapping table includes the program data of current frequency point, and the network information table includes the program data of other frequency points;
Read module, for reading quick scanning from the default identification fields of the network information table according to preset reading algorithm
Agent list and quickly scan net list;
Composite module, for combining the Program Map Table, the quick scan service table and the quick scanning net list
In program data.
7. tuning device as claimed in claim 6, which is characterized in that further include:
Selecting module, for receiving the operator of user's selection;
Determining module determines that the operator is corresponding and matches for the corresponding relationship according to preset operator and configuration group number
Set group number;
Configuration module, for being configured according to the corresponding configuration parameter of the configuration group number to tuning equipment.
8. tuning device as claimed in claim 6, which is characterized in that the read module, comprising:
Data extracting sub-module, it is described for being extracted from the data of the default identification fields according to preset gauge outfit identifier
Data in quick scan service table and the data in the quick scanning net list;
First circulation is grouped submodule, for since after the first preset byte of the data in the quick scan service table,
Every the second preset byte data as a program service group, to recycle the number divided in the quick scan service table
According to;
Second circulation is grouped submodule, for since after the third preset byte of the data in the quick scanning net list,
Every the 4th preset byte data as a programme network group, to recycle the number divided in the quick scanning net list
According to;
Reading data submodule, for reading in data and each programme network group in each program service group
Data.
9. a kind of tuning device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711026440.4A CN109587550B (en) | 2017-10-27 | 2017-10-27 | Channel searching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711026440.4A CN109587550B (en) | 2017-10-27 | 2017-10-27 | Channel searching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587550A true CN109587550A (en) | 2019-04-05 |
CN109587550B CN109587550B (en) | 2021-05-14 |
Family
ID=65919505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711026440.4A Active CN109587550B (en) | 2017-10-27 | 2017-10-27 | Channel searching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587550B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935546A (en) * | 2020-07-23 | 2020-11-13 | 深圳市鼎盛光电有限公司 | Program importing method and device, video playing equipment and storage medium |
CN112068895A (en) * | 2020-08-10 | 2020-12-11 | 深圳市鼎盛光电有限公司 | Code configuration method and device, video playing equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656842A (en) * | 2008-08-22 | 2010-02-24 | 深圳Tcl新技术有限公司 | Single frequency point quick channel search method of digital television |
CN102780922A (en) * | 2012-07-03 | 2012-11-14 | 深圳Tcl新技术有限公司 | Digital television channel searching method and channel searching system |
CN103647983A (en) * | 2013-12-30 | 2014-03-19 | 深圳Tcl新技术有限公司 | Channel searching method and channel searching system of digital television |
CN105025352A (en) * | 2015-07-21 | 2015-11-04 | 深圳市茁壮网络股份有限公司 | Digital television channel data packaging method and rapid searching method |
-
2017
- 2017-10-27 CN CN201711026440.4A patent/CN109587550B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656842A (en) * | 2008-08-22 | 2010-02-24 | 深圳Tcl新技术有限公司 | Single frequency point quick channel search method of digital television |
CN102780922A (en) * | 2012-07-03 | 2012-11-14 | 深圳Tcl新技术有限公司 | Digital television channel searching method and channel searching system |
CN103647983A (en) * | 2013-12-30 | 2014-03-19 | 深圳Tcl新技术有限公司 | Channel searching method and channel searching system of digital television |
CN105025352A (en) * | 2015-07-21 | 2015-11-04 | 深圳市茁壮网络股份有限公司 | Digital television channel data packaging method and rapid searching method |
Non-Patent Citations (2)
Title |
---|
M7 GROUP SA: "M7 FastScan Spec v7.1", 《M7 FASTSCAN SPEC V7.1》 * |
苏凯雄等: "《卫星直播数字电视及其接收技术》", 30 September 2014 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935546A (en) * | 2020-07-23 | 2020-11-13 | 深圳市鼎盛光电有限公司 | Program importing method and device, video playing equipment and storage medium |
CN112068895A (en) * | 2020-08-10 | 2020-12-11 | 深圳市鼎盛光电有限公司 | Code configuration method and device, video playing equipment and storage medium |
CN112068895B (en) * | 2020-08-10 | 2023-12-19 | 深圳市鼎盛光电有限公司 | Code configuration method, device, video playing equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109587550B (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104025548B (en) | For the method and apparatus for the flexible caching for being delivered media | |
CN103650390B (en) | Signaling information is provided in electronic service guidebooks | |
CN107766132A (en) | Multi-task scheduling method, application server and computer-readable recording medium | |
CN102547447B (en) | A kind of method of downloading video files, Apparatus and system | |
CN104091287B (en) | A kind of task implementation method and device based on data-driven | |
CN104221395A (en) | Information processing device, information processing method, and information processing system | |
CN111552838A (en) | Data processing method and device, computer equipment and storage medium | |
CN102073534B (en) | Data analysis method and device | |
CN105022832B (en) | Method, mobile terminal and the download server that APP application securities are downloaded | |
CN101795392A (en) | Application data-downloading method, digital television receiving terminal and system | |
CN111224831B (en) | Method and system for generating call ticket | |
CN109587550A (en) | Channel search method and device | |
CN103647983B (en) | A kind of DTV channel search method and system | |
CN104702980B (en) | A kind of EPG data processing method, EPG server and EPG data processing system | |
CN105260459B (en) | Searching method and device | |
CN104620650B (en) | A kind of method of acquisition of information, terminal, base station and system | |
CN113495765A (en) | Business data filling method and device, storage medium and electronic device | |
KR101351819B1 (en) | Product page service system and method | |
CN102938855A (en) | Implementation method for ordering television programs for digital television receiver | |
CN104202665A (en) | Method for automatically modifying central frequency point of set top box | |
CN106231421A (en) | The upgrade method of a kind of Set Top Box and device | |
CN106210864A (en) | A kind of method and device updating program | |
CN115114321A (en) | Dynamic query method and system | |
CN104540013B (en) | A kind of playback terminal obtains the method and playback terminal of programme content | |
CN111026739B (en) | Batch data cleaning method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |