CN106331152A - Method and device for realizing information synchronization between modules - Google Patents

Method and device for realizing information synchronization between modules Download PDF

Info

Publication number
CN106331152A
CN106331152A CN201610833589.2A CN201610833589A CN106331152A CN 106331152 A CN106331152 A CN 106331152A CN 201610833589 A CN201610833589 A CN 201610833589A CN 106331152 A CN106331152 A CN 106331152A
Authority
CN
China
Prior art keywords
module
configuration item
configuration
flag bit
configuration information
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.)
Granted
Application number
CN201610833589.2A
Other languages
Chinese (zh)
Other versions
CN106331152B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610833589.2A priority Critical patent/CN106331152B/en
Publication of CN106331152A publication Critical patent/CN106331152A/en
Application granted granted Critical
Publication of CN106331152B publication Critical patent/CN106331152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the invention disclose a method and a device for realizing information synchronization between modules. The method comprises the following steps: when a master module has a configuration item updated, the master module sets the value of a bit corresponding to the flag bit of a configuration item with updated configuration information in flag bits; a slave module acquires the set flag bit of the master module through a pre-established communication link; the slave module determines the configuration item with updated configuration information according to the acquired flag bit; and the slave module acquires the configuration information of the corresponding configuration item from the master module according to the determined configuration item and updates the configuration information, and thus, information synchronization between the master and slave modules is completed. When the master module has a configuration item of which the configuration information is updated, the slave module updates corresponding configuration information in real time. The information of the master module is backed up in the slave module, so that the slave module can take over the master module to realize a corresponding function of monitoring management when the master module fails. Thus, synchronization of configuration information of the master and slave modules is realized, and the reliability and availability of a server monitoring management module are improved.

Description

