Password updating method, device, equipment and storage medium for smart device

By receiving the network connection request of the target device and determining whether its SSID and connection password are old hidden information, sending new information to update, solving the problem of password changes causing the device to be offline, realizing automatic connection and security guarantees, and improving users Experience.

CN115580397BActive Publication Date: 2025-02-11QINGDAO HAIER TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110736026.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2025-02-11
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

In the prior art, password changes cause the device to be completely offline, and the cumbersome passwords are re-entered, affecting the user's user experience.

Method used

By receiving the network connection request from the target device, determine whether the SSID and connection password are the old hidden SSID and old connection password. If so, send a new SSID and new connection password to the target device to update it and establish a network connection.

Benefits of technology

The automatic password connection of the target device is achieved, which improves the user experience, reduces the cumbersome operation of users entering passwords, and ensures the security of the connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115580397B_ABST
    Figure CN115580397B_ABST
Patent Text Reader

Abstract

The present invention provides a password updating method, device, equipment and storage medium for smart devices. The method receives a network connection request from a target device, the network connection request carries an SSID and a connection password; determines whether the SSID and the connection password are old hidden SSID and old connection password; if so, sends a new SSID and a new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password, so that the router can automatically connect to the target device according to whether the target device has been connected to the hidden SSID. Since the hidden SSID is set by the user himself, it can better ensure the security of the connected target device, and realize automatic matching connection at the same time, and also reduce the tedious operation of the user inputting the password himself, which greatly improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of password updating, and in particular to a method, device, equipment and storage medium for updating a password of a smart device. Background Art

[0002] As a network connection device, routers are widely used in people's work and life. In recent years, with the popularization of smart mobile terminals, wireless routers are more and more widely used. Smart terminals usually connect to the wireless network emitted by the router through SSID and password. In order to prevent freeloading, users usually choose to set a more complex password.

[0003] However, since the wireless router is connected to multiple smart devices, once the password is changed, all devices will go offline and need to re-enter the cumbersome password, which affects the user experience. Summary of the invention

[0004] The present invention provides a password updating method, device, equipment and storage medium for smart devices, which are used to solve the defects in the prior art that password changes cause all devices to be offline and cumbersome passwords to be re-entered, realize automatic password connection of target devices, and improve user experience.

[0005] The present invention provides a password updating method for a smart device, comprising:

[0006] Receive a network connection request from a target device, wherein the network connection request carries an SSID and a connection password;

[0007] Determine whether the SSID and connection password are old hidden SSID and old connection password;

[0008] If so, the new SSID and the new connection password are sent to the target device, so that the target device is updated to the new SSID and the new connection password, and a network connection is established through the new SSID and the new connection password.

[0009] According to a password updating method for a smart device provided by the present invention, before sending the new SSID and the new connection password to the target device, the method further includes:

[0010] Determining attribute information of the target device and time information of the network connection request;

[0011] Determine whether the target device is a secure device according to the attribute information and the time information of the network connection request.

[0012] According to a method for updating a password of a smart device provided by the present invention, determining whether the target device is a secure device according to the attribute information includes:

[0013] The property information and connection time length of the smart device connected when reading the old hidden SSID and the old connection password;

[0014] Determine that the smart device whose connection time length is greater than the preset time value is a common device;

[0015] Determining whether the attribute information of the commonly used device includes the attribute information of the target device;

[0016] If included, the target device is a secure device.

[0017] According to a password updating method for a smart device provided by the present invention, determining whether the target device is a secure device according to the time information of the network connection request includes:

[0018] Identify the time of the network connection request of the target device;

[0019] Determine the time difference between the time of the network connection request and the time of updating the new SSID and the new connection password;

[0020] If the time difference is less than the preset time difference, it is determined that the target device is a secure device.

[0021] According to a password updating method for a smart device provided by the present invention, after hiding the new SSID and the new connection password, the method further includes:

[0022] The number of the commonly used devices connected when determining the old hidden SSID and the old connection password;

[0023] Detect the number of target devices currently connected to the new SSID and the new connection password;

[0024] If the number of the common devices is equal to the number of the target devices, the old hidden SSID and the old connection password are deleted.

[0025] A password updating method for a smart device according to the present invention also includes:

[0026] Determine the usage time of the new SSID and the new connection password;

[0027] If the usage time exceeds the target usage time, generating a replacement SSID and a replacement connection password;

[0028] The replacement SSID and the replacement connection password are synchronized to the target device.

[0029] According to a password updating method for a smart device provided by the present invention, generating a replacement SSID and a replacement connection password includes:

[0030] Generate independent replacement SSID and replacement connection password according to different target devices.

[0031] The present invention also provides a password updating device for a smart device, comprising:

[0032] A receiving module, used to receive a network connection request from a target device, wherein the network connection request carries an SSID and a connection password;

[0033] A determination module, used to determine whether the SSID and the connection password are old hidden SSID and old connection password;

[0034] The updating module is used for sending the new SSID and the new connection password to the target device if so, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password.

[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the password updating method for the smart device described above are implemented.

[0036] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the password updating method for a smart device as described in any one of the above are implemented.

[0037] The present invention provides a password updating method, device, equipment and storage medium for smart devices. The method receives a network connection request from a target device, the network connection request carries an SSID and a connection password; determines whether the SSID and the connection password are old hidden SSID and old connection password; if so, sends a new SSID and a new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password, so that the router can automatically connect to the target device according to whether the target device has been connected to the hidden SSID. Since the hidden SSID is set by the user himself, it can better ensure the security of the connected target device, and realize automatic matching connection at the same time, and also reduce the tedious operation of the user inputting the password himself, which greatly improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 This is one of the flowcharts of the password updating method for a smart device provided by an embodiment of the present invention;

[0040] Figure 2 This is a second flow chart of the method for updating a password of a smart device provided in an embodiment of the present invention;

[0041] Figure 3 It is a structural diagram of a password updating device for a smart device provided by an embodiment of the present invention;

[0042] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Combine the following Figure 1-Figure 4 The invention describes a password updating method, device, equipment and storage medium for a smart device.

[0045] Figure 1 This is one of the flow charts of the password updating method for a smart device provided in an embodiment of the present invention.

[0046] like Figure 1 As shown, a password update method for a smart device provided by an embodiment of the present invention is described on the side of a router, or on the side of an IoT platform of a control system of the router, and specifically includes the following steps:

[0047] 101. Receive a network connection request from a target device, where the network connection request carries an SSID and a connection password.

[0048] Specifically, during normal use, in order to prevent freeloading, the user chooses to change the SSID and password of the router, and then configures a new SSID and password for the router. Usually, home routers are connected to many smart devices, such as TVs, smart robots, etc. In order to ensure the smoothness of the network, the SSID and password will be hidden to prevent illegal persons from connecting, so as to ensure the smooth network of home smart devices. Define the device that needs to connect to the network as the target device, receive the network connection request of the target device, the network connection request includes the SSID and the connection password, the SSID and connection password carried by the target device are the original first password of the router, because the router has changed from the first password to the second password, so in order to ensure the normal network, the target device will seek to connect to the network.

[0049] 102. Determine whether the SSID and the connection password are the old hidden SSID and the old connection password.

[0050] After receiving the SSID and connection password of the target device, the router determines whether the SSID and connection password requested by the target device are the old hidden SSID and old connection password. Because when connecting, there is a high probability that there will be freeloading smart devices connecting to the network, so the router needs to judge the SSID and connection password in the connection request to ensure that the connected smart device is the smart device allowed by the user.

[0051] 103. If yes, send the new SSID and the new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password.

[0052] If the SSID and connection password are determined to be the old hidden SSID and the old connection password, it indicates that the target device at this time is a home security smart device. At this time, the new SSID and the new connection password are actively sent to the target device, so that the target device completes the update from the old hidden SSID and the old connection password to the new SSID and the new connection password, and then the target device will use the new SSID and the new connection password to establish a network connection. If the SSID and the connection password carried by the target device are not the old hidden SSID and the old connection password, the connection with the target device is established according to the new SSID and the new connection password. If the match is successful, the connection is made, otherwise the connection fails. Since the old hidden SSID and the old connection password are not changed with the user's changes, the network of the target device will not be disconnected. After the SSID and the password are changed, the new SSID and the new connection password will be automatically updated to the target device, realizing seamless connection of the network, and the target device will not be offline. There is no need for the user to re-enter the password, which is more convenient for users to change the SSID and the connection password.

[0053] An embodiment of the present invention provides a password updating method for a smart device, which receives a network connection request from a target device, the network connection request carries an SSID and a connection password; determines whether the SSID and the connection password are old hidden SSID and old connection password; if so, sends a new SSID and a new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password, so that the router can automatically connect to the target device according to whether the target device has been connected to the hidden SSID. Since the hidden SSID is set by the user himself, it can better ensure the security of the connected target device, and realize automatic matching connection, which also reduces the tedious operation of the user entering the password himself, and greatly improves the user experience.

[0054] Furthermore, in an embodiment of the present invention, after hiding the new SSID and the new connection password, it also includes: determining the number of commonly used devices connected when the old hidden SSID and the old connection password were used; detecting the number of target devices connected to the current new SSID and the new connection password; if the number of commonly used devices is equal to the number of target devices, deleting the old hidden SSID and the old connection password. The main purpose is to complete the complete update of the SSID and password of all target devices. When all connections are completed, the original old hidden SSID and the old connection password are deleted, so that even if a device that has been connected occasionally appears again, it will not actively connect automatically, which better ensures the security of network use.

[0055] Figure 2 This is the second flow chart of the password updating method for a smart device provided in an embodiment of the present invention.

[0056] like Figure 2 As shown, a password updating method for a smart device provided by an embodiment of the present invention includes the following steps:

[0057] 201. Receive a network connection request from a target device, where the network connection request carries an SSID and a connection password.

[0058] 202. Determine whether the SSID and the connection password are the old hidden SSID and the old connection password.

[0059] The specific process of step 201 and step 202 may refer to step 101 and step 102 in the above embodiment, and thus no specific explanation is given in the embodiment of the present invention.

[0060] 203. Determine attribute information of the target device and time information of the network connection request.

[0061] After the old hidden SSID and the old connection password are determined in the above steps, in order to better enhance the security of the connecting device, the connecting device is verified again at this time. Whether the target device can automatically establish a connection is verified again based on the attribute information of the target device and the time information of the network connection request.

[0062] 204. Determine whether the target device is a secure device according to the attribute information and the time information of the network connection request.

[0063] Determining whether the target device is a secure device by using the attribute information and the time information of the network connection request are two independent determination methods, and the two are independent of each other.

[0064] Among them, determining whether the target device is a secure device according to the attribute information includes reading the attribute information and connection time length of the smart device connected when the old hidden SSID and the old connection password are read; that is, directly obtaining the attribute information of the connected smart device when the router does not change the password, for example, it can be identification information. Each device has a unique identification, so that the attribute information of each connected smart device can be determined. After determining the connected smart device, the connection time length of each smart device is determined at the same time. It is determined that the smart device with a connection time length greater than the preset time value is a common device. Only when the connection time length is greater than a fixed value can it be indicated that the connected device is a smart device at home. For example, the preset time value is one month. Among all the smart devices that have been connected, it is determined that the smart device with a connection time length greater than one month is a common device. Then, it is determined whether the attribute information of the common device includes the attribute information of the target device; if it is included, the target device is a secure device, that is, it is determined whether the target device is a device at home, thereby ensuring the secure connection of the device. If the attribute information matching the attribute information of the target device cannot be found in the common device, it indicates that the target device at this time is a newly established connection device, and it is not a secure device.

[0065] Among them, determining whether the target device is a security device according to the time information of the network connection request includes identifying the time of the network connection request of the target device. The time of the network connection request refers to the current time. When the SSID and connection password of the router are changed, the change is completed instantly. There is also a time point when the change is made. The update time of the new SSID, the update time of the new connection password and the time of the network connection request are read respectively. Then the time difference between the time of the network connection request and the update time of the new SSID and the new connection password is determined, and the time difference between the two is calculated. If the time difference is less than the preset time difference, it is determined that the target device is a security device, because the smart device always maintains a network connection. When the SSID and the connection password are changed, the target device will immediately request a connection, and the time difference before and after is very small. The specific preset time difference is determined by the user, and the size of the preset time difference can be manually set according to different scenarios. When the time difference is within the preset time difference, it indicates that the target device at this time is a security device. When the time difference is greater than the preset time difference, it indicates that the target device at this time is a new target device and the network connection will not be automatically established.

[0066] 205. If yes, send the new SSID and the new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password.

[0067] When it is determined that the SSID and connection password carried in the network connection request are the old hidden SSID and the old connection password, and the target device is determined to be a secure device through the attribute information of the target device and the time information of the network connection request, a new SSID and a new connection password are sent to the target device to update the target device to the new SSID and the new connection password, and a network connection is established through the new SSID and the new connection password, thereby ensuring the normal network connection use of the target device.

[0068] 206. Determine the usage time of the new SSID and the new connection password.

[0069] Furthermore, in order to better ensure the security of the target device and the network connection of the target device, during the use of the router, the usage time of the new SSID and the new connection password is first determined, which refers to how long the new SSID and the new connection password are used in total, to determine the length of usage time.

[0070] 207. If the usage time exceeds the target usage time, a replacement SSID and a replacement connection password are generated.

[0071] After determining that the usage time exceeds the target usage time, a replacement SSID and a replacement connection password are automatically generated. The target usage time is a manually set time, which can be one month, two months, etc. Automatically generating a replacement SSID and a replacement connection password can ensure the use of smart devices and reduce network problems caused by freeloading. The generation of replacement SSIDs and replacement connection passwords can also generate independent replacement SSIDs and replacement connection passwords based on different target devices.

[0072] 208. Synchronously replace the SSID and replace the connection password to the target device.

[0073] After generating the replacement SSID and replacement connection password, you can synchronize the replacement SSID and replacement connection password to the target device. Changing the SSID and password according to the target time can better ensure the safety of use.

[0074] In order to better ensure the network security of the device, the device will actively send a hidden command to the router to request the SSID and password according to its own functions. After the router receives the hidden command of the SSID and password sent by the smart device, it determines the function information of the smart device according to the hidden command of the SSID and password. If the function information indicates that the smart device is a common security device, the corresponding SSID and password are hidden to ensure network security. In this way, the smart device can not only passively accept the complete protection of the network, but also actively seek network protection.

[0075] Based on the same general inventive concept, the present invention also protects a password updating device for a smart device. The password updating device for a smart device provided by the present invention is described below. The password updating device for the smart device described below and the password updating method for the smart device described above can be referenced to each other.

[0076] Figure 3 It is a structural diagram of a password updating device for a smart device provided by an embodiment of the present invention;

[0077] like Figure 3 As shown, an embodiment of the present invention provides a password updating device for a smart device, comprising:

[0078] A receiving module 10 is used to receive a network connection request from a target device, wherein the network connection request carries an SSID and a connection password;

[0079] A determination module 20, configured to determine whether the SSID and the connection password are old hidden SSID and old connection password;

[0080] The updating module 30 is used for sending the new SSID and the new connection password to the target device if yes, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password.

[0081] An embodiment of the present invention provides a password updating device for a smart device, which receives a network connection request from a target device, the network connection request carries an SSID and a connection password; determines whether the SSID and the connection password are old hidden SSID and old connection password; if so, sends a new SSID and a new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password, so that the router can automatically connect to the target device according to whether the target device has been connected to the hidden SSID. Since the hidden SSID is set by the user himself, it can better ensure the security of the connected target device, and realize automatic matching connection, which also reduces the tedious operation of the user inputting the password, and greatly improves the user experience.

[0082] Furthermore, the password updating apparatus for a smart device provided in an embodiment of the present invention further includes a security confirmation module for:

[0083] Determining attribute information of the target device and time information of the network connection request;

[0084] Determine whether the target device is a secure device according to the attribute information and the time information of the network connection request.

[0085] Furthermore, the security confirmation module in the embodiment of the present invention is specifically used for:

[0086] The property information and connection time length of the smart device connected when reading the old hidden SSID and the old connection password;

[0087] Determine that the smart device whose connection time is longer than the preset time value is a common device;

[0088] Determining whether the attribute information of the commonly used device includes the attribute information of the target device;

[0089] If included, the target device is a secure device.

[0090] Furthermore, the security confirmation module in the embodiment of the present invention is specifically used for:

[0091] Identify the time of the network connection request of the target device;

[0092] Determine the time difference between the time of the network connection request and the time of updating the new SSID and the new connection password;

[0093] If the time difference is less than the preset time difference, it is determined that the target device is a secure device.

[0094] Furthermore, the security confirmation module in the embodiment of the present invention is specifically used for:

[0095] The number of the commonly used devices connected when determining the old hidden SSID and the old connection password;

[0096] Detect the number of target devices currently connected to the new SSID and the new connection password;

[0097] If the number of the common devices is equal to the number of the target devices, the old hidden SSID and the old connection password are deleted.

[0098] Furthermore, the password updating apparatus for a smart device provided by an embodiment of the present invention further includes a synchronization module for:

[0099] Determine the usage time of the new SSID and the new connection password;

[0100] If the usage time exceeds the target usage time, generating a replacement SSID and a replacement connection password;

[0101] The replacement SSID and the replacement connection password are synchronized to the target device.

[0102] Furthermore, the synchronization module in the embodiment of the present invention is specifically used for:

[0103] Generate independent replacement SSID and replacement connection password according to different target devices.

[0104] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0105] like Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the password update method of the smart device, the method comprising: receiving a network connection request of a target device, the network connection request carrying an SSID and a connection password; determining whether the SSID and the connection password are old hidden SSID and old connection password; if so, sending a new SSID and a new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishing a network connection through the new SSID and the new connection password.

[0106] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0107] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the password update method for smart devices provided by the above methods, and the method includes: receiving a network connection request from a target device, the network connection request carrying an SSID and a connection password; determining whether the SSID and connection password are old hidden SSID and old connection password; if so, sending a new SSID and a new connection password to the target device so that the target device is updated to the new SSID and the new connection password, and establishing a network connection through the new SSID and the new connection password.

[0108] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the password updating method for the smart device provided above, the method comprising: receiving a network connection request from a target device, the network connection request carrying an SSID and a connection password; determining whether the SSID and the connection password are old hidden SSID and old connection password; if so, sending a new SSID and a new connection password to the target device so that the target device is updated to the new SSID and the new connection password, and establishing a network connection through the new SSID and the new connection password.

[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. Those of ordinary skill in the art may understand and implement them without creative effort.

[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for updating a password of a smart device, characterized in that: include: Receive a network connection request from a target device, wherein the network connection request carries an SSID and a connection password; Determine whether the SSID and connection password are old hidden SSID and old connection password; If yes, sending the new SSID and the new connection password to the target device, so that the target device is updated to the new SSID and the new connection password, and establishes a network connection through the new SSID and the new connection password; Before sending the new SSID and the new connection password to the target device, the method further includes: Determining attribute information of the target device and time information of the network connection request; Determining whether the target device is a secure device according to the attribute information and the time information of the network connection request; wherein, determining whether the target device is a secure device according to the attribute information and the time information of the network connection request are two independent determination methods; determining whether the target device is a secure device according to the attribute information includes: The property information and connection time length of the smart device connected when reading the old hidden SSID and the old connection password; Determine that the smart device whose connection time length is greater than the preset time value is a common device; Determining whether the attribute information of the commonly used device includes the attribute information of the target device; If included, the target device is a security device; and determining whether the target device is a security device according to the time information of the network connection request includes: Identify the time of the network connection request of the target device; Determine the time difference between the time of the network connection request and the time of updating the new SSID and the new connection password; If the time difference is less than the preset time difference, the target device is determined to be a secure device. If so, a new SSID and a new connection password are sent to the target device so that the target device is updated to the new SSID and the new connection password, and a network connection is established through the new SSID and the new connection password.

2. The method for updating the password of a smart device according to claim 1, characterized in that: After hiding the new SSID and the new connection password, the method further includes: The number of the commonly used devices connected when determining the old hidden SSID and the old connection password; Detect the number of target devices currently connected to the new SSID and the new connection password; If the number of the common devices is equal to the number of the target devices, the old hidden SSID and the old connection password are deleted.

3. The method for updating the password of a smart device according to claim 1, characterized in that: Also includes: Determine the usage time of the new SSID and the new connection password; If the usage time exceeds the target usage time, generating a replacement SSID and a replacement connection password; The replacement SSID and the replacement connection password are synchronized to the target device.

4. The method for updating the password of a smart device according to claim 3, characterized in that: The generating of the replacement SSID and the replacement connection password includes: Generate independent replacement SSID and replacement connection password according to different target devices.

5. A password updating device for a smart device, characterized in that: include: A receiving module, used to receive a network connection request from a target device, wherein the network connection request carries an SSID and a connection password; A determination module, used to determine whether the SSID and the connection password are old hidden SSID and old connection password; an updating module, configured to send a new SSID and a new connection password to the target device if so, so that the target device is updated to the new SSID and the new connection password, and establish a network connection through the new SSID and the new connection password; The device also includes a safety confirmation module, which is used to: Determining attribute information of the target device and time information of the network connection request; Determining whether the target device is a secure device according to the attribute information and the time information of the network connection request; wherein the attribute information and the time information of the network connection request are two independent determination methods; The safety confirmation module is specifically used for: The property information and connection time length of the smart device connected when reading the old hidden SSID and the old connection password; Determine that the smart device whose connection time length is greater than the preset time value is a common device; Determining whether the attribute information of the commonly used device includes the attribute information of the target device; If included, the target device is a security device; The safety confirmation module is further specifically used for: Identify the time of the network connection request of the target device; Determine the time difference between the time of the network connection request and the time of updating the new SSID and the new connection password; If the time difference is less than the preset time difference, the target device is determined to be a secure device. If so, a new SSID and a new connection password are sent to the target device so that the target device is updated to the new SSID and the new connection password, and a network connection is established through the new SSID and the new connection password.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the password updating method for a smart device as claimed in any one of claims 1 to 4 are implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the password updating method for a smart device according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Network connection method and device and storage medium

    CN109151010A

  • Intelligent device network distribution method and equipment and storage medium

    CN111866996A