CN101442552B - Configuration and synchronization method for distributed SIG system - Google Patents

Configuration and synchronization method for distributed SIG system Download PDF

Info

Publication number
CN101442552B
CN101442552B CN 200810208121 CN200810208121A CN101442552B CN 101442552 B CN101442552 B CN 101442552B CN 200810208121 CN200810208121 CN 200810208121 CN 200810208121 A CN200810208121 A CN 200810208121A CN 101442552 B CN101442552 B CN 101442552B
Authority
CN
China
Prior art keywords
transport stream
file
network
information
stream identification
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.)
Expired - Fee Related
Application number
CN 200810208121
Other languages
Chinese (zh)
Other versions
CN101442552A (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.)
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI DIGIVISION 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 SHANGHAI DIGIVISION TECHNOLOGY Co Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CN 200810208121 priority Critical patent/CN101442552B/en
Publication of CN101442552A publication Critical patent/CN101442552A/en
Application granted granted Critical
Publication of CN101442552B publication Critical patent/CN101442552B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a configuration synchronization method for a distributed SIG system, which is used for automatically realizing configuration synchronization of the SIG system. The method comprises the following steps: the SIG system reads a configuration file of the network to obtain the range of a network identification and a transport stream identification; an information synchronizntion file obtained from the network is read to generate a data structure; according to the network identification of the information synchronizntion file, whether the information synchronizntion file is within the network identification range of the configuration file is judged; if the network identification is not within the range, the procedure is directly finished; if the network identification is within the range regulated by the configuration file, the content of the database is read; the information of the database and the information of the information synchronizntion file are ergodically contrasted to generate information which needs to be updated by the database; and the database is updated.

Description

