CN106341279B - The synchronous method and device of configuration information - Google Patents

The synchronous method and device of configuration information Download PDF

Info

Publication number
CN106341279B
CN106341279B CN201610977869.0A CN201610977869A CN106341279B CN 106341279 B CN106341279 B CN 106341279B CN 201610977869 A CN201610977869 A CN 201610977869A CN 106341279 B CN106341279 B CN 106341279B
Authority
CN
China
Prior art keywords
equipment
configuration information
broadcasting packet
information
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610977869.0A
Other languages
Chinese (zh)
Other versions
CN106341279A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201610977869.0A priority Critical patent/CN106341279B/en
Publication of CN106341279A publication Critical patent/CN106341279A/en
Application granted granted Critical
Publication of CN106341279B publication Critical patent/CN106341279B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Abstract

The present invention provides the synchronous method of configuration information and devices to carry the facility information of the second equipment this method comprises: the first equipment receives the first broadcasting packet that the second equipment is sent in the first broadcasting packet;First equipment judges whether to obtain the configuration information that the second equipment provides according to the facility information of the second equipment;After being determined to obtain the configuration information that the second equipment provides, first equipment sends the second broadcasting packet to the second equipment, the facility information of the first equipment is carried in second broadcasting packet, so that the second equipment verifies the facility information of the first equipment, and the first notice message is sent to the first equipment after being verified;First equipment establishes communication link and sends configuration information inventory to the second equipment after receiving the first notice message;First equipment receives the configuration information corresponding with configuration information inventory that the second equipment returns.The present invention improves the configuration speed and accuracy when synchronous configuration information.

Description

The synchronous method and device of configuration information
Technical field
The present invention relates to the communications fields, more particularly to the synchronous method and device of a kind of configuration information.
Background technique
In the 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 are integrated with more and more functions, have run more and more third parties Application program.Under this trend, the configuration information of integrated access equipment is more and more and process is more and more cumbersome.
When new access device substitutes old access device, need to re-start setting to new access device.But configure equipment Process it is comparatively laborious.
Cumbersome problem is configured for integrated access equipment new in the prior art, industry does not have ideal solution party at present Formula.
Summary of the invention
It is an object of that present invention to provide the synchronous method of configuration information and devices, it is intended to solve synthesis new in the prior art Access device configures cumbersome problem.
First aspect present invention provides a kind of synchronous method of configuration information, this method comprises:
First equipment receives the first broadcasting packet that the second equipment is sent, and described the is carried in first broadcasting packet The facility information of two equipment;
First equipment judges whether to obtain what second equipment provided according to the facility information of second equipment Configuration information;
After being determined to obtain the configuration information that second equipment provides, first equipment is to second equipment The second broadcasting packet is sent, the facility information of first equipment is carried in second broadcasting packet, so that described second Equipment verifies the facility information of first equipment, and sends the first notice to first equipment after being verified Message;
First equipment is established communication link and is sent to second equipment after receiving first notice message Configuration information inventory;
First equipment receives the configuration information corresponding with the configuration information inventory that second equipment returns.
Second aspect of the present invention provides the synchronous method of another configuration information, this method comprises:
Second equipment sends the first broadcasting packet to the first equipment, carries described second in first broadcasting packet and sets Standby facility information, so that first equipment is determined to obtain described second according to the facility information of second equipment After the configuration information that equipment provides, the second equipment of Xiang Suoshu sends the second broadcasting packet, carries in second broadcasting packet The facility information of first equipment;
Second equipment verifies the facility information of first equipment, and to described first after being verified Equipment sends the first notice message, so that first equipment, after receiving first notice message, communication is established in triggering Link simultaneously sends configuration information inventory to second equipment;
Second equipment returns to configuration information corresponding with the configuration information inventory to first equipment.
Third aspect present invention provides a kind of synchronizing device of configuration information, which includes:
First receiving module is taken in first broadcasting packet for receiving the first broadcasting packet of the second equipment transmission With the facility information of second equipment;
Judgment module judges whether that obtaining second equipment provides for the facility information according to second equipment Configuration information;
First sending module, for after being determined to obtain the configuration information that second equipment provides, described first Equipment sends the second broadcasting packet to second equipment, and the equipment of first equipment is carried in second broadcasting packet Information, so that second equipment verifies the facility information of first equipment, and to described after being verified One equipment sends the first notice message;
Second sending module, for after receiving first notice message, establishing communication link and being set to described second Preparation send configuration information inventory;
Second receiving module, for receiving the corresponding with the configuration information inventory with confidence of the second equipment return Breath.
Fourth aspect present invention provides the synchronizing device of another configuration information, which includes:
First sending module carries in first broadcasting packet for sending the first broadcasting packet to the first equipment The facility information of second equipment, so that first equipment is determined to obtain according to the facility information of second equipment After the configuration information for taking second equipment to provide, the second equipment of Xiang Suoshu sends the second broadcasting packet, the second broadcast report The facility information of first equipment is carried in text;
Second sending module is verified for the facility information to first equipment, and to institute after being verified It states the first equipment and sends the first notice message, so that first equipment is after receiving first notice message, triggering is built Vertical communication link simultaneously sends configuration information inventory to second equipment;
Third sending module, for returning to configuration information corresponding with the configuration information inventory to first equipment.
According to the present invention, equipment to be configured and configuration equipment are meeting default item according to broadcasting packet understanding other side's situation It is established in the case where part and contacts and synchronize, can rapidly and accurately complete the configuration to the integrated access equipment newly to network, To improve configuration speed and accuracy.
Detailed description of the invention
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 configuration information provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the synchronous method for the configuration information that the preferred embodiment of the present invention provides;
Fig. 4 is a kind of structural block diagram of the synchronizing device of configuration information provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of the synchronizing device of another configuration information provided in an embodiment of the present invention.
Specific embodiment
In order to which technical problems, technical solutions and advantageous effects to be solved by the present invention are more clearly understood, below in conjunction with Accompanying drawings and embodiments, 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.
The embodiment of the invention provides 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, this method specifically includes following steps S110 to step S150.
Step S110, the first equipment receive the first broadcasting packet that the second equipment is sent, carry in the first broadcasting packet The facility information of second equipment.
Specifically, including device model, software version and the Internet protocol IP address of the second equipment in facility information.
The first equipment and the second equipment in the present embodiment 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 is replaced due to update, equipment fault or reaching service life etc., When replacing above equipment, needs first to lift down used equipment, then new equipment is installed, then new equipment is configured, existing skill Often spend longer time manual configuration again, through this embodiment, can effectively solve this problem in art.At this point, Used equipment is known as the second equipment, and new equipment is known as the first equipment.
Broadcasting packet in the present embodiment refers to the message propagated by broadcast mode, broadcast so that network topology is simple, It is easily achieved, does not need additional gateway.
Step S120, the first equipment judge whether to obtain matching for the second equipment offer according to the facility information of the second equipment Confidence breath.
Before the second equipment is synchronous with the first equipment progress configuration information, the two requires the broadcast for first knowing other side Message, to understand the facility information of other side, to judge whether can to can be carried out the synchronization of configuration information.If being able to carry out configuration The synchronization of information then carries out subsequent step;If not can be carried out the synchronization of configuration information, without carrying out subsequent step.
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 The second broadcasting packet is sent, the facility information of the first equipment is carried in the second broadcasting packet, so that the second equipment is to the first equipment Facility information verified, and after being verified to the first equipment send the first notice message.
After being determined to carry out the synchronizing of 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 for itself Standby information, to judge whether that the synchronous of configuration information can be completed with oneself.
After the broadcasting packet from the first equipment is by the verifying of the second equipment, the second equipment sends the to the first equipment One notice message, the notice message is for notifying the first equipment, the second equipment to be ready.
Second equipment is synchronous with the first equipment need to carry out two-way judgement, and the second equipment is initially sent by way of broadcast When the first broadcasting packet, do not determine whether to meet synchronous desired equipment.First equipment after receiving the first broadcasting packet, It determines and meets synchronous requirement, therefore to the second broadcasting packet of the second device replied, determine that the first equipment meets in the second equipment It is synchronous require after, two-way judgement has been completed, and the second equipment is ready for ready, sends the first notice report to the first equipment at this time Text waits the subsequent operation of the first equipment.
Step S140, the first equipment are established communication link and are matched to the transmission of the second equipment after receiving the first notice message Confidence ceases inventory.
Configuration information needed for oneself is written in configuration information inventory first equipment, so that the second equipment knows that needs mention The information of confession.
Step S150, the first equipment receive 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 the configuration information, that is, complete the synchronization of configuration information.
According to this embodiment, it can the configuration to the integrated access equipment newly to network rapidly and accurately be completed, to improve Configuration speed and accuracy.
In order to reach higher safety, after completing to synchronize, synchronous service can be closed, is sent out to avoid by configuration information Give other equipment.Preferably, the first equipment sends the second notice message to the second equipment after completing information configuration, with The second equipment is set to close configuration information synchronous service after receiving the second notice message.It, can be to avoid will match by this step Confidence breath is sent to other unrelated equipment.
The embodiment of the invention also provides the synchronous method of another configuration information, this method can be used for matching Fig. 1 institute The synchronous method of the configuration information related to completes the synchronous of configuration information from the second equipment with the angle of the first equipment respectively.Fig. 2 is It is provided in an embodiment of the present invention another kind configuration information synchronous method flow chart, as shown in Fig. 2, this method specifically include with Lower step S210 to step S230.
Step S210, the second equipment send the first broadcasting packet to the first equipment, carry 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, the second broadcasting packet is sent to the second equipment, the facility information of the first equipment is carried in the second broadcasting packet.
Device model, the software of the second equipment are had recorded in the first broadcasting packet that second equipment issues by certain format The information such as version and IP address.It include device model, the software version of the first equipment in the second broadcasting packet that first equipment returns The information such as this and IP address.
Preferably, the second equipment starts timing while sending the first broadcasting packet to the first equipment;Work as timing duration When reaching preset threshold, configuration information synchronous service is closed.
When meeting certain trigger condition, the second equipment sends the first broadcasting packet for example, only one to the first equipment When LAN mouthfuls of cable insertions.Second equipment is only on triggering in a period of time, such as in 2 minutes, issues User Datagram Protocol (User Datagram Protocol, referred to as UDP) LAN broadcast declares message, opens and synchronizes this avoid long-time The safety problem that services and may cause only synchronizes service under given conditions, can guarantee that is be synchronized sets as far as possible Standby is equipment in a safe condition.
Step S220, the second equipment verify the facility information of the first equipment, and set after being verified to first Preparation send the first notice message, so that the first equipment is after receiving the first notice message, triggering establishes communication link and to the Two equipment send configuration information inventory.
Second equipment is synchronous with the first equipment need to carry out two-way judgement, and the second equipment is initially sent by way of broadcast Broadcasting packet, and whether uncertain first message meets synchronous requirement.First equipment determines and meets after receiving the broadcasting packet It is synchronous to require, therefore to one broadcasting packet of the second device replied, determine that first equipment meets synchronous require in the second equipment Afterwards, two-way judgement has been 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 first notice message informs the first equipment, and the first equipment is allowed to prepare corresponding configuration information inventory, the second equipment according to Configuration information inventory, which is known, needs information to be offered.
Preferably, in this step, whether with the IP of the second equipment the IP address of the first equipment is can be confirmed in the second equipment Location is in identical network segment and the IP address of the two is not identical;If at the IP address of the IP address of the first equipment and the second equipment It is identical in the IP address of different network segment or both, then apply for new IP address from the first equipment.
Only when the first equipment and the second equipment are in same network segment and have different IP addresses, the two is likely to establish Communication, therefore in this step corresponding preparation can be carried out for communication.
Step S230, the second equipment return to 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.
Fig. 3 is the flow chart of the synchronous method for the configuration information that the preferred embodiment of the present invention provides, this preferred embodiment relates to And second equipment and the first equipment interaction, the operation of each equipment can be applied to corresponding Fig. 1 and Fig. 2 in this preferred embodiment Involved synchronous method.
The present embodiment introduces the synchronous method of configuration information, router or other integrated access equipment by taking set-top box as an example Similar synchronous method can be used.
The set-top box of normal use accesses internet by cable, when needing replacing set-top box, can be incited somebody to action by cable Configured good set-top box is connected with set-top box to be configured, to carry out the synchronization of configuration information.As shown in figure 3, this method packet Step S310 is included to step S360.
Step S310, the second equipment (old set-top box, configured), and be in power-up state, user pull out during it has connected Cable after, the second equipment starting configuration provide service routine, and start service window (as open 2 minutes service windows).
In 2 minutes service windows after the second equipment starts configuration service routine, the first equipment (new set-top box, It is not configured, and can is different model with old set-top box) the second equipment is connected by RJ45 cable.If not in 2 minutes It is connected into the second equipment, then the second equipment can close service, and the synchronization of configuration information can terminate.
Specifically, the used equipment declaration message that old set-top box issues UDP format under specific network topology (such as only has Triggered when the insertion of piece LAN mouthfuls of cable, can be in the present embodiment and monitor that RJ45 cable is connected into), certain lattice are pressed in message Formula records the information such as oneself device model, software version and IP address, and declaring, which oneself is one, can provide configuration synchronous clothes Second equipment of business.The service of opening simultaneously, and start timer, i.e., configuration information is only provided in special time period be read Service, and limit and be connected into number, the overtime then service of closing;If there is other operations that can also close (such as plug cable) at this time The service of closing.
Step S320, the first equipment is after the broadcasting packet for receiving the second equipment, according to second recorded in broadcasting packet The information such as device model and software version identify be this second equipment to be the equipment that can completely or partially extract configuration information (such as SSID account number or password of WIFI) afterwards, can just issue the broadcasting packet of the UDP format of the first equipment, declare it oneself is one Platform new equipment is recorded by certain format the information such as device model, software version and the IP address of oneself in message.If at this time There are other operations to carry out terminating service if (as plugged cable).
Step S330, the second equipment verify the first device model and software version after the broadcasting packet for receiving the first equipment Whether this supports after synchronizing, and decides whether that synchronous service can be provided to it.Such as determination can provide synchronous service, then basis exists Whether the first IP address of equipment obtained in broadcasting packet modifies the IP address of oneself, specifically, can be confirmed in same net Section and possess different IP addresses, as not being if use limited means such as DHCP mode apply for new IP address from the first equipment, this Sample can establish TCP/UDP communication link in order to subsequent step).If there is other operations to carry out (such as plug cable) at this time, Terminate service.
Step S340, the complete IP address of the second apparatus modifications, determination is in same local area network with the first equipment and IP does not conflict Afterwards, then unicast issues the ready declaration of UDP format, informs the first equipment, oneself is ready for ready, can read with confidence Breath.Service is terminated if there are other operations to carry out (as plugged cable) at this time.
Step S350 after the first equipment receives the ready declaration of the second equipment, utilizes SSL Mechanism establishing secure communication chain Road, and configuration information inventory required for issuing oneself to the second equipment, the second equipment return to configuration information according to inventory.
Step S360, after the first equipment all comes into force the configuration information got, unicast issues synchronously completing for UDP format Declare message, and removes communication link.Second equipment receive synchronously complete declaration message after, close service, reinstatement state.
After first equipment is restarted, the configuration information got from the second equipment can be used, service is provided.
The embodiment of the invention provides a kind of synchronizing devices of configuration information, for executing synchronous method involved by Fig. 1.Figure 4 be a kind of structural block diagram of the synchronizing device of configuration information provided in an embodiment of the present invention, as shown in figure 4, the device includes the One receiving module 410, judgment module 420, the first sending module 430, the second sending module 440 and the second receiving module 450.
First receiving module 410 is used to receive the first broadcasting packet of the second equipment transmission, carries in the first broadcasting packet The facility information of second equipment.
Judgment 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 be used for be determined to obtain the second equipment provide configuration information after, the first equipment to Second equipment sends the second broadcasting packet, the facility information of the first equipment is carried in the second broadcasting packet, so that the second equipment The facility information of 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, is established communication link and is sent to the second equipment Configuration information inventory.
Second receiving module 450 is used to receive the configuration information corresponding with configuration information inventory of the second equipment return.
Preferably, which further includes third sending module, for being sent after completing information configuration 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 invention also provides a kind of synchronizing devices of configuration information, for executing synchronous method involved by Fig. 2. Fig. 5 is the structural block diagram of the synchronizing device of another configuration information provided in an embodiment of the present invention, as shown in figure 5, the device packet Include the first sending module 510, the second sending module 520 and third sending module 530.
First sending module 510 is used to send the first broadcasting packet to the first equipment, and the is carried in the first broadcasting packet The facility information of two equipment, so that the first equipment is being determined to obtain the offer of the second equipment according to the facility information of the second equipment Configuration information after, send the second broadcasting packet to the second equipment, the equipment letter of the first equipment carried in the second broadcasting packet Breath;
Second sending module 520 is used to verify the facility information of the first equipment, and to first after being verified Equipment sends the first notice message so that the first equipment is after receiving the first notice message, triggering establish communication link and to Second equipment sends configuration information inventory;
Third sending module 530 is used to return to configuration information corresponding with configuration information inventory to the first equipment.
Preferably, the device further include: computing module, for sending the first broadcasting packet to the first equipment in the second equipment While, start timing;Closedown module, for closing configuration information synchronous service when timing duration reaches preset threshold.
Preferably, the facility information of the first equipment includes the IP address of the first equipment, and the second sending module 520 includes: true Order member, for confirming whether the IP address of the first equipment is in the IP address of the second equipment the IP of identical network segment and the two Address is different;Application unit, if the IP address for the first equipment is in different network segments or two from the IP address of the second equipment The IP address of person is identical, then applies for new IP address from the first equipment.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Unit is completed, i.e., the internal structure of device is divided into different functional unit or module, with complete it is described above whole or Person's partial function.Each functional unit in embodiment can integrate in one processing unit, and it is independent to be also possible to each unit It is physically present, can also be integrated in one unit with two or more units, above-mentioned integrated unit both can be using hard The form of part is realized, can also be realized in the form of software functional units.In addition, the specific name of each functional unit is also For the ease of mutually distinguishing, the protection scope being not intended to limit this application.The specific work process of unit in above-mentioned apparatus, can With with reference to the corresponding process in aforementioned device embodiment, details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Described function can be realized using different device to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and device can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module or unit, only For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution essence of the embodiment of the present invention On all or part of the part that contributes to existing technology or the technical solution can be with the shape of software product in other words Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating It is real that machine equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention Apply all or part of the steps of each embodiment device of example.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only storage Device (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or light The various media that can store program code such as disk.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope of each embodiment technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.