A kind of method and device realizing intermodule synchronizing information
Technical field
The present invention relates to server monitoring field, particularly relate to a kind of method realizing intermodule synchronizing information and dress Put.
Background technology
Along with the arrival of big data age, needing data to be processed increasing, user is for the performance requirement of server Also improving constantly.And in order to ensure that server stably runs, the monitoring for server is requisite.
The equipment such as switch, fan, power supply and node can be carried out in real time by server monitoring management module in real time Monitoring, and can report to the police when equipment breaks down.User is preferably monitored management to server for convenience, Stability and availability to server monitoring management module propose the highest requirement.So, manage except server monitoring Primary module, the server monitoring management of redundancy is particularly important in actual applications from module.Service monitoring manages from module The properly functioning of system can be maintained when server monitoring management primary module breaks down.
Prior art can not realize the synchronizing information between server monitoring management principal and subordinate's module, cause server monitoring Availability and the reliability of management module are low, and in order to ensure the reliabilty and availability in server monitoring management module, main Information real-time synchronization between module is the most necessary, and based on this, the present invention proposes one and realizes intermodule information together The method and device of step.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method realizing intermodule synchronizing information, it is therefore intended that solve existing Principal and subordinate's intermodule synchronizing information can not be realized, cause the availability of server monitoring management module and the problem that reliability is low.This Outward, the another object of the embodiment of the present invention is to provide a kind of device realizing intermodule synchronizing information, its availability and reliability Higher.
For solving above-mentioned technical problem, the embodiment of the present invention provides a kind of method realizing intermodule synchronizing information, the party Method includes:
When primary module has configuration item to update, primary module by value set with the corresponding position of described configuration item in flag bit, Wherein, whether described flag bit has renewal for the configuration information identifying configuration item;
Obtained the described flag bit of described primary module by the communication link pre-build from module;
Determine the configuration item of renewal according to described flag bit from module;
Corresponding described configuration information is obtained according to the configuration item of the described renewal determined from described primary module complete from module Become synchronized update.
Alternatively, also include:
When there being the configuration information update of configuration item from module, described in after module will be updated by described communication link The configuration information of configuration item sends to primary module;
Primary module receives described configuration information, and the configuration information of corresponding configuration item is carried out synchronized update.
Alternatively, carry out more at the described configuration information obtaining correspondence according to described configuration item from described primary module from module After Xin, also include:
The value of the described flag bit from module is set to initial value;
By described communication link, the described flag bit being set to initial value is sent to primary module.
Alternatively, the described described flag bit bag being obtained described primary module from module by the communication link pre-build Include:
The described flag bit of described primary module is obtained by the way of poll.
Alternatively, described configuration item includes following any one or combination in any:
User's configuration item, alarm configuration item, time configuration item, Simple Mail Transfer protocol configuration item.
Additionally, the present invention implements to additionally provide a kind of device realizing intermodule synchronizing information, including:
Primary module mark position bit location, for when primary module has configuration item to update, primary module by flag bit with institute State the value set of the corresponding position of configuration item;
From module identification position acquiring unit, for obtaining described primary module from module by the communication link pre-build Described flag bit;
Unit is determined, for determining the configuration item of renewal according to described flag bit from module from module;
Obtain configuration information unit from module, for from module according to the configuration item of the described renewal determined from described main mould Block obtains corresponding described configuration information, completes synchronized update.
Alternatively, also include:
From module transmitting element, for when there being the configuration information update of configuration item from module, from module by described logical Letter link will update after described configuration item configuration information send to primary module;
Primary module lock unit, receives described configuration information for primary module, carries out the configuration information of corresponding configuration item Synchronized update.
Alternatively, also include:
From module identification bit clear unit, for the value of the described flag bit from module is set to initial value.
From module identification position transmitting element, for the described flag bit being set to initial value being sent by described communication link To primary module.
Alternatively, described include from module identification position acquiring unit:
The described flag bit of described primary module is obtained by the way of poll.
Alternatively, the configuration item in described device includes following any one or combination in any:
User's configuration item, alarm configuration item, time configuration item, Simple Mail Transfer protocol configuration item.
A kind of method and device realizing intermodule synchronizing information that the embodiment of the present invention is provided, when primary module has configuration When item updates, primary module, by the value set of position corresponding with the flag bit of the configuration item having configuration information update in flag bit, is being led The communication link passing through to pre-build from module after flag bit set is obtained the flag bit after the set of primary module by module, then Flag bit according to obtaining determines there is the configuration item of configuration information update, and then obtains from primary module according to the configuration item determined The configuration information of corresponding configuration item is updated, thus completes the synchronization of principal and subordinate's intermodule information.When primary module has configuration item Configuration information update time, from the corresponding configuration information of the renewal that module is the most real-time, by the information back-up of primary module to from module, In case when primary module breaks down or can not use, realizing corresponding monitoring management function from module adapter primary module.Can Seeing, the embodiment of the present invention realizes primary module and the synchronization of the configuration information from module, improves server monitoring management module Reliabilty and availability.
Accompanying drawing explanation
For the clearer explanation embodiment of the present invention or the technical scheme of prior art, below will be to embodiment or existing In technology description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
A kind of detailed description of the invention of the method realizing intermodule synchronizing information that Fig. 1 is provided by the embodiment of the present invention Method flow schematic diagram;
The another kind of detailed description of the invention of the method realizing intermodule synchronizing information that Fig. 2 is provided by the embodiment of the present invention Method flow schematic diagram;
A kind of detailed description of the invention of the method realizing intermodule synchronizing information that Fig. 3 is provided by the embodiment of the present invention Device unit schematic diagram.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawings and detailed description of the invention The present invention is described in further detail.Obviously, described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides the method flow of a kind of detailed description of the invention of the method realizing intermodule synchronizing information Figure is as it is shown in figure 1, the method includes herein below:
Step S101: when primary module has configuration item to update, primary module is by corresponding position with described configuration item in flag bit Value set, wherein, described flag bit is used for identifying whether configuration item has renewal.
Specifically, when primary module there being configuration item update, primary module utilize programming function by flag bit with update The value set of the corresponding position of configuration item.Wherein, above-mentioned configuration item can be user's configuration item, can be alarm configuration item, permissible For time configuration item, it is also possible to for Simple Mail Transfer protocol (SMTP) configuration item, it is also possible to for any group of above-mentioned configuration item Closing, certainly, above-mentioned configuration item can also be the configuration item being different from above-mentioned configuration item.And the renewal of the configuration of user in module Acquisition is to be input to module by input equipment, the configuration information that such as can be updated by touch screen input, it is also possible to pass through Speech ciphering equipment inputs the configuration information of renewal, naturally it is also possible to complete the defeated of more fresh information by other input equipment Enter.
It should be noted that above-mentioned flag bit can be a binary number or a string binary number, it is also possible to one Individual character or a string character string, certainly, above-mentioned flag bit can also be the form having other.And when above-mentioned flag bit is one During string binary number, a corresponding configuration item can be carried out by a byte section on flag bit.When configuration item has renewal, main mould Block can utilize programming function to change the value of byte section corresponding to this configuration item has renewal to identify this configuration item.
It is understood that the data length of above-mentioned flag bit is arbitrarily to set, the figure place of the most above-mentioned flag bit is Can arbitrarily set.And the certain data length in choosing flag bit comes in a corresponding configuration item, the data chosen are long Degree is arbitrarily chosen.Such as, above-mentioned flag bit is the binary number of 64, chooses 8 binary systems from this string binary number Number carrys out a corresponding configuration item.
Need it is further noted that above-mentioned set refers to the initial value of flag bit to change into default value, wherein, The initial value of above-mentioned flag bit can be arbitrary value, and above-mentioned default value can also be arbitrary value.
Step S102: obtained the described flag bit of described primary module from module by the communication link pre-build.
Specifically, the request sending acquisition flag bit by communication link to primary module from module obtains primary module Flag bit.
It should be noted that the above-mentioned communication link pre-build can be set up before this updates, it is also possible to It is initially foundation in this renewal.It is understood that above-mentioned communication link can include serial ports, it is also possible to include net Network, it is also possible to include serial ports and network, it is of course also possible to include being different from above-mentioned link.
Step S103: determine the described configuration item of renewal from module according to described flag bit.
Specifically, receive the flag bit of primary module from module, whether change according to the value of the corresponding positions in flag bit Determine whether configuration item corresponding to corresponding positions has renewal, i.e. determine which configuration item has more by the value of the corresponding positions of flag bit Newly.
Step S104: obtain corresponding configuration information according to described configuration item from described primary module from module and be updated.
Specifically, after finding out the configuration item of renewal from module according to the value of the corresponding positions in flag bit, pass through Communication link obtains the configuration information having the configuration item of renewal corresponding, updates from module according to the configuration information obtained from module On the configuration information of corresponding configuration item.
It should be noted that the configuration information more than one classification of each configuration item, and when configuration item has renewal, from mould What block obtained is configured in one piece information that configuration item is corresponding rather than the configuration information only obtaining renewal, the configuration not updated Information does not obtains.Such as, when the user's configuration item in primary module has renewal, wherein, user's configuration item includes user name, user The configuration informations such as password, in certain once updates, only have updated the user cipher of user's configuration item, and user name do not update. Now, the configuration information removing the configuration item obtained from module includes user name and user cipher rather than only goes to obtain to update User cipher.But can also be by only going to obtain the configuration information of the configuration information update of configuration item, the configuration not updated Information can not obtain and also can realize the embodiment of the present invention.
During it should be evident that update every time, the quantity of the configuration information that each configuration item updates is arbitrary, i.e. every time every Individual configuration item update configuration information can be one, it is also possible to for multiple.Such as, user's configuration item includes user name, use The configuration informations such as family password, when user's configuration item has renewal, the configuration information that user's configuration item updates can be user name, also Can be user name and user cipher, it is of course also possible to be other configuration information combination.
It is understood that the configuration item updated can be one every time, it is also possible to be multiple, such as, the configuration of renewal Item can be user's configuration item, it is also possible to be user's configuration item and time configuration item.Certainly, the configuration item of renewal can also be it Its configuration item combination.
In some embodiments of the invention, from module complete with the synchronizing information of primary module after, due to primary module The existence of flag bit, can make to go to obtain the configuration information of primary module from module always.In order to avoid the appearance of this problem, above-mentioned side Method can also include: is updated at the described configuration information obtaining correspondence according to described configuration item from described primary module from module Afterwards, the value of the described flag bit from module is set to initial value;To be set to described in initial value by described communication link Flag bit sends to primary module.Specifically, from module complete with the synchronizing information of primary module after, by the flag bit from module Value becomes initial value, and the value of the flag bit that will obtain becomes the value before updating.Then by the communication between principal and subordinate's module Link is sent to primary module the flag bit being set to initial value, and the flag bit received is preserved by primary module, has treated the most more Time new, then change the value of the corresponding positions of the flag bit of preservation, circulate successively.As such, it is possible to be beneficial to upper once have renewal time, from Module will not repeatedly obtain the content of last renewal.
In some embodiments of the invention, owing to said method is carried out in the case of primary module has renewal, and It is easy to think, also exists and have more news from module.Now, said method can also include: when having configuration from module When updating, according to the configuration information update of described configuration item from the configuration information of module correspondence configuration item;Institute is passed through from module The configuration information stating the described configuration item after communication link will update sends to primary module;Primary module receives described configuration information, The configuration information of corresponding configuration item is carried out synchronized update.It is understood that above-mentioned synchronizing process has with primary module configuration item Synchronizing process during renewal is different, is because in some cases, for realizing the communication chain that information is mutual between principal and subordinate's module Road has unipolarity.
In some embodiments of the invention, when principal and subordinate's module has configuration item to update, principal and subordinate's module is according to receiving The configuration information updated, updates the configuration information of configuration item corresponding in principal and subordinate's module by local interface.I.e. have when primary module When configuration item updates, primary module, according to the configuration information of the renewal received, updates primary module by the local interface of primary module The configuration information of the configuration item of upper correspondence;When having configuration item to update from module, from module according to the configuration of the renewal received Information, by updating the configuration information of configuration item corresponding from module from the local interface of module.
In some embodiments of the invention, the synchronizing information between principal and subordinate's module is after principal and subordinate's module behaves Completing, and it is in running order to there is any one in only principal and subordinate's module, the rear situation inserting a module is permissible Regard the special circumstances of the present invention as.The such as module under in running order is primary module, inserts from module afterwards, this situation Primary module can be regarded as and have renewal, need the special circumstances of synchronized update from module.Its process realizing synchronizing information is permissible For following process: after module is energized, can initialize according to the configuration of acquiescence, arrange one for the first time initialized simultaneously The flag bit of energising, and after the synchronization program of principal and subordinate's intermodule runs, detect from module it is to run for the first time, then by main mould The whole set of flag bit of block, and remove the flag bit after obtaining set from module, and then obtain the whole configuration items on primary module Configuration information complete synchronized update.
And the module under in running order is from module, inserting primary module afterwards, this situation can be regarded as from module Renewal, primary module is had to need the special circumstances of synchronized update.Its mistake realizing synchronizing information can be following process: primary module leads to After electricity, can initialize according to the configuration of acquiescence, after the synchronization program of principal and subordinate's intermodule runs, detect that primary module is first Secondary operation, can be sent the whole configuration information from module to primary module by communication link from module, thus complete main mould The synchronized update of block.
In some embodiments of the invention, method provided by the present invention can apply the management and monitoring at server On, such as can apply in equipment cabinet server, same in real time by realizing the information of the master-slave management module in equipment cabinet server Step, it is ensured that the reliabilty and availability of management module, thus ensure that the availability reliability of equipment cabinet server.
As can be seen here, a kind of method realizing intermodule synchronizing information that the embodiment of the present invention is provided, by when main mould When block has configuration item to update, the value of position corresponding with the flag bit of the configuration item having configuration information update in flag bit is put by primary module Position, from module by the mark after the set of the communication link acquisition primary module pre-build after primary module is by flag bit set Position, then determines there is the configuration item of configuration information update according to the flag bit obtained, and then according to the configuration item determined from master Module obtains the configuration information of corresponding configuration item and is updated, thus completes the synchronization of principal and subordinate's intermodule information.Work as primary module When having the configuration information update of configuration item, from the corresponding configuration information of the renewal that module is the most real-time, by the information back-up of primary module To from module, in case when primary module breaks down or can not use, realizing monitoring pipe accordingly from module adapter primary module Reason function.Visible, the embodiment of the present invention realizes primary module and the synchronization of the configuration information from module, improves server monitoring pipe The reliabilty and availability of reason module.
Due to the multiformity of the communications link type between principal and subordinate's module, will come as communication link based on serial ports below Introduce the present embodiment.
See a kind of method stream realizing intermodule synchronizing information that Fig. 2, Fig. 2 provide for an alternative embodiment of the invention Journey schematic diagram.Wherein, the method includes:
Step S201: when primary module has configuration item to update, primary module in corresponding serial ports by the corresponding positions of flag bit Value set.
Specifically, when there being the configuration information update of configuration item on primary module, primary module calls corresponding interface function will There is the bit set on the flag bit that the configuration item updating configuration information is corresponding, i.e. utilize serial ports function by the phase on flag bit The value answering position is changed into default value by initial value.Simultaneously, it is provided that corresponding serial ports, this serial ports can make from module by it Get the flag bit updated after configuration item.
Step S202: obtained the flag bit of primary module from module by serial ports.
Specifically, corresponding after module obtains primary module renewal by the serial ports between principal and subordinate's module flag bit.
Step S203: determine the described configuration item of renewal from module according to described flag bit.,
Step S204: obtain corresponding configuration information also by serial ports from described primary module according to described configuration item from module It is updated.
Serial ports in the present embodiment is unidirectional serial ports, so when having, from module, the configuration item updating configuration information, first First pass through local interface and update the configuration information from module self, the most again the configuration information updated is sent to main by serial ports Module, so that primary module completes synchronization with the information from module.It is understood that can also be the configuration letter that will update Cease and sent to primary module by serial ports, then update the configuration information from module self from module by local interface.
The present embodiment realizes the synchronizing information of principal and subordinate's intermodule by communication link based on serial ports, improves server prison The reliabilty and availability of keyholed back plate reason module.
A kind of device realizing intermodule synchronizing information provided the embodiment of the present invention below is introduced, and is described below The device realizing intermodule synchronizing information can be mutually to should refer to the above-described method realizing intermodule synchronizing information.
The structured flowchart of the device realizing intermodule synchronizing information that Fig. 3 provides for the embodiment of the present invention, realizes with reference to Fig. 3 The device of intermodule synchronizing information may include that
Primary module mark position bit location 301, for when primary module has configuration item to update, primary module by flag bit and The value set of the corresponding position of described configuration item;
From module identification position acquiring unit 302, for obtaining described main mould from module by the communication link pre-build The described flag bit of block;
Unit 303 is determined, for determining the configuration item of renewal according to described flag bit from module from module;
Obtain configuration information unit 304 from module, for from module according to the configuration item of the described renewal determined from described Primary module obtains corresponding described configuration information and completes synchronized update.
Additionally, the device realizing intermodule synchronizing information that the embodiment of the present invention provides may include that further
From module transmitting element 305, for when there being the configuration information update of configuration item from module, from module by described Communication link will update after described configuration item configuration information send to primary module;
Primary module lock unit 306, receives described configuration information for primary module, enters the configuration information of corresponding configuration item Row synchronized update.
The device realizing intermodule synchronizing information that the embodiment of the present invention provides may include that further
From module identification bit clear unit 307, for the value of the described flag bit from module is set to initial value.
From module identification position transmitting element 308, for the described flag bit of initial value will be set to by described communication link Send to primary module.
Wherein, the described institute that can obtain described primary module from module identification position acquiring unit 302 by the way of poll State flag bit, it is also possible to obtain flag bit by another way, in this no limit.And the configuration item in described device can To include following any one or combination in any: user's configuration item, alarm configuration item, time configuration item, simple mail transmits Protocol configuration option, it is of course also possible to include other configuration item or configuration item combination.
What the embodiment of the present invention was provided realizes the device of intermodule synchronizing information, and this device has configuration item more when primary module Time new, primary module is by the value set of position corresponding with the flag bit of the configuration item having configuration information update in flag bit, at primary module The communication link passing through to pre-build from module after flag bit set is obtained the flag bit after the set of primary module, then basis The flag bit obtained determines the configuration item having configuration information update, and then obtains correspondence according to the configuration item determined from primary module The configuration information of configuration item be updated, thus complete the synchronization of principal and subordinate's intermodule information, improve server monitoring management Device reliabilty and availability.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other The difference of embodiment, between each embodiment, same or similar part sees mutually.For filling disclosed in embodiment For putting, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant part sees method part Illustrate.
Professional further appreciates that, in conjunction with the unit of each example that the embodiments described herein describes And algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, the most generally describes composition and the step of each example according to function.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above a kind of method realizing intermodule synchronizing information provided by the present invention and device are carried out detailed Jie Continue.Principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is only It is the method and core concept thereof being adapted to assist in and understanding the present invention.It should be pointed out that, for those skilled in the art For, under the premise without departing from the principles of the invention, it is also possible to the present invention is carried out some improvement and modification, these improve and repair Decorations also fall in the protection domain of the claims in the present invention.

