CN111510991B - Method and device for updating new password, computer equipment and storage medium - Google Patents

Method and device for updating new password, computer equipment and storage medium Download PDF

Info

Publication number
CN111510991B
CN111510991B CN202010531733.3A CN202010531733A CN111510991B CN 111510991 B CN111510991 B CN 111510991B CN 202010531733 A CN202010531733 A CN 202010531733A CN 111510991 B CN111510991 B CN 111510991B
Authority
CN
China
Prior art keywords
new password
client
beacon signal
router
sound wave
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
CN202010531733.3A
Other languages
Chinese (zh)
Other versions
CN111510991A (en
Inventor
黄尚伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nanfang Silicon Valley Semiconductor Co.,Ltd.
Original Assignee
Shenzhen Southern Silicon Valley Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Southern Silicon Valley Semiconductor Co ltd filed Critical Shenzhen Southern Silicon Valley Semiconductor Co ltd
Priority to CN202010531733.3A priority Critical patent/CN111510991B/en
Publication of CN111510991A publication Critical patent/CN111510991A/en
Application granted granted Critical
Publication of CN111510991B publication Critical patent/CN111510991B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0891Revocation or update of secret information, e.g. encryption key update or rekeying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The application provides a method and a device for updating a new password, computer equipment and a storage medium, wherein the method comprises the following steps: when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router; and when the beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and the target beacon signal is sent to the client side, and meanwhile, a sound wave signal with a specified frequency is sent out. In the application, only the encrypted new password is added into one beacon signal randomly, and the sound wave signal is sent out simultaneously to serve as the identifier of the beacon signal, so that the new password can be analyzed from the corresponding beacon signal only when the sound wave signal is received simultaneously, and the password is prevented from being leaked.

Description

Method and device for updating new password, computer equipment and storage medium
Technical Field
The present application relates to the field of network device technologies, and in particular, to a method and an apparatus for updating a new password, a computer device, and a storage medium.
Background
After a Password (Password) is reset, a current home WIFI router needs all collocated STAs (clients in the WLAN) to update the Password setting to be normally connected. Under the condition that the number of devices of the internet of things is increasing, password setting of each client needs to be completed one by one, and the method is a great project for users.
To solve this problem, many techniques for automatically updating the password are proposed, wherein a series of sealed packets are transmitted to each client, and then the client decrypts the new password after unpacking the packets. However, since a series of sealed packets are sent, a hacker can acquire the password only by capturing any sealed packet, which is easy to cause leakage of the password; meanwhile, in the off-line state of the client, the encryption package after password updating cannot be received, so that the client cannot be normally connected when the on-line is restarted.
Disclosure of Invention
The present application mainly aims to provide a method and an apparatus for updating a new password, a computer device, and a storage medium, and aims to overcome the defect that a password is easily leaked at present and the defect that an updated password cannot be automatically obtained in an offline state.
In order to achieve the above object, the present application provides a method for updating a new password, which is applied to a router, and includes the following steps:
when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
and when the beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and the target beacon signal is sent to the client side, and meanwhile, a sound wave signal with a specified frequency is sent out.
Further, before the step of acquiring a new password and encrypting the new password by a private key when the instruction to send the new password is triggered, the method includes:
and connecting the client through a wireless network standard protocol, and sending the public key corresponding to the private key and the specified frequency information of the sound wave signal to the client.
Further, the step of randomly adding the encrypted new password to a beacon signal to generate a target beacon signal when the beacon signal is periodically transmitted includes:
and periodically generating the beacon signals, randomly adding the encrypted new password to one of the beacon signals to generate a target beacon signal, and randomly generating scrambling code information in the Vendor IE fields in other beacon signals.
Further, before the step of acquiring a new password and encrypting the new password by a private key when the instruction to send the new password is triggered, the method includes:
receiving a Probe Request packet sent by the client, wherein an SSID is added in the Probe Request packet;
judging whether the SSID of the router is the same as the SSID added in the Probe Request packet or not;
if the two codes are the same, triggering an instruction for sending a new code according to the code resending mark information added in the Probe Request packet.
Further, the sound wave signal is a signal with a specified duration, and the specified duration of the sound wave signal is the transmission period of the beacon signal.
The application also provides a new password updating method, which is applied to the client and comprises the following steps:
receiving beacon signals periodically sent by a router, and continuously monitoring whether sound wave signals with specified frequency exist or not;
if the target beacon signal is monitored, acquiring a target beacon signal transmitted simultaneously with the sound wave signal, and decrypting the target beacon signal through a preset public key to obtain a new password; and the new password is the new password of the client connected with the router.
Further, before the step of receiving the beacon signal periodically transmitted by the router and continuously monitoring whether the sound wave signal with the specified frequency exists, the method further includes:
and connecting the router through a wireless network standard protocol, and receiving the public key sent by the router and the specified frequency information of the sound wave signal.
The application also provides a device for updating the new password, which is applied to a router and comprises:
the encryption unit is used for acquiring a new password when an instruction for sending the new password is triggered, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
and the sending unit is used for randomly adding the encrypted new password to one beacon signal to generate a target beacon signal when the beacon signal is sent periodically, and sending out a sound wave signal with a specified frequency while sending the target beacon signal to the client.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
The application provides a method, a device, a computer device and a storage medium for updating a new password, which comprise the following steps: when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router; and when the beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and the target beacon signal is sent to the client side, and meanwhile, a sound wave signal with a specified frequency is sent out. In the application, only the encrypted new password is added into one beacon signal randomly, and the sound wave signal is sent out simultaneously to serve as the identifier of the beacon signal, so that the new password can be analyzed from the corresponding beacon signal only when the sound wave signal is received simultaneously, and the password is prevented from being leaked.
Drawings
FIG. 1 is a diagram illustrating steps of a method for updating a new password according to an embodiment of the present application;
FIG. 2 is a schematic diagram of steps of a method for updating a new password according to another embodiment of the present application;
FIG. 3 is a block diagram of an apparatus for updating a new password according to an embodiment of the present application;
FIG. 4 is a block diagram of a device for updating a new password according to another embodiment of the present application
Fig. 5 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a method for updating a new password, which is applied to a router, and includes the following steps:
step S1, when the instruction for sending the new password is triggered, the new password is obtained and encrypted by a private key; the new password is a new password for connecting the client with the router;
step S2, when the beacon signal is periodically transmitted, the encrypted new password is randomly added to a beacon signal to generate a target beacon signal, and when the target beacon signal is transmitted to the client, an acoustic wave signal with a specified frequency is emitted.
In this embodiment, the router is a router for transmitting a WIFI hotspot, and the client is a terminal device connected to the WIFI hotspot, for example, home devices (air conditioners, lamps, mobile phones, etc.) of various internet of things.
In this embodiment, after the password for connecting the router is set as the new password, if the internet of things device needs to be connected with the router again, the new password needs to be acquired and reset.
In this embodiment, as described in step S1, the instruction to send the new password may be triggered by the user, or may be triggered automatically, for example, when the router connects to the client after the password is set as the new password.
In this embodiment, in order to avoid leakage of the new password, the new password needs to be encrypted, an encryption algorithm is built in the router to obtain a pair of a private key and a public key, where the public key needs to be sent to the client in advance, and the private key is used to encrypt the new password. Specifically, before the password of the router is updated, when the client connects to the router, the router may send the public key to the client in advance.
As described in step S2, the router keeps periodically transmitting beacon signals to the client, i.e., transmitting a beacon signal every predetermined time. And randomly selecting one beacon signal from the beacon signals, adding the encrypted new password to the selected beacon signal to obtain a target beacon signal, and sending the target beacon signal to the client. That is, in this embodiment, the new password is only added to one beacon signal, so that the defect that the password is easily leaked when the sealed packet is continuously sent at present is avoided. Further, in order to mark that the target beacon signal has the new password, a sound wave signal with a specified frequency and a specified time length is sent out at the same time of sending the target beacon signal. Normally, the sound wave signal of the designated frequency cannot be perceived by human ears, i.e., does not cause interference to the user. The sound wave signal may be a high frequency signal (greater than 20000 Hz) or a low frequency signal (less than 20 Hz), and a low frequency of 20Hz or less requires a long transmission time, while a high frequency signal can be transmitted quickly.
In this embodiment, the sound wave signal is preferably a high frequency signal (e.g., 20000 Hz). The high frequency signal only needs to be maintained for 100ms (the period time of the beacon signal) to synchronously protect the beacon period, and the router only needs to synchronously generate the sound wave signal when the beacon signal carrying the new password is sent out, namely, only sends 100ms to protect one beacon signal. If the sound wave signal is sent out continuously for a long time, the client cannot determine which beacon signal carries the new password, and therefore the sound wave signal is not continuously generated and sent out.
It should be understood that, the router sends the public key and the specified frequency information of the sound wave signal to the client in advance, and when the client monitors the sound wave signal at the specified frequency, the client may obtain a corresponding target beacon signal, so as to perform decryption using the public key to obtain the new password, and thus connect the router using the new password.
In this embodiment, the router is provided with a PDM audio transmitter, and the client is provided with a PDM audio receiver.
In an embodiment, before the step S1 of obtaining a new password and encrypting the new password by a private key when the instruction to send the new password is triggered, the method includes:
and step S10, connecting the client through a wireless network standard protocol, and sending the public key corresponding to the private key and the designated frequency information of the sound wave signal to the client.
In this embodiment, before the router does not change the password, the client has the password of the originally obtained WIFI hotspot, and at this time, the router connects to the client through a standard 802.11 communication protocol, and sends the public key and the specified frequency information (for example, 20000 Hz) of the sound wave signal to the client through a WPA2 encryption method. If the client can receive the public key and the specified frequency information of the sound wave signal, the client is legal.
In one embodiment, the step of randomly adding the encrypted new password to a beacon signal to generate a target beacon signal when the beacon signal is periodically transmitted includes:
and step S20, periodically generating the beacon signals, randomly adding the encrypted new password to one of the beacon signals to generate a target beacon signal, and randomly generating scrambling code information in the Vendor IE field in other beacon signals.
In this embodiment, the Vendor IE field in the beacon signal is a standard defined field, usually a field for adding information to vendors themselves, and each Vendor can fill in the data that each Vendor wants to fill in, usually the OUI, that is, the Vendor ID. In this embodiment, an encrypted new password is randomly added to the Vendor IE field of one of the beacon signals, and random scrambling code information is generated in the Vendor IE fields of the other beacon signals except the target beacon signal, so that each beacon signal is different, and it is difficult for a hacker to find a truly valid beacon signal (i.e., a beacon signal carrying the new password) from the beacon signal.
In an embodiment, before the step S1 of obtaining a new password and encrypting the new password by a private key when the instruction to send the new password is triggered, the method includes:
step S101, receiving a Probe Request packet sent by the client, wherein an SSID is added in the Probe Request packet;
step S102, judging whether the SSID of the router is the same as the SSID added in the Probe Request packet;
and step S103, if the two are the same, triggering an instruction for sending a new password according to the resending password mark information added in the Probe Request packet.
In this embodiment, if the client is offline, the client cannot be connected to the router with the changed password when the client is online again. At this time, the ue generates a Probe Request packet and transmits the Probe Request packet, where a Resend Password Flag is set in the Vendor IE of the Probe Request packet, and the Probe Request packet is added with an SSID, which is the service set identifier of its router.
When the router scans the surrounding signals, the router receives the Probe Request packet sent by the client, analyzes the SSID from the Probe Request packet, compares the analyzed SSID with the real SSID of the router, and judges whether the SSID is consistent with the real SSID of the router, if the SSID of the router is the same as the SSID in the Probe Request sent by the client, the router will respond to the Probe Response frame to inform the client that the Probe Request of the client is received. And continuing to analyze the Probe Request packet, and if the resending password mark information is analyzed from the Probe Request packet, triggering the command for sending a new password. In this embodiment, even if the client is offline, the new password of the router may be acquired in the same manner.
Referring to fig. 2, an embodiment of the present application further provides a method for updating a new password, which is applied to a client, and includes the following steps:
step S1a, receiving beacon signals periodically sent by a router, and continuously monitoring whether sound wave signals with specified frequency exist;
step S2a, if the sound wave signal is monitored, acquiring a target beacon signal sent simultaneously with the sound wave signal, and decrypting the target beacon signal through a preset public key to obtain a new password; and the new password is the new password of the client connected with the router.
In this embodiment, after the password for connecting the router is set as the new password, if the internet of things device needs to be connected with the router again, the new password needs to be acquired and reset.
In this embodiment, the router is provided with a PDM audio transmitter, and the client is provided with a PDM audio receiver.
The router keeps periodically sending beacon signals to the client, namely sending one beacon signal at preset time intervals. And one of the beacon signals is added with the encrypted new password, and simultaneously, the beacon signals are transmitted and simultaneously, an acoustic wave signal with a specified frequency is sent out. Normally, the sound wave signal of the designated frequency cannot be perceived by human ears, i.e., does not cause interference to the user. The sound wave signal may be a high frequency signal (greater than 20000 Hz) or a low frequency signal (less than 20 Hz), and a low frequency of 20Hz or less requires a long transmission time, while a high frequency signal can be transmitted quickly. In this embodiment, the sound wave signal is preferably a high frequency signal (e.g., 20000 Hz). In another embodiment, the sonic signal is a signal with a specified duration, and the specified duration is the same as the period time for transmitting the beacon signal.
The router sends the public key and the designated frequency information of the sound wave signal to the client in advance, the client continuously monitors the sound wave signal, when the sound wave signal of the designated frequency is monitored, a target beacon signal sent simultaneously with the sound wave signal is obtained, the target beacon signal is decrypted through the public key to obtain a new password, and the client can be reconnected to the router by using the new password.
In one embodiment, before the step S1a of receiving the beacon signal periodically transmitted by the router and continuously listening for the sound wave signal with the specified frequency and the specified duration, the method further includes:
and connecting the router through a wireless network standard protocol, and receiving the public key sent by the router and the specified frequency information of the sound wave signal.
In this embodiment, the router connects to the client via a standard 802.11 communication protocol, and sends the public key and the specified frequency information (for example, 20000 Hz) of the sound wave signal to the client via the WPA2 encryption method. The client receives and stores the public key and the designated frequency information of the sound wave signal, and the public key and the designated frequency information of the sound wave signal which are stored in advance can be used even if the client is in an off-line state.
In this embodiment, if the client is in the offline state, the client cannot be connected to the router with the changed password when the client is online again. At this time, the ue generates a Probe Request packet and transmits the Probe Request packet, where a Resend Password Flag is set in the Vendor IE of the Probe Request packet, and the Probe Request packet is added with an SSID, which is the service set identifier of its router.
When the router scans the surrounding signals, the router receives the Probe Request packet sent by the client, analyzes the SSID from the Probe Request packet, compares the analyzed SSID with the real SSID of the router, and judges whether the SSID is consistent with the real SSID of the router, if the SSID of the router is the same as the SSID in the Probe Request sent by the client, the router will respond to the Probe Response frame to inform the client that the Probe Request of the client is received. And continuing to analyze the Probe Request packet, and if the resending password mark information is analyzed from the Probe Request packet, triggering the command for sending a new password. In this embodiment, even if the client is offline, the new password of the router may be acquired in the same manner.
Referring to fig. 3, an embodiment of the present application further provides an apparatus for updating a new password, which is applied to a router, and includes:
the encryption unit 10 is used for acquiring a new password when an instruction for sending the new password is triggered, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
and the sending unit 20 is configured to, when the beacon signal is sent periodically, add the encrypted new password to a beacon signal at random to generate a target beacon signal, and send out an acoustic wave signal with a specified frequency while sending the target beacon signal to the client.
Referring to fig. 4, an embodiment of the present application further provides an apparatus for updating a new password, which is applied to a client, and includes:
a monitoring unit 100, configured to receive a beacon signal periodically sent by a router, and continuously monitor whether an acoustic wave signal with a specified frequency exists;
a decryption unit 200, configured to, if the target beacon signal is monitored, obtain a target beacon signal sent simultaneously with the sound wave signal, and decrypt the target beacon signal through a preset public key to obtain a new password; and the new password is the new password of the client connected with the router.
In this embodiment, please refer to the description of the method embodiment for the specific implementation of each unit in the apparatus embodiment, which is not described herein again.
Referring to fig. 5, a computer device, which may be a server and whose internal structure may be as shown in fig. 5, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store new passwords, public keys, private keys, etc. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of updating a new password.
The updating method of the new password is applied to the router and comprises the following steps:
when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
and when the beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and the target beacon signal is sent to the client side, and meanwhile, a sound wave signal with a specified frequency is sent out.
In one embodiment, the step of obtaining a new password and encrypting the new password by a private key before the step of obtaining the new password and encrypting the new password by the private key when the instruction for sending the new password is triggered includes:
and connecting the client through a wireless network standard protocol, and sending the public key corresponding to the private key and the specified frequency information of the sound wave signal to the client.
In one embodiment, the step of randomly adding the encrypted new password to a beacon signal to generate a target beacon signal when the processor periodically transmits the beacon signal includes:
and periodically generating the beacon signals, randomly adding the encrypted new password to one of the beacon signals to generate a target beacon signal, and randomly generating scrambling code information in the Vendor IE fields in other beacon signals.
In one embodiment, the step of obtaining a new password and encrypting the new password by a private key before the step of obtaining the new password and encrypting the new password by the private key when the instruction for sending the new password is triggered includes:
receiving a Probe Request packet sent by the client, wherein an SSID is added in the Probe Request packet;
judging whether the SSID of the router is the same as the SSID added in the Probe Request packet or not;
if the two codes are the same, triggering an instruction for sending a new code according to the code resending mark information added in the Probe Request packet.
In an embodiment, the sonic signal is a signal with a specified duration, and the specified duration of the sonic signal is a transmission period of the beacon signal.
On the other hand, the method for updating the new password is applied to the client and comprises the following steps:
receiving beacon signals periodically sent by a router, and continuously monitoring whether sound wave signals with specified frequency exist or not;
if the target beacon signal is monitored, acquiring a target beacon signal transmitted simultaneously with the sound wave signal, and decrypting the target beacon signal through a preset public key to obtain a new password; and the new password is the new password of the client connected with the router.
In an embodiment, before the step of receiving the beacon signal periodically transmitted by the router and continuously listening for the sound wave signal with the specified frequency and the specified duration, the processor further includes:
and connecting the router through a wireless network standard protocol, and receiving the public key sent by the router and the specified frequency information of the sound wave signal.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is only a block diagram of some of the structures associated with the present solution and is not intended to limit the scope of the present solution as applied to computer devices.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a method for updating a new password. It is to be understood that the computer-readable storage medium in the present embodiment may be a volatile-readable storage medium or a non-volatile-readable storage medium.
In summary, the method, the apparatus, the computer device, and the storage medium for updating a new password provided in the embodiments of the present application include: when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router; and when the beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and the target beacon signal is sent to the client side, and meanwhile, a sound wave signal with a specified frequency is sent out. In the application, only the encrypted new password is added into one beacon signal randomly, and the sound wave signal is sent out simultaneously to serve as the identifier of the beacon signal, so that the new password can be analyzed from the corresponding beacon signal only when the sound wave signal is received simultaneously, and the password is prevented from being leaked.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. A method for updating a new password is applied to a router, and is characterized by comprising the following steps:
when an instruction for sending a new password is triggered, acquiring the new password, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
when beacon signals are periodically sent, the encrypted new passwords are randomly added into one beacon signal to generate a target beacon signal, and sound wave signals with specified frequency are sent out while the target beacon signal is sent to the client; the router is provided with a PDM audio transmitter, and the client is provided with a PDM audio receiver; the specified frequency is a sound frequency outside a human-ear perception range, and the client knows the specified frequency in advance before the new password is generated.
2. The method for updating the new password according to claim 1, wherein the step of obtaining the new password and encrypting the new password by the private key when the instruction for sending the new password is triggered comprises:
and connecting the client through a wireless network standard protocol, and sending the public key corresponding to the private key and the specified frequency information of the sound wave signal to the client.
3. The method for updating the new password according to claim 1, wherein the step of randomly adding the encrypted new password to a beacon signal to generate a target beacon signal when the beacon signal is periodically transmitted includes:
and periodically generating the beacon signals, randomly adding the encrypted new password to one of the beacon signals to generate a target beacon signal, and randomly generating scrambling code information in the Vendor IE fields in other beacon signals.
4. The method for updating the new password according to claim 1, wherein the step of obtaining the new password and encrypting the new password by the private key when the instruction for sending the new password is triggered comprises:
receiving a Probe Request packet sent by the client, wherein an SSID is added in the Probe Request packet;
judging whether the SSID of the router is the same as the SSID added in the Probe Request packet or not;
if the two codes are the same, triggering an instruction for sending a new code according to the code resending mark information added in the Probe Request packet.
5. The method for updating a new password according to claim 1, wherein the sound wave signal is a signal of a specified duration, and the specified duration of the sound wave signal is a transmission period of the beacon signal.
6. A method for updating a new password is applied to a client, and is characterized by comprising the following steps:
receiving beacon signals periodically sent by a router, and continuously monitoring whether sound wave signals with specified frequency exist or not;
if the target beacon signal is monitored, acquiring a target beacon signal transmitted simultaneously with the sound wave signal, and decrypting the target beacon signal through a preset public key to obtain a new password; the new password is the new password of the client connected with the router; the router is provided with a PDM audio transmitter, and the client is provided with a PDM audio receiver; the specified frequency is a sound frequency outside a human-ear perception range, and the client knows the specified frequency in advance before the new password is generated.
7. The method for updating a new password according to claim 6, wherein before the step of receiving the beacon signal periodically transmitted by the router and continuously listening whether the sound wave signal with the specified frequency exists, the method further comprises:
and connecting the router through a wireless network standard protocol, and receiving the public key sent by the router and the specified frequency information of the sound wave signal.
8. An apparatus for updating a new password, applied to a router, comprising:
the encryption unit is used for acquiring a new password when an instruction for sending the new password is triggered, and encrypting the new password through a private key; the new password is a new password for connecting the client with the router;
the sending unit is used for randomly adding the encrypted new password to a beacon signal to generate a target beacon signal when the beacon signal is sent periodically, and sending out a sound wave signal with a specified frequency while sending the target beacon signal to the client; the router is provided with a PDM audio transmitter, and the client is provided with a PDM audio receiver; the specified frequency is a sound frequency outside a human-ear perception range, and the client knows the specified frequency in advance before the new password is generated.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010531733.3A 2020-06-11 2020-06-11 Method and device for updating new password, computer equipment and storage medium Active CN111510991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010531733.3A CN111510991B (en) 2020-06-11 2020-06-11 Method and device for updating new password, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010531733.3A CN111510991B (en) 2020-06-11 2020-06-11 Method and device for updating new password, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111510991A CN111510991A (en) 2020-08-07
CN111510991B true CN111510991B (en) 2020-10-09

Family

ID=71873784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010531733.3A Active CN111510991B (en) 2020-06-11 2020-06-11 Method and device for updating new password, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111510991B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389807A (en) * 2022-01-14 2022-04-22 青岛海尔科技有限公司 Password updating method and target intelligent device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162647A (en) * 2016-08-31 2016-11-23 海尔优家智能科技(北京)有限公司 A kind of smart machine configuration method of network entry and device
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
CN107613492A (en) * 2017-10-30 2018-01-19 上海斐讯数据通信技术有限公司 The method and system that a kind of Wi Fi passwords automatically update

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5729161B2 (en) * 2010-09-27 2015-06-03 ヤマハ株式会社 Communication terminal, wireless device, and wireless communication system
CN104954078A (en) * 2015-05-28 2015-09-30 广东欧珀移动通信有限公司 Sound wave communication based control and response method and sound wave communication based control and response device
US20190200278A1 (en) * 2018-03-02 2019-06-27 Ido Ouzieli Enhanced beacon frames in wireless communications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162647A (en) * 2016-08-31 2016-11-23 海尔优家智能科技(北京)有限公司 A kind of smart machine configuration method of network entry and device
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
CN107613492A (en) * 2017-10-30 2018-01-19 上海斐讯数据通信技术有限公司 The method and system that a kind of Wi Fi passwords automatically update

Also Published As

Publication number Publication date
CN111510991A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
US8046583B2 (en) Wireless terminal
CN107113173B (en) Method and apparatus for providing service based on identifier of user equipment
EP3537652B1 (en) Method for securely controlling smart home appliance and terminal device
US20200322798A1 (en) Network roaming protection method, related device, and system
US8213905B2 (en) Method and device for realizing push service of GAA
TW201706900A (en) Method and device for authentication using dynamic passwords
CN108353279B (en) Authentication method and authentication system
CN107567017B (en) Wireless connection system, device and method
CN108092958B (en) Information authentication method and device, computer equipment and storage medium
EP2060055A1 (en) Method and system for establishing a secure over-the-air (ota) device connection
US10172003B2 (en) Communication security processing method, and apparatus
CN108964886B (en) Communication method comprising encryption algorithm, communication method comprising decryption algorithm and equipment
CN108156604B (en) Group calling encryption transmission method and device of cluster system, cluster terminal and system
CN111510991B (en) Method and device for updating new password, computer equipment and storage medium
CN111770588B (en) Method and system for quickly establishing wireless connection with wireless router
US20160105407A1 (en) Information processing apparatus, terminal, information processing system, and information processing method
JP5721183B2 (en) Wireless LAN communication system, wireless LAN base unit, communication connection establishment method, and program
KR101500118B1 (en) Data sharing method and data sharing system
CN113747430B (en) Network access method, terminal equipment and AP
JP2017513412A (en) Method and system for determining that a SIM and a SIP client are located on the same mobile device
WO2021248419A1 (en) New password updating method and apparatus, and computer device
KR101783380B1 (en) Terminal and apparatus authentication surpporting for network access security enhancement system
CN113709088A (en) Data transmission method, device, equipment and storage medium based on wearable equipment
CN112383915B (en) Wireless network access method, wireless access device and terminal
CN113194471B (en) Wireless network access method, device and terminal based on block chain network

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
CP03 Change of name, title or address

Address after: 518000 Room 601, block B, garden city digital building, 1079 Nanhai Avenue, Yanshan community, merchants street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Nanfang Silicon Valley Semiconductor Co.,Ltd.

Address before: 518000 room 501A, block B, huayuancheng digital building, 1079 Nanhai Avenue, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Southern Silicon Valley Semiconductor Co.,Ltd.

CP03 Change of name, title or address