CN101472165A - Method for analyzing self-help code stream - Google Patents

Method for analyzing self-help code stream Download PDF

Info

Publication number
CN101472165A
CN101472165A CNA2007103058220A CN200710305822A CN101472165A CN 101472165 A CN101472165 A CN 101472165A CN A2007103058220 A CNA2007103058220 A CN A2007103058220A CN 200710305822 A CN200710305822 A CN 200710305822A CN 101472165 A CN101472165 A CN 101472165A
Authority
CN
China
Prior art keywords
rule
descriptor
user
code stream
help code
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.)
Pending
Application number
CNA2007103058220A
Other languages
Chinese (zh)
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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CNA2007103058220A priority Critical patent/CN101472165A/en
Publication of CN101472165A publication Critical patent/CN101472165A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for analyzing self-help code stream. The method comprises the following steps: a) the input of user definition rules by a user is received; b) the user definition rules are imported when the procedure is initialized; and c) the analysis is conducted according to the user definition rules when data need to be processed. The descriptors and table rules can not only be saved as external files and but also edited through the user self definition, so that the functions of the descriptors and the table rules can be increased, decreased, and altered by a user, and the capacity for quickly adding proprietary protocol analysis instead of altering code stream analysis software is possessed by the user.

Description

Method for analyzing self-help code stream
[technical field]
The present invention relates to that top box of digital machine (comprising other DVB Related product) is designed and developed and test process in need technology that code stream is analyzed, refer in particular to a kind of method for analyzing self-help code stream.
[background technology]
Existing code stream analysis software can be analyzed existing table and descriptor in the DVB standard.The table and the descriptor of the user-defined format that existing code stream analysis software is can not analysis user privately owned, and in the code stream analysis process of reality, the situation that half is arranged is table and the descriptor that needs to analyze privately owned form, and existing code stream analysis software can not practical requirement.
[summary of the invention]
Technical problem to be solved by this invention is, overcomes the deficiencies in the prior art, the method that provides a kind of descriptor that can edit and store by the user and table rule to resolve the information that receives.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method for analyzing self-help code stream comprises the steps:
A), accept the input of user to user definition rule;
B), when program is initial, described user definition rule is imported;
C), when data processing is arranged by described user definition rule parsing.
Described user definition rule is descriptor and table rule, and described user definition rale store is an external file.
Described user definition descriptor procedure of rule may further comprise the steps:
The first step: select at the interface: edit described descriptor rule at rule editing;
Second step: in the corresponding input frame and the title of filling in described descriptor Tag value and described descriptor;
The 3rd step: fill in the descriptor rule that the user makes by oneself at described descriptor rule frame;
The 4th step: click the regular button of interpolation and get final product.
Described user definition definition list procedure of rule may further comprise the steps:
Step 1: select at the interface: edit described table rule at rule editing;
Step 2: at corresponding input frame and fill in the pid value of described table, the title of TableID value and described table;
Step 3: fill in the table rule that the user makes by oneself at the regular frame of described table;
Step 4: click the regular button of interpolation and get final product.
Described step a) is meant that the user edits described descriptor and table rule.
According to the TAG value of described descriptor and the PID and the TableID distinguishing rule of described table.
Described step b) is that program imports described descriptor and table rule by reading described external file when initialization.
It is characterized in that: described step c) be the data that will receive according to the TAG value of described descriptor and the PID and the TableID of described table, in described descriptor rule, search corresponding rule and resolve.
A kind of method for analyzing self-help code stream, the concrete operations step comprises: step 1, receive the user to descriptor with the table rule is edited and be external file with this descriptor and table rale store; Step 2, when program initialization, import described descriptor and table rule by reading described external file; Step 3, with the data that receive differentiation standard according to described descriptor and table, in described descriptor rule, search corresponding rule and resolve.
The TAG value that described differentiation standard is described descriptor and the PID and the TableID of described table.
The invention has the beneficial effects as follows, with descriptor and table rale store is external file, can carry out editing specification and table rule by User Defined, realized that the user can arbitrarily increase and decrease the function of revising descriptor and table rule, the user has been possessed do not revise code stream analysis software and add the proprietary protocol analysis ability fast.
[description of drawings]
Fig. 1 is the workflow diagram of method for analyzing self-help code stream.
[embodiment]
As shown in Figure 1, a kind of method for analyzing self-help code stream of embodiment of the present invention, not that descriptor and table rule are built in the code, but according to certain form with descriptor and the table rale store be external file, the user can edit being stored in outside file by self-defined, arbitrarily descriptor and table rule are revised in increase and decrease, make the user possess the analysis ability that need not revise code stream analysis software and can quick and precisely add proprietary protocol.Import described descriptor and table rule by reading external file when program initialization, each rule is distinguished with the TAG value of descriptor and the PID and the TableID of table.Code stream analyzing method can be analyzed and be combined into after the single Section data again according to the TAG value of its descriptor and the PID and the TableID of table,, search corresponding rule in the descriptor rule the inside that imports the data that receive are resolved.
User Defined descriptor process comprises the steps:
The first step: select at the interface: editing specification sub-rule at rule editing.
Second step: at corresponding input frame and fill in the title of descriptor Tag value and descriptor (the software Tag value of can basis in code stream analyzing filling in determine it is user-defined this descriptor rule of employing, if the Tag value equates, then can adopt user-defined this rule to resolve corresponding descriptor, and the real user descriptor title of filling in)
The 3rd step: fill in the descriptor rule that the user makes by oneself at descriptor rule frame.
Below illustrate down:
The privately owned descriptor that following descriptor is wanted to add for the user (its form of presentation is according to the statement of international literature convention):
The descriptor name is called: My_descriptor
My_descriptor()
{
descriptor_tag 8?uimsbf
descriptor_length 8?uimsbf
reserved_future_use 4?bslbf
my_content 4?uimsbf
my_component_type 8?uimsbf
my_component_tag 8?uimsbf
ISO_639-2_language_code 24?bslbf
char_length 8?uimsbf
for(i=0;i<N;i++)
{
my?text?char 8?uimsbf
}
if(char_length==0)
{
single_char 8?uimsbf
}
}
The user only need insert following content in regular frame when this privately owned descriptor of interpolation is regular:
reserved_future_use 4
my_content 4
my_component_type 8
my_component_tag 8
ISO_639-2_language_code 24
char_length 8
for?char_length
{
my_text_char 8
}
if(char_length==0)
{
single_char 8
}
Can see, be changed to:
A1 has removed general two in front:
descriptor_tag 8?uimsbf
descriptor_length 8?uimsbf
B1 has removed every shared figure place unit: uimsbf or bslbf
C1 for length of the cycle control variables is revised as its physical length control variables char_length (if for circulation is not then filled in the length control variables for the descriptor residue length)
The 4th step: click the regular button of interpolation and get final product.If (descriptor that has had identical Tag value, software can be made prompting, the user can select to delete original descriptor rule)
User Defined table procedure of rule:
Step 1: select at the interface: editor's table rule at rule editing.
Step 2: at corresponding input frame and fill in the pid value of table, (software can determine it is to adopt user-defined this to show rule according to pid value of filling in and TableID value to the TableID value when resolving code stream with the title of showing, if the Tag value equates, then can adopt user-defined this rule to resolve corresponding table, and the title of the table filled in of real user)
Step 3: fill in the table rule that the user makes by oneself at the regular frame of table.
Below illustrate:
Following table rule is wanted the privately owned table (its form of presentation is explained according to the international literature convention) that adds for the user:
service_description_section()
{
table_id 8?uimsbf
section_syntax_indicator 1?bslbf
reserved_future_use 1?bslbf
reserved 2?bslbf
section_length 12?uimsbf
transport_stream_id 16?uimsbf
reserved 2?bslbf
version_number 5?uimsbf
current?next?indicator 1?bslbf
section_number 8?uimsbf
last_section_number 8?uimsbf
original_network_id 16?uimsbf
reserved_future_use 8?bslbf
for(i=0;i<N;i++)
{
service_id 16?uimsbf
reserved_future_use 6?bslbf
EIT_schedule_flag 1?bslbf
EIT_present_following_flag 1?bslbf
running_status 3?uimsbf
free_CA_mode 1?bslbf
descriptors_loop_length 12?uimsbf
for(j=0;j<N;j++)
{
descriptor()
}
}
CRC_32 32?rpchof
}
The user only need insert following content in regular frame when this privately owned table of interpolation is regular:
table_id 8
section_syntax_indicator 1
reserved_future_use 1
reserved 2
section_length 12
transport_stream_id 16
reserved 2
version_number 5
current?nextindi?cator 1
section_number 8
last_section_number 8
original_network_id 16
reserved_future_use 8
for
{
service_id 16
reserved_future_use 6
EIT_schedule_flag 1
EIT_present_following_flag 1
running_status 3
free_CA_mode 1
descriptors_loop_length 12
for?descriptors_loop_length
{
descriptor()
}
}
CRC_32 32
Can see, be changed to:
A2 has removed every shared figure place unit: uimsbf or bslbf
B2 for length of the cycle control variables is revised as its physical length control variables char_length (if for circulation is not then filled in the length control variables for the descriptor residue length)
Step 4: click the regular button of interpolation and get final product.(if when having had the table of identical PID and TableID, software can be made prompting, and the user can select to delete original table rule)
Shown in the workflow diagram of Fig. 1 this analysis method, at first will resolve the code stream simulation and give out a contract for a project, receive TS bag back decomposition data to Filter, after receiving complete Section, in the DVB agreement, look for corresponding resolution rules; Then in the User Defined form, look for corresponding resolution rules, after finding,, make up basic PSI/SI information, make up EPGNVOD and basic programme information and primary data information (pdi) according to user definition rule parsing data and storage, thus the display analysis result; After in the User Defined form, not finding corresponding resolution rules, then show initial data, make up basic PSI/SI information, make up EPGNVOD and basic programme information, thus display result.When not having the User Defined form, then resolving the code stream simulation gives out a contract for a project, receive TS bag back decomposition data to Filter, after receiving complete Section, in the DVB agreement, look for corresponding resolution rules and according to standard DVB protocol analysis data and storage, make up basic PSI/SI information, make up EPGNVOD and basic programme information and primary data information (pdi), thus display result.
According to the present invention, the user can concisely edit the carrying out of descriptor and table rule, and the descriptor that the user can have been edited imports new rule base again with the table rule, thereby has realized the User Defined rule functional.The description syntax format that the descriptor of this analysis method and table rule description grammer are gone together to descriptor and table rule on the inside and outside DVB documents and materials of reserving state as much as possible, like this, when the user adds new descriptor with the table rule, substantially do not need to revise, the user can use this analysis method fast.
Along with Digital Television is popularized at home, various places are in order to realize local the application, a large amount of proprietary protocols that adopt, the design that this method has adopted analysis software and descriptor to separate with the table rule, realized that the user arbitrarily increases and decreases the function of revising descriptor and table rule, the user has been possessed do not revise code stream analysis software and add the proprietary protocol analysis ability fast.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a method for analyzing self-help code stream is characterized in that: comprise the steps:
A), accept the input of user to user definition rule;
B), when program is initial, described user definition rule is imported;
C), when data processing is arranged by described user definition rule parsing.
2. method for analyzing self-help code stream according to claim 1 is characterized in that: described user definition rule is descriptor and table rule, and described user definition rale store is an external file.
3. method for analyzing self-help code stream according to claim 2 is characterized in that: described user definition descriptor procedure of rule may further comprise the steps:
The first step: select at the interface: edit described descriptor rule at rule editing;
Second step: in the corresponding input frame and the title of filling in described descriptor Tag value and described descriptor;
The 3rd step: fill in the descriptor rule that the user makes by oneself at described descriptor rule frame;
The 4th step: click the regular button of interpolation and get final product.
4. method for analyzing self-help code stream according to claim 2 is characterized in that: described user definition definition list procedure of rule may further comprise the steps:
Step 1: select at the interface: edit described table rule at rule editing;
Step 2: at corresponding input frame and fill in the pid value of described table, the title of TableID value and described table;
Step 3: fill in the table rule that the user makes by oneself at the regular frame of described table;
Step 4: click the regular button of interpolation and get final product.
5. method for analyzing self-help code stream according to claim 1 is characterized in that: described step a) is meant that the user edits described descriptor and table rule.
6. method for analyzing self-help code stream according to claim 2 is characterized in that: according to the TAG value of described descriptor and the PID and the TableID distinguishing rule of described table.
7. according to the described method for analyzing self-help code stream of claim 1~2, it is characterized in that: described step b) is that program imports described descriptor and table rule by reading described external file when initialization.
8. method for analyzing self-help code stream according to claim 1, it is characterized in that: it is characterized in that: described step c) be the data that will receive according to the TAG value of described descriptor and the PID and the TableID of described table, in described descriptor rule, search corresponding rule and resolve.
9. method for analyzing self-help code stream, it is characterized in that: the concrete operations step comprises: step 1, receive the user to descriptor with the table rule is edited and be external file with this descriptor and table rale store; Step 2, when program initialization, import described descriptor and table rule by reading described external file; Step 3, with the data that receive differentiation standard according to described descriptor and table, in described descriptor rule, search corresponding rule and resolve.
10. method for analyzing self-help code stream according to claim 9 is characterized in that: the TAG value that described differentiation standard is described descriptor and the PID and the TableID of described table.
CNA2007103058220A 2007-12-27 2007-12-27 Method for analyzing self-help code stream Pending CN101472165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007103058220A CN101472165A (en) 2007-12-27 2007-12-27 Method for analyzing self-help code stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007103058220A CN101472165A (en) 2007-12-27 2007-12-27 Method for analyzing self-help code stream

