CN102111215A - Method and device for synchronizing configuration data - Google Patents
Method and device for synchronizing configuration data Download PDFInfo
- Publication number
- CN102111215A CN102111215A CN2010106031378A CN201010603137A CN102111215A CN 102111215 A CN102111215 A CN 102111215A CN 2010106031378 A CN2010106031378 A CN 2010106031378A CN 201010603137 A CN201010603137 A CN 201010603137A CN 102111215 A CN102111215 A CN 102111215A
- Authority
- CN
- China
- Prior art keywords
- configuration data
- multiplexing equipment
- difference
- data
- parameter value
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000001360 synchronised effect Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for synchronizing configuration data. The method comprises the following steps of: reading data transmitted by primary multiplexing equipment and standby multiplexing equipment in real time; analyzing the read data; acquiring the configuration data; determining a configuration data difference; acquiring a difference result; and configuring the configuration data of the standby multiplexing equipment according to the difference result. The invention also discloses a device for synchronizing the configuration data. The method and the device improve synchronization efficiency, reduce synchronization cost and simultaneously improve the switching effect of the primary multiplexing equipment and the standby multiplexing equipment.
Description
Technical field
The present invention relates to China Mobile multimedia broadcasting (CMMB) field, be meant method and device that a kind of configuration data is synchronous especially.
Background technology
In recent years, China Mobile multimedia broadcasting (CMMB) is extensive commercial.In order better to meet customer need, more and more higher to the reliability requirement of CMMB.In existing CMMB technology, the reliability for realizing that broadcast TV program sends adopts active and standby handoff technique when broadcast TV program is carried.Under the normal operating conditions, provide the services such as conveying that comprise the broadcast TV program source for system with multiplexing equipment by main; When the master broke down with multiplexing equipment, switch switched to standby multiplexing equipment, provides the services such as conveying that comprise the broadcast TV program source for system by standby multiplexing equipment.The active and standby multiplexing equipment here is a relative concept, can backup each other between two active and standby multiplexing equipments, and simultaneously, the configuration data of active and standby multiplexing equipment will be consistent.
When the configuration data of active and standby multiplexing equipment not simultaneously, switch can carry out the configuration data of multiplexing equipment synchronously.But, if the multiplexing equipment of different manufacturers, each self synchronous method is inconsistent, can cause the active and standby multiplexing equipment configuration data difference in synchronous back, when active and standby multiplexing equipment switches, because the problem of card screen or long-time circulation can appear in the difference of configuration data, terminal equipment, it is relatively poor to cause switching effect.Synchronous by the configuration data of manually finishing multiplexing equipment, can expend a large amount of time, human cost, switching efficiency is low.
Summary of the invention
In view of this, main purpose of the present invention is to provide synchronous method of a kind of configuration data and device, improves synchronous efficiency, reduces stepped cost, improves the switching effect of active and standby multiplexing equipment simultaneously.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides the synchronous method of a kind of configuration data, this method comprises:
Read data and parsing that active and standby multiplexing equipment sends in real time, obtain configuration data, determine configured data difference, obtain difference results, dispose the configuration data of standby multiplexing equipment according to difference results.
In the such scheme, described read the data that active and standby multiplexing equipment sends in real time and resolve comprise: with the data that active and standby multiplexing equipment sends, be converted to the multi-frame data, read the configuration data in the 0th frame.
In the such scheme, described definite configured data difference comprises: parameter corresponding parameters value in the more active and standby multiplexing equipment configuration data, define the parameter value difference of parameter, configured data difference then, different parameter, the main of described parameter correspondence of parameter value is difference results with multiplexing equipment parameter value and standby multiplexing equipment parameter value in the configuration data; The parameter value of determining all parameters is all identical, and then configuration data does not have difference.
In the such scheme, the described configuration data that disposes standby multiplexing equipment according to difference results comprises: in standby multiplexing equipment configuration data, with the parameter value of the parameter corresponding parameters of difference results, cover with the multiplexing equipment parameter value with main in the difference results.
The present invention also provides a kind of configuration data synchronous device, and this device comprises: configuration detection module, Allocation Analysis module, difference synchronization module;
The configuration detection module is used for receiving data and the parsing that active and standby multiplexing equipment sends in real time, obtains configuration data and sends to the Allocation Analysis module;
The Allocation Analysis module is used for the configuration data of active and standby multiplexing equipment is compared, and obtains difference results, sends to the difference synchronization module;
The difference synchronization module is used for disposing according to difference results the configuration data of standby multiplexing equipment.
In the such scheme, described configuration detection module specifically is used for, and the data of the binary form that active and standby multiplexing equipment is sent are converted to the multi-frame data, read the configuration data in the 0th frame.
In the such scheme, described Allocation Analysis module specifically is used for, the parameter value of identical parameters in the more active and standby multiplexing equipment configuration data, define the parameter value difference of parameter, then active and standby multiplexing equipment configuration data is variant, and different parameter, the main of described parameter correspondence of parameter value is difference results with multiplexing equipment parameter value and standby multiplexing equipment parameter value in the configuration data; The parameter value of determining all parameters is all identical, and then configuration data does not have difference.
In the such scheme, described difference synchronization module specifically is used for, and in standby multiplexing equipment configuration data, with the parameter value of the parameter corresponding parameters of difference results, covers with the multiplexing equipment parameter value with main in the difference results.
This shows, adopt method of the present invention and device, obtain configuration data in real time, and definite configured data difference, standby multiplexing equipment is configured, make the configuration data unanimity of active and standby multiplexing equipment, manual synchronization with respect to the multiplexing equipment of different vendor, improve synchronous efficiency, reduced stepped cost, improved the switching effect of active and standby multiplexing equipment simultaneously.
Description of drawings
Fig. 1 realizes the method flow schematic diagram that configuration data is synchronous for the present invention;
Fig. 2 forms schematic diagram for the present invention realizes the synchronous device of configuration data.
Embodiment
Basic thought of the present invention is: read the data and the parsing of active and standby multiplexing equipment output in real time, obtain configuration data, determine configured data difference, obtain difference results, dispose the configuration data of standby multiplexing equipment according to difference results.
The present invention is described in detail below by accompanying drawing and specific embodiment.
The method that a kind of configuration data is synchronous, as shown in Figure 1:
Switch receives the data of active and standby multiplexing equipment output in real time, i.e. Da Bao multiplex stream (PMS, Packetized Mutiplexing Stream) code stream, resolve the PMS code stream that receives, obtain the configuration data of active and standby multiplexing equipment, wherein, described PMS code stream is the data flow of binary form, comprise the configuration data of active and standby multiplexing equipment and other media data etc., described configuration data comprises network data, business datum etc.
The PMS code stream that described parsing receives, the configuration data that obtains active and standby multiplexing equipment comprises: switch converts the multi-frame data to according to the PMS code stream of CMMB agreement with binary form; Described multi-frame data are data flow of frame format, and the numbering of its Frame circulates, and preserve configuration data in the 0th frame.The described multi-frame data that are converted to comprise: in the PMS code stream in per 1 second, first PMS bag is time data, is that the PMS bag that comprises the multi-frame data of description is formed with the PMS packet interleaving that comprises data of some then; Described multi-frame data of description comprises: form the quantity of the PMS bag of a multi-frame, described some is the quantity of the PMS bag in the multi-frame data of description.According to the multi-frame data of description, read the valid data in the PMS bag follow-up and multi-frame data of description respective numbers, form according to the data of the multi-frame of CMMB agreement regulation then, form a multi-frame, read the PMS bag that the next one comprises the multi-frame data of description then, form next multi-frame, and the like, the PMS code stream is converted to the multi-frame data, and read the fixed position that the valid data in the described PMS bag can wrap according to the PMS of CMMB agreement regulation.Read the configuration data in 0 frame of active and standby multiplexing equipment and preserve.
Identical parameters corresponding parameters value in the more active and standby successively multiplexing equipment configuration data of switch, if all parameter corresponding parameters values of active and standby multiplexing equipment are all identical, then configuration data does not have difference, otherwise, active and standby multiplexing equipment configuration data is variant, obtain difference results, described difference results comprises the standby multiplexing equipment parameter value and the host apparatus parameter value of the different parameter of parameter value, described parameter correspondence.
Switch sends to standby multiplexing equipment with difference results, standby multiplexing equipment receives difference results, configuration data according to the parameter query this locality in the difference results, with the main configuration data in the difference results, with the parameter value of the parameter that parameter is identical in the described difference results with multiplexing equipment parameter value covering this locality.So far, the configuration data unanimity in the active and standby multiplexing equipment.Wherein, can determine standby multiplexing equipment in the multiplexing equipment according to the configuration of switch this locality.
Based on above method, the present invention also provides a kind of configuration data synchronous device, and as shown in Figure 2, this device comprises: configuration detection module 201, Allocation Analysis module 202, difference synchronization module 203;
Described configuration detection module 201 specifically is used for, and receives the data that active and standby multiplexing equipment sends, i.e. PMS code stream is the multi-frame data with the PMS code stream of binary form according to the CMMB protocol conversion; Described multi-frame data are with the form transmission data of Frame, and Frame is a loop coding, and wherein, the data of 0 frame are configuration data, read in the data of active and standby multiplexing equipment output, and the configuration data in the 0th frame sends to Allocation Analysis module 202.
Described Allocation Analysis module 202 specifically is used for, the parameter value of identical parameters in the more active and standby multiplexing equipment configuration data, if the parameter value of all parameters is identical, then active and standby multiplexing equipment configuration data is identical, is left intact; If the parameter value difference of parameter is arranged, the main multiplexing equipment parameter value and the standby multiplexing equipment parameter value used of the parameter that parameter value is different, described parameter correspondence, promptly difference results sends to difference synchronization module 203.
The above configuration detection module 201 and Allocation Analysis module 202 can be positioned at switch, and described difference synchronization module 203 can be positioned at standby multiplexing equipment.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. the method that configuration data is synchronous is characterized in that, this method comprises:
Read data and parsing that active and standby multiplexing equipment sends in real time, obtain configuration data, determine configured data difference, obtain difference results, dispose the configuration data of standby multiplexing equipment according to difference results.
2. method according to claim 1 is characterized in that, described read the data that active and standby multiplexing equipment sends in real time and resolve comprise:
With the data that active and standby multiplexing equipment sends, be converted to the multi-frame data, read the configuration data in the 0th frame.
3. method according to claim 1 and 2 is characterized in that, described definite configured data difference comprises:
Parameter corresponding parameters value in the more active and standby multiplexing equipment configuration data, define the parameter value difference of parameter, configured data difference then, different parameter, the main of described parameter correspondence of parameter value is difference results with multiplexing equipment parameter value and standby multiplexing equipment parameter value in the configuration data; The parameter value of determining all parameters is all identical, and then configuration data does not have difference.
4. method according to claim 3 is characterized in that, the described configuration data that disposes standby multiplexing equipment according to difference results comprises:
In standby multiplexing equipment configuration data,, cover with the multiplexing equipment parameter value with main in the difference results with the parameter value of the parameter corresponding parameters of difference results.
5. the device that configuration data is synchronous is characterized in that, this device comprises: configuration detection module, Allocation Analysis module, difference synchronization module;
The configuration detection module is used for receiving data and the parsing that active and standby multiplexing equipment sends in real time, obtains configuration data and sends to the Allocation Analysis module;
The Allocation Analysis module is used for the configuration data of active and standby multiplexing equipment is compared, and obtains difference results, sends to the difference synchronization module;
The difference synchronization module is used for disposing according to difference results the configuration data of standby multiplexing equipment.
6. device according to claim 5 is characterized in that,
Described configuration detection module specifically is used for, and the data of the binary form that active and standby multiplexing equipment is sent are converted to the multi-frame data, read the configuration data in the 0th frame.
7. according to claim 5 or 6 described devices, it is characterized in that,
Described Allocation Analysis module specifically is used for, the parameter value of identical parameters in the more active and standby multiplexing equipment configuration data, define the parameter value difference of parameter, then active and standby multiplexing equipment configuration data is variant, and different parameter, the main of described parameter correspondence of parameter value is difference results with multiplexing equipment parameter value and standby multiplexing equipment parameter value in the configuration data; The parameter value of determining all parameters is all identical, and then configuration data does not have difference.
8. device according to claim 7 is characterized in that,
Described difference synchronization module specifically is used for, and in standby multiplexing equipment configuration data, with the parameter value of the parameter corresponding parameters of difference results, covers with the multiplexing equipment parameter value with main in the difference results.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106031378A CN102111215A (en) | 2010-12-23 | 2010-12-23 | Method and device for synchronizing configuration data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106031378A CN102111215A (en) | 2010-12-23 | 2010-12-23 | Method and device for synchronizing configuration data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102111215A true CN102111215A (en) | 2011-06-29 |
Family
ID=44175255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106031378A Pending CN102111215A (en) | 2010-12-23 | 2010-12-23 | Method and device for synchronizing configuration data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102111215A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937909A (en) * | 2012-11-21 | 2013-02-20 | 上海爱数软件有限公司 | Method for deploying and upgrading Linux system |
CN103501290A (en) * | 2013-09-18 | 2014-01-08 | 万达信息股份有限公司 | High-reliability service system establishment method based on dynamic-backup virtual machines |
CN106452913A (en) * | 2016-11-22 | 2017-02-22 | 卡斯柯信号有限公司 | Fast switching method of terminal network device reuse |
WO2019154121A1 (en) * | 2018-02-08 | 2019-08-15 | 中兴通讯股份有限公司 | Processing method and device for parameter configuration, storage medium and processor |
CN111241047A (en) * | 2020-04-26 | 2020-06-05 | 北京信安世纪科技股份有限公司 | File synchronization method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1162474A2 (en) * | 2000-06-06 | 2001-12-12 | Pioneer Corporation | A portable terminal apparatus and the positional information communication method using it |
CN1976477A (en) * | 2006-12-11 | 2007-06-06 | 中兴通讯股份有限公司 | Mobile multi-media broadcasting data transmitting method |
CN101754024A (en) * | 2009-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Multiplexing device and multiplexing method |
WO2010077222A1 (en) * | 2008-12-30 | 2010-07-08 | Thomson Licensing | Synchronization of configurations for display systems |
-
2010
- 2010-12-23 CN CN2010106031378A patent/CN102111215A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1162474A2 (en) * | 2000-06-06 | 2001-12-12 | Pioneer Corporation | A portable terminal apparatus and the positional information communication method using it |
US6563459B2 (en) * | 2000-06-06 | 2003-05-13 | Pioneer Corporation | Portable terminal apparatus and the positional information communication method using it |
CN1976477A (en) * | 2006-12-11 | 2007-06-06 | 中兴通讯股份有限公司 | Mobile multi-media broadcasting data transmitting method |
WO2010077222A1 (en) * | 2008-12-30 | 2010-07-08 | Thomson Licensing | Synchronization of configurations for display systems |
CN101754024A (en) * | 2009-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Multiplexing device and multiplexing method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937909A (en) * | 2012-11-21 | 2013-02-20 | 上海爱数软件有限公司 | Method for deploying and upgrading Linux system |
CN102937909B (en) * | 2012-11-21 | 2015-11-18 | 上海爱数软件有限公司 | A kind of method of disposing and upgrading linux system |
CN103501290A (en) * | 2013-09-18 | 2014-01-08 | 万达信息股份有限公司 | High-reliability service system establishment method based on dynamic-backup virtual machines |
CN106452913A (en) * | 2016-11-22 | 2017-02-22 | 卡斯柯信号有限公司 | Fast switching method of terminal network device reuse |
CN106452913B (en) * | 2016-11-22 | 2020-09-01 | 卡斯柯信号有限公司 | Method for multiplexing and fast switching terminal network equipment |
WO2019154121A1 (en) * | 2018-02-08 | 2019-08-15 | 中兴通讯股份有限公司 | Processing method and device for parameter configuration, storage medium and processor |
CN111241047A (en) * | 2020-04-26 | 2020-06-05 | 北京信安世纪科技股份有限公司 | File synchronization method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103329514B (en) | Broadcast singal sends the broadcast singal receiving/transmission method in equipment, broadcasting signal receiving and broadcast singal transmitting and receiving device | |
CN102447893B (en) | The method and system of mobile video Real-time Collection and issue | |
US8811275B2 (en) | Method of exchanging messages, sink device and source device | |
US10362220B2 (en) | Conversation of pixel data into compression format of pixels | |
CN102111215A (en) | Method and device for synchronizing configuration data | |
CN102611937A (en) | Multimedia data processing method, device and system | |
CN103986960A (en) | Method for single-video picture division route teletransmission precise synchronization tiled display | |
CN102802039A (en) | Multi-channel video hybrid decoding output method and device | |
CN101022548B (en) | Method for processing data in a terminal with digital broadcasting receiver | |
RU2491759C2 (en) | Multiplexer and multiplexing method | |
CN103905838B (en) | Method and system for enabling terminal to play DVB services | |
CN101707691A (en) | Method and system for managing distributed electronic program guide synchronization | |
CN101291188B (en) | Data synchronizing system and method for television service network with mobile terminals | |
CN102664900A (en) | Media business provision method and device, and media service display method and device | |
CN110430479A (en) | A kind of the multicast group address distribution method and video matrix of video matrix | |
CN103686404A (en) | Method and system for playing pictures of set top box for mobile terminal | |
CN102480634B (en) | The method, apparatus and system that in Mobile Multimedia Broadcasting, classified service is synchronous | |
CN215072732U (en) | A transcoding device and cable digital television signal supervisory equipment for audio frequency and video | |
CN112436919B (en) | Streaming data transmission method, device, equipment and computer readable storage medium | |
CN218243638U (en) | High-definition video and audio network encoder supporting multi-path code stream output | |
CN217693549U (en) | AVS2 ultra-high definition professional decoder supporting transcoding | |
CN212211119U (en) | HDR-supporting H.2654K ultra-high-definition double-path encoder | |
KR20160094001A (en) | Apparatus for monitoring convergence broadcast using mobile terminal | |
CN203151684U (en) | Digital set top box and digital television system | |
CN103237185A (en) | System for carrying out broadcasting control on ATSC (Advanced Television System Committee) signal at television station end |
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: 20110629 |