CN110602732A - Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium - Google Patents

Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium Download PDF

Info

Publication number
CN110602732A
CN110602732A CN201910909606.XA CN201910909606A CN110602732A CN 110602732 A CN110602732 A CN 110602732A CN 201910909606 A CN201910909606 A CN 201910909606A CN 110602732 A CN110602732 A CN 110602732A
Authority
CN
China
Prior art keywords
network device
configuration parameter
wireless configuration
target network
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910909606.XA
Other languages
Chinese (zh)
Other versions
CN110602732B (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.)
Shenzhen Gongtong Electronics Co Ltd
Original Assignee
Shenzhen Gongtong Electronics 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 Shenzhen Gongtong Electronics Co Ltd filed Critical Shenzhen Gongtong Electronics Co Ltd
Priority to CN201910909606.XA priority Critical patent/CN110602732B/en
Publication of CN110602732A publication Critical patent/CN110602732A/en
Application granted granted Critical
Publication of CN110602732B publication Critical patent/CN110602732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a method and a device for synchronizing wireless configuration parameters, and relates to the field of wireless routers. The method and the device compare each second wireless configuration parameter with a first wireless configuration parameter of first network equipment, then determine second network equipment corresponding to each second wireless configuration parameter which is not matched with the first wireless configuration parameter as target network equipment, send the first wireless configuration parameter to each target network equipment, and configure the first wireless configuration parameter into an effective state after each target network equipment completes parameter synchronization. Therefore, when the user modifies the wireless configuration parameters of the first network equipment, the wireless configuration parameters are not immediately effective, but the first wireless configuration parameters are directly synchronized to the second network equipment, so that the wireless configuration parameters of the first network equipment and the second network equipment can be synchronized without manually configuring the wireless configuration parameters of the second network equipment by the user, and the original wireless network is maintained.

Description

Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium
Technical Field
The present invention relates to the field of wireless routers, and in particular, to a method and an apparatus for synchronizing wireless configuration parameters, a network device, and a computer-readable storage medium.
Background
In recent years, with the increasing Internet access requirements of various communication devices, each household basically uses a router product, each manufacturer pays more and more attention to the user experience of the household product, and most of the manufacturers configure easy mesh supporting products for the household product, so that how to quickly build a mesh network and maintain the stability of the mesh network is very important.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a network device, and a computer-readable storage medium for synchronizing radio configuration parameters.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a wireless configuration parameter synchronization method, which is applied to a first network device, where the first network device is in wireless communication connection with a plurality of second network devices, and the wireless configuration parameter synchronization method includes:
modifying the wireless configuration parameters of the first network equipment into first wireless configuration parameters according to the acquired configuration parameter modification instruction;
receiving a second wireless configuration parameter sent by each second network device, wherein the second network device corresponds to the second wireless configuration parameter;
determining a target network device from a plurality of second network devices according to the first wireless configuration parameters and each second wireless configuration parameter;
sending the first wireless configuration parameters to each of the target network devices to enable the target network devices to synchronize the first wireless configuration parameters;
and if each target network device completes parameter synchronization, configuring the first wireless configuration parameter into an effective state.
In a second aspect, an embodiment of the present invention provides a wireless configuration parameter synchronization apparatus, which is applied to a first network device, where the first network device is in wireless communication connection with a plurality of second network devices, and the wireless configuration parameter synchronization apparatus includes:
a parameter modification module, configured to modify the wireless configuration parameter of the first network device into a first wireless configuration parameter according to the obtained configuration parameter modification instruction;
a receiving module, configured to receive a second radio configuration parameter sent by each second network device, where the second network device corresponds to the second radio configuration parameter;
a screening module, configured to determine a target network device from the plurality of second network devices according to the first wireless configuration parameter and each of the second wireless configuration parameters;
a sending module, configured to send the first radio configuration parameter to each of the target network devices, so that each of the target network devices synchronizes the first radio configuration parameter;
a configuration module, configured to configure the first wireless configuration parameter to be in an active state if each of the target network devices completes parameter synchronization.
In a third aspect, an embodiment of the present invention provides a network device, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the wireless configuration parameter synchronization method described in any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the wireless configuration parameter synchronization method according to any one of the foregoing embodiments.
According to the wireless configuration parameter synchronization method, the wireless configuration parameter synchronization device, the network devices and the computer readable storage medium provided by the embodiments of the present invention, the second wireless configuration parameters sent by each second network device are received, then each second wireless configuration parameter is compared with the preset first wireless configuration parameter of the first network device, then the second network device corresponding to each second wireless configuration parameter that is not matched with the first wireless configuration parameter is determined as the target network device, the first wireless configuration parameter is sent to each target network device, and the first wireless configuration parameter is configured to be in an effective state only when each target network device completes parameter synchronization. Therefore, when the user modifies the wireless configuration parameters of the first network device, the wireless configuration parameters will not be immediately effective, but the first wireless configuration parameters are not matched with the second wireless configuration parameters, and at the moment, the first network device directly synchronizes the first wireless configuration parameters to the second network device, so that the synchronization of the wireless configuration parameters of the first network device and the second network device can be realized without manually configuring the wireless configuration parameters of the second network device by the user, and the original wireless network is maintained.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a network configuration block diagram of a wireless network.
Fig. 2 is a block schematic diagram of a network device.
Fig. 3 is a flowchart of a method for synchronizing radio configuration parameters according to the present invention.
Fig. 4 is a further flowchart of a method for synchronizing radio configuration parameters.
Fig. 5 is a flowchart for determining whether a target network device has completed parameter synchronization.
Fig. 6 is a functional block diagram of a wireless configuration parameter synchronization apparatus according to the present invention.
Icon: 110-a first network device; 120-a second network device; 200-a network device; 210-a memory; 220-a processor; 230-a communication unit; 300-wireless configuration parameter synchronization means; 310-parameter modification module; 320-a receiving module; 330-a screening module; 340-a sending module; 350-a judgment module; 360-configuration module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Fig. 1 is a block diagram of a network structure of a wireless network. The wireless network includes a first network device 110 and a plurality of second network devices 120, and the first network device 110 is directly or indirectly connected to the plurality of second network devices 120.
It should be noted that in other embodiments, the wireless network structure may include only one second network device 120. That is, the number of second network devices 120 is related to the coverage of the wireless network.
In an alternative embodiment, the wireless network established by the first network device 110 and the plurality of second network devices 120 is an Easymesh network. Easymesh is a reliable Wi-Fi standard, and the Easymesh Wi-Fi standard can be used for enabling Mesh routers of different brands to be networked.
Generally, the first network device 110 is referred to as a Controller, and the second network device 120 is referred to as an Agent. In the prior art, after the Controller and the Agent successfully perform networking through the Onboarding, once the Controller modifies the wireless configuration parameters and takes effect, the connection with the Agent is lost, and at this time, the user needs to perform networking through the Onboarding again. That is, the onbroadcasting needs to be performed again each time the radio configuration parameters of the Controller are modified, which is tedious. In view of the above, the present invention is directed to a method for automatically synchronizing radio configuration parameters to an Agent after a Controller modifies the radio configuration parameters.
Fig. 2 is a block diagram of a network device 200. The network device 200 includes a memory 210, a processor 220, and a communication unit 230. The memory 210, the processor 220, and the communication unit 230 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 210 is used for storing programs or data. The Memory 210 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an erasable Read-Only Memory (EPROM), an electrically erasable Read-Only Memory (EEPROM), and the like.
The processor 220 is used to read/write data or programs stored in the memory 210 and perform corresponding functions.
The communication unit 230 is used for establishing a communication connection between the network device 200 and another communication terminal through the network, and for transceiving data through the network.
It should be understood that the configuration shown in fig. 1 is merely a schematic configuration of the network device 200, and the network device 200 may include more or less components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
It should be noted that the first network device 110 and the second network device 120 can both adopt the structure diagram of the network device 200 shown in fig. 2. The network device 200 may be, but is not limited to, a router, a gateway, a bridge, a switch, and so forth.
First embodiment
The present invention provides a method for synchronizing radio configuration parameters, which is applied to the first network device 110. Please refer to fig. 3, which is a flowchart illustrating a method for synchronizing radio configuration parameters according to the present invention. The wireless configuration parameter synchronization method comprises the following steps:
s301, modifying the wireless configuration parameter of the first network device 110 into the first wireless configuration parameter according to the obtained configuration parameter modification instruction.
The first radio configuration parameter is a radio configuration parameter of the first network device 110. The first radio configuration parameter includes the SSID, encryption, and password of the first network device 110.
In an optional embodiment, the MD5 message digest algorithm is used to process a Service Set Identifier (SSID), an encryption method, and a password of the first network device 110 to obtain the first wireless configuration parameter.
It should be emphasized that if the first radio configuration parameter is immediately valid, the first network device 110 and the second network device 120 will lose connection, and the subsequent parameter synchronization process cannot be performed. Therefore, the first network device 110 does not take effect immediately after modifying the radio configuration parameter into the first radio configuration parameter.
S302, receiving the second radio configuration parameter sent by each second network device 120.
Each second network device 120 will periodically send its second radio configuration parameters to first network device 110. Thus, the second network device 120 corresponds to the second radio configuration parameter. Specifically, the second wireless configuration parameter includes a Service Set Identifier (SSID), an encryption scheme, and a password of the second network device 120.
In an optional implementation, the MD5 message digest algorithm is used to process a Service Set Identifier (SSID), an encryption method, and a password of the second network device 120, so as to obtain the second wireless configuration parameter.
It should be noted that the execution sequence of S301 and S302 may not be as shown in fig. 3. In other embodiments, S302 may be executed first and then S301, or S301 and S302 may be executed in parallel.
S303, determine a target network device from the plurality of second network devices 120 according to the first wireless configuration parameter and each second wireless configuration parameter.
Specifically, please refer to fig. 4, which is a further flowchart of the method for synchronizing radio configuration parameters. The S303 includes:
s3031, comparing each second wireless configuration parameter with the first wireless configuration parameter.
S3032, if there are second wireless configuration parameters that do not match the first wireless configuration parameters, determining the second network device 120 corresponding to each second wireless configuration parameter that does not match the first wireless configuration parameters as the target network device.
If the second radio configuration parameter does not match the first radio configuration parameter, it indicates that the radio configuration parameter of the second network device 120 corresponding to the second radio configuration parameter is different from the radio configuration parameter of the first network device 110, and therefore, the second radio configuration parameter is determined as the target network device, which is convenient for subsequent synchronization of the first radio configuration parameter.
In an optional embodiment, the first radio configuration parameter is the same as the second radio configuration parameter, or the similarity is greater than or equal to a certain preset threshold, it is determined that the first radio configuration parameter matches the second radio configuration parameter; otherwise, it is determined that the first radio configuration parameter does not match the second radio configuration parameter.
S304, sending the first radio configuration parameter to each target network device, so that each target network device synchronizes the first radio configuration parameter.
After each target network device receives the first wireless configuration parameter, the wireless configuration parameter of each target network device is modified into the first wireless configuration parameter and takes effect immediately.
With continued reference to fig. 4, the step S304 includes:
s3041, a hop count between each target network device and the first network device 110 is obtained.
The hop count is the total number of hop segments spaced between the two nodes, i.e. the first network device 110 and the target device. For example, assuming that each of the second network devices 120 in fig. 1 is a target network device, the hop count between the second network device 120 No. 1, 2, 3 and the first network device 110 is 1, and the hop count between the second network device No. 4 120 and the first network device 110 is 2.
S3042, determining the priority of each target network device according to each hop count.
Wherein, the larger the hop count, the higher the priority of the target network device.
S3043, the first wireless configuration parameter is sequentially sent to each target network device according to the priority order.
It should be noted that, if the hop count of a target network device is larger, it indicates that the number of network devices 200 that need to be passed by for sending information to the target device is larger. If the hop count is smaller, the priority of the target network device is higher, and the target network device with the smaller hop count modifies the wireless network parameters and loses connection with the target network device with the larger hop count.
For example, in fig. 1, the first radio configuration parameter should be sent to the second network device 120 No. 4 first, and then the first radio configuration parameter should be sent to the other second network devices 120. If the first radio configuration parameter is sent to the second network device No. 2 120 first, the second network device No. 2 120 modifies the parameter and immediately takes effect, and at this time, the first radio configuration parameter cannot be sent to the second network device No. 4 120.
S305, judging whether each target network device completes parameter synchronization; if so, go to S307; if not, S306 is performed.
Continuing with fig. 5, a flowchart for determining whether a target network device completes parameter synchronization is shown:
s3051, receiving the state information fed back by each target network device after the first wireless configuration parameter is synchronized.
Each target network device receives the first radio configuration parameter, synchronizes its own radio configuration parameter to the first radio configuration parameter immediately, generates different status information according to different synchronization results, and then feeds back the status information to the first network device 110.
S3052, if the state information is the preset first state information, it is determined that the corresponding target network device has completed parameter synchronization.
If the state information is the preset first state information, the corresponding target network device can be directly judged to have completed parameter synchronization.
S3053, if the state information is preset second state information, acquiring the synchronization times, judging whether the synchronization times are greater than or equal to a preset threshold value, and if so, executing S3054; if not, S3055 is performed.
If the state information is the preset second state information, further acquiring the synchronization times, and judging whether the corresponding target network equipment completes parameter synchronization according to the synchronization times. Specifically, the method for determining whether the corresponding target network device has completed parameter synchronization according to the number of synchronization times is described in S3053: and judging whether the synchronization times are greater than or equal to a preset threshold value.
The synchronization times are times of sending the first wireless configuration parameter to the corresponding target network device by the first network device 110. It is understood that, each time the first network device 110 sends the first radio configuration parameter to the corresponding target network device, the number of synchronizations is increased by 1.
In an alternative embodiment, the preset threshold is 3. Of course, in other embodiments, the preset threshold may be other values determined according to the user's needs.
S3054, judging that the corresponding target network equipment completes parameter synchronization.
If the state information is the preset second state information and the synchronization times are greater than or equal to the preset threshold value, it indicates that the corresponding target network device is not successfully synchronized in the process of synchronizing the parameters for multiple times, but in order to avoid affecting the synchronization process of other target network devices, the corresponding target network device is regarded as having completed parameter synchronization. This type of target network device may be configured manually by the user.
S3055, judging that the corresponding target network equipment does not complete parameter synchronization.
Otherwise, if the state information is the preset second state information and the synchronization times are less than the preset threshold, it is determined that the corresponding target network device does not complete parameter synchronization and needs to continue to send the first wireless configuration parameter to the target network device.
S306, the first wireless configuration parameters are sent to the target network device which does not finish the parameter synchronization again.
If any target network device does not complete parameter synchronization, the first wireless configuration parameters are sent to the target network devices which do not complete parameter synchronization again until each target network device completes parameter synchronization.
S307, configuring the first radio configuration parameter to be in an effective state.
And if each target network device completes the parameter synchronization, configuring the first wireless configuration parameter into an effective state.
It will be appreciated that the first radio configuration parameter is configured to be in effect only when each target network device has completed parameter synchronization. Otherwise, the first network device 110 and the target network device are disconnected from each other, so that communication cannot be performed and parameter synchronization cannot be performed.
Second embodiment
In order to perform the corresponding steps in the above embodiments and various possible manners, an implementation manner of the wireless configuration parameter synchronization apparatus 300 is given below, and optionally, the wireless configuration parameter synchronization apparatus 300 may adopt the device structure of the network device 200 shown in fig. 2. Further, referring to fig. 6, fig. 6 is a functional block diagram of a wireless configuration parameter synchronization apparatus 300 according to an embodiment of the present invention. It should be noted that the basic principle and the technical effects of the wireless configuration parameter synchronization apparatus 300 provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and reference may be made to the corresponding contents in the above embodiments. The wireless configuration parameter synchronization apparatus 300 includes: a parameter modification module 310, a receiving module 320, a screening module 330, a sending module 340, a determining module 350, and a configuration module 360.
The parameter modification module 310 is configured to modify the wireless configuration parameter of the first network device 110 into the first wireless configuration parameter according to the obtained configuration parameter modification instruction.
It is to be appreciated that in an alternative embodiment, the parameter modification module 310 may be configured to perform S301.
The receiving module 320 is configured to receive the second wireless configuration parameter sent by each second network device 120.
It is understood that in an alternative embodiment, the receiving module 320 may be configured to perform S302.
The screening module 330 is configured to determine a target network device from the plurality of second network devices 120 according to the first wireless configuration parameter and each second wireless configuration parameter.
Specifically, the screening module 330 is configured to compare each second wireless configuration parameter with the first wireless configuration parameter, and determine, if there is a second wireless configuration parameter that does not match the first wireless configuration parameter, the second network device 120 corresponding to each second wireless configuration parameter that does not match the first wireless configuration parameter as the target network device.
It is understood that in an alternative embodiment, the screening module 330 may be used to perform S303, S3031 and S3032.
The sending module 340 is configured to send the first radio configuration parameter to each target network device, so that each target network device synchronizes the first radio configuration parameter.
Specifically, the sending module 340 is configured to obtain the hop count between each target network device and the first network device 110, determine the priority of each target network device according to each hop count, and then send the first wireless configuration parameter to each target network device in sequence according to the priority order.
It is understood that in an alternative embodiment, the sending module 340 may be configured to execute S304, S3041, S3042 and S3043.
The determining module 350 is used for determining whether each target network device has completed parameter synchronization.
Specifically, the determining module 350 is configured to receive status information fed back after each target network device synchronizes the first wireless configuration parameter, and is configured to determine that the corresponding target network device has completed parameter synchronization if the status information is preset first status information, and obtain the number of synchronization times if the status information is preset second status information, and determine whether the number of synchronization times is greater than or equal to a preset threshold.
The determining module 350 is further configured to determine that the corresponding target network device has completed parameter synchronization if the synchronization time is greater than or equal to the preset threshold, and determine that the corresponding target network device has not completed parameter synchronization if the synchronization time is less than the preset threshold.
It is understood that, in an alternative embodiment, the determining module 350 may be configured to perform S305, S3051, S3052, S3053, S3054 and S3055.
The sending module 340 is further configured to send the first wireless configuration parameter to the target network device without parameter synchronization again if any target network device does not complete parameter synchronization.
It is understood that in an alternative embodiment, the sending module 340 may be used to perform S306.
The configuration module 360 is configured to configure the first wireless configuration parameter to be in an active state if each target network device has completed parameter synchronization.
It is to be appreciated that in an alternative embodiment the configuration module 360 may be configured to perform S307.
Alternatively, the modules may be stored in the memory 210 shown in fig. 2 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the network device 200, and may be executed by the processor 220 in fig. 2. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 210.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor 220, implements the wireless configuration parameter synchronization method according to any one of the foregoing embodiments.
To sum up, the method, the apparatus, the network device, and the computer-readable storage medium for synchronizing radio configuration parameters according to embodiments of the present invention receive second radio configuration parameters sent by each second network device, compare each second radio configuration parameter with a preset first radio configuration parameter of a first network device, determine a second network device corresponding to each second radio configuration parameter that does not match the first radio configuration parameter as a target network device, send the first radio configuration parameter to each target network device, and configure the first radio configuration parameter in an effective state after each target network device has completed parameter synchronization. Therefore, when the user modifies the wireless configuration parameters of the first network device, the wireless configuration parameters will not be immediately effective, but the first wireless configuration parameters are not matched with the second wireless configuration parameters, and at the moment, the first network device directly synchronizes the first wireless configuration parameters to the second network device, so that the synchronization of the wireless configuration parameters of the first network device and the second network device can be realized without manually configuring the wireless configuration parameters of the second network device by the user, and the original wireless network is maintained.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A wireless configuration parameter synchronization method is applied to a first network device, wherein the first network device is in wireless communication connection with a plurality of second network devices, and the wireless configuration parameter synchronization method comprises the following steps:
modifying the wireless configuration parameters of the first network equipment into first wireless configuration parameters according to the acquired configuration parameter modification instruction;
receiving a second wireless configuration parameter sent by each second network device, wherein the second network device corresponds to the second wireless configuration parameter;
determining a target network device from a plurality of second network devices according to the first wireless configuration parameters and each second wireless configuration parameter;
sending the first wireless configuration parameters to each of the target network devices to enable the target network devices to synchronize the first wireless configuration parameters;
and if each target network device completes parameter synchronization, configuring the first wireless configuration parameter into an effective state.
2. The radio configuration parameter synchronization method according to claim 1, wherein after the step of transmitting the first radio configuration parameter to each of the target network devices, the method further comprises:
and judging whether each target network device completes parameter synchronization.
3. The method of claim 2, wherein the step of determining whether each of the target network devices has completed parameter synchronization comprises:
receiving state information fed back by each target network device after the target network device synchronizes the first wireless configuration parameter;
if the state information is preset first state information, judging that the corresponding target network equipment completes parameter synchronization;
and if the state information is preset second state information, acquiring synchronization times, and judging whether the corresponding target network equipment completes parameter synchronization according to the synchronization times, wherein the synchronization times are the times of sending the first wireless configuration parameters to the corresponding target network equipment by the first network equipment.
4. The method of claim 3, wherein the step of determining whether the corresponding target network device has completed parameter synchronization according to the number of synchronization times comprises:
if the synchronization times are greater than or equal to a preset threshold value, judging that the corresponding target network equipment completes parameter synchronization;
and if the synchronization times are smaller than a preset threshold value, judging that the corresponding target network equipment does not finish parameter synchronization.
5. The wireless configuration parameter synchronization method of any of claims 1-4, the method further comprising:
and if any one target network device does not finish parameter synchronization, re-sending the first wireless configuration parameters to the target network device which does not finish parameter synchronization.
6. The radio configuration parameter synchronization method according to any of claims 1 to 4, wherein the step of sending the first radio configuration parameter to each of the target network devices comprises:
acquiring hop count between each target network device and the first network device;
determining the priority of each target network device according to each hop count, wherein the higher the hop count is, the higher the priority of the target network device is;
and sequentially sending the first wireless configuration parameters to each target network device according to the priority order.
7. The method according to any of claims 1-4, wherein the step of determining a target network device from a plurality of the second network devices according to the first radio configuration parameter and each of the second radio configuration parameters comprises:
comparing each second wireless configuration parameter with the first wireless configuration parameter;
if the second wireless configuration parameters which do not match the first wireless configuration parameters exist, determining the second network device corresponding to each second wireless configuration parameter which does not match the first wireless configuration parameters as the target network device.
8. A wireless configuration parameter synchronization apparatus applied to a first network device, the first network device being in wireless communication connection with a plurality of second network devices, the wireless configuration parameter synchronization apparatus comprising:
a parameter modification module, configured to modify the wireless configuration parameter of the first network device into a first wireless configuration parameter according to the obtained configuration parameter modification instruction;
a receiving module, configured to receive a second radio configuration parameter sent by each second network device, where the second network device corresponds to the second radio configuration parameter;
a screening module, configured to determine a target network device from the plurality of second network devices according to the first wireless configuration parameter and each of the second wireless configuration parameters;
a sending module, configured to send the first radio configuration parameter to each of the target network devices, so that each of the target network devices synchronizes the first radio configuration parameter;
a configuration module, configured to configure the first wireless configuration parameter to be in an active state if each of the target network devices completes parameter synchronization.
9. A network device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the wireless configuration parameter synchronization method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the wireless configuration parameter synchronization method according to any one of claims 1 to 7.
CN201910909606.XA 2019-09-25 2019-09-25 Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium Active CN110602732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910909606.XA CN110602732B (en) 2019-09-25 2019-09-25 Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910909606.XA CN110602732B (en) 2019-09-25 2019-09-25 Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110602732A true CN110602732A (en) 2019-12-20
CN110602732B CN110602732B (en) 2023-03-31

Family

ID=68863177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910909606.XA Active CN110602732B (en) 2019-09-25 2019-09-25 Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110602732B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110808867A (en) * 2020-01-08 2020-02-18 深圳市乙辰科技股份有限公司 Network equipment configuration method and network equipment system
TWI787912B (en) * 2021-07-16 2022-12-21 啟碁科技股份有限公司 Wireless communication device and wireless communication method used in wireless communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014464A (en) * 2010-11-19 2011-04-13 重庆金美通信有限责任公司 Method for synchronously processing networks in wireless MESH network
CN108882228A (en) * 2018-05-31 2018-11-23 北京橙鑫数据科技有限公司 The wireless mesh network method for building up of electronic apparatus system, device and system
CN109151943A (en) * 2017-06-19 2019-01-04 北京信威通信技术股份有限公司 Method of adjustment, device, node device and the storage medium of radio node
CN110248391A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 A kind of method for network access, access point apparatus and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014464A (en) * 2010-11-19 2011-04-13 重庆金美通信有限责任公司 Method for synchronously processing networks in wireless MESH network
CN109151943A (en) * 2017-06-19 2019-01-04 北京信威通信技术股份有限公司 Method of adjustment, device, node device and the storage medium of radio node
CN108882228A (en) * 2018-05-31 2018-11-23 北京橙鑫数据科技有限公司 The wireless mesh network method for building up of electronic apparatus system, device and system
CN110248391A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 A kind of method for network access, access point apparatus and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110808867A (en) * 2020-01-08 2020-02-18 深圳市乙辰科技股份有限公司 Network equipment configuration method and network equipment system
TWI787912B (en) * 2021-07-16 2022-12-21 啟碁科技股份有限公司 Wireless communication device and wireless communication method used in wireless communication device