Publications (1)

Publication Number Publication Date
CN101472165A true CN101472165A (en) 2009-07-01

Family

ID=40829237

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007103058220A Pending CN101472165A (en) 2007-12-27 2007-12-27 Method for analyzing self-help code stream

Country Status (1)

Country Link
CN (1) CN101472165A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073534A (en) * 2011-02-24 2011-05-25 深圳市同洲电子股份有限公司 Data analysis method and device
CN103024515A (en) * 2012-12-10 2013-04-03 康佳集团股份有限公司 Code stream analytical method and system capable of leading in descriptor format from outside

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073534A (en) * 2011-02-24 2011-05-25 深圳市同洲电子股份有限公司 Data analysis method and device
CN102073534B (en) * 2011-02-24 2014-07-30 深圳市同洲电子股份有限公司 Data analysis method and device
CN103024515A (en) * 2012-12-10 2013-04-03 康佳集团股份有限公司 Code stream analytical method and system capable of leading in descriptor format from outside

Similar Documents

Publication Publication Date Title
CN111666526B (en) Page generation method, device, equipment and storage medium
US8762834B2 (en) User interface for defining a text file transformation
CN101998167B (en) Electronic program guide (EPG) display management method and system
US20140304307A1 (en) Framework for Media Presentation Playback
US7580957B2 (en) Structured data storage device and structured data storage method
CN101819599B (en) Storage device and recording medium
CN111414166B (en) Code generation method, device, equipment and storage medium
CN102065234B (en) Caption producing and broadcasting method and system based on distributive type caption processing system
CA2945432A1 (en) System and method for the creation and use of visually-diverse high-quality dynamic layouts
CN110515896B (en) Model resource management method, model file manufacturing method, device and system
CN101419614A (en) Video resource clustering method and device
AU2004246532A1 (en) Apparatus and method for organization and interpretation of multimedia data on a recording medium
GB2423387A (en) Application-Generic Sequence Diagram Generator Driven by a Non-Proprietary Language
CN103744987B (en) Video website media asset aggregation method and system based on DOM tree matching
EP1110402A1 (en) Apparatus and method for executing interactive tv applications on set top units
US7512955B2 (en) Method and system for accessing and implementing declarative applications used within digital multi-media broadcast
CN109634610B (en) Interface marking data generation method and device
CN101472165A (en) Method for analyzing self-help code stream
CN102118643A (en) Network subtitle playing system and method
CN109344306A (en) A kind of online junction of field multi-standard meta data customizingization and method of servicing and system
CN103049547A (en) iOS (iphone operation system) page processing method based on IDF (interactive document format)
CN102065230B (en) Networked caption manufacturing and broadcasting system
CN108153527A (en) A kind of configuration method of equipment output resolution ratio
CN104424170A (en) Electronic content data packet postprocessing system and method
Goularte et al. M4Note: a multimodal tool for multimedia annotations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090701