The configuration and synchronization method of distributed SIG system
Technical field
The present invention relates to data television head end information management technique, especially relate to the configuration and synchronization method of distributed SIG system.
Background technology
Be applied at present (the Service Information Generator of head end SIG system of TV operation, the business information configuration-system) comprises three networks, add the regional network of each specific region of preparing construction, each network has own specific SI (business information) configuration.Separate between each network, data have overlapping, but need separately configuration when disposing, and after the identical SI information change, need manually to carry out one by one corresponding change.
Summary of the invention
Therefore, purpose of the present invention makes up distributed, as to be easy to expand a SIG information management system, can concern between the automatic decision network, makes flexibly automatic synchronization of information.
The present invention solves the problems of the technologies described above the configuration and synchronization method that the technical scheme that adopts is a kind of distributed SIG system of proposition, may further comprise the steps:
The SIG system reads the configuration file of present networks, obtains the scope of network identity and transport stream identification;
Read an information synchronization file from Network Capture, the generated data structure;
Judge that according to the network identity in the information synchronization file file this information synchronization file file is whether in the network identity scope in configuration file, if directly do not finish in this scope;
If network identity in the scope of configuration file regulation, reading database content then;
The information of the traversal described database of contrast and information synchronization file generates the information that described database need to upgrade; And
Upgrade described database.
In above-mentioned method, by the described information synchronization file of father's Internet Transmission.
In above-mentioned method, read an information synchronization file from Network Capture, the step of generated data structure comprises:
A1. judge network identity in the information synchronization file whether in the configuration file scope, if in configuration file, directly do not withdraw from, if in configuration file then enter step a2;
A2. travel through the transport stream identification in the information synchronization file;
A3. judge whether the transport stream identification traversal finishes, if finish, directly withdraws from, if transport stream identification does not travel through end, proceeds to step a4;
Whether the transport stream identification of a4. judging the information synchronization file in the configuration file scope, if in the configuration file scope, then enters step a5, otherwise returns step a3.
A5 reads transport stream, adds in the data structure, returns step a3.
In above-mentioned method, the step of reading database content comprises:
B1. the network identity of reading database;
B2. judge that the network identity in the database is whether identical with network identity in the information synchronization file; If identical, enter step b3, if different, enter step b4;
B3. identify active and standby synchronous processing, then all transport stream identification data in the reading database are added data structure to, then withdraw from;
B4. sign is inherited synchronously and is processed, and need to enter step b5;
B5. the transport stream identification in the ergodic data storehouse, and judge whether to finish, if finish, directly finish; If do not finish, enter step b6;
B6. the transport stream identification scope with the transport stream identification in the database and configuration file compares, if transport stream identification not in configuration file, enters step b7, if transport stream identification in configuration file, enters step b8;
B7. transport stream is not labeled as and need processes, and transport stream is added in the data structure, returns step b5;
B8. judge whether transport stream identification belongs to father's network of information synchronization file; If transport stream identification enters step b9 in belonging to father's network of information synchronization file, if transport stream identification jumps to step b7 not in belonging to father's network of information synchronization file; And
B9. transport stream is labeled as needs to judge that transport stream is added in the data structure, returns step b5.
In above-mentioned method, described information synchronization file is the XML file.
The present invention is owing to adopt above technical scheme, make it compared with prior art, has following remarkable advantage: by all SI information of XML file transfer network, and the constraint by configuration file, judge the relation between the network, according to the information in the cyberrelationship processing XML, realized the configuration synchronization of distributed SIG system.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 illustrates three kinds of cyberrelationships of present SIG system.
Fig. 2 illustrates the SIG system configuration method for synchronous flow chart of one embodiment of the invention.
Fig. 3 illustrate one embodiment of the invention the XML file read flow process.
Fig. 4 illustrate one embodiment of the invention database read flow process.
Fig. 5 illustrates the flow process of the traversal comparison database of one embodiment of the invention.
Embodiment
As shown in Figure 1, there are three kinds of cyberrelationships in distributed SIG system: independence, Group relation and set membership.
The network of independence, namely two networks just share the SIG system without any relation; Each network is managed the network information separately separately.A network as shown in Figure 1 and the relation of Y network.
The network of group (Group) relation i.e. two networks actual (self) each other and the relation of other (other), and this is consistent with the DVB468 agreement, concerns referred to herein as organizing; A network and S networking such as Fig. 1.Their SI (business information) data are related, and the variation of a network will cause another network to send the variation of the NIT of other in the SI information.
The network of set membership is the expansion of front cyberrelationship.Wherein, sub-network has been inherited all frequency point information of father's network, and sub-network has oneself newly-increased frequency point information simultaneously, and sub-network can have the sub-network of oneself; The sub-network of same father's network, only identical is the frequency point information of inheriting in father's network, the frequency that still oneself increases for them, frequency point information can repeat, and is unfettered.The variation of father's Web content will be notified sub-network.
As shown in Figure 1, the B network has comprised the A network, and the C network has comprised the A network, and the D network has comprised the A network, and the A network is father's network of B, C, D network.The B network has and has derived from E network, F network.The D network has derived from the G network.
Distributed SIG system can be processed the information of three kinds of cyberrelationships above-mentioned.Configuration synchronization mainly is to process the information notice of set membership network.Configuration synchronization can also be processed a kind of network that comprises the main and standby relation of master network and backup network.
In an embodiment of the present invention, father's network is derived the configuration synchronization file that comprises all SI information, and this document for example exists with the form of XML file, sends to network of relation.
Accordingly, other networks are realized information synchronization then according to the SI information of this document in conjunction with the information updating present networks of configuration file and database.
The handling process of carrying out the SIG configuration synchronization at other networks is described below.With reference to shown in Figure 2, it may further comprise the steps:
In step S10, the SIG system reads the configuration file of present networks.
In step S20, obtain the scope of network identity (NetworkID) and transport stream identification (Transport StreamID, TSID).
In step S30, read the XML file, generate the data structure of XML content, its idiographic flow is referring to shown in Figure 3.
In step S40, obtain the network identity of XML file.
In step S50, whether see in the network identity scope in configuration file, if in scope, directly do not withdraw from according to the network identity in the XML file.
In step S60, network identity in the scope of configuration file regulation, reading database (Database, DB) content.This can represent that the XML file is from the network that has father and son's cyberrelationship and main and standby relation with present networks.The idiographic flow of this step is referring to shown in Figure 4.
In step S70, the information of traversal comparison database and XML data structure, the information that generating database need to upgrade.The idiographic flow of this step is referring to shown in Figure 5.
In step S80, more new database.
The XML file that Fig. 3 illustrates step S30 reads flow process, comprises the steps:
Step S31 judges that network identity among the XML is whether in the configuration file scope, if directly do not withdraw from configuration file.If in configuration file then enter step S32.
Step S32, the transport stream identification in the traversal XML file.
Step S33 judges that whether the transport stream identification traversal finishes, if finish, directly withdraws from.If transport stream identification does not travel through end, proceed to step S34.
Step S34 judges that the transport stream identification of XML file is whether in the configuration file scope.If in the configuration file scope, then jump to step S35, otherwise return step S33.
Step S35 reads transport stream, adds in the data structure of XML, returns step S33.
Wherein the flow process of the reading database of step S60 comprises the steps: as shown in Figure 4
Step S61, the network identity of reading database.
Step S62 judges that the network identity in the database is whether identical with network identity in the XML file.
If identical, identify active and standby synchronous treatment S 63a, then all transport stream identification data in step S64 reading database are added data structure to, then withdraw from.
If not identical, sign is inherited synchronous treatment S 63b, needs in the following manner special processing.
Step S65, the transport stream identification in the ergodic data storehouse, and judge whether to finish.
If finish, directly finish.
If do not finish, enter step S66, the transport stream identification scope of the transport stream identification in the database and configuration file is compared.
If transport stream identification is not in configuration file, transport stream is not labeled as need process (S67), and transport stream is added S67a in the data structure to, returns step S65.
If transport stream identification in configuration file, further judges in step S68 whether transport stream identification belongs to father's network of XML file.
If transport stream identification is in belonging to father's network of XML file, is labeled as and judges that transport stream is added in the data structure, returns step S65 in step S69 transport stream.
If transport stream identification is not in belonging to the network of XML, transport stream is not labeled as need process (S67), and TS information is added S67a in the data structure to, returns step S65.
Wherein travel through the flow process of correction data configuration steps S70 as shown in Figure 5, comprise the steps:
Step S701, first transport stream identification of pointed data structure XML and database;
Step S702, the transport stream of ergodic data structure XML and database is namely searched the transport stream that those XML and database all comprise, and judges whether traversal is finished.
If do not finish, enter step S703, need the transport stream identification of judging in comparing data structure XML and the database.
If the transport stream identification of XML less than the transport stream identification of database D B (be designated as XML<DB), enter S704, increase the TS of XML in the new data structure, arrange be labeled as newly-increased.Then, the transport stream identification S705 of the next XML of pointed returns step S702.
If the transport stream identification of XML (is designated as XML>DB), enter S706, increases the transport stream of database in the new data structure, arrange and be labeled as deletion greater than the transport stream identification of database.Then, the transport stream identification S707 of the next database of pointed returns step S702.
Otherwise the transport stream identification of XML equals the transport stream identification of database (being designated as XML=DB), in the more specific information of step S708.
If information is identical, jump to the next transport stream identification of step S710 pointed data structure XML and database.
If information is different, in step S709 new data structure, increase the transport stream of XML, arrange and be labeled as modification, then pass through the next transport stream identification of step S710 pointed data structure XML and database, return step S702.
Finish if traveled through, enter step S711 and further travel through whether also include the transport stream that was not traversed among XML or the database D B.
In step S712, if also have data in the database, the residue that increases database in the new data structure is labeled as the transport stream that needs judgement, arranges and is labeled as deletion, then withdraws from.
In step S713, if also have data among the XML, increase the remaining transport stream of XML in the new data structure, setting is labeled as newly-increased, then withdraws from.
In sum, the described SIG ' In System Reconfiguration Method of embodiments of the invention is by all SI information of XML file transfer network, and the constraint by configuration file, judge the relation between the network, according to the information in the cyberrelationship processing XML, realized the configuration synchronization of distributed SIG system.
Although the present invention discloses as above with preferred embodiment; so it is not to limit the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.

Claims (4)

1. the configuration and synchronization method of a distributed service information configuration SIG system may further comprise the steps:
The SIG system reads the configuration file of present networks, obtains the scope of network identity and transport stream identification;
Read an information synchronization file from Network Capture, the generated data structure;
Judge that according to the network identity in the information synchronization file this information synchronization file is whether in the network identity scope in configuration file, if directly do not finish in this scope;
If network identity in the scope of configuration file regulation, reading database content then;
The information of the traversal described database of contrast and information synchronization file generates the information that described database need to upgrade; And
Upgrade described database,
Wherein read described information synchronization file from Network Capture, the step of generated data structure comprises:
A1. judge network identity in the information synchronization file whether in the configuration file scope, if in configuration file, directly do not withdraw from, if in configuration file then enter step a2;
A2. travel through the transport stream identification in the information synchronization file;
A3. judge whether the transport stream identification traversal finishes, if finish, directly withdraws from, if transport stream identification does not travel through end, proceeds to step a4;
Whether the transport stream identification of a4. judging the information synchronization file in the configuration file scope, if in the configuration file scope, then enters step a5, otherwise returns step a3;
A5 reads transport stream, adds in the data structure, returns step a3.
2. the method for claim 1 is characterized in that, described information synchronization file is from father's Network Capture.
3. the method for claim 1 is characterized in that, the step of reading database content comprises:
B1. the network identity of reading database;
B2. judge that the network identity in the database is whether identical with network identity in the information synchronization file; If identical, enter step b3, if different, enter step b4;
B3. identify active and standby synchronous processing, then all transport stream identification data in the reading database are added data structure to, then withdraw from;
B4. sign is inherited synchronously and is processed, and need to enter step b5;
B5. the transport stream identification in the ergodic data storehouse, and judge whether to finish, if finish, directly finish; If do not finish, enter step b6;
B6. the transport stream identification scope with the transport stream identification in the database and configuration file compares, if transport stream identification not in configuration file, enters step b7, if transport stream identification in configuration file, enters step b8;
B7. transport stream is not labeled as and need processes, and transport stream is added in the data structure, returns step b5;
B8. judge whether transport stream identification belongs to father's network of information synchronization file; If transport stream identification enters step b9 in belonging to father's network of information synchronization file, if transport stream identification jumps to step b7 not in belonging to father's network of information synchronization file;
B9. transport stream is labeled as needs to judge that transport stream is added in the data structure, returns step b5.
4. such as each described method of claim 1-3, it is characterized in that described information synchronization file is the XML file.
CN 200810208121 2008-12-29 2008-12-29 Configuration and synchronization method for distributed SIG system Expired - Fee Related CN101442552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810208121 CN101442552B (en) 2008-12-29 2008-12-29 Configuration and synchronization method for distributed SIG system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810208121 CN101442552B (en) 2008-12-29 2008-12-29 Configuration and synchronization method for distributed SIG system

Publications (2)

Publication Number Publication Date
CN101442552A CN101442552A (en) 2009-05-27
CN101442552B true CN101442552B (en) 2013-01-09

Family

ID=40726790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810208121 Expired - Fee Related CN101442552B (en) 2008-12-29 2008-12-29 Configuration and synchronization method for distributed SIG system

Country Status (1)

Country Link
CN (1) CN101442552B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937248B (en) * 2017-01-25 2019-09-17 北京安云世纪科技有限公司 A kind of document handling method of mobile terminal, device and mobile terminal
CN110674147B (en) * 2019-08-28 2023-02-28 视联动力信息技术股份有限公司 Data processing method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175826A (en) * 1996-08-09 1998-03-11 汤姆森多媒体公司 Receiver in cyclic packet data transmission system
CN1874270A (en) * 2006-06-23 2006-12-06 北京佳讯飞鸿电气有限责任公司 Data synchronization method for implementing remote network management
EP1887803A1 (en) * 2006-08-08 2008-02-13 Samsung Electronics Co., Ltd. System and method for transmitting / receiving ESG data update information in DVB-H system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175826A (en) * 1996-08-09 1998-03-11 汤姆森多媒体公司 Receiver in cyclic packet data transmission system
CN1874270A (en) * 2006-06-23 2006-12-06 北京佳讯飞鸿电气有限责任公司 Data synchronization method for implementing remote network management
EP1887803A1 (en) * 2006-08-08 2008-02-13 Samsung Electronics Co., Ltd. System and method for transmitting / receiving ESG data update information in DVB-H system
CN101159860A (en) * 2006-08-08 2008-04-09 三星电子株式会社 Method and system for transmitting and receiving electronic service guide update information in digital video broadcasting-hand held system

Also Published As

Publication number Publication date
CN101442552A (en) 2009-05-27

Similar Documents

Publication Publication Date Title
US8613042B2 (en) Access control list conversion system, and method and program threrfor
CN101567858B (en) Method and system for synchronizing data
CN106657174A (en) Data synchronizing and updating methods and data synchronizing and updating devices
CN109710586B (en) A kind of clustered node configuration file synchronous method and device
EP1331760A1 (en) Node structure information management method and radio network system
de-las Heras-Quirós et al. The design of RoundSync protocol
CN109831439B (en) Cascade synchronization method and device
CN114980302B (en) Method and system for access and management of equipment reverse integration and computer equipment
CN101031060B (en) System and method for generating electronic programm guide
CN101515935A (en) Data synchronization method and server
US10972296B2 (en) Messaging to enforce operation serialization for consistency of a distributed data structure
CN108205569A (en) For updating the method and apparatus of configuration management database
CN103064717A (en) Device and method for parallel installation of software for cluster system
CN109672712A (en) Method of data synchronization, device, super controller, domain controller and storage medium
KR20130023736A (en) The system of cooperative editing of mind-map and the method thereof
CN101442552B (en) Configuration and synchronization method for distributed SIG system
CN103399888A (en) Differential synchronization method and system for power grid model data
CN102857949A (en) Method and device for planning data consistency guarantees
CN108632078B (en) Configuration acquisition method
WO2014019545A1 (en) Content distribution system and content distribution method therefor
CN113099449B (en) Authentication method and system of distributed core network and home subscriber server
CN114756385B (en) Elastic distributed training method under deep learning scene
CN108011730B (en) Method and device for automatically changing ring network resources in network management system
CN108108372B (en) Automatic correction processing method and device for data conflict
CN105681367A (en) Method, server and client for sharing file contents

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130109

Termination date: 20171229

CF01 Termination of patent right due to non-payment of annual fee