Also Published As

Publication number Publication date
CN110602732B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN102118263B (en) Method and system for distribution of configuration information
EP2209253B1 (en) A method, system, server and terminal for processing an authentication
CN111786893B (en) method and device for synchronizing software versions of wireless routers in mesh networking
JP2015511735A (en) Software installation method, device and system
US8873429B2 (en) Method and system to dynamically detect and form a master slave network
CN106537957B (en) Method and server for managing configuration files
CN110602732B (en) Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
CN106528214B (en) A kind of installation method of OS, server and system
CN106331152B (en) Method and device for realizing information synchronization between modules
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
WO2016026313A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
EP3409071B1 (en) Wireless mesh network formation
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
WO2017124741A1 (en) Method and device for synchronizing apparatus version
CN106850222B (en) Configuration synchronization method of wireless networking equipment, wireless networking equipment and system
CN104935614B (en) Data transmission method and device
EP1527565B1 (en) Mobile unit configuration management for wlans
CN109039754B (en) Network equipment management method and device
WO2016086356A1 (en) Authentication method within wireless communication network, related apparatus and system
CN110769399B (en) Internet of things equipment connection networking method, internet of things equipment system and information access and transmission method
US10979287B2 (en) Method and apparatus for receiving a solution when configuration function verification fails in a terminal
CN113268278A (en) Configuration verification synchronization method and device, electronic device and storage medium
CN110912871A (en) Method and system for preventing network access attack of low-power-consumption Internet of things
CN106131129A (en) The method and apparatus of the data syn-chronization time management of GSLB

Legal Events

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