CN106341279A - Configuration information synchronizing method and device - Google Patents
Configuration information synchronizing method and device Download PDFInfo
- Publication number
- CN106341279A CN106341279A CN201610977869.0A CN201610977869A CN106341279A CN 106341279 A CN106341279 A CN 106341279A CN 201610977869 A CN201610977869 A CN 201610977869A CN 106341279 A CN106341279 A CN 106341279A
- Authority
- CN
- China
- Prior art keywords
- equipment
- configuration information
- broadcasting packet
- address
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/303—Terminal profiles
Abstract
The invention provides a configuration information synchronizing method and device. The method comprises that a first device receives a first broadcast message with device information of a second device from the second device; according to the device information of the second device, the first device determines whether to obtain configuration information provided by the second device; after that it is determined that the configuration information provided by the second device can be obtained, the first device sends a second broadcast message with device information of the first device to the second device, so that the second device verifies the device information of the first device, and a first notification message is sent to the first device after that verification passes; after receiving the first notification message, the first device establishes a communication link and sends a configuration information list to the second device; and the first device receives configuration information corresponding to the configuration information list and returned by the second device. The method and system improve the configuring speed and accuracy during synchronization of configuration information.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of synchronous method of configuration information and device.
Background technology
In prior art, with the rise of WLAN, as the entrance of numerous intelligent terminals and outbound communication, and
The key node of network data transmission, integrated access equipment is integrated with increasing function, has run more and more third parties
Application program.Under this trend, the configuration information of integrated access equipment gets more and more and flow process is more and more loaded down with trivial details.
When new access device substitutes old access device, need to re-start setting to new access device.But configuration equipment
Process comparatively laborious.
For the loaded down with trivial details problem of new integrated access equipment configuration in prior art, current industry does not have preferable solution party
Formula.
Content of the invention
Present invention aim at the synchronous method of offer configuration information and device are it is intended to solve new synthesis in prior art
The loaded down with trivial details problem of access device configuration.
First aspect present invention provides a kind of synchronous method of configuration information, and the method includes:
First equipment receives the first broadcasting packet that the second equipment sends, and carries described the in described first broadcasting packet
The facility information of two equipment;
Described first equipment, according to the facility information of described second equipment, judges whether to obtain what described second equipment provided
Configuration information;
After being determined to obtain the configuration information that described second equipment provides, described first equipment is to described second equipment
Send the second broadcasting packet, in described second broadcasting packet, carry the facility information of described first equipment, so that described second
Equipment is verified to the facility information of described first equipment, and sends the first notice to described first equipment after being verified
Message;
Described first equipment, after receiving described first notice message, is set up communication link and is sent to described second equipment
Configuration information inventory;
Described first equipment receives the configuration information corresponding with described configuration information inventory that described second equipment returns.
Second aspect present invention provides the synchronous method of another kind of configuration information, and the method includes:
Second equipment sends the first broadcasting packet to the first equipment, carries described second and set in described first broadcasting packet
Standby facility information, so that described first equipment is being determined to obtain described second according to the facility information of described second equipment
After the configuration information that equipment provides, send the second broadcasting packet to described second equipment, carry in described second broadcasting packet
The facility information of described first equipment;
Described second equipment is verified to the facility information of described first equipment, and to described first after being verified
Equipment sends the first notice message, so that described first equipment is after receiving described first notice message, communication is set up in triggering
Link to described second equipment send configuration information inventory;
Described second equipment returns configuration information corresponding with described configuration information inventory to described first equipment.
Third aspect present invention provides a kind of sychronisation of configuration information, and this device includes:
First receiver module, for receiving the first broadcasting packet that the second equipment sends, takes in described first broadcasting packet
Facility information with described second equipment;
Judge module, for the facility information according to described second equipment, judges whether that obtaining described second equipment provides
Configuration information;
First sending module, for after being determined to obtain the configuration information that described second equipment provides, described first
Equipment sends the second broadcasting packet to described second equipment, carries the equipment of described first equipment in described second broadcasting packet
Information, so that described second equipment is verified to the facility information of described first equipment, and to described after being verified
One equipment sends the first notice message;
Second sending module, for after receiving described first notice message, setting up communication link and setting to described second
Preparation send configuration information inventory;
Second receiver module, for receiving the configuration letter corresponding with described configuration information inventory that described second equipment returns
Breath.
Fourth aspect present invention provides the sychronisation of another kind of configuration information, and this device includes:
First sending module, for sending the first broadcasting packet to the first equipment, carries in described first broadcasting packet
The facility information of described second equipment, so that described first equipment is being determined to obtain according to the facility information of described second equipment
After taking the configuration information that described second equipment provides, send the second broadcasting packet, described second broadcast report to described second equipment
The facility information of described first equipment is carried in literary composition;
Second sending module, for verifying to the facility information of described first equipment, and to institute after being verified
First equipment of stating sends the first notice message, so that described first equipment is after receiving described first notice message, triggering is built
Vertical communication link to described second equipment send configuration information inventory;
3rd sending module, for returning configuration information corresponding with described configuration information inventory to described first equipment.
According to the present invention, equipment to be configured and configuration equipment understand other side's situation according to broadcasting packet, are meeting default bar
Set up in the case of part and contact and synchronize, can rapidly and accurately complete the configuration to the new integrated access equipment networking,
Thus improving configuration speed and the degree of accuracy.
Brief description
Fig. 1 is a kind of flow chart of the synchronous method of configuration information provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the synchronous method of another kind configuration information provided in an embodiment of the present invention;
The flow chart of the synchronous method of the configuration information that Fig. 3 provides for the preferred embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of the sychronisation of configuration information provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart of the sychronisation of another kind configuration information provided in an embodiment of the present invention.
Specific embodiment
In order that the technical problem to be solved in the present invention, technical scheme and beneficial effect become more apparent, below in conjunction with
Drawings and Examples, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.
Embodiments provide a kind of synchronous method of configuration information, Fig. 1 is one kind provided in an embodiment of the present invention
The flow chart of the synchronous method of configuration information, as shown in figure 1, the method specifically includes following steps s110 to step s150.
Step s110, the first equipment receives the first broadcasting packet that the second equipment sends, and carries in the first broadcasting packet
The facility information of the second equipment.
Specifically, facility information includes unit type, software version and the Internet protocol ip address of the second equipment.
The first equipment in the present embodiment and the second equipment are 2 integrated access equipment, for example, it may be router or
The equipment such as Set Top Box, when carrying out the synchronization of configuration information, between router, between Set Top Box and other integrated access equipment
Between, there is similar communication mechanism.
Integrated access equipment due to update, equipment fault or reaches the reasons such as service life, needs to be changed,
When changing the said equipment, need first to lift down used equipment, then new equipment is installed, then new equipment is configured, existing skill
Longer time manual configuration again is often spent in art, by the present embodiment, can be with this problem of effectively solving.Now,
Used equipment is referred to as the second equipment, and new equipment is referred to as the first equipment.
Broadcasting packet in the present embodiment refers to the message propagated by broadcast mode, and broadcast makes network topology simple,
It is easily achieved it is not necessary to extra gateway device.
Step s120, the first equipment, according to the facility information of the second equipment, judges whether to obtain joining of the second equipment offer
Confidence ceases.
Before the second equipment and the first equipment carry out the synchronization of configuration information, the two is required for first knowing the broadcast of other side
Message, to understand the facility information of other side, thus judge whether to carry out the synchronization of configuration information.If can be configured
The synchronization of information, then carry out subsequent step;If the synchronization of configuration information can not be carried out, follow-up step need not be carried out.
Step s130, after being determined to obtain the configuration information that the second equipment provides, the first equipment is sent out to the second equipment
Send the second broadcasting packet, in the second broadcasting packet, carry the facility information of the first equipment, so that the second equipment is to the first equipment
Facility information verified, and after being verified to first equipment send the first notice message.
After the synchronization being determined to carry out configuration information, the first equipment sends broadcasting packet to the second equipment.Broadcast report
Wen Li includes the facility information of the first equipment, and the first equipment is sent out broadcasting packet, and recipient can be promoted to understand setting of itself
Standby information, thus judge whether can be with the synchronization oneself completing configuration information.
In the broadcasting packet from the first equipment after the checking of the second equipment, the second equipment sends the to the first equipment
One notice message, this notice message is used for notifying the first equipment, and the second equipment is ready for.
The synchronization of the second equipment and the first equipment need to carry out two-way judgement, and the mode that the second equipment initially passes through broadcast sends
During the first broadcasting packet, do not determine whether to meet the synchronous equipment requiring.First equipment after receiving the first broadcasting packet,
Determine meet synchronous require, the second broadcasting packet therefore to the second device replied, determine that the first equipment meets in the second equipment
After synchronous requirement, two-way judgement has completed, and the second equipment is ready for ready, now to first equipment transmission the first notice report
Literary composition, waits the subsequent operation of the first equipment.
Step s140, the first equipment, after receiving the first notice message, is set up communication link and is joined to the second equipment transmission
Confidence ceases inventory.
Oneself required configuration information is write in configuration information inventory by the first equipment, so that the second equipment knows that needs carry
For information.
Step s150, the first equipment receives the configuration information corresponding with configuration information inventory that the second equipment returns.
Second equipment prepares configuration information according to configuration information inventory, and sends configuration information to the first equipment.First
After equipment receives this configuration information, that is, complete the synchronization of configuration information.
According to this embodiment, it can rapidly and accurately complete the configuration to the new integrated access equipment networking, thus improving
Configuration speed and the degree of accuracy.
In order to reach higher security, after completing synchronization, synchronous service can be closed, to avoid sending out configuration information
Give other equipment.Preferably, the first equipment, after completing information configuration, sends the second notice message to the second equipment, with
The second equipment is made to close configuration information synchronous service after receiving the second notice message.By this step, can avoid joining
Confidence breath is sent to other unrelated equipment.
The embodiment of the present invention additionally provides the synchronous method of another kind of configuration information, and the method can be used for mating Fig. 1 institute
The synchronous method of the configuration information relating to, respectively the angle from the second equipment and the first equipment complete the synchronization of configuration information.Fig. 2 is
Provided in an embodiment of the present invention another kind configuration information synchronous method flow chart, as shown in Fig. 2 the method specifically include with
Lower step s210 is to step s230.
Step s210, the second equipment sends the first broadcasting packet to the first equipment, carries second in the first broadcasting packet
The facility information of equipment, so that the first equipment is being determined to obtain what the second equipment provided according to the facility information of the second equipment
After configuration information, send the second broadcasting packet to the second equipment, in the second broadcasting packet, carry the facility information of the first equipment.
Have recorded unit type, the software of the second equipment by certain form in the first broadcasting packet that second equipment sends
The information such as version and ip address.The second broadcasting packet that first equipment returns includes the unit type of the first equipment, software version
The information such as this and ip address.
Preferably, the second equipment, while sending the first broadcasting packet to the first equipment, starts timing;When timing duration
When reaching predetermined threshold value, close configuration information synchronous service.
When meeting certain trigger condition, the second equipment sends the first broadcasting packet for example to the first equipment, only one
During the insertion of lan mouth netting twine.Second equipment is only interior for a period of time on triggering, such as, in 2 minutes, send UDP
(user datagram protocol, referred to as udp) LAN broadcast declares message, this avoid long-time unlatching synchronous
The safety problem servicing and may leading to, only synchronizes service under given conditions, can ensure as far as possible to be set by synchronous
The standby equipment being in safe condition.
Step s220, the second equipment is verified to the facility information of the first equipment, and sets to first after being verified
Preparation send the first notice message, so that the first equipment is after receiving the first notice message, triggering sets up communication link and to the
Two equipment send configuration information inventories.
The synchronization of the second equipment and the first equipment need to carry out two-way judgement, and the mode that the second equipment initially passes through broadcast sends
Broadcasting packet, and whether uncertain first message meets synchronous requirement.First equipment, after receiving this broadcasting packet, determines and meets
In the second equipment, synchronous requirement, therefore to one broadcasting packet of the second device replied, determines that this first equipment meets synchronous requirement
Afterwards, two-way judgement has completed, and when configuration information can be synchronized to the first equipment by the second equipment determination, the second equipment can pass through
The mode of the first notice message informs the first equipment, allow first equipment prepare corresponding configuration information inventory, the second equipment according to
Configuration information inventory knows the information needing to provide.
Preferably, in this step, the second equipment can confirm that the ip address whether ip ground with the second equipment of the first equipment
Location is in the identical network segment and the ip address of the two differs;If at the ip address of the ip address of the first equipment and the second equipment
Identical in the different network segments or the ip address of the two, then apply for new ip address at the first equipment.
Only when the first equipment and the second equipment are in the same network segment and have different ip address, the two is only possible to set up
Communication, therefore can carry out corresponding preparation for communication in this step.
Step s230, the second equipment returns configuration information corresponding with configuration information inventory to the first equipment.
Second equipment prepares configuration information according to configuration information inventory, and sends configuration information to the first equipment.
The flow chart of the synchronous method of the configuration information that Fig. 3 provides for the preferred embodiment of the present invention, this preferred embodiment relates to
And second equipment and the first equipment interaction, the operation of each equipment in this preferred embodiment can apply to corresponding Fig. 1 and Fig. 2
Involved synchronous method.
The present embodiment, introduces the synchronous method of configuration information, router or other integrated access equipment taking Set Top Box as a example
Can be using similar synchronous method.
The normal Set Top Box using accesses internet by netting twine, when needing to change Set Top Box, can by netting twine by
Configured good Set Top Box and Set Top Box to be configured connect, to carry out the synchronization of configuration information.As shown in figure 3, the method bag
Include step s310 to step s360.
Step s310, the second equipment (old Set Top Box, configured), and be in power-up state, user pulls out during it connects
Netting twine after, second equipment start configuration provides service routine, and start service window (as open 2 minutes service windows).
In the service window of 2 minutes after the second equipment starts configuration service program, the first equipment (new Set Top Box,
Do not configure, and can be different model with old Set Top Box) the second equipment is connected into by rj45 netting twine.If not in 2 minutes
It is connected into the second equipment, then the second equipment can close service, the synchronization of configuration information can terminate.
Specifically, old Set Top Box send under specific network topology udp form used equipment declaration message (for example only have
Triggering during a piece lan mouth netting twine insertion, can be to monitor that rj45 netting twine is connected in the present embodiment), press certain lattice in message
Formula records the information such as oneself unit type, software version and ip address, declares that oneself being one can provide configuration synchronous clothes
Second equipment of business.Open service simultaneously, and start timer, only provide configuration information to be read in special time period
Service, and restriction is connected into number of times, time-out then closes service;If now there being other operations to carry out (as plug netting twine), also can close
Close service.
Step s320, the first equipment after the broadcasting packet receiving the second equipment, according in broadcasting packet record second
The information such as unit type and software version, identify be this second equipment be the equipment that can completely or partially extract configuration information
Afterwards (the ssid account number of such as wifi or password), just can send the broadcasting packet of the udp form of the first equipment, declare it oneself is one
Platform new equipment, records the information such as oneself unit type, software version and ip address by certain form in message.If now
There are other operations to carry out (as plug netting twine) and then terminate service.
Step s330, the second equipment, after the broadcasting packet receiving the first equipment, verifies the first unit type and software version
After whether this supports synchronization, decide whether to provide synchronous service to it.Synchronous service can be provided as determined, then basis exists
The ip address of oneself is changed in the first equipment ip address obtaining in broadcasting packet, specifically, can confirm that whether be in same net
Section and have different ip addresses, if not being then to apply for new ip address using limited means such as dhcp mode at the first equipment, this
Sample can set up tcp/udp communication link in order to subsequent step).If now there being other operations to carry out (as plug netting twine),
Terminate service.
Step s340, the second apparatus modifications complete ip address, determination is in same LAN with the first equipment and ip does not conflict
Afterwards, then unicast sends the ready declaration of udp form, inform the first equipment, oneself be ready for ready, can be reading configuration letter
Breath.If now there being other operations to carry out (as plug netting twine), terminate service.
Step s350, after the first equipment receives the ready declaration of the second equipment, using ssl Mechanism establishing secure communication chain
Road, and send oneself required configuration information inventory to the second equipment, the second equipment returns configuration information according to inventory.
Step s360, after the first equipment all comes into force the configuration information getting, unicast sends synchronously completing of udp form
Declaration message, and remove communication link.Second equipment receives after synchronously completing declaration message, closes service, reinstatement state.
After first equipment is restarted, it is possible to use the configuration information getting from the second equipment provides service.
Embodiments provide a kind of sychronisation of configuration information, for executing the synchronous method involved by Fig. 1.Figure
4 is a kind of structured flowchart of the sychronisation of configuration information provided in an embodiment of the present invention, as shown in figure 4, this device includes the
One receiver module 410, judge module 420, the first sending module 430, the second sending module 440 and the second receiver module 450.
First receiver module 410 is used for receiving the first broadcasting packet that the second equipment sends, and carries in the first broadcasting packet
The facility information of the second equipment.
Judge module 420 is used for the facility information according to the second equipment, judges whether to obtain the configuration that the second equipment provides
Information.
First sending module 430 is used for after being determined to obtain the configuration information that the second equipment provides, the first equipment to
Second equipment sends the second broadcasting packet, carries the facility information of the first equipment in the second broadcasting packet, so that the second equipment
The facility information of the first equipment is verified, and sends the first notice message to the first equipment after being verified.
Second sending module 440 is used for, after receiving the first notice message, setting up communication link and sending to the second equipment
Configuration information inventory.
Second receiver module 450 is used for receiving the configuration information corresponding with configuration information inventory that the second equipment returns.
Preferably, this device also includes the 3rd sending module, for, after completing information configuration, sending to the second equipment
Second notice message, so that the second equipment closes configuration information synchronous service after receiving the second notice message.
The embodiment of the present invention additionally provides a kind of sychronisation of configuration information, for executing the synchronous method involved by Fig. 2.
Fig. 5 is the structured flowchart of the sychronisation of another kind configuration information provided in an embodiment of the present invention, as shown in figure 5, this device bag
Include the first sending module 510, the second sending module 520 and the 3rd sending module 530.
First sending module 510 is used for sending the first broadcasting packet to the first equipment, carries the in the first broadcasting packet
The facility information of two equipment, so that the first equipment is being determined to obtain the second equipment offer according to the facility information of the second equipment
Configuration information after, to second equipment send the second broadcasting packet, carry in the second broadcasting packet the first equipment equipment letter
Breath;
Second sending module 520 is used for the facility information of the first equipment is verified, and to first after being verified
Equipment send the first notice message so that the first equipment is after receiving the first notice message, triggering set up communication link and to
Second equipment send configuration information inventory;
3rd sending module 530 is used for returning configuration information corresponding with configuration information inventory to the first equipment.
Preferably, this device also includes: computing module, for sending the first broadcasting packet in the second equipment to the first equipment
While, start timing;Closedown module, for when timing duration reaches predetermined threshold value, closing configuration information synchronous service.
Preferably, the facility information of the first equipment includes the ip address of the first equipment, and the second sending module 520 includes: really
Order unit, whether the ip address for confirming the first equipment is in the identical network segment and the ip of the two with the ip address of the second equipment
Address is different;Application unit, if be in the different network segments or two for the ip address of the first equipment from the ip address of the second equipment
The ip address of person is identical, then apply for new ip address at the first equipment.
Those skilled in the art can be understood that, for convenience of description and succinctly, only with above-mentioned each work(
The division of energy unit is illustrated, and in practical application, can distribute above-mentioned functions by different functions as desired
Unit completes, and the internal structure of device will be divided into different functional units or module, with complete described above all or
Person's partial function.Each functional unit in embodiment can be integrated in a processing unit or unit is independent
It is physically present it is also possible to two or more units are integrated in a unit, above-mentioned integrated unit both can be using hard
The form of part is realized, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, the specific name of each functional unit is also
Distinguish for the ease of mutual, be not limited to the protection domain of the application.The specific work process of unit in said apparatus, can
With reference to the corresponding process in aforementioned means embodiment, will not be described here.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel
Each specific application can be come to realize described function using different device, but this realization is it is not considered that exceed
The scope of the present invention.
It should be understood that disclosed device and device in embodiment provided by the present invention, can pass through other
Mode is realized.For example, device embodiment described above is only schematically, for example, the division of module or unit, and only
For a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple units or assembly can combine
Or it is desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed phase
Coupling between mutually or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication
Connect, can be electrical, mechanical or other forms.
The unit illustrating as separating component can be or may not be physically separate, show as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.The purpose to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If integrated unit realized using in the form of SFU software functional unit and as independent production marketing or use when, can
To be stored in a computer read/write memory medium.Based on such understanding, the technical scheme essence of the embodiment of the present invention
On all or part of the part that in other words prior art contributed or this technical scheme can be with the shape of software product
Formula embodies, and this computer software product is stored in a storage medium, including some instructions with so that one calculates
Machine equipment (can be personal computer, server, or network equipment etc.) or processor (processor) the execution present invention are real
Apply all or part of step of each embodiment device of example.And aforesaid storage medium includes: u disk, portable hard drive, read-only storage
Device (rom, read-only memory), random access memory (ram, random access memory), magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Above example only in order to technical scheme to be described, is not intended to limit;Although with reference to the foregoing embodiments
The present invention has been described in detail, it will be understood by those within the art that: it still can be to aforementioned each enforcement
Technical scheme described in example is modified, or carries out equivalent to wherein some technical characteristics;And these modification or
Replace, do not make the essence of appropriate technical solution depart from the spirit and scope of the embodiment of the present invention each embodiment technical scheme.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Any modification, equivalent and improvement of being made within principle etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of synchronous method of configuration information is it is characterised in that include:
First equipment receives the first broadcasting packet that the second equipment sends, and carries described second and set in described first broadcasting packet
Standby facility information;
Described first equipment, according to the facility information of described second equipment, judges whether to obtain the configuration that described second equipment provides
Information;
After being determined to obtain the configuration information that described second equipment provides, described first equipment sends to described second equipment
Second broadcasting packet, carries the facility information of described first equipment in described second broadcasting packet, so that described second equipment
The facility information of described first equipment is verified, and sends first to described first equipment after being verified and notify report
Literary composition;
Described first equipment, after receiving described first notice message, sets up communication link and to described second equipment send configuration
Information inventory;
Described first equipment receives the configuration information corresponding with described configuration information inventory that described second equipment returns.
2. the method for claim 1 is it is characterised in that methods described also includes:
Described first equipment, after completing information configuration, sends the second notice message to described second equipment, so that described the
Two equipment close configuration information synchronous service after receiving described second notice message.
3. a kind of synchronous method of configuration information is it is characterised in that include:
Second equipment sends the first broadcasting packet to the first equipment, carries described second equipment in described first broadcasting packet
Facility information, so that described first equipment is being determined to obtain described second equipment according to the facility information of described second equipment
After the configuration information providing, send the second broadcasting packet to described second equipment, carry described in described second broadcasting packet
The facility information of the first equipment;
Described second equipment is verified to the facility information of described first equipment, and to described first equipment after being verified
Send the first notice message, so that described first equipment is after receiving described first notice message, communication link is set up in triggering
And to described second equipment send configuration information inventory;
Described second equipment returns configuration information corresponding with described configuration information inventory to described first equipment.
4. method as claimed in claim 3 is it is characterised in that methods described also includes:
Described second equipment, while sending the first broadcasting packet to described first equipment, starts timing;
When timing duration reaches predetermined threshold value, described second equipment closes configuration information synchronous service.
5. method as claimed in claim 3 is it is characterised in that the facility information of the first equipment includes the ip of described first equipment
Address,
Described second equipment is verified to the facility information of described first equipment, and to described first equipment after being verified
Send the first notice message to include:
Described second equipment confirms that whether the ip address of described first equipment is in identical with the ip address of described second equipment
The network segment and the ip address of the two difference;
If the ip address of described first equipment is in the different network segments or the ip address of the two from the ip address of described second equipment
Identical, then apply for new ip address at described first equipment.
6. a kind of sychronisation of configuration information is it is characterised in that include:
First receiver module, for receiving the first broadcasting packet that the second equipment sends, carries in described first broadcasting packet
The facility information of described second equipment;
Judge module, for the facility information according to described second equipment, judges whether to obtain joining of described second equipment offer
Confidence ceases;
First sending module, for after being determined to obtain the configuration information that described second equipment provides, described first equipment
Send the second broadcasting packet to described second equipment, in described second broadcasting packet, carry the equipment letter of described first equipment
Breath, so that described second equipment is verified to the facility information of described first equipment, and to described first after being verified
Equipment sends the first notice message;
Second sending module, for after receiving described first notice message, setting up communication link and sending out to described second equipment
Send configuration information inventory;
Second receiver module, for receiving the configuration information corresponding with described configuration information inventory that described second equipment returns.
7. device as claimed in claim 6 is it is characterised in that described device also includes:
3rd sending module, for, after completing information configuration, sending the second notice message to described second equipment, so that institute
Second equipment of stating closes configuration information synchronous service after receiving described second notice message.
8. a kind of sychronisation of configuration information is it is characterised in that include:
First sending module, for sending the first broadcasting packet to described first equipment, carries in described first broadcasting packet
The facility information of described second equipment, so that described first equipment is being determined to obtain according to the facility information of described second equipment
After taking the configuration information that described second equipment provides, send the second broadcasting packet, described second broadcast report to described second equipment
The facility information of described first equipment is carried in literary composition;
Second sending module, for verifying to the facility information of described first equipment, and to described after being verified
One equipment sends the first notice message, so that described first equipment is after receiving described first notice message, triggering is set up logical
Believe link and to described second equipment send configuration information inventory;
3rd sending module, for returning configuration information corresponding with described configuration information inventory to described first equipment.
9. device as claimed in claim 8 is it is characterised in that described device also includes:
Computing module, for, while sending the first broadcasting packet to the first equipment, starting timing;
Closedown module, for when timing duration reaches predetermined threshold value, closing configuration information synchronous service.
10. device as claimed in claim 8 is it is characterised in that the facility information of the first equipment includes the ip address of the first equipment,
Described second sending module includes:
Determining unit, whether the ip address for confirming described first equipment is in identical with the ip address of described second equipment
The network segment and the ip address of the two difference;
Application unit, if for described first equipment ip address and the ip address of described second equipment be in the different network segments or
The ip address of the two is identical, then apply for new ip address at described first equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977869.0A CN106341279B (en) | 2016-10-31 | 2016-10-31 | The synchronous method and device of configuration information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977869.0A CN106341279B (en) | 2016-10-31 | 2016-10-31 | The synchronous method and device of configuration information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106341279A true CN106341279A (en) | 2017-01-18 |
CN106341279B CN106341279B (en) | 2019-08-16 |
Family
ID=57840985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610977869.0A Active CN106341279B (en) | 2016-10-31 | 2016-10-31 | The synchronous method and device of configuration information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106341279B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005203A (en) * | 2017-06-06 | 2018-12-14 | 无锡雅座在线科技股份有限公司 | Method of data synchronization and device, storage medium, processor, terminal |
CN110602460A (en) * | 2019-09-20 | 2019-12-20 | 普联技术有限公司 | Video decoding wall-mounting control method, system and device |
CN110856029A (en) * | 2019-10-17 | 2020-02-28 | 北京雷石天地电子技术有限公司 | Method and system for synchronizing local area network set top box resources |
CN112769618A (en) * | 2021-01-07 | 2021-05-07 | 深圳市海雀科技有限公司 | Equipment configuration method and device |
CN114007229A (en) * | 2021-11-01 | 2022-02-01 | 迈普通信技术股份有限公司 | Device configuration method, device, network device and computer readable storage medium |
CN114205227A (en) * | 2021-12-10 | 2022-03-18 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1735036A (en) * | 2004-08-03 | 2006-02-15 | 杭州华为三康技术有限公司 | Method for realizing distributed collocation in communication device management group |
CN104597890A (en) * | 2015-02-13 | 2015-05-06 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105871668A (en) * | 2016-03-29 | 2016-08-17 | 海尔优家智能科技(北京)有限公司 | Interconnection method of Internet of Things intelligent household electrical appliances and the intelligent household electrical appliance |
CN105991355A (en) * | 2016-07-20 | 2016-10-05 | 广州视源电子科技股份有限公司 | Method and device for configuring equipment information |
-
2016
- 2016-10-31 CN CN201610977869.0A patent/CN106341279B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1735036A (en) * | 2004-08-03 | 2006-02-15 | 杭州华为三康技术有限公司 | Method for realizing distributed collocation in communication device management group |
CN104597890A (en) * | 2015-02-13 | 2015-05-06 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105871668A (en) * | 2016-03-29 | 2016-08-17 | 海尔优家智能科技(北京)有限公司 | Interconnection method of Internet of Things intelligent household electrical appliances and the intelligent household electrical appliance |
CN105991355A (en) * | 2016-07-20 | 2016-10-05 | 广州视源电子科技股份有限公司 | Method and device for configuring equipment information |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005203A (en) * | 2017-06-06 | 2018-12-14 | 无锡雅座在线科技股份有限公司 | Method of data synchronization and device, storage medium, processor, terminal |
CN110602460A (en) * | 2019-09-20 | 2019-12-20 | 普联技术有限公司 | Video decoding wall-mounting control method, system and device |
CN110856029A (en) * | 2019-10-17 | 2020-02-28 | 北京雷石天地电子技术有限公司 | Method and system for synchronizing local area network set top box resources |
CN110856029B (en) * | 2019-10-17 | 2022-04-01 | 北京雷石天地电子技术有限公司 | Method and system for synchronizing local area network set top box resources |
CN112769618A (en) * | 2021-01-07 | 2021-05-07 | 深圳市海雀科技有限公司 | Equipment configuration method and device |
CN114007229A (en) * | 2021-11-01 | 2022-02-01 | 迈普通信技术股份有限公司 | Device configuration method, device, network device and computer readable storage medium |
CN114205227A (en) * | 2021-12-10 | 2022-03-18 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106341279B (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106341279A (en) | Configuration information synchronizing method and device | |
US10595215B2 (en) | Reducing redundant operations performed by members of a cooperative security fabric | |
US11395189B2 (en) | State machine handling at a proxy node in an Ethernet-based fronthaul network | |
CN104363213B (en) | A kind of registration log-in control method of network home appliance | |
US11696242B2 (en) | Link auto-negotiation between a radio equipment controller (REC) and radio equipment (RE) in an ethernet-based fronthaul network | |
US11909744B2 (en) | Network verification method and apparatus | |
CN108270615A (en) | Network equipment beginning method, apparatus and equipment based on SDN network controller | |
CN104365170B (en) | For managing the method and apparatus of the identifier of WAN network device | |
CN103812728A (en) | Network diagnostic method, system and router | |
CN101577725A (en) | Message synchronization method of anti-replay mechanism, device and system thereof | |
CN103825868B (en) | A kind of method, local gateway and the system of local voice escape | |
CN112104490B (en) | Network communication method and device based on cloud server and electronic device | |
CN108989114A (en) | A kind of method and device configuring router | |
EP3322148B1 (en) | Apparatus, system, and method for protecting against denial of service attacks using one-time cookies | |
CN106169964A (en) | Network equipments configuration synchronous method and device | |
WO2015085518A1 (en) | Packet processing method and device | |
CN110365699A (en) | Flow processing method, apparatus and system, gateway | |
CN105591892B (en) | A kind of starting method and apparatus of smooth restarting process | |
CN106131177A (en) | A kind of message processing method and device | |
CN104471897B (en) | A kind of MEP collocation methods and the network equipment | |
CN108259442A (en) | A kind of slow protocol message processing method and relevant apparatus | |
WO2015168920A1 (en) | Method for managing base station and base station | |
CN111726819B (en) | Method and device for establishing and updating base station link | |
CN110912871A (en) | Method and system for preventing network access attack of low-power-consumption Internet of things | |
CN107210945A (en) | Method and computer network for running computer network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |