CN112566220B - Distribution network information synchronization method and device and computer equipment - Google Patents

Distribution network information synchronization method and device and computer equipment Download PDF

Info

Publication number
CN112566220B
CN112566220B CN202011339862.9A CN202011339862A CN112566220B CN 112566220 B CN112566220 B CN 112566220B CN 202011339862 A CN202011339862 A CN 202011339862A CN 112566220 B CN112566220 B CN 112566220B
Authority
CN
China
Prior art keywords
access point
distribution network
intelligent
network information
temporary access
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
CN202011339862.9A
Other languages
Chinese (zh)
Other versions
CN112566220A (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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011339862.9A priority Critical patent/CN112566220B/en
Publication of CN112566220A publication Critical patent/CN112566220A/en
Application granted granted Critical
Publication of CN112566220B publication Critical patent/CN112566220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to the technical field of internet, and discloses a distribution network information synchronization method, a distribution network information synchronization device and computer equipment. The method is applied to an intelligent router, the intelligent router is connected with a plurality of intelligent devices through Wi-Fi, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization method comprises the following steps: receiving a distribution network information updating request carrying new distribution network information; enabling the temporary access point for the intelligent device to roam to be connected to the temporary access point; after the original distribution network information of the formal access point is updated to new distribution network information, the new distribution network information is sent to the intelligent equipment through the temporary access point, and the intelligent equipment realizes distribution network with the formal access point based on the new distribution network information; and closing the temporary access point after the intelligent equipment and the intelligent router finish the network distribution. The embodiment of the invention can improve the success rate of the distribution network, does not need to start a hybrid mode, and avoids influencing the performance of equipment.

Description

Distribution network information synchronization method and device and computer equipment
Technical Field
The invention relates to the technical field of internet, in particular to a distribution network information synchronization method, a distribution network information synchronization device and computer equipment.
Background
With the development of mobile internet and digital home technologies, more and more smart devices enter the home. The intelligent devices are usually accessed to a home wireless router through a Wi-Fi network, each different manufacturer of a device distribution network in an initial environment has a respective distribution network process, such as a common SmartConfig technology, an AP hotspot mode, bluetooth, NFC, an infrared sensor and the like, and all manufacturers are as follows: huashi, ali, millet, telecom, etc. are all proprietary protocol extensions that are customized based on these basic technologies. Different modes can solve the problem of initial distribution of equipment, but in order to ensure network security and prevent network information leakage, users can regularly modify Wi-Fi of the router in many cases, and if the Wi-Fi password of the home router is changed, wi-Fi equipment of all internet of things connected with the home router needs to independently perform Wi-Fi distribution. The traditional one-key distribution network (the equipment needing the distribution network is in a network hybrid mode, and sniffer (sniffer) performs air packet grabbing) or the hot point distribution network has inevitable defects, so that the distribution process of the equipment of the internet of things is very complicated and complex. Especially, under the condition that the number of the internet of things devices connected with the router is large, the process of the internet of things devices for re-distribution of the network is more complicated and complex.
In the existing scheme, after Wi-Fi information (also called distribution network information) of a router is changed, a reset instruction is actively sent to equipment, manual equipment resetting of a user is omitted, the equipment is in a state capable of being discovered, and although synchronization of the distribution network information is not completed, the user is omitted, and the user can be reminded of having equipment waiting for distribution network. Although this approach is consistent with the psychological expectations of the public, since most ordinary users believe that Wi-Fi passwords change and Wi-Fi devices do need to be reconfigured, this solution is clearly not convenient enough.
Meanwhile, the scheme is that before the Wi-Fi password of the router is changed, the changed Wi-Fi information is synchronized to all the devices through the intranet, then the router is changed into the real Wi-Fi, the devices continuously try to connect the new Wi-Fi, the devices do not connect in a certain trying period, and then the devices connect the original Wi-Fi. The scheme is a common scheme, the method avoids the process of the user for re-distributing the network, and is really convenient for the user. The scheme is that firstly, the Wi-Fi information of the modified router is synchronously sent to the terminal on the original connecting channel, then the terminal uses the new Wi-Fi information for connection, and meanwhile, the router modifies the new Wi-Fi information of the router. In the process, the router changes Wi-Fi while the terminal device changes Wi-Fi, the two change simultaneously, the risks are uncontrollable, one router is not successful, the two routers are in a mutually matched state, and if the router is successfully modified first, the device is switching Wi-Fi at the moment, the device is not connected with a new router Wi-Fi yet, and the router Wi-Fi is modified by a user for a short time, the device faces the risk that the device cannot be connected.
Meanwhile, according to the scheme, a router firstly acquires an MAC address of an intelligent terminal connected with the router, whether the router successfully changes the Wi-Fi password or not is judged, and if yes, the changed new Wi-Fi password is encrypted according to the MAC address; and sending the encrypted new Wi-Fi password to the intelligent terminal through a broadcast and multicast message. The scheme sends the Wi-Fi latest password through the broadcast or multicast message, the router and the intelligent terminal respectively carry out encryption and decryption through the MAC address, the Wi-Fi password is automatically updated, manual input of a user is not needed, and the operation is very convenient and humanized. In the scheme, a router can actively inform equipment after modifying Wi-Fi information, but the mode has an obvious defect, if a plurality of terminals in a home need to synchronously update the Wi-Fi information, the router needs to send different encrypted broadcast or multicast messages aiming at terminals with different MAC addresses, because MAC is a secret key, only corresponding MAC can decrypt, so that the trouble of a terminal equipment side is increased, specific broadcast or networking messages in a network need to be decrypted one by one, the decrypted messages can be abandoned, the equipment side also needs to start a network promiscuous mode, a sniffer (sniffer) performs air packet capturing, and the performance of the equipment side also can be influenced to a certain extent.
Meanwhile, the scheme is that when the intelligent terminal finds that the access password is wrong, the access password synchronization request information is loaded into a manufacturer specific information field of a detection request frame, and the detection request frame is broadcasted; the router side monitors the broadcast detection request frame and then responds; and the intelligent terminal receives a detection response frame replied by the wireless access point and acquires a new network access password from a manufacturer specific field of the detection response frame. In the scheme, the router does not inform equipment when changing Wi-Fi information, but the equipment side actively discovers that Wi-Fi connection is unavailable, then sends a broadcast detection request frame, and when the router monitors a broadcast request, the router responds to the updated Wi-Fi information to the equipment, although the method is feasible, the router needs to start a promiscuous mode to continuously monitor the broadcast information of the equipment in the network to filter a new request, and the router knows that the promiscuous mode needs the support of a chip and has certain influence on the Wi-Fi performance of the router, and if the Wi-Fi of the router is used by a user, the Wi-Fi performance is influenced; in addition, the device side finds that the password connection does not continuously send the broadcast detection request frame, if the Wi-Fi of the router of the same type of the neighboring home is just modified, it is highly probable that the device is connected with the router of the neighboring home, and certain risk exists.
Disclosure of Invention
In view of this, an object of embodiments of the present invention is to provide a method, an apparatus, and a computer device for synchronizing distribution network information, in which after distribution network information of a router is successfully updated, new distribution network information is sent to an intelligent device through a temporary access point, so that disconnection of the intelligent device due to failure in modifying the distribution network information of the router is avoided, the success rate of distribution network is improved, and meanwhile, a hybrid mode does not need to be started on both the intelligent router and the intelligent device side, and the performance of the device is not affected.
In order to solve the technical problem, an embodiment of the present invention provides a distribution network information synchronization method, which is applied to an intelligent router, wherein the intelligent router is connected with a plurality of intelligent devices through Wi-Fi, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization method includes:
receiving a distribution network information updating request carrying new distribution network information;
enabling the temporary access point for the smart device to roam to the temporary access point;
after the original distribution network information of the formal access point is updated to the new distribution network information, the new distribution network information is sent to the intelligent equipment through the temporary access point, so that the intelligent equipment can realize distribution network based on the new distribution network information and the formal access point;
and closing the temporary access point after the intelligent equipment and the intelligent router are finished distributing the network.
The embodiment of the invention also provides a distribution network information synchronization method, which is applied to intelligent equipment, the intelligent equipment is in Wi-Fi communication connection with an intelligent router, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization method comprises the following steps:
roaming a temporary access point connected to the intelligent router after the intelligent router enables the temporary access point;
receiving new network configuration information sent by the intelligent router through the temporary access point;
and the network distribution is carried out based on the new network distribution information and the formal access point.
The embodiment of the invention also provides a distribution network information synchronization device, which is configured on an intelligent router, wherein the intelligent router is connected with a plurality of intelligent devices through Wi-Fi, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization device comprises:
the receiving module is used for receiving a distribution network information updating request carrying new distribution network information;
an enabling module for enabling the temporary access point for the smart device to roam to connect to the temporary access point;
the updating module is used for updating the original distribution network information of the formal access point into the new distribution network information, and then sending the new distribution network information to the intelligent equipment through the temporary access point so that the intelligent equipment can realize distribution based on the new distribution network information and the formal access point;
and the closing module is used for closing the temporary access point after the intelligent equipment and the intelligent router finish distribution.
The embodiment of the present invention further provides a distribution network information synchronization apparatus configured in an intelligent device, where the intelligent device is connected to an intelligent router through Wi-Fi communication, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization apparatus includes:
a connection module for roaming a temporary access point connected to the intelligent router after the intelligent router enables the temporary access point;
a receiving module, configured to receive, through the temporary access point, new network configuration information sent by the intelligent router;
and the distribution network module is used for distributing the network based on the new distribution network information and the formal access point.
An embodiment of the present invention also provides a computer device, including: the distribution network information synchronization system comprises a memory and a processor, wherein the memory stores computer programs, and the processor runs the computer programs to realize the distribution network information synchronization method.
Compared with the prior art, the implementation mode of the invention has the advantages that the temporary access point is started on the intelligent router, the intelligent equipment can be seamlessly switched to the temporary access point in a roaming way, then after the distribution network information of the formal access point of the intelligent router is successfully changed, the temporary access point informs the intelligent equipment of new distribution network information, and the temporary access point is closed after the intelligent equipment is accessed to the formal access point by the new distribution network information. Therefore, in the embodiment of the invention, after the distribution network information of the intelligent router is successfully updated, the new distribution network information is sent to the intelligent equipment through the other channel (the temporary access point), the phenomenon that the intelligent equipment is disconnected due to the failure of the modification of the distribution network information of the router is avoided, and the distribution network success rate is improved.
As one embodiment, the enabling the temporary access point includes:
and increasing the beacon frame sending frequency of the temporary access point to a preset value.
As an embodiment, after said enabling said temporary access point, further comprising:
scanning for information of a smart device that has roamed to the temporary access point, the information of the smart device including: a physical address of the smart device;
and comparing the information of the intelligent equipment connected to the temporary access point with the recorded information of the intelligent equipment connected to the formal access point to determine whether the recorded intelligent equipment is connected to the temporary access point.
As an embodiment, the closing the temporary access point after the intelligent device and the intelligent router complete the distribution network includes:
comparing the information of the intelligent equipment connected to the formal access point by the new network configuration information with the information of the intelligent equipment connected to the formal access point by the original network configuration information, and immediately closing the temporary access point; wherein the smart device information includes: physical address of the smart device.
As an embodiment, the sending the new distribution network information to the smart device through the temporary access point includes:
carrying out symmetric encryption on the new distribution network information by adopting an AES encryption algorithm and then broadcasting the new distribution network information; and the intelligent equipment decrypts the new distribution network information by adopting a preset secret key.
As an embodiment, the method further comprises:
and if the operation of updating the original distribution network information of the formal access point into the new distribution network information fails, recovering the distribution network information of the formal access point and closing the temporary access point.
Drawings
Fig. 1 is a schematic structural diagram of a system applied to a distribution network information synchronization method according to an embodiment of the present invention;
fig. 2 is a flowchart of a distribution network information synchronization method according to an embodiment of the present invention;
fig. 3 is a flowchart of a distribution network information synchronization method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a distribution network information synchronization apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a distribution network information synchronization apparatus according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The distribution network information synchronization method provided by the embodiment of the invention can be applied to an internet of things system shown in fig. 1, and the system comprises the following steps: the intelligent router comprises an intelligent router, a plurality of intelligent devices and an operation terminal. The intelligent equipment and the operation terminal are connected with the intelligent router in a Wi-Fi mode. The intelligent router is provided with a formal access point and a default closed temporary access point, when the intelligent router receives a distribution network information updating request which is sent by an operation terminal and carries new distribution network information, the temporary access point is started, the intelligent equipment can be seamlessly and roamedly connected to the temporary access point, the intelligent router updates the distribution network information of the formal access point into the new distribution network information, the new distribution network information is sent to the intelligent equipment through the temporary access point after the updating is successful, the intelligent equipment is respectively disconnected from the temporary access point, and the new distribution network information and the formal access point are distributed to re-access the formal access point, so that the synchronization of the distribution network information on the intelligent equipment is automatically realized. In this embodiment, the operation terminal may be a smart phone, and the smart device may be a home-use internet of things-based smart device. It can be understood that, this embodiment is applicable to synchronization of distribution network information between the intelligent router and all the intelligent devices, and therefore, no specific limitation is imposed on the types of the intelligent devices.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present invention in its various embodiments. However, the technical solution claimed in the present invention can be implemented without these technical details and various changes and modifications based on the following embodiments.
In the following, the execution subject is taken as an intelligent router for example, specifically:
as shown in fig. 2, the distribution network information synchronization method of the present embodiment includes steps 201 to 204.
Step 201: and receiving a distribution network information updating request carrying new distribution network information.
Step 202: enabling the temporary access point for the smart device to roam to the temporary access point.
Step 203: and after the original distribution network information of the formal access point is updated to the new distribution network information, the new distribution network information is sent to the intelligent equipment through the temporary access point, so that the intelligent equipment can realize distribution network based on the new distribution network information and the formal access point.
Step 204: and closing the temporary access point after the intelligent equipment and the intelligent router finish the network distribution.
In particular, a typical intelligent router has a 2.4G access point and a 5G access point, both of which are user-visible access points. Meanwhile, a common intelligent router also has some hidden access points, which are closed by default and invisible to users. In this embodiment, the regular access point of the intelligent router may refer to the visible access point, and the temporary access point is the hidden access point that is closed by default. In this embodiment, after the intelligent device is powered on, the intelligent device is connected to the intelligent router through a private distribution network protocol, for example, a device conforming to the specification of the Andlink protocol for china mobile, and can be accessed to the intelligent router through the Andlink protocol.
Step 201 receives a distribution network information updating request carrying new distribution network information, where the distribution network information updating request may come from a terminal device such as a smart phone or a notebook computer. The user modifies the Wi-Fi name and the password (namely the network distribution information) of the formal access point (SSID 1) of the intelligent router through the APP, and notifies the router of the updated new network distribution information, so that the intelligent router receives the network distribution information updating request. Assuming that the initial Wi-Fi account password of SSID1 is (SSID 1, password 1) and the modified new distribution network information is (SSID 1-new, password 1-new), the new distribution network information is included in the distribution network information request and is sent to the intelligent router.
Step 202 is to enable the temporary access point for the intelligent device to roam and connect to the temporary access point, after receiving the distribution network information updating request, the intelligent router can immediately enable the temporary access point (SSID 2), and set the distribution network information (Wi-Fi account number, password, etc.) of SSID2 to (SSID 1, password 1), i.e. the distribution network information of SSID2 is the same as the original distribution network information of SSID 1.
Optionally, in this embodiment, the step 202 of enabling the temporary access point may further include: and increasing the beacon frame transmission frequency of the temporary access point to a preset value. Specifically, after SSID2 is enabled, the Beacon (Beacon) frame transmission frequency of SSID2 is increased, for example, the Beacon frame transmission frequency of SSID2 is set to 20 ms/time or 50 ms/time, and 1 to 2 beacons can be transmitted at a time, because the original Wi-Fi account password of the intelligent router still exists and the strength of the signal is further enhanced, each smart device originally connected to the intelligent router actively roams and seamlessly switches to a new SSID2 hotspot. It can be understood that, in this embodiment, no specific limitation is imposed on the sending mode of the Beacon frame of SSID2, as long as it is beneficial for the intelligent device to quickly and stably switch to the SSID2 hotspot.
In this embodiment, as an example and not by way of limitation, while the temporary access point is enabled, the original network configuration information of the formal access point may be updated to the new network configuration information, for example, the account password of SSID1 is updated to (SSID 1-new, password 1-new). Optionally, in this embodiment, if the operation of updating the original distribution network information of the formal access point to the new distribution network information fails, the distribution network information of the formal access point may be recovered, and the temporary access point may be closed. Namely, the intelligent router closes the SSID2, the intelligent device roams to the SSID1 hotspot again, the intelligent router recovers to the state before the change, and the subsequent process is terminated. Meanwhile, a message of failure of updating the distribution network information by the intelligent router can be sent to the operation terminal.
Optionally, in this embodiment, after the temporary access point is enabled, the method may further include: scanning information of the intelligent device which is in roaming connection with the temporary access point, wherein the information of the intelligent device comprises: a physical address (MAC) of the smart device; and comparing the information of the intelligent devices connected to the temporary access point with the recorded information of the intelligent devices connected to the formal access point to determine whether the recorded intelligent devices are all connected to the temporary access point. Specifically, the smart router may record the MAC and number of smart devices originally connected to SSID 1. After SSID2 is enabled, scanning the intelligent devices under SSID2 is started, and the MAC and the number of the intelligent devices roaming to SSID2 are obtained. By comparing the MAC and the number of the intelligent devices under SSID1 and SSID2, whether all the intelligent devices connected to SSID1 successfully roam to the SSID2 hotspot can be judged. The situation that the intelligent device which does not successfully roam to the SSID2 fails to synchronize the distribution network information occurs.
Optionally, in this embodiment, the step 203 of sending the new distribution network information to the smart device through the temporary access point may include: and symmetrically encrypting the new network configuration information by adopting an AES (advanced encryption standard) encryption algorithm and broadcasting the new network configuration information, wherein the intelligent equipment decrypts the new network configuration information by adopting a preset secret key. Specifically, the intelligent router may actively broadcast the synchronized new distribution network information (SSID 1-new, password 1-new) to each intelligent device through the connection channel of the SSID2 by means of a private distribution network protocol. In this embodiment, the new network-distribution information in the broadcast stage may be symmetrically encrypted by using a specific AES algorithm, and the key is a default value. After receiving the new distribution network information issued by the intelligent router, each intelligent device decrypts the new distribution network information by using a pre-agreed secret key, disconnects the connection with the SSID2 after the decryption is successful, then tries to connect with the SSID1 by using the new distribution network information, and can send a successful connection message to the intelligent router through unicast after the connection is successful.
Optionally, in this embodiment, closing the temporary access point after the intelligent device and the intelligent router complete the network distribution may include: and after the information of the intelligent equipment connected to the formal access point by the new network configuration information is compared with the information of the intelligent equipment connected to the formal access point by the original network configuration information, immediately closing the temporary access point. Wherein, the smart machine information includes: physical address of the smart device. Specifically, after receiving the message that the connection of the intelligent device is successful, the intelligent router can count the MAC of the successfully-connected intelligent device, compare the MAC of the successfully-connected intelligent device with the MAC of the intelligent device originally connected to the intelligent router, and under the condition that the comparison of the MAC information and the number of the intelligent devices is consistent, indicate that all the intelligent devices have successfully synchronized distribution network information, and at the moment, the intelligent router can immediately stop SSID2. If the MAC and the number of the intelligent equipment are not consistent after the intelligent router exceeds the preset synchronization time, the synchronization of part of the intelligent equipment fails, and the SSID2 is also stopped at the moment. The intelligent router can also send a message of synchronization success or failure to the operation terminal, so that the user can know the synchronization condition in time, and the user can perform necessary intervention according to the synchronization condition.
Compared with the prior art, the method and the device have the advantages that the temporary access point is started, the new network distribution information is sent to the intelligent equipment which roams to the temporary access point after the network distribution information of the formal access point is updated, so that the intelligent equipment can automatically distribute the network to re-access the formal access point based on the received new network distribution information, the synchronization of the network distribution information can be completed conveniently, the normal use of various intelligent equipment cannot be influenced during the synchronization, and the user experience can be improved. In addition, the embodiment broadcasts the new distribution network information in a symmetric encryption mode, so that the security is higher. In addition, intelligent router and smart machine all need not to open promiscuous mode to can not influence equipment performance. In addition, the embodiment of the invention does not need to modify hardware, and has wide applicability.
In the following, the execution subject is taken as an intelligent device for example, specifically:
as shown in fig. 3, the distribution network information synchronization method of this embodiment includes steps 301 to 303.
Step 301: and roaming the temporary access point connected to the intelligent router after the intelligent router enables the temporary access point.
When the intelligent router increases the Beacon frame sending frequency of the temporary access point, the intelligent device can be seamlessly and stably roamed and connected to the temporary access point.
Step 302: and receiving new distribution network information sent by the intelligent router through the temporary access point.
Optionally, when the new distribution network information is a ciphertext encrypted by a symmetric encryption algorithm, the intelligent terminal may decrypt the ciphertext by using a pre-agreed secret key, and the new distribution network information may be obtained after the decryption is successful.
Step 303: and distributing the network based on the new distribution network information and the formal access point.
Specifically, after receiving the new distribution network information, the intelligent device can disconnect the temporary access point and continuously try to connect the formal access point until the connection is successful.
Compared with the prior art, the method and the device have the advantages that the temporary access point is started, the new network distribution information is sent to the intelligent equipment which roams to the temporary access point after the network distribution information of the formal access point is updated, so that the intelligent equipment can automatically distribute the network to re-access the formal access point based on the received new network distribution information, the synchronization of the network distribution information can be completed conveniently, the normal use of various intelligent equipment cannot be influenced during the synchronization, and the user experience can be improved. In addition, the embodiment broadcasts the new distribution network information in a symmetrical encryption mode, and the safety is higher. In addition, the intelligent router and the intelligent equipment do not need to start a hybrid mode, and therefore the performance of the equipment is not affected. In addition, the embodiment of the invention does not need to modify hardware, and has wide applicability.
The embodiment of the invention also provides a distribution network information synchronization device 400 which is configured on the intelligent router, the intelligent router is connected with a plurality of intelligent devices through Wi-Fi, and the intelligent router is provided with a formal access point and a default closed temporary access point. As shown in fig. 4, the distribution network apparatus 400 of the present embodiment includes:
a receiving module 401, configured to receive a distribution network information update request carrying new distribution network information;
an enabling module 402 for enabling a temporary access point for a smart device to roam to connect to the temporary access point;
the updating module 403 is configured to, after the original distribution network information of the formal access point is updated to new distribution network information, send the new distribution network information to the intelligent device through the temporary access point, so that the intelligent device realizes distribution with the formal access point based on the new distribution network information;
a closing module 404, configured to close the temporary access point after the intelligent device and the intelligent router complete a network distribution.
Optionally, the enabling module 402 is further configured to increase the beacon frame transmission frequency of the temporary access point to a preset value.
Optionally, the synchronization apparatus 400 may further include:
a statistics module, configured to scan for information of a smart device that has roamed to a temporary access point after the temporary access point is enabled, where the information of the smart device includes: a physical address of the smart device; and comparing the information of the intelligent devices connected to the temporary access point with the recorded information of the intelligent devices connected to the formal access point to determine whether the recorded intelligent devices are all connected to the temporary access point.
Optionally, the closing module 404 is specifically configured to immediately close the temporary access point after comparing the information of the intelligent device connected to the formal access point with the new network configuration information and the information of the intelligent device connected to the formal access point with the original network configuration information are consistent; wherein, the smart machine information includes: physical address of the smart device.
The updating module 403 is specifically configured to perform symmetric encryption on the new network configuration information by using an AES encryption algorithm and broadcast the newly network configuration information; and the intelligent equipment decrypts the new network configuration information by adopting a preset secret key.
Optionally, the synchronization apparatus 400 may further include:
and the rollback module is used for recovering the distribution network information of the formal access point and closing the temporary access point if the operation of updating the original distribution network information of the formal access point into the new distribution network information fails.
Compared with the prior art, the synchronization device of the embodiment starts the temporary access point, and sends the new network distribution information to the intelligent equipment which roams to the temporary access point after the network distribution information of the formal access point is updated, so that the intelligent equipment can automatically distribute the network to re-access the formal access point based on the received new network distribution information, the synchronization of the network distribution information can be completed conveniently, the normal use of the intelligent equipment cannot be influenced during the synchronization, and the user experience can be improved. In addition, the embodiment broadcasts the new distribution network information in a symmetric encryption mode, so that the security is higher. In addition, the intelligent router and the intelligent equipment do not need to start a hybrid mode, and therefore the performance of the equipment is not affected. In addition, the embodiment of the invention does not need to modify hardware, and has wide applicability.
The embodiment of the invention also provides a distribution network information synchronization device 500 which is configured on the intelligent equipment, the intelligent equipment is connected with the intelligent router through Wi-Fi communication, and the intelligent router is provided with a formal access point and a default closed temporary access point. As shown in fig. 5, the synchronization apparatus 500 includes:
a connection module 501, configured to roam the temporary access point connected to the intelligent router after the intelligent router enables the temporary access point;
a receiving module 502, configured to receive, through the temporary access point, new network configuration information sent by the intelligent router;
and a distribution network module 503, configured to distribute a network with the formal access point based on the new distribution network information.
Compared with the prior art, the synchronization device of the embodiment enables the temporary access point, and sends the new network distribution information to the intelligent equipment which has roamed to the temporary access point after the network distribution information of the formal access point is updated, so that the intelligent equipment can automatically distribute the network to re-access the formal access point based on the received new network distribution information, the synchronization of the network distribution information can be completed very conveniently, the normal use of various types of intelligent equipment cannot be influenced during the synchronization, and the user experience can be improved. In addition, the embodiment broadcasts the new distribution network information in a symmetric encryption mode, so that the security is higher. In addition, the intelligent router and the intelligent equipment do not need to start a hybrid mode, and therefore the performance of the equipment is not affected. In addition, the embodiment of the invention does not need to modify hardware, and has wide applicability.
An embodiment of the present invention further provides a computer device, as shown in fig. 6, where the computer device includes: a memory 602, a processor 601;
the memory 602 stores instructions executable by the at least one processor 601, and the instructions are executed by the at least one processor 601 to implement the distribution network information synchronization method according to the foregoing embodiments.
The computer device comprises one or more processors 601 and a memory 602, one processor 601 being taken as an example in fig. 6. The processor 601 and the memory 602 may be connected by a bus or other means, and fig. 6 illustrates an example of a connection by a bus. The memory 602, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 601 executes various functional applications and data processing of the device by running nonvolatile software programs, instructions and modules stored in the memory 602, so as to implement the distribution network information synchronization method.
The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
The one or more modules are stored in the memory 602, and when executed by the one or more processors 601, perform the distribution network information synchronization method in any of the above-described method embodiments.
The above-mentioned device can execute the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method, and reference may be made to the method provided by the embodiment of the present invention for technical details that are not described in detail in the embodiment.
Compared with the prior art, the computer equipment of the embodiment enables the temporary access point, sends the new network distribution information to the intelligent equipment which roams to the temporary access point after the network distribution information of the formal access point is updated, so that the intelligent equipment can automatically distribute the network to re-access the formal access point based on the received new network distribution information, the synchronization of the network distribution information can be completed conveniently, the normal use of various types of intelligent equipment cannot be influenced during the synchronization, and the user experience can be improved. In addition, the embodiment broadcasts the new distribution network information in a symmetric encryption mode, so that the security is higher. In addition, the intelligent router and the intelligent equipment do not need to start a hybrid mode, and therefore the performance of the equipment is not affected. In addition, the embodiment of the invention does not need to modify hardware, and has wide applicability.
Embodiments of the present invention also relate to a non-volatile storage medium for storing a computer-readable program for causing a computer to perform some or all of the above method embodiments.
That is, those skilled in the art can understand that all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in 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.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A distribution network information synchronization method is applied to an intelligent router, the intelligent router is connected with a plurality of intelligent devices through Wi-Fi, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization method is characterized by comprising the following steps:
receiving a distribution network information updating request carrying new distribution network information;
enabling the temporary access point for the smart device to roam to connect to the temporary access point;
after the original distribution network information of the formal access point is updated to the new distribution network information, the new distribution network information is sent to the intelligent equipment through the temporary access point, so that the intelligent equipment can realize distribution network based on the new distribution network information and the formal access point;
and closing the temporary access point after the intelligent equipment and the intelligent router are finished distributing the network.
2. The distribution network information synchronization method according to claim 1, wherein the enabling the temporary access point comprises:
and increasing the beacon frame sending frequency of the temporary access point to a preset value.
3. The distribution network information synchronization method of claim 1, further comprising, after the enabling the temporary access point:
scanning information of intelligent equipment which is in roaming connection with the temporary access point, wherein the information of the intelligent equipment comprises: a physical address of the smart device;
and comparing the information of the intelligent devices connected to the temporary access point with the recorded information of the intelligent devices connected to the formal access point to determine whether the recorded intelligent devices are all connected to the temporary access point.
4. The distribution network information synchronization method according to claim 1, wherein the step of closing the temporary access point after the distribution of the intelligent device and the intelligent router is finished comprises:
comparing the information of the intelligent equipment connected to the formal access point by the new network configuration information with the information of the intelligent equipment connected to the formal access point by the original network configuration information, and immediately closing the temporary access point; wherein the smart device information includes: physical address of the smart device.
5. The distribution network information synchronization method according to claim 1, wherein the sending the new distribution network information to the smart device through the temporary access point comprises:
carrying out symmetric encryption on the new distribution network information by adopting an AES encryption algorithm and then broadcasting the new distribution network information; and the intelligent equipment decrypts the new distribution network information by adopting a preset secret key.
6. The distribution network information synchronization method according to claim 1, wherein the method further comprises:
and if the operation of updating the original distribution network information of the formal access point into the new distribution network information fails, recovering the distribution network information of the formal access point and closing the temporary access point.
7. A distribution network information synchronization method is applied to intelligent equipment, the intelligent equipment is in Wi-Fi communication connection with an intelligent router, and the intelligent router is provided with a formal access point and a default closed temporary access point, and is characterized in that the synchronization method comprises the following steps:
roaming a temporary access point connected to the intelligent router after the intelligent router enables the temporary access point;
receiving new network configuration information sent by the intelligent router through the temporary access point;
and distributing the network based on the new distribution network information and the formal access point.
8. The utility model provides a join in marriage net information synchronizer, disposes in intelligent router, connect through Wi-Fi between intelligent router and a plurality of smart machine, intelligent router possesses formal access point and the temporary access point that defaults to close, its characterized in that, synchronizer includes:
the receiving module is used for receiving a distribution network information updating request carrying new distribution network information;
an enabling module for enabling the temporary access point for the smart device to roam to connect to the temporary access point;
the updating module is used for updating the original distribution network information of the formal access point into the new distribution network information, and then sending the new distribution network information to the intelligent equipment through the temporary access point, so that the intelligent equipment can realize distribution based on the new distribution network information and the formal access point;
and the closing module is used for closing the temporary access point after the intelligent equipment and the intelligent router finish distribution network.
9. A distribution network information synchronization device is configured in an intelligent device, the intelligent device is in Wi-Fi communication connection with an intelligent router, the intelligent router is provided with a formal access point and a default closed temporary access point, and the synchronization device comprises:
a connection module for roaming a temporary access point connected to the intelligent router after the intelligent router enables the temporary access point;
a receiving module, configured to receive, through the temporary access point, new network configuration information sent by the intelligent router;
and the distribution network module is used for distributing the network based on the new distribution network information and the formal access point.
10. A computer device, comprising: a memory storing a computer program and a processor running the computer program to implement the distribution network information synchronization method of any one of claims 1 to 7.
CN202011339862.9A 2020-11-25 2020-11-25 Distribution network information synchronization method and device and computer equipment Active CN112566220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011339862.9A CN112566220B (en) 2020-11-25 2020-11-25 Distribution network information synchronization method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011339862.9A CN112566220B (en) 2020-11-25 2020-11-25 Distribution network information synchronization method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN112566220A CN112566220A (en) 2021-03-26
CN112566220B true CN112566220B (en) 2022-10-18

Family

ID=75043749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011339862.9A Active CN112566220B (en) 2020-11-25 2020-11-25 Distribution network information synchronization method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN112566220B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613251B (en) * 2021-07-29 2024-05-24 青岛海尔科技有限公司 Information synchronization method and system, storage medium and electronic device
CN113612845B (en) * 2021-08-03 2023-06-30 美智光电科技股份有限公司 Distribution network control method, device, mobile terminal, equipment, system and storage medium
CN114095294B (en) * 2021-09-15 2023-06-16 珠海格力电器股份有限公司 Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN114389807A (en) * 2022-01-14 2022-04-22 青岛海尔科技有限公司 Password updating method and target intelligent device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645725A (en) * 2017-09-21 2018-01-30 广东美的制冷设备有限公司 Network collocating method and system, routing device and log equipment
CN108781342A (en) * 2016-04-29 2018-11-09 华为技术有限公司 Virtual SIM card distribution, the method and relevant device for accessing network
CN109831780A (en) * 2017-11-23 2019-05-31 宁波方太厨具有限公司 A kind of intelligent interaction matches network method
CN110300432A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 A kind of pair of equipment carries out the method and distribution network systems of distribution
CN111132135A (en) * 2019-11-11 2020-05-08 上海思笛恩网络科技有限公司 Wireless network distribution method and system for intelligent household terminal
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005675A1 (en) * 2010-01-22 2012-01-05 Brutesoft, Inc. Applying peer-to-peer networking protocols to virtual machine (vm) image management
CN105429901B (en) * 2015-11-06 2018-09-28 上海斐讯数据通信技术有限公司 Uplink data packet forwarding method and device, downlink data packet forwarding method and device
CN105703958B (en) * 2016-04-07 2019-01-22 成都火云网安科技有限公司 A kind of the AP automatic configuration system and method for wireless network environment
CN105898750A (en) * 2016-05-27 2016-08-24 北京奇虎科技有限公司 WiFi access point equipment and WiFi access authentication method and device
CN107181791B (en) * 2017-04-19 2021-01-01 北京小米移动软件有限公司 Networking method and device of intelligent equipment
CN109936845B (en) * 2017-12-19 2022-09-06 九阳股份有限公司 Intelligent equipment network distribution method and device
CN109890029B (en) * 2019-01-29 2022-06-03 珠海迈科智能科技股份有限公司 Automatic network distribution method of intelligent wireless equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108781342A (en) * 2016-04-29 2018-11-09 华为技术有限公司 Virtual SIM card distribution, the method and relevant device for accessing network
CN107645725A (en) * 2017-09-21 2018-01-30 广东美的制冷设备有限公司 Network collocating method and system, routing device and log equipment
CN109831780A (en) * 2017-11-23 2019-05-31 宁波方太厨具有限公司 A kind of intelligent interaction matches network method
CN110300432A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 A kind of pair of equipment carries out the method and distribution network systems of distribution
CN111132135A (en) * 2019-11-11 2020-05-08 上海思笛恩网络科技有限公司 Wireless network distribution method and system for intelligent household terminal
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium

Also Published As

Publication number Publication date
CN112566220A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112566220B (en) Distribution network information synchronization method and device and computer equipment
US11658817B2 (en) Security key usage across handover that keeps the same wireless termination
US10375609B2 (en) Operation of a serving node in a network
US11089479B2 (en) Signaling attack prevention method and apparatus
JP5622930B2 (en) Apparatus and method for supporting mobility in a wireless communication system in which cells are superimposed
CN110072233B (en) Security key changing method, base station and user equipment
KR101868713B1 (en) Controlled credentials provisioning between user devices
US10812973B2 (en) System and method for communicating with provisioned security protection
EP3596895B1 (en) Network node for use in a communication network, communication device and methods of operating the same
WO2009008627A2 (en) A method of establishing fast security association for handover between heterogeneous radio access networks
WO2019223679A1 (en) Roaming method, access point, and access point collaborative work controller
KR102088848B1 (en) Security supporting method and system for proximity based service group communication or public safety in mobile telecommunication system environment
WO2015135292A1 (en) Key update method, sub base station, terminal, communication system and storage medium
CN109392036B (en) Cell reselection method, closed subscriber group verification method and device
CN110958308B (en) Method for network distribution, Internet of things equipment and access equipment
CN103384365A (en) Method and system for network access, method for processing business and equipment
CN110582086B (en) Session line switching method and system
CN103298049A (en) Method and device for processing timer switching
CN106256110A (en) House local breakout in communication system
WO2023213208A1 (en) Communication method and communication apparatus
US20230037970A1 (en) MBS Security in UE Mobility
WO2023213184A1 (en) Communication method and communication apparatus
CN113411803A (en) Identity recognition and authentication method for switching terminal

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