CN102957962B - Monitor method and the device of PSI/SI versions of data in TS stream - Google Patents

Monitor method and the device of PSI/SI versions of data in TS stream Download PDF

Info

Publication number
CN102957962B
CN102957962B CN201210510298.1A CN201210510298A CN102957962B CN 102957962 B CN102957962 B CN 102957962B CN 201210510298 A CN201210510298 A CN 201210510298A CN 102957962 B CN102957962 B CN 102957962B
Authority
CN
China
Prior art keywords
data
user
monitoring
monitor
monitoring module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210510298.1A
Other languages
Chinese (zh)
Other versions
CN102957962A (en
Inventor
孟新红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201210510298.1A priority Critical patent/CN102957962B/en
Publication of CN102957962A publication Critical patent/CN102957962A/en
Application granted granted Critical
Publication of CN102957962B publication Critical patent/CN102957962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and device of monitoring PSI/SI versions of data in TS stream.Described method comprises the steps: to start Demultiplexing device, carries out demultiplexing to TS stream, obtains PSI/SI data; User starts background monitoring module, arranges the monitoring parameter of the data that will monitor, monitoring parameter is transferred to background monitoring module; Whether the version information in PSI/SI data is read on background monitoring module backstage in real time, monitor corresponding versions of data change according to monitoring parameter; When monitoring versions of data corresponding to monitoring parameter and changing, data version information and versioning information are back to user.The present invention unifies monitoring by arranging background monitoring module to versions of data, and notifies user according to user's request in time when version changes, and improves speed and accuracy that multi-user obtains versions of data.

Description

Monitor method and the device of PSI/SI versions of data in TS stream
Technical field
The invention belongs to digital television techniques field, specifically, relate to the data processing technique in digital television techniques field, more particularly, relate to a kind of method and device of monitoring PSI/SI versions of data in TS stream.
Background technology
The digital television receiver such as Set Top Box, all-in-one will realize the renewal of program real time data, online upgrading application program, upgrade the application such as Packet Identifier (PID) change of system time, ciphered program Entitlement Control Message ECM and Entitlement Management Message EMM, all needs PSI(Program Specific Information in Real-Time Monitoring TS stream) and SI(business information) whether versions of data there occurs change.In prior art, when being respectively applied in needs or PSI/SI versions of data, the method usually adopted is that be concerned about list data version is respectively inquired about in each application in PSI/SI, and judges whether version there occurs change.Owing to lacking the unified management to versions of data; when the version of certain or some forms is read in multiple application separately; as easy as rolling off a logly can block other reading of application to identical data version; thus often there will be multiple application and compete same data and cause resource contention, all can not obtain the problem of information needed fast, have impact on the normal operation of application.If application can not be carried out fast, normally, watch experience by what affect digital television receiver user, and then affect the popularization of digital television receiver.
Summary of the invention
The present invention is directed to versions of data in prior art monitor for want of unified management and easily cause the problems referred to above such as resource contention and data jamming, provide a kind of method and apparatus of monitoring PSI/SI versions of data in TS stream, by arranging background monitoring module, monitoring is unified to versions of data, and notify user according to user's request in time when version changes, improve speed and accuracy that multi-user obtains versions of data.
For achieving the above object, the present invention adopts following technical proposals to be achieved:
Monitor a method for PSI/SI versions of data in TS stream, described method comprises the steps:
A1, startup Demultiplexing device, carry out demultiplexing to TS stream, obtain PSI/SI data;
A2, user start background monitoring module, arrange the monitoring parameter of the data that will monitor, monitoring parameter are transferred to background monitoring module;
Whether the version information in PSI/SI data is read on a3, background monitoring module backstage in real time, monitor corresponding versions of data change according to monitoring parameter;
A4, when monitoring versions of data corresponding to monitoring parameter and changing, data version information and versioning information are back to user.
Method as above, for reducing resource occupation, improving other user data version acquisition speeds, also comprising the steps: after described step a4
A5, user have obtained required data version information and versioning information, close described background monitoring module to the function of its back information.
Method as above, in described step a2, the described data that will monitor are program map form data, and described monitoring parameter is the Packet Identifier of program map form data, task identifier and table identifier; The data of monitoring are other types list data, and monitoring parameter is Packet Identifier and the table identifier of all data that will monitor.
Method as above, for simplifying monitoring parameter, reduce parameter size, when the data that will monitor are other types list data, for each data type that will monitor arrange one grand, described monitoring parameter is grand numerical value after logical operation corresponding to all data types that will monitor.
Preferably, the data that monitor are other types list data, and described monitoring parameter is grand numerical value after logic OR computing corresponding to all data types that will monitor.
Method as above, for improving real-time and the accuracy of acquisition of information further, in described step a2, monitoring parameter is transferred to background monitoring module in the mode of registered callbacks function by user; In described step a4, the call back function of background monitoring module invoke user registration, is back to user in the mode of call back function by data version information and versioning information.
For realizing aforementioned invention object, device provided by the invention adopts following technical proposals to realize:
Monitor a device for PSI/SI versions of data in TS stream, described device comprises:
Demultiplexing device, is used for carrying out demultiplexing to TS stream, obtains PSI/SI data;
Monitoring parameter input unit, is used for supplying user to input the monitoring parameter of the data that will monitor;
Whether background monitoring module, is connected with user's monitoring parameter input unit with Demultiplexing device, receives user monitoring parameter, reads the version information in PSI/SI data in real time, and monitor corresponding versions of data according to monitoring parameter and change;
Background monitoring module switch control unit, is connected with user with background monitoring module, is used for carrying out switch control rule for user to background monitoring module;
Monitoring result output unit, is connected with user with background monitoring module, is used for the data version information background monitoring module monitored and versioning information to be back to user.
Device as above, for reducing resource occupation, improve other user data version acquisition speeds, when user has obtained required data version information and versioning information by described monitoring result output unit, close described background monitoring module to the function of its back information by described background monitoring module switch control unit.
Device as above, the monitoring parameter that described monitoring parameter input unit inputs is the Packet Identifier of program map form data, task identifier and table identifier when the described data that will monitor are program map form data, is grand numerical value after logical operation corresponding to all data types that will monitor when the data that will monitor are other types list datas.
Device as above, described monitoring parameter preferably transfers to described background monitoring module in the mode of registered callbacks function; The call back function of background monitoring module invoke user registration, is back to user by data version information and versioning information by described monitoring result output unit in the mode of call back function.
Compared with prior art, advantage of the present invention and good effect are: the present invention unifies monitoring and management on backstage to versions of data by arranging background monitoring module, and monitor when corresponding data version changes pass through user in time according to the monitoring parameter that user is arranged, can ensure that user obtains the change information of desired data version in time, effectively prevent again the obstructing problem caused because of resource contention when multiple user reads identical data version simultaneously, improve user to the real-time of versions of data and accuracy monitoring.
After reading the specific embodiment of the present invention by reference to the accompanying drawings, the other features and advantages of the invention will become clearly.
Accompanying drawing explanation
Fig. 1 is the structured flowchart that the present invention monitors a device embodiment of PSI/SI versions of data in TS stream;
Fig. 2 is the flow chart that the present invention monitors a method embodiment of PSI/SI versions of data in TS stream.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in further detail.
Please refer to Fig. 1, this Figure 1 shows that the present invention monitors the structured flowchart of a device embodiment of PSI/SI versions of data in TS stream.PSI/SI versions of data in the TS stream that this embodiment will be monitored, mainly refer to the version of various list datas in the PSI/SI that various application monitoring in the digital television receiver such as Set Top Box, all-in-one is parsed by the Demultiplexing device in digital television receiver from TS stream and the change of version, and, in this embodiment, the various application of Monitoring Data version the structure of device of PSI/SI versions of data in monitoring TS stream will be described as user.
As shown in Figure 1, in this embodiment monitoring TS stream, the cellular construction included by device of PSI/SI versions of data, annexation each other and function are as follows:
Demultiplexing device 11, is used for carrying out demultiplexing to TS stream, obtains PSI/SI data.
Background monitoring module 12, as the monitoring core of whole device, be connected with Demultiplexing device 11 and monitoring result output unit 13 described below, monitoring parameter input unit 14 and background monitoring module switch control unit 15, receive the monitoring parameter that user 16 is inputted by monitoring parameter input unit 14, version information in the PSI/SI data that real-time reading Demultiplexing device 11 exports, and monitor corresponding versions of data according to monitoring parameter and whether change.
Monitoring parameter input unit 14, is connected with background monitoring module 12 with user 16, is used for inputting the monitoring parameter of the data that will monitor in background monitoring module 12 for user 16.
Monitoring result output unit 13, is connected with user 16 with background monitoring module 12, is used for the data version information background monitoring module 12 monitored and versioning information to be back to user 16.
Background monitoring module switch control unit 15, is connected with user 16 with background monitoring module 12, is used for carrying out switch control rule for user to background monitoring module.
Specifically, when user 16 needs monitoring PSI/SI versions of data, background monitoring module 12 is started by background monitoring module switch control unit 15; And when having obtained PSI/SI data version information, close background monitoring module 12 by background monitoring module switch control unit 15.
It should be noted that, user 16 in this embodiment may be multiple user, be respectively arranged with monitoring parameter input unit 14, background monitoring module switch control unit 15 and monitoring result output unit 13 between each user and background monitoring module 12, each use can control separately per family background monitoring module 12 whether read this user monitoring parameter, whether export monitoring result etc. needed for this user.
And background monitoring module 12 can also provide the monitoring function of opening separately or closing certain versions of data for user, to facilitate the change of user's selectivity monitoring desired data version as required.
Please refer to Fig. 2, this Fig. 2 shows the flow chart that the present invention monitors a method embodiment of PSI/SI versions of data in TS stream.The method of this embodiment, based on the apparatus structure of Fig. 1 embodiment, can realize the unified management of PSI/SI versions of data and the object of automatic message notice user versions of data changed in flowing TS.
As shown in Figure 2, in this embodiment monitoring TS stream, the process of the method for PSI/SI versions of data is as follows:
Step 201: flow process starts.
Step 202: start Demultiplexing device, carry out demultiplexing to TS stream, obtains PSI/SI data.
Step 203: user starts background monitoring module, arranges the monitoring parameter of the data that will monitor, and transfers to background monitoring module.
This process is generally perform in user's initialize routine, in initialization procedure, if need the change of Monitoring Data version, then first starts background monitoring module.User mentioned here starts background monitoring module, refers to and starts the function that background monitoring module is this user service, and background monitoring module may in operation, and the user needing Monitoring Data version to change for other provides service.Then, will the monitoring parameter of the data of monitoring version change be needed to transfer to background monitoring module.In this embodiment, the monitoring parameter of the data monitored is can a mark of unique identification data.Such as, if the data of monitoring are program map form data, then its monitoring parameter is Packet Identifier PID, task identifier serviceID and the table identifier tableid of program map form data, utilizes these identifiers uniquely can determine program map form data.If the data of monitoring are the other types list datas except program map form data, monitoring parameter can be Packet Identifier and the table identifier of all data that will monitor, and these two identifiers all uniquely can determine data corresponding with it.
For the list data of other types, although Packet Identifier and table identifier uniquely can determine data, if the data that will monitor are more, multiple identifier data amount is comparatively large, transmission and recognition speed slow.For simplifying monitoring parameter, reduce parameter size, this embodiment be preferably each data type that will monitor arrange one grand, this is grand is the parameter of 32 bit lengths defined according to the Packet Identifier of data and table identifier.Then, using grand numerical value after logical operation corresponding for all data types that will monitor as monitoring parameter, preferably through or computing after numerical value.Like this, result data after logical operation only just can identify multiple data that will monitor with the numerical value of one 32, this numerical value of background monitoring module management, and can analyze according to the Handshake Protocol between user user transmission monitoring parameter, according to monitoring parameter identify user need monitor version change list data.After adopting in this way, user also only needs the parameter arranging 32, and it is extremely convenient to use.
And in this embodiment, for improving real-time and the accuracy of acquisition of information, monitoring parameter is transferred to background monitoring module in the mode of registered callbacks function by user.
Step 204: background monitoring module, after starting and receive monitoring parameter, reads the version information in the PSI/SI data that Demultiplexing device demultiplexing goes out in real time on backstage.And judge whether its version there occurs change, and mainly whether version upgrades according to the old version information of the related data stored.
Step 205: judge whether the versions of data that monitoring parameter is corresponding changes.If change, perform step 206; Otherwise, go to step 204, carry out acquisition and the judgement of version.
Step 206: when the versions of data corresponding to monitoring parameter changes, data version information and versioning information are back to user by background monitoring module.
If user have registered call back function, the version information of versioning information and current data is returned to user by the mode of call back function by background monitoring module in the lump, so that user knows the version situation of change of the data that will monitor in time, and perform relevant operational according to versions of data change.
In order to user knows the data that version changes more comprehensively, the information such as data type, size of data can also be passed to user by background monitoring module in the lump.
Step 207: user has obtained information needed, closes background monitoring module to the function of its back information.
For reducing backstage resource occupation, obtaining information needed certain user, when no longer needing Monitoring Data version change, then closedown background monitoring module is to the function of its back information.Like this, background monitoring module does not just need monitoring for this user monitoring versions of data situation of change, only can process the request that other also exist the user of data monitoring requirement, can improve other user data version acquisition speeds.
Step 208: flow process terminates.
Said process only describes the process of its monitoring PSI/SI versions of data for user versions of data monitoring.After this secondary data version observation process of end, user can start the function that background monitoring module is served it as required at any time in its running, the relevant monitoring parameter will monitoring the data of version change is sent to background monitoring module, and then can be known the version situation of change of the data that will monitor in time by background monitoring module.
User utilizes backstage monitoring modular except can monitoring the situation of change of PSI/SI versions of data, if need the change of monitoring system time, also can in background monitoring module Accreditation System time call back function, system time monitoring parameter is transferred to background monitoring module.Background monitoring module, then can with the change of call back function method notice custom system time and present system time when monitoring system time and changing.
Above embodiment only in order to technical scheme of the present invention to be described, but not is limited; Although with reference to previous embodiment to invention has been detailed description, for the person of ordinary skill of the art, still can modify to the technical scheme described in previous embodiment, or equivalent replacement is carried out to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of the present invention's technical scheme required for protection.

Claims (7)

1. monitor a method for PSI/SI versions of data in TS stream, it is characterized in that, described method comprises the steps:
A1, startup Demultiplexing device, carry out demultiplexing to TS stream, obtain PSI/SI data;
A2, user start background monitoring module, arrange the monitoring parameter of the data that will monitor, monitoring parameter are transferred to background monitoring module; The described data that will monitor are program map form data, and described monitoring parameter is the Packet Identifier of program map form data, task identifier and table identifier; When the data of monitoring are other types list data, for each data type that will monitor arranges the grand of a Packet Identifier according to all data that will monitor and table identifier definition, described monitoring parameter is grand numerical value after logical operation corresponding to all data types that will monitor;
Whether the version information in PSI/SI data is read on a3, background monitoring module backstage in real time, monitor corresponding versions of data change according to monitoring parameter;
A4, when monitoring versions of data corresponding to monitoring parameter and changing, data version information and versioning information are back to user.
2. method according to claim 1, is characterized in that, also comprises the steps: after described step a4
A5, user have obtained required data version information and versioning information, close described background monitoring module to the function of its back information.
3. method according to claim 1, it is characterized in that, when the data of monitoring are other types list data, for each data type that will monitor arrange one grand, described monitoring parameter is grand numerical value after logic OR computing corresponding to all data types that will monitor.
4. according to the method in any one of claims 1 to 3, it is characterized in that, in described step a2, monitoring parameter is transferred to background monitoring module in the mode of registered callbacks function by user; In described step a4, the call back function of background monitoring module invoke user registration, is back to user in the mode of call back function by data version information and versioning information.
5. monitor a device for PSI/SI versions of data in TS stream, it is characterized in that, described device comprises:
Demultiplexing device, is used for carrying out demultiplexing to TS stream, obtains PSI/SI data;
Monitoring parameter input unit, is used for supplying user to input the monitoring parameter of the data that will monitor; Described monitoring parameter is the Packet Identifier of program map form data, task identifier and table identifier when the described data that will monitor are program map form data, is grand numerical value after logical operation corresponding to all data types that will monitor when the data that will monitor are other types list datas; Described grand grand for according to the Packet Identifier of all data that will monitor and table identifier definition;
Whether background monitoring module, is connected with user's monitoring parameter input unit with Demultiplexing device, receives user monitoring parameter, reads the version information in PSI/SI data in real time, and monitor corresponding versions of data according to monitoring parameter and change;
Background monitoring module switch control unit, is connected with user with background monitoring module, is used for carrying out switch control rule for user to background monitoring module;
Monitoring result output unit, is connected with user with background monitoring module, is used for the data version information background monitoring module monitored and versioning information to be back to user.
6. device according to claim 5, it is characterized in that, when user has obtained required data version information and versioning information by described monitoring result output unit, close described background monitoring module to the function of its back information by described background monitoring module switch control unit.
7. the device according to claim 5 or 6, is characterized in that, described monitoring parameter transfers to described background monitoring module in the mode of registered callbacks function; The call back function of background monitoring module invoke user registration, is back to user by data version information and versioning information by described monitoring result output unit in the mode of call back function.
CN201210510298.1A 2012-12-04 2012-12-04 Monitor method and the device of PSI/SI versions of data in TS stream Active CN102957962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210510298.1A CN102957962B (en) 2012-12-04 2012-12-04 Monitor method and the device of PSI/SI versions of data in TS stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210510298.1A CN102957962B (en) 2012-12-04 2012-12-04 Monitor method and the device of PSI/SI versions of data in TS stream

Publications (2)

Publication Number Publication Date
CN102957962A CN102957962A (en) 2013-03-06
CN102957962B true CN102957962B (en) 2015-12-02

Family

ID=47766104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210510298.1A Active CN102957962B (en) 2012-12-04 2012-12-04 Monitor method and the device of PSI/SI versions of data in TS stream

Country Status (1)

Country Link
CN (1) CN102957962B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410895B (en) * 2014-12-17 2018-01-09 青岛海信宽带多媒体技术有限公司 Realize the method and device of DVB data multimode distribution

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6157673A (en) * 1996-12-26 2000-12-05 Philips Electronics North America Corp. Fast extraction of program specific information from multiple transport streams
EP2007137A2 (en) * 1996-05-31 2008-12-24 Thomson Consumer Electronics, Inc. Packetized data formats for digital data storage media
CN101753914A (en) * 2009-12-21 2010-06-23 康佳集团股份有限公司 Method for obtaining digital television program guide
CN102075804A (en) * 2010-12-29 2011-05-25 青岛海信宽带多媒体技术有限公司 Method and device for acquiring SI data
CN102098569A (en) * 2011-02-12 2011-06-15 博视联(苏州)信息科技有限公司 Segment data distributing system of PSI/SI (program specific information/service information) table of digital television set top box and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2007137A2 (en) * 1996-05-31 2008-12-24 Thomson Consumer Electronics, Inc. Packetized data formats for digital data storage media
US6157673A (en) * 1996-12-26 2000-12-05 Philips Electronics North America Corp. Fast extraction of program specific information from multiple transport streams
CN101753914A (en) * 2009-12-21 2010-06-23 康佳集团股份有限公司 Method for obtaining digital television program guide
CN102075804A (en) * 2010-12-29 2011-05-25 青岛海信宽带多媒体技术有限公司 Method and device for acquiring SI data
CN102098569A (en) * 2011-02-12 2011-06-15 博视联(苏州)信息科技有限公司 Segment data distributing system of PSI/SI (program specific information/service information) table of digital television set top box and method thereof

Also Published As

Publication number Publication date
CN102957962A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN101325597B (en) Method, apparatus and system for processing data
CN103888833B (en) A kind of smart television accesses the method and system of TV programme and application program
CN103281373A (en) Home gateway intelligent upgrading device and upgrading method
CN110113381A (en) The method and device of theme is subscribed in a kind of block chain
CN106210827B (en) A kind of method and system of the more CA of dynamic configuration set-top box
CN103220342B (en) A kind of method of mobile terminal device group remote synchronization more new procedures
CN101540687A (en) Remote wake up method, host computers capable of being waken up remotely and wakeup management server
CN105009674B (en) Method and apparatus for the connection between client and server
CN104503429A (en) Track traffic vehicle static-state test data automatic processing method and apparatus
CN102830799B (en) Method for carrying out induction on induction device based on intelligent terminal and intelligent terminal
CN102957962B (en) Monitor method and the device of PSI/SI versions of data in TS stream
CN101193098A (en) Data update method, system, server and terminal for electronic guidance
CN108419108A (en) Sound control method, device, remote controler and computer storage media
CN104778041A (en) Management method and management system for multi-program shared speech equipment
CN105740391A (en) Vehicle-mounted MOST multi-ring network based advertisement pushing system and method
CN101340370A (en) Link selection method and apparatus
CN100596126C (en) A wireless packet domain gateway performance self-adapting method and device
CN107396185A (en) Upgrade method and system
CN101291419A (en) Authorizing and descrambling method and apparatus in CAS of mobile multimedia broadcast
JP5532981B2 (en) Network management device
CN104361437A (en) Quality inspection and management method of diversified data interfaces and quality inspection and management system of diversified data interfaces
CN100384285C (en) Method for testing apparatus management service system
CN107517392A (en) The system and method that seamless connection plays between multithread source of media
CN104243253B (en) The control method and system of a kind of client access device
CN202177823U (en) GPRS remote engine ECU (Electronic Control Unit) programming device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant