CN106874002A - A kind of method that visualization TS flow table lattice data creatings are realized based on Java language - Google Patents
A kind of method that visualization TS flow table lattice data creatings are realized based on Java language Download PDFInfo
- Publication number
- CN106874002A CN106874002A CN201710086274.0A CN201710086274A CN106874002A CN 106874002 A CN106874002 A CN 106874002A CN 201710086274 A CN201710086274 A CN 201710086274A CN 106874002 A CN106874002 A CN 106874002A
- Authority
- CN
- China
- Prior art keywords
- data
- list
- visualization
- flow table
- creatings
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method that visualization TS flow table lattice data creatings are realized based on Java language, its implementation process is:The visualization interface on foreground and the processing module on backstage are configured, wherein foreground visualization interface changes data based on the JFrame of Java according to the demand typing to TS code stream list datas;The processing module on backstage makes the list data of TS code streams according to the specification of TS code streams list data definition, ultimately generates the file that suffix is TS forms.A kind of method for realizing visualization TS flow table lattice data creatings based on Java language of the invention is compared with prior art, so that staff is not required to flow form data to the TS that scene can also be according to needed for the specification of operator's offer synthesizes oneself, and the Visual Implementation scheme is not related to writing for any code and script, any desired people is set quickly to synthesize the TS stream form datas of oneself needs, it is practical, it is applied widely, with good application value.
Description
Technical field
The present invention relates to cable television TS host-host protocol technical fields, specifically one kind can based on Java language realization
Method depending on changing TS flow table lattice data creatings.
Background technology
Cable television is made at present is based on the research and development debugging of TS stream list datas, it is necessary to the related personnel such as test to live,
The TS streams of locality are recorded under local operator's signal cover, the research and development debugging of inside is then available to, or even need
Research staff arrives local operator and is debugged in person.
In the demand of user, to scene record code stream or to scene do research and development debugging, all greatly waste the time,
Manpower, and inefficiency.
If a kind of method can be the form data of the TS streams needed for we fill in, TS code streams are automatically generated, then
Above mentioned problem is then solved well.
Based on this, the invention provides a kind of method that visualization TS flow table lattice data creatings are realized based on Java language.
The method can be with time-consuming, manpower, but the TS that also oneself make without being reached the spot flows, and is greatly improved efficiency.
The content of the invention
Technical assignment of the invention is directed to above weak point, there is provided one kind realizes visualization TS streams based on Java language
The method that list data makes.
A kind of method that visualization TS flow table lattice data creatings are realized based on Java language, its implementation process is:
The visualization interface on foreground and the processing module on backstage are configured, wherein foreground visualization interface is with the JFrame of Java as base
Plinth, data are changed according to the demand typing to TS code stream list datas;
The processing module on backstage makes the list data of TS code streams according to the specification of TS code streams list data definition, ultimately generates
Suffix is the file of TS forms.
In the processing module on backstage, the TS code stream list datas definition standard of foundation includes the form number that operator provides
According to specification or PSI/SI general specifications.
It is determined that after specification, after the processing module on backstage obtains the information that user fills in, according to specification by default information with
User's fill message is stored in array in order, and default information here refers to that the composition for analyzing form data message according to specification sets
The default data put.
The list data of the making TS code streams refers to the data message for synthesizing all bags of list data first, subsequent basis
The multinomial algorithm of CRC32-Mepg2, calculates the CRC32 of data message, after synthesis list data information, with other video codes
Stream merges multiplexing.
Generate TS formatted files process be:Definition tables data message first, and the information is advised according to form data
Model splits into binary system bit, then sequentially arranges, and array is write data into units of byte, then by array
Data do the verification of CRC32-Mepg2, during 4 check codes of byte are write into array again;Will finally by the mode of output stream
The data of array do the write-in of binary file, and generation suffix is the binary file of TS.
The definition procedure of the list data information is:TS packet header is the length of 4 bytes, i.e. 32bit, and the first byte is solid
It is set to 0x47, is sequentially defined according to TS code stream list data definition standards and fixed value is given tacit consent in 4 bytes in TS packet header
Bit;Behind TS packet header, since the second byte, start definition tables data message, according to table specification information, definition acquiescence
Bit.
The TS formatted files generated in above-mentioned steps are single TS streams containing list data, and this TS streams include required number
According to when in use, in addition it is also necessary to which the TS for flowing splicing or generation by order and other TS again flows itself constantly duplication multiplexing, generation
TS stream files containing several identical list datas.
A kind of method and prior art phase that visualization TS flow table lattice data creatings are realized based on Java language of the invention
Than having the advantages that:
A kind of method that visualization TS flow table lattice data creatings are realized based on Java language that the present invention is provided so that staff
It is not required to flow form data, and the Visual Implementation side to the TS that scene can also be according to needed for the specification of operator's offer synthesizes oneself
Case is not related to writing for any code and script, and the TS flow tables lattice that making any desired people can quickly synthesize oneself needs are believed
Breath, it is practical, it is applied widely, with good application value.
Brief description of the drawings
Accompanying drawing 1 realizes flow chart for of the invention.
Accompanying drawing 2 is the specification schematic diagram of list data in the present invention.
The specification schematic diagram in TS packet header of the accompanying drawing 3 defined in the present invention.
Specific embodiment
With reference to specific embodiment, the invention will be further described.
As shown in Figure 1, it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, the present invention according to
According to the specification that TS code streams list data is defined, the list data of TS code streams is made, ultimately generate the file that suffix is TS forms.
Instrument after the method is realized provides visualization interface, the personnel of operation is not related to any code and script
Write.Demand that can be according to us to TS code stream list datas is modified to it, and generates the TS code streams of our needs.
Its implementation process is:
The visualization interface on foreground and the processing module on backstage are configured, wherein foreground visualization interface is with the JFrame of Java as base
Plinth, data are changed according to the demand typing to TS code stream list datas;
The processing module on backstage makes the list data of TS code streams according to the specification of TS code streams list data definition, ultimately generates
Suffix is the file of TS forms.
In the processing module on backstage, the TS code stream list datas definition standard of foundation includes the form number that operator provides
According to specification or PSI/SI general specifications.
It is determined that after specification, after the processing module on backstage obtains the information that user fills in, according to specification by default information with
User's fill message is stored in array in order, and default information here refers to that the composition for analyzing form data message according to specification sets
The default data put.
The list data of the making TS code streams refers to the data message for synthesizing all bags of list data first, subsequent basis
The multinomial algorithm of CRC32-Mepg2, calculates the CRC32 of data message, after synthesis list data information, with other video codes
Stream merges multiplexing.
The composition of form data message is analyzed according to specification, default data is set, and sets TS bags according to mepg2 specifications
Head, such as a kind of list data(network_information_section)Specification as shown in Figure 2;Advised according to mepg2
Model, the specification in the TS packet header of definition, the definition of the specification is as shown in Figure 3.
Generate TS formatted files process be:
TS packet header is 4 bytes(32bit)Length, and the first byte is fixed as 0x47(TS bags are identified), pressed according to above-mentioned specification
Bit that fixed value is given tacit consent in 4 bytes in sequencing definition TS packet header.
Behind TS packet header, since the second byte, definition tables data message can be started, according to table specification information, definition
Bit of acquiescence.
The form data that will fill in, binary system bit is split into according to form data specification, is sequentially arranged, with word
Save as unit writes data into array, then the data in array are done the verification of CRC32-Mepg2, by 4 check codes of byte
In writing array again.The data of array are done the write-in of binary file finally by the mode of output stream, generation suffix is TS
Binary file.According to the specification that cable television TS transport streams are defined, a TS bag is 188 bytes, if list data is more than
188 bytes, then will be divided into two or more TS bags and be transmitted.
So far, list data has synthesized and has finished.But only and synthesize single TS streams containing list data, this TS flows
Included data required for us.But the TS streams of this synthesis in actual use are smaller, broadcast equipment and typically cannot
Broadcast less TS streams.Itself constantly replicate multiple accordingly, it would be desirable to flow the TS for splicing or generating with other TS by order again and flow
With, larger TS stream file of the generation containing multiple identical list datas, since then, TS streams just can be used.
By specific embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to above-mentioned specific embodiment.On the basis of disclosed embodiment, the technical field
Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.
Claims (7)
1. it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, it is characterised in that its implementation process
For:
The visualization interface on foreground and the processing module on backstage are configured, wherein foreground visualization interface is with the JFrame of Java as base
Plinth, data are changed according to the demand typing to TS code stream list datas;
The processing module on backstage makes the list data of TS code streams according to the specification of TS code streams list data definition, ultimately generates
Suffix is the file of TS forms.
2. it is according to claim 1 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
It is characterised by, in the processing module on backstage, the TS code stream list datas definition standard of foundation includes the form that operator provides
Data standard or PSI/SI general specifications.
3. it is according to claim 2 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
Be characterised by, it is determined that after specification, after the processing module on backstage obtains the information that user fills in, according to specification by default information with
User's fill message is stored in array in order, and default information here refers to that the composition for analyzing form data message according to specification sets
The default data put.
4. it is according to claim 1 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
It is characterised by, the list data of the making TS code streams refers to the data message for synthesizing all bags of list data first, subsequent root
According to the multinomial algorithm of CRC32-Mepg2, the CRC32 of data message is calculated, after synthesis list data information, with other videos
Code stream merges multiplexing.
5. it is according to claim 4 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
It is characterised by, the process for generating TS formatted files is:Definition tables data message first, and the information is advised according to form data
Model splits into binary system bit, then sequentially arranges, and array is write data into units of byte, then by array
Data do the verification of CRC32-Mepg2, during 4 check codes of byte are write into array again;Will finally by the mode of output stream
The data of array do the write-in of binary file, and generation suffix is the binary file of TS.
6. it is according to claim 5 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
It is characterised by, the definition procedure of the list data information is:TS packet header is the length of 4 bytes, i.e. 32bit, and the first byte
0x47 is fixed as, fixed value is given tacit consent in 4 bytes that TS packet header is sequentially defined according to TS code stream list data definition standards
Bit;Behind TS packet header, since the second byte, start definition tables data message, according to table specification information, definition is silent
Bit for recognizing.
7. it is according to claim 5 it is a kind of based on Java language realize visualization TS flow table lattice data creatings method, its
It is characterised by, the TS formatted files generated in above-mentioned steps are single TS streams containing list data, and this TS streams include required
Data, when in use, in addition it is also necessary to which the TS for flowing splicing or generation by order and other TS again flows itself constantly duplication multiplexing, raw
Into the TS stream files containing several identical list datas.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086274.0A CN106874002A (en) | 2017-02-17 | 2017-02-17 | A kind of method that visualization TS flow table lattice data creatings are realized based on Java language |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086274.0A CN106874002A (en) | 2017-02-17 | 2017-02-17 | A kind of method that visualization TS flow table lattice data creatings are realized based on Java language |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106874002A true CN106874002A (en) | 2017-06-20 |
Family
ID=59166755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710086274.0A Pending CN106874002A (en) | 2017-02-17 | 2017-02-17 | A kind of method that visualization TS flow table lattice data creatings are realized based on Java language |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106874002A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779390A (en) * | 2007-06-29 | 2010-07-14 | Lg电子株式会社 | Broadcast receiving system and method for processing broadcast signals |
CN101809997A (en) * | 2007-07-02 | 2010-08-18 | Lg电子株式会社 | Broadcasting receiver and broadcast signal processing method |
CN103024518A (en) * | 2012-12-24 | 2013-04-03 | 青岛海信宽带多媒体技术有限公司 | Generation method and generation device of network information table transport stream |
-
2017
- 2017-02-17 CN CN201710086274.0A patent/CN106874002A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779390A (en) * | 2007-06-29 | 2010-07-14 | Lg电子株式会社 | Broadcast receiving system and method for processing broadcast signals |
CN101809997A (en) * | 2007-07-02 | 2010-08-18 | Lg电子株式会社 | Broadcasting receiver and broadcast signal processing method |
CN103024518A (en) * | 2012-12-24 | 2013-04-03 | 青岛海信宽带多媒体技术有限公司 | Generation method and generation device of network information table transport stream |
Non-Patent Citations (1)
Title |
---|
夏刊 等: ""TS流复用的软件实现"", 《2005国际有线电视技术研讨会》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104253999B (en) | Apparatus and method for transmission content | |
CN101981617B (en) | Method and apparatus for generating additional information bit stream of multi-object audio signal | |
CN105430537A (en) | Method and server for synthesis of multiple paths of data, and music teaching system | |
CN105981391A (en) | Transmission device, transmission method, reception device, reception method, display device, and display method | |
JP6323518B2 (en) | Transmitting apparatus, transmitting method, receiving apparatus, and receiving method | |
TW200541347A (en) | Data insertion apparatus and methods for use with compressed audio/video data | |
JP4354957B2 (en) | Broadcast content transmission apparatus, broadcast content transmission system, broadcast content transmission method and program | |
WO2017219980A1 (en) | Played picture generation method, apparatus, and system | |
CN108235052A (en) | Multi-audio-frequency channel hardware audio mixing, acquisition and the method for broadcasting may be selected based on IOS | |
CN105516090A (en) | Media play method, device and music teaching system | |
JP2021107943A (en) | Reception apparatus and reception method | |
CN102819851B (en) | Method for implementing sound pictures by using computer | |
EP3288025A1 (en) | Transmission device, transmission method, reception device, and reception method | |
CN113301295A (en) | Multi-picture video data processing method, device, computer equipment and storage medium | |
CN106331853A (en) | Multimedia de-packaging method and apparatus | |
JP2019110541A (en) | Information processing apparatus and information processing method | |
CN106874002A (en) | A kind of method that visualization TS flow table lattice data creatings are realized based on Java language | |
CN103177720A (en) | Signal processing device, signal processing method, program, recording medium, and signal processing system | |
JPWO2008044306A1 (en) | Method and apparatus for creating DVB-H signal having desired bit rate | |
CN102047662B (en) | Encoder | |
TWI323611B (en) | ||
CN104902192A (en) | Transmission method and equipment for multipath signals | |
CN108391064A (en) | A kind of video clipping method and device | |
CN114512152A (en) | Method, device and equipment for generating broadcast audio format file and storage medium | |
KR20080099094A (en) | Scalable coding apparatus and method, scalable decoding apparatus and method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170620 |