Claims (10)

1. the method realizing intermodule synchronizing information, it is characterised in that including:
When primary module has configuration item to update, primary module is by value set with the corresponding position of described configuration item in flag bit, wherein, Whether described flag bit has renewal for the configuration information identifying configuration item;
Obtained the described flag bit of described primary module by the communication link pre-build from module;
Determine the configuration item of renewal according to described flag bit from module;
Obtain corresponding described configuration information according to the configuration item of the described renewal determined from described primary module from module, complete same Step updates.
2. the method for claim 1, it is characterised in that also include:
Described configuration when there being the configuration information update of configuration item from module, after module will be updated by described communication link The configuration information of item sends to primary module;
Primary module receives described configuration information, and the configuration information of corresponding configuration item is carried out synchronized update.
3. the method for claim 1, it is characterised in that described from module according to described configuration item from described primary module After the configuration information of acquisition correspondence is updated, also include:
The value of the described flag bit from module is set to initial value;
By described communication link, the described flag bit being set to initial value is sent to primary module.
4. method as claimed in claim 3, it is characterised in that the described communication link passing through to pre-build from module obtains institute The described flag bit stating primary module includes:
The described flag bit of described primary module is obtained by the way of poll.
5. the method as described in Claims 1-4 any one, it is characterised in that described configuration item includes following any one Or combination in any:
User's configuration item, alarm configuration item, time configuration item, Simple Mail Transfer protocol configuration item.
6. the device realizing intermodule synchronizing information, it is characterised in that including:
Primary module mark position bit location, for when primary module has configuration item to update, primary module will be joined with described in flag bit Put the value set of the corresponding position of item;
From module identification position acquiring unit, for being obtained described in described primary module by the communication link pre-build from module Flag bit;
Unit is determined, for determining the configuration item of renewal according to described flag bit from module from module;
Configuration information unit is obtained, for obtaining from described primary module according to the configuration item of the described renewal determined from module from module Take the described configuration information of correspondence, complete synchronized update.
7. device as claimed in claim 6, it is characterised in that also include:
From module transmitting element, for when there being the configuration information update of configuration item from module, from module by described communication chain Road will update after described configuration item configuration information send to primary module;
Primary module lock unit, receives described configuration information for primary module, synchronizes the configuration information of corresponding configuration item Update.
8. device as claimed in claim 6, it is characterised in that also include:
From module identification bit clear unit, for the value of the described flag bit from module is set to initial value;
From module identification position transmitting element, for the described flag bit being set to initial value being sent to main by described communication link Module.
9. device as claimed in claim 8, it is characterised in that described include from module identification position acquiring unit:
The described flag bit of described primary module is obtained by the way of poll.
10. the device as described in claim 6 to 9 any one, it is characterised in that described configuration item includes following any one Or combination in any:
User's configuration item, alarm configuration item, time configuration item, Simple Mail Transfer protocol configuration item.
CN201610833589.2A 2016-09-20 2016-09-20 Method and device for realizing information synchronization between modules Active CN106331152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610833589.2A CN106331152B (en) 2016-09-20 2016-09-20 Method and device for realizing information synchronization between modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610833589.2A CN106331152B (en) 2016-09-20 2016-09-20 Method and device for realizing information synchronization between modules