Claims (10)

1. a kind of synchronous method of configuration information characterized by comprising
First equipment receives the first broadcasting packet that the second equipment is sent, and carries described second in first broadcasting packet and sets Standby facility information;
First equipment judges whether to obtain the configuration that second equipment provides according to the facility information of second equipment Information;
After being determined to obtain the configuration information that second equipment provides, first equipment is sent to second equipment Second broadcasting packet carries the facility information of first equipment in second broadcasting packet, so that second equipment The facility information of first equipment is verified, and sends the first notice report to first equipment after being verified Text;
First equipment establishes communication link and sends configuration to second equipment after receiving first notice message Information inventory;
First equipment receives the configuration information corresponding with the configuration information inventory that second equipment returns.
2. the method as described in claim 1, which is characterized in that the method also includes:
For first equipment after completing information configuration, the second equipment of Xiang Suoshu sends the second notice message, so that described the Two equipment close configuration information synchronous service after receiving second notice message.
3. a kind of synchronous method of configuration information characterized by comprising
Second equipment sends the first broadcasting packet to the first equipment, carries second equipment in first broadcasting packet Facility information, so that first equipment is being determined to obtain second equipment according to the facility information of second equipment After the configuration information of offer, the second equipment of Xiang Suoshu sends the second broadcasting packet, carries in second broadcasting packet described The facility information of first equipment;
Second equipment verifies the facility information of first equipment, and to first equipment after being verified The first notice message is sent, so that first equipment, after receiving first notice message, communication link is established in triggering And configuration information inventory is sent to second equipment;
Second equipment returns to configuration information corresponding with the configuration information inventory to first equipment.
4. method as claimed in claim 3, which is characterized in that the method also includes:
Second equipment starts timing while sending the first broadcasting packet to first equipment;
When timing duration reaches preset threshold, second equipment closes configuration information synchronous service.
5. method as claimed in claim 3, which is characterized in that the facility information of the first equipment includes the IP of first equipment Address,
Second equipment verifies the facility information of first equipment, and to first equipment after being verified Sending the first notice message includes:
Second equipment confirms whether the IP address of first equipment with the IP address of second equipment is in identical The IP address of network segment and the two is different;
If the IP address of first equipment is in the IP address of different network segment or both from the IP address of second equipment It is identical, then apply for new IP address from first equipment.
6. a kind of synchronizing device of configuration information characterized by comprising
First receiving module carries in first broadcasting packet for receiving the first broadcasting packet of the second equipment transmission The facility information of second equipment;
Judgment module judges whether to obtain matching for the second equipment offer for the facility information according to second equipment Confidence breath;
First sending module, for after being determined to obtain the configuration information that second equipment provides, the first equipment is to institute It states the second equipment and sends the second broadcasting packet, the facility information of first equipment is carried in second broadcasting packet, with It verifies that second equipment to the facility information of first equipment, and is sent out after being verified to first equipment Send the first notice message;
Second sending module, for after receiving first notice message, establishing communication link and being sent out to second equipment Send configuration information inventory;
Second receiving module, the configuration information corresponding with the configuration information inventory returned for receiving second equipment.
7. the synchronizing device of configuration information as claimed in claim 6, which is characterized in that described device further include:
Third sending module, for after completing information configuration, the second equipment of Xiang Suoshu to send the second notice message, so that institute It states the second equipment and closes configuration information synchronous service after receiving second notice message.
8. a kind of synchronizing device of configuration information characterized by comprising
First sending module carries second in first broadcasting packet for sending the first broadcasting packet to the first equipment The facility information of equipment, so that first equipment is being determined to obtain described according to the facility information of second equipment After the configuration information that two equipment provide, the second equipment of Xiang Suoshu sends the second broadcasting packet, carries in second broadcasting packet The facility information of first equipment;
Second sending module is verified for the facility information to first equipment, and to described after being verified One equipment sends the first notice message, so that first equipment, after receiving first notice message, triggering is established logical Believe link and sends configuration information inventory to second equipment;
Third sending module, for returning to configuration information corresponding with the configuration information inventory to first equipment.
9. the synchronizing device of configuration information as claimed in claim 8, which is characterized in that described device further include:
Computing module, for starting timing while sending the first broadcasting packet to the first equipment;
Closedown module, for closing configuration information synchronous service when timing duration reaches preset threshold.
10. the synchronizing device of configuration information as claimed in claim 8, which is characterized in that the facility information of the first equipment includes The IP address of first equipment,
Second sending module includes:
Determination unit, for confirming whether the IP address of first equipment with the IP address of second equipment is in identical The IP address of network segment and the two is different;
Application unit, if IP address and the IP address of second equipment for first equipment be in different network segment or The IP address of the two is identical, then applies for new IP address from first equipment.
CN201610977869.0A 2016-10-31 2016-10-31 The synchronous method and device of configuration information Active CN106341279B (en)

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 CN106341279A (en) 2017-01-18
CN106341279B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005203B (en) * 2017-06-06 2022-11-11 无锡雅座在线科技股份有限公司 Data synchronization method and device, storage medium, processor and terminal
CN110602460A (en) * 2019-09-20 2019-12-20 普联技术有限公司 Video decoding wall-mounting control method, system and device
CN110856029B (en) * 2019-10-17 2022-04-01 北京雷石天地电子技术有限公司 Method and system for synchronizing local area network set top box resources
CN112769618B (en) * 2021-01-07 2023-06-27 深圳市海雀科技有限公司 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106341279A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106341279B (en) The synchronous method and device of configuration information
CN104363213B (en) A kind of registration log-in control method of network home appliance
US8880656B2 (en) Customer edge device auto-configuration
EP2530900B1 (en) Network security parameter generation and distribution
US20210084541A1 (en) State machine handling at a proxy node in an ethernet-based fronthaul network
WO2011144101A2 (en) Method and apparatus for repeater wi-fi protected setup connections
JP2019509703A (en) Cloud-based control of Wi-Fi networks
CN107087291B (en) automatic reconnection method, router and terminal equipment
CN104135460B (en) A kind of push channel keepalive method and push server
CN106487788B (en) A kind of user access method, SDN controller, forwarding device and subscriber access system
EP2757743B1 (en) Method, device, apparatus and system for generation of dhcp snooping binding table
CN106169964B (en) Network equipments configuration synchronous method and device
CN102271133A (en) Authentication method, device and system
WO2011153679A1 (en) Method, device and system for service configuration
CN101022340A (en) Intelligent control method for realizing city Ethernet exchanger switch-in security
CN109413649A (en) A kind of access authentication method and device
CN108989114A (en) A kind of method and device configuring router
CN104995882B (en) Message processing method and device
CN105591892B (en) A kind of starting method and apparatus of smooth restarting process
WO2015070611A1 (en) Network element device and method for controlling network element device to join network
CN106130863B (en) Transfer approach, device and the system of LAN protocol message
WO2014187241A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN107566476B (en) Access method, SDN controller, forwarding equipment and user access system
CN104468194B (en) The compatibility method and forwarding server of a kind of network equipment
US20120166600A1 (en) Method, remote access server and system for configuring a quality of service parameter

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