Publications (2)

Publication Number Publication Date
CN106331152A true CN106331152A (en) 2017-01-11
CN106331152B CN106331152B (en) 2020-02-07

Family

ID=57787594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610833589.2A Active CN106331152B (en) 2016-09-20 2016-09-20 Method and device for realizing information synchronization between modules

Country Status (1)

Country Link
CN (1) CN106331152B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878061A (en) * 2017-01-12 2017-06-20 烽火通信科技股份有限公司 A kind of method and device for realizing that data communications equipment configuration is synchronous
CN109491756A (en) * 2018-09-28 2019-03-19 深圳市彬讯科技有限公司 A kind of system running environment synchronous method and device, storage medium
CN111030871A (en) * 2019-12-23 2020-04-17 杭州迪普科技股份有限公司 Configuration information synchronization method and device based on dual-computer hot standby system
CN112389507A (en) * 2019-08-14 2021-02-23 比亚迪股份有限公司 Automatic train monitoring system and method, storage medium and data server
CN113835467A (en) * 2021-09-26 2021-12-24 深圳市杰普特光电股份有限公司 Clock synchronization system, method, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050524A1 (en) * 2005-08-26 2007-03-01 Intel Corporation Configurable notification generation
CN1968133A (en) * 2006-04-11 2007-05-23 华为技术有限公司 Equipment configuration information management method and its system
CN101019373A (en) * 2004-12-28 2007-08-15 中兴通讯股份有限公司 A method and device for controlling the configuration of configuration parameter set of the remote device
CN101272275A (en) * 2008-05-07 2008-09-24 华为技术有限公司 Network management equipment, method and system for acquiring network appliance configuration information
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
CN102006156A (en) * 2009-09-02 2011-04-06 中兴通讯股份有限公司 Method and system for synchronizing configuration data among boards
CN102067676A (en) * 2008-06-23 2011-05-18 高通股份有限公司 Method and apparatus for managing system information modification in a wireless communication system
CN102104854A (en) * 2009-12-22 2011-06-22 大唐移动通信设备有限公司 Method, system and device for informing update of system information
CN102129228A (en) * 2010-01-13 2011-07-20 艾默生网络能源系统北美公司 Monitoring system and configuration method thereof
CN102761615A (en) * 2012-06-29 2012-10-31 浪潮(北京)电子信息产业有限公司 Method and device for realizing data synchronism of long-distance duplication system
CN103019888A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Backup method and device
CN103064763A (en) * 2012-12-27 2013-04-24 华为技术有限公司 Data backup method and related device and system
CN103281405A (en) * 2013-03-04 2013-09-04 北京快网科技有限公司 Efficient multi-line intelligent DNS (domain name server) configuration master-slave replication method based on bitmaps
CN104166606A (en) * 2014-08-29 2014-11-26 华为技术有限公司 File backup method and main storage device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019373A (en) * 2004-12-28 2007-08-15 中兴通讯股份有限公司 A method and device for controlling the configuration of configuration parameter set of the remote device
US20070050524A1 (en) * 2005-08-26 2007-03-01 Intel Corporation Configurable notification generation
CN1968133A (en) * 2006-04-11 2007-05-23 华为技术有限公司 Equipment configuration information management method and its system
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
CN101272275A (en) * 2008-05-07 2008-09-24 华为技术有限公司 Network management equipment, method and system for acquiring network appliance configuration information
CN102067676A (en) * 2008-06-23 2011-05-18 高通股份有限公司 Method and apparatus for managing system information modification in a wireless communication system
CN102006156A (en) * 2009-09-02 2011-04-06 中兴通讯股份有限公司 Method and system for synchronizing configuration data among boards
CN102104854A (en) * 2009-12-22 2011-06-22 大唐移动通信设备有限公司 Method, system and device for informing update of system information
CN102129228A (en) * 2010-01-13 2011-07-20 艾默生网络能源系统北美公司 Monitoring system and configuration method thereof
CN102761615A (en) * 2012-06-29 2012-10-31 浪潮(北京)电子信息产业有限公司 Method and device for realizing data synchronism of long-distance duplication system
CN103019888A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Backup method and device
CN103064763A (en) * 2012-12-27 2013-04-24 华为技术有限公司 Data backup method and related device and system
CN103281405A (en) * 2013-03-04 2013-09-04 北京快网科技有限公司 Efficient multi-line intelligent DNS (domain name server) configuration master-slave replication method based on bitmaps
CN104166606A (en) * 2014-08-29 2014-11-26 华为技术有限公司 File backup method and main storage device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878061A (en) * 2017-01-12 2017-06-20 烽火通信科技股份有限公司 A kind of method and device for realizing that data communications equipment configuration is synchronous
CN106878061B (en) * 2017-01-12 2019-08-13 烽火通信科技股份有限公司 A kind of method and device for realizing that data communications equipment configuration is synchronous
CN109491756A (en) * 2018-09-28 2019-03-19 深圳市彬讯科技有限公司 A kind of system running environment synchronous method and device, storage medium
CN112389507A (en) * 2019-08-14 2021-02-23 比亚迪股份有限公司 Automatic train monitoring system and method, storage medium and data server
CN111030871A (en) * 2019-12-23 2020-04-17 杭州迪普科技股份有限公司 Configuration information synchronization method and device based on dual-computer hot standby system
CN113835467A (en) * 2021-09-26 2021-12-24 深圳市杰普特光电股份有限公司 Clock synchronization system, method, electronic equipment and storage medium
CN113835467B (en) * 2021-09-26 2024-03-29 深圳市杰普特光电股份有限公司 Clock synchronization system, method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106331152B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN106331152A (en) Method and device for realizing information synchronization between modules
CN102769667B (en) Method, equipment and system for generating ID
CN104301142B (en) A kind of backup method and equipment of configuration file
US8761001B2 (en) Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
CN109688012A (en) A kind of method of alliance's chain node hot standby switch
CN109523040B (en) User equipment repair method, server, system and medium capable of protecting privacy
CN106506153A (en) One kind changes decryption method, device and fort machine automatically
CN107404540A (en) The synchronous method and device of data
CN108062243A (en) Generation method, task executing method and the device of executive plan
CN106657169A (en) Main and slave node data synchronization method in Redis
CN106960166A (en) A kind of smart jack management system and its method based on distributed general ledger technology
CN106575251A (en) Speculative data processing of streaming data
CN102739445B (en) A kind of method and system for rapidly positioning faults of looped network
CN106034004A (en) Time synchronizing method for AVB in vehicle and system thereof
CN109743160A (en) Prevent the Android device unique identification acquisition methods and device of Hook falsification
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
CN104580425A (en) Client data synchronization method and system
CN106331081A (en) Information synchronization method and device
CN102611574A (en) Automatic configuration system and configuration method for VPN (Virtual Private Network)
CN103684841A (en) Network management server and link discovery comparison method
CN108011870B (en) A kind of remote software online upgrading information automatic identification management method
CN105471746A (en) Relay system and switching device
CN109460182A (en) A kind of storage of data, read method and device
CN104735060B (en) Router and its verification method of datum plane information and checking device
CN106971272A (en) Synchronous system and method is operated between a kind of dispatching automation main preparation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant