Secure transmission of wireless LAN access codes

By encoding network passwords into sound waveforms and utilizing signal-to-noise ratio for transmission, the problem of vulnerability of wireless protection settings to attacks is solved, network security is improved, power consumption is reduced, and secure and efficient network password transmission is achieved.

CN112449347BActive Publication Date: 2024-10-01INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010908117.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-03
Filing Date
2020-09-02
Publication Date
2024-10-01
Estimated Expiration
2040-09-02

AI Technical Summary

Technical Problem

Existing Wireless Protected Setup (WPS) methods are vulnerable to attacks from unauthorized devices, which can obtain the wireless network's configuration and authentication data through multiple connection requests, resulting in insufficient network security.

Method used

By encoding network passwords into sound waveforms and utilizing signal-to-noise ratio to securely transmit them to devices connected to the network, it eliminates reliance on physical buttons on network devices, improves network security, and reduces power consumption through minimum power transmission.

Benefits of technology

Effectively prevent unauthorized devices from accessing the wireless network, improve network security, reduce power consumption, and achieve safe and efficient network password transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112449347B_ABST
    Figure CN112449347B_ABST
Patent Text Reader

Abstract

Aspects of the present invention disclose a method for encoding an access code for a network and transmitting it to a computing device attempting to access the network. The method includes one or more processors identifying an audio command received by a first computing device. The method also includes generating a sound waveform including the access code of an access point by encoding the access code into the sound waveform. The method also includes defining an acoustic power level of the sound waveform. The method also includes transmitting the sound waveform. The method also includes determining whether a second computing device receives the access code encoded in the sound waveform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of security of mobile devices, and more particularly to secure sharing of wireless local area network access codes. Background Art

[0002] In recent years, the development of digital assistants and the growth of Internet of Things (IoT) enabled devices have sparked a race to introduce new voice interfaces (e.g., for smart speakers, virtual assistant hardware / software, etc.). IoT is a network of physical devices embedded with electronic circuits, software, sensors, and connectivity that enables these devices to connect and exchange data with computer-based systems. IoT-enabled devices are embedded with technology that allows these devices to communicate, interact, be monitored, and be controlled over the Internet.

[0003] A wireless local area network (WLAN) is a wireless computer network that uses wireless communication to link two or more devices to form a local area network (LAN) within a limited area. Wi-Fi protected access (WPA) is a security protocol used to protect information moving within a WLAN network. Wireless protected setup (WPS) is a wireless network security standard used to add new devices to a wireless network using a passphrase encrypted with a WPA-based protocol. WPS is a common implementation for transmitting a passphrase encrypted by WPA. WPS initiates the process of broadcasting a temporary password based on physical input on a base station (e.g., a router), which can be captured by a new device so that the new device can be properly configured to join the network. Summary of the invention

[0004] Aspects of the present invention disclose a method, computer program product, and system for encoding an access code for a network and transmitting it to a computing device attempting to access the network. The method includes one or more processors identifying an audio command received by a first computing device. The method also includes one or more processors generating a sound waveform including the access code by encoding the access code of the access point into the sound waveform. The method also includes one or more processors defining an acoustic power level of the sound waveform. The method also includes one or more processors transmitting the sound waveform. The method also includes one or more processors determining whether a second computing device has received the access code encoded in the sound waveform. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1 is a functional block diagram illustrating a distributed data processing environment according to an embodiment of the present invention.

[0006] Figure 2 is a depiction of an embodiment of the present invention. Figure 1 A flowchart of the operational steps of a program within a data processing environment for encoding an access code for a network and transmitting it to a computing device.

[0007] Figure 3 is a depiction of an embodiment of the present invention. Figure 1 Flowchart of the operational steps of a program within a data processing environment for decoding an encoded transmission of a shared program 200 and providing updates on the decoding status of the encoded transmission.

[0008] Figure 4 is a representative of an embodiment according to the present invention Figure 1 A block diagram of components of a client device, an Internet of Things (IoT) device, and a server proxy computer. DETAILED DESCRIPTION

[0009] Embodiments of the present invention allow secure transmission of a network password to a computing device requesting access to a network. Embodiments of the present invention encode the password and utilize the signal-to-noise ratio to securely transmit the password to a nearby computing device. Embodiments of the present invention manipulate the signal-to-noise ratio by increasing the signal power of the signal carrying the password to the upper limit of the audible range. Further embodiments of the present invention confirm the failure of reception or decoding of the password.

[0010] Some embodiments of the present invention recognize that some Wireless Protected Setup (WPS) methods are vulnerable to WPS connection requests from unauthorized devices. As a result, an unauthorized device may send multiple WPS connection requests in order to establish a connection with an access point of a wireless network, which transmits configuration and authentication data that enables the unauthorized device to gain access to the wireless network. Various embodiments of the present invention improve the WPS connection request problem by utilizing the signal-to-noise ratio to securely transmit a password to a nearby computing device.

[0011] Embodiments of the present invention eliminate the implementation of physical buttons on access points of network devices by initiating the authentication process using a voice user interface. Thus, network security is improved by allowing users to physically isolate network devices. Embodiments of the present invention can also reduce the amount of power utilized by using the minimum power required to transmit a signal carrying a password to a computing device.

[0012] Implementation of embodiments of the present invention may take a variety of forms and exemplary implementation details will be discussed below with reference to the accompanying drawings.

[0013] The present invention will now be described in detail with reference to the accompanying drawings. Figure 1 is a functional block diagram illustrating a distributed data processing environment, generally designated 100 , according to one embodiment of the present invention. Figure 1This is merely an illustration of one implementation and is not meant to imply any limitation on the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made by those skilled in the art without departing from the scope of the invention as described in the claims.

[0014] Various embodiments of the present invention may utilize accessible personal data sources, which may include personal devices (e.g., client devices 120, IoT devices 130, etc.), social media content, and / or publicly available information. For example, embodiments of the present invention may optionally include a privacy component that enables users to opt-in or opt-out of exposing personal information. The privacy component may enable authorized and secure processing of user information (such as tracking information) and personal information that may have been obtained, maintained, and / or accessible. Users may be provided with notifications of the collection of some personal information and the opportunity to opt-in or opt-out of the collection process. Consent may come in several forms. Opting-in consent may force users to take positive action before data is collected. Alternatively, opting-out consent may force users to take positive action to prevent the collection of data before data is collected.

[0015] An embodiment of the data processing environment 100 includes a client device 120 and an IoT (Internet of Things) device 130, which are interconnected via a network 110. In one embodiment, the client device 120 and the IoT device 130 communicate via the network 110. The network 110 can be, for example, a local area network (LAN), a telecommunications network, a wide area network (WAN) such as the Internet, or any combination of the three, and includes wired, wireless, or fiber optic connections. In general, according to embodiments of the present invention, the network 110 can be any combination of connections and protocols that will support communication between the client device 120 and the IoT device 130.

[0016] In an example, a smart speaker (e.g., IoT device 130) receives audio including a command from the operating environment of the smart speaker. In this example, the smart speaker communicates with a user's laptop (e.g., client device 120) to verify the command via WLAN (e.g., via network 110). In another embodiment, client device 120 communicates with IoT device 130. For example, the smart speaker (e.g., IoT device 130) transmits an encoded signal to a laptop (e.g., client device 120). In this example, the laptop generates an audio message and transmits it to the smart speaker, confirming that the encoded signal is decoded.

[0017] In various embodiments of the present invention, according to embodiments of the present invention, client device 120 may be a workstation, a personal computer, a digital video recorder (DVR), a media player, a personal digital assistant, a mobile phone, or any other device capable of executing computer-readable program instructions. In general, client device 120 represents any electronic device or combination of electronic devices capable of executing computer-readable program instructions. According to embodiments of the present invention, client device 120 may include, for example, Figure 4 Components depicted and described in further detail.

[0018] The client device 120 includes one or more speakers, a processor, a user interface 122, an application 124, a decoder 126, and a shared application 300. The user interface 122 is a program that provides an interface between a user of the client device 120 and a plurality of applications resident on the client device. A user interface (such as the user interface 122) refers to information (such as graphics, text, and sound) presented to a user by a program, as well as a control sequence used by a user to control a program. There are various types of user interfaces. In one embodiment, the user interface 122 is a graphical user interface. A graphical user interface (GUI) is a user interface that allows a user to interact with an electronic device (such as a computer keyboard and mouse) through graphical icons and visual indicators (such as auxiliary symbols), rather than through a text-based interface, typed command labels, or text navigation. In the field of computing, GUIs were introduced to address the perceived steep learning curve of command line interfaces that require typing commands on a keyboard. Actions in a GUI are typically performed by directly manipulating graphical elements.

[0019] In another embodiment, the user interface 122 is a script or an application programming interface (API). In yet another embodiment, the user interface 122 is a voice user interface. A voice user interface utilizes speech recognition methods to allow human interaction (e.g., verbal commands and questions) with a computing system. Voice command devices (e.g., home appliances, virtual assistants, smart phones, smart speakers, etc.) are typically controlled by a voice user interface.

[0020] Application 124 is a computer program designed to run on client device 120. Applications are often used to provide users with similar services that are accessed on personal computers (e.g., web browsers, playing music or other media, etc.). In one embodiment, users access content using application 124 of client device 120. For example, application 124 is a web browser of a personal computer that a user can use to access streaming multimedia. In another embodiment, users register with sharing program 200 and sharing application 300 using application 124 of client device 120.

[0021] Decoder 126 is a demodulation device that extracts the original information-bearing signal from the carrier. Typically, decoder 126 performs the inverse operation of encoder 134 to recover information content (e.g., a string, a network key, etc.) from the modulated carrier signal. In an example embodiment, decoder 126 receives an encoded carrier signal from IoT device 130 and extracts data from the encoded carrier signal. In this example, decoder 126 extracts binary data representing a string for accessing a WLAN.

[0022] The shared application 300 decodes the encoded transmission of the shared application 200 and provides an update of the decoding status of the encoded transmission. Typically, the shared application 300 can be a client-side application of the shared application 200 running locally on the client device 120. In one embodiment, the shared application 300 detects the encoded transmission from the IoT device 130 and decodes the encoded transmission. For example, the shared application 300 uses the microphone of the client device 120 to detect the transmission signal of the IoT device 130. In this example, the shared application 300 uses the decoder 126 to decode the carrier signal to extract a string (e.g., a network key) from the carrier signal. In another embodiment, the shared application 300 generates a confirmation message using the client device 120 and transmits the generated message to the IoT device 130. For example, the shared application 300 generates a message for confirming that the carrier signal has been demodulated and defines the audio level of the message. In this example, the shared application 300 transmits the generated message (e.g., plays the generated message through the speaker of the client device 120) to the IoT device 130. In another example, the sharing utilization program 300 generates a message corresponding to an error in decoding a carrier signal of the IoT device 130 on the client device 120 .

[0023] In various embodiments of the present invention, the IoT device 130 may be a smart speaker, a digital assistant, or any other device capable of executing computer-readable program instructions, according to embodiments of the present invention. The IoT device 130 includes one or more speakers, a processor, a user interface 132, an encoder 134, and a sharing program 200. In various embodiments of the present invention, a user utilizes the IoT device 130 to play audio, receive commands, perform tasks, communicate with other IoT-enabled devices, and communicate with other users. For example, a smart speaker (e.g., IoT device 130) encodes a signal and transmits it to a user's laptop (e.g., client device 120). The IoT device 130 includes a corresponding instance of a user interface (e.g., user interface 132) that includes equivalent capabilities and performs equivalent functions as discussed above with respect to the user interface 122.

[0024] The encoder 134 is a modulation device that uses a modulation signal containing information (e.g., a string, a network key, etc.) to change one or more properties of a periodic waveform (e.g., a carrier signal) for transmission. Typically, the encoder 134 can use methods such as phase-shift keying (PSK), amplitude-shift keying (ASK), quadrature amplitude modulation (QAM), or coded orthogonal frequency-division multiplexing (COFDM) to transmit a digital bit stream on an analog communication channel. In an example embodiment, the audible frequency used by the communication channel can include a range that supports standard speakers and microphones (e.g., 100 Hz-30000 Hz). For example, depending on the modulation method used, a channel of 14 kHz to 18 kHz can transmit 2000 to 5000 bits per second. In this example, if the data to be transmitted is in the range of 500-1000 bits, the encoder 134 can transmit the data in 0.1 seconds or less. Additionally, the encoder 134 may attempt one or more transmissions at increasing power levels within 1-2 seconds.

[0025] The sharing program 200 can encode the access code of the network and transmit it to the computing device trying to access the network. Typically, the sharing program 200 uses the signal-to-noise ratio (SNR) to enhance the secure transmission of the access code from the first computing device to the second computing device. In one embodiment, the sharing program 200 monitors the user interface 132 of the IoT device 130 to determine whether an authorization command is received. For example, the sharing program 200 monitors the user interface of the smart speaker to determine whether the user has given the smart speaker a command corresponding to the task of initiating the transmission of the network password. In this example, the sharing program 200 identifies the command received by the smart speaker and determines whether the received command is stored in a server (not shown) including a list of different authorization commands. In another embodiment, the sharing program 200 authenticates the user who gives the authorization command to the IoT device 130. For example, the sharing program 200 uses biometric data (e.g., voice recognition) to authenticate that the owner of the smart speaker (e.g., IoT device 130) is requesting permission for the computing device (e.g., client device 120) to access the home network (e.g., network 110). In another example, the sharing program 200 authenticates the user who gave the authorization command by confirming the identity of the user through the use of a password, a two-way authentication method, etc. For example, the sharing program 200 accesses a server (not shown) to retrieve a generated key. In this example, the server transmits the key to the user's computing device, and the sharing program 200 prompts the user to enter the key to verify the user.

[0026] In another embodiment, the sharing program 200 encodes the access code of the network 110 and transmits the access code to the client device 120. For example, the sharing program 200 encodes the encrypted string (e.g., the network key) using an ASK modulator and broadcasts the digital signal at an audible level detected by the computing device (e.g., the client device 120). In yet another embodiment, the sharing program 200 determines whether the client device 120 receives the transmitted access code. For example, the sharing program 200 uses a microphone of a smart speaker (e.g., the IoT device 130) to detect an audio confirmation from the computing device (e.g., the client device 120) that receives the encrypted string and decodes it.

[0027] Figure 22 is a flowchart depicting the operating steps of a sharing program 200 according to an embodiment of the present invention, the sharing program 200 being a program that encodes an access code of a network and transmits it to a computing device attempting to access the network. In one embodiment, the sharing program 200 is initiated in response to the IoT device 130 detecting an authorization command. For example, the sharing program 200 is initiated when the smart speaker receives a voice instruction corresponding to a task of sharing a network key with another computing device. In another embodiment, the sharing program 200 continuously monitors the IoT device 130. For example, after the user registers the smart speaker with the server, the sharing program 200 continuously monitors the activity of the smart speaker. In another embodiment, the sharing program 200 is initiated in response to the initialization of the sharing application 300. For example, the sharing program 200 is initiated in response to detecting that the user has enabled a "password receiving mode" (e.g., an enabled sharing application 300) on the computing device. In yet another embodiment, the sharing program 200 is initiated in response to the termination of the authorization process.

[0028] In step 202, the sharing program 200 detects the user's authorization command. In one embodiment, the sharing program 200 uses the microphone of the IoT device 130 to detect the authorization command in the operating environment of the IoT device 130. For example, the sharing program 200 uses a natural language processing (NLP) method (e.g., speech recognition) to determine that the user is requesting the smart speaker (e.g., IoT device 130) to transmit an encrypted string to the computing device (i.e., the user is requesting the smart speaker to perform a password sharing task). In this example, the sharing program 200 captures the audio received by the smart speaker and offloads the audio to a server for speech recognition not shown. In another embodiment, the sharing program 200 monitors the user interface 132 of the IoT device 130 to determine whether the user provides an authorization command to the IoT device 130. For example, the sharing program 200 monitors the voice interface of the smart speaker. In this example, the sharing program 200 determines whether the command is an authorization request based on instructions generated in response to receiving the command.

[0029] In step 204, the sharing program 200 authenticates the user. In one embodiment, the sharing program 200 uses the microphone of the IoT device 130 to authenticate the user who supplies the authorization command. For example, the sharing program 200 uses a voice recognition method and a unique voice quality of the user (e.g., the host, the homeowner, etc.) to verify the identity of the user. In this example, the sharing program 200 compares the voice sample of the user who states the password, and compares the unique sound quality of the voice sample (e.g., duration, intensity, dynamics, pitch, etc.) with the unique sound quality of the user's registration sample to authenticate the identity of the user who supplies the authorization command. In another embodiment, the sharing program 200 uses the IoT device 130 to authenticate the user who supplies the authorization command. For example, the user registers with the sharing program 200 and creates a password to confirm that the user has authorization to perform a specific function. In this example, the sharing program 200 uses a smart speaker (e.g., IoT device 130) to request a password from the user to confirm that the user is authorized to give the authorization command (i.e., confirm the authorization level). In an alternative example, sharing program 200 may require the user to provide biometric data (e.g., fingerprint, retinal data, etc.) to the smart speaker, which offloads the biometric data to a server not shown in order to confirm the user's identity.

[0030] In step 206, the sharing program 200 encodes the access string. In one embodiment, the sharing program 200 uses the encoder 134 to modify the carrier signal by a modulated signal, which includes a binary representation of a string corresponding to the authentication pass code of the network 110. For example, the sharing program 200 encodes the access code of the network using a phase shift keying (PSK) technique. In this example, the sharing program 200 retrieves a string corresponding to the network key from a network device. In addition, the sharing program 200 generates a data signal corresponding to the network key, and uses the data signal to cause a waveform shift in the carrier signal (i.e., delaying the signal without changing the amplitude or frequency of the signal). In addition, the sharing program 200 assigns a binary value of one (1) to the modified carrier signal, while the unchanged portion of the carrier signal is assigned a binary value of zero (0) (i.e., the phase of the conveyed information (e.g., the network key)).

[0031] In step 208, the sharing program 200 defines an audio level for transmitting the access string. In one embodiment, the sharing program 200 selects a sound power level to transmit the string to the client device 120. For example, the sharing program 200 uses a smart speaker (e.g., IoT device 130) to play an audible sound including an encoded string. In this example, the sharing program 200 selects the lowest audible sound power setting of the smart speaker based on the ability of the smart speaker to transmit the encoded string to a computing device (e.g., a client device 120 within the operating environment of the smart speaker). In another embodiment, the sharing program 200 defines a sound power level range for transmitting the string to the client device 120. For example, the sharing program 200 determines that the smart speaker is capable of producing sounds within a range of zero (0) to one hundred (100) decibels. In this example, the sharing program 200 incrementally increases the decibel setting of the smart speaker before playing the sound wave encoded with the network access code. Additionally, sharing program 200 increases the decibel setting in response to sharing program 200 determining whether client device 120 receives a string corresponding to the transmission sound wave encoded with the network access code (at step 214).

[0032] In step 210, the sharing program 200 transmits the access string. In various embodiments of the present invention, it is recognized that as the distance from the source of the signal (e.g., the encoded sound wave) increases, the signal-to-noise ratio of the signal increases, which effectively distorts the signal so that unintended receivers (i.e., receivers that are farther away from the signal source) cannot recover the encoded string from the signal. In one embodiment, the sharing program 200 utilizes the sound power level (defined in step 208) and the speaker of the IoT device 130 to transmit the string to the client device 120. For example, the sharing program 200 sets the decibel setting of the smart speaker (e.g., IoT device 130) to twenty (20) dB (e.g., equivalent to a person's whisper, the ticking of a watch, etc.). In this example, the sharing program 200 uses the speaker of the smart speaker to broadcast the encoded sound wave to the computing device (e.g., client device 120) within the operating environment of the smart speaker, where the sound power level of the encoded sound wave (i.e., the source) at the smart speaker is twenty (20) dB.

[0033] In decision step 212, the sharing program 200 determines whether a confirmation message is received. In one embodiment, the sharing program 200 uses the sharing application 300 to determine whether the client device 120 receives the encoded string provided by the IoT device 130. For example, the sharing program 200 uses the sharing application 300 to detect whether the computing device (e.g., client device 120) successfully decodes the encoded sound waves of the smart speaker (e.g., IoT device 130). In another embodiment, the sharing program 200 determines whether the client device 120 provides a confirmation message in response to receiving the encoded string transmitted by the IoT device 130. For example, the sharing program 200 uses the microphone of the smart speaker (e.g., IoT device 130) to detect the confirmation message from the computing device (e.g., client device 120).

[0034] If the sharing program 200 determines that the client device 120 provides a confirmation message in response to receiving the encoded string from the IoT device 130 (decision step 212, "yes" branch), the sharing program 200 ends (at step 216) the sharing process (i.e., the network key is delivered and the client device 120 can access the network 110). For example, if the sharing program 200 detects a confirmation message from the computing device (e.g., the client device 120), the sharing program 200 ends because the computing device obtains the necessary credentials to access the personal wireless access network (e.g., the network 110).

[0035] In decision step 214, the sharing program 200 determines whether the defined audio level is higher than a threshold value. More specifically, in response to the sharing program 200 determining that the client device 120 has not received the string transmitted by the IoT device 130 (decision step 212, "no" branch), the sharing program 200 determines whether the defined sound power level of the transmission of the string of the IoT device 130 is higher than the threshold level. For example, the sharing program 200 uses the microphone of the smart speaker to monitor the operating environment of the smart speaker for confirmation messages from the computing device (e.g., the client device 120) within a defined time period. In this example, if the sharing program 200 does not detect a confirmation message from the computing device (e.g., the client device 120) within a defined time period, the sharing program 200 determines that the confirmation message has not been received.

[0036] In another example, the sharing program 200 utilizes the sharing utilization program 300 to parse the error message provided from the decoder (i.e., in response to the failed decoding) to the computing device (e.g., the client device 120) to determine that the encoded sound wave of the smart speaker (e.g., the IoT device 130) was not successfully received by the computing device. In one scenario, if the sharing program 200 does not detect a confirmation message from the computing device (e.g., the client device 120), the sharing program 200 determines whether the defined sound power level of the transmission of the string is greater than the defined sound power level range.

[0037] In one embodiment, the sharing program 200 compares the defined sound power level of the transmission of the string with the defined audio threshold of the sound power level of the transmission. For example, the sharing program 200 determines the upper limit value corresponding to the maximum sound power level that the sound wave can be transmitted and the current sound power level of the sound wave being transmitted. In this example, the upper limit value (e.g., a defined threshold) can be determined based on the user's preferences, the speaker capabilities of the smart speaker, or a predetermined system value. In addition, the sharing program 200 compares the sound power level of the sound wave being transmitted with the maximum sound power level to determine whether the sound power level of the sound wave being transmitted exceeds the maximum sound power level.

[0038] If the sharing program 200 determines that the defined sound power level of the transmission of the string does not exceed the defined audio threshold of the sound power level of the transmission (decision step 214, "no" branch), the sharing program 200 redefines (in step 208) the sound power level of the string transmission. For example, if the sharing program 200 determines that the sound power level of the transmitted sound wave does not exceed the maximum sound power level, the sharing program 200 increases the sound power level of the transmitted sound wave. In addition, the sharing program 200 can increase the power level of the transmitted sound wave until a confirmation message is received (in step 212), or until the defined audio threshold is met or exceeded.

[0039] In step 216, the sharing program 200 terminates the authorization process. More specifically, in response to the sharing program 200 determining that the defined sound power level of the transmission of the string exceeds the defined audio threshold of the sound power level of the transmission (decision step 214, "yes" branch), the sharing program 200 terminates the authorization process of the client device 120. For example, the sharing program 200 determines that the sound power level of the transmitted sound wave exceeds the maximum sound power level, then the sharing program 200 no longer transmits the sound wave to the computing device. In one embodiment, the sharing program 200 ends. For example, the sharing program 200 ends the attempt of the computing device to access the user's wireless network.

[0040] In another embodiment, in response to the sharing program 200 determining that the client device 120 provides a confirmation message in response to receiving the encoded string of the IoT device 130 (decision step 212, "yes" branch), the sharing program 200 stops transmitting the access string to the client device 120. For example, if the sharing program 200 detects a confirmation message from the computing device (e.g., the client device 120), the sharing program 200 ends because the computing device obtains the necessary credentials to access the personal wireless access network (e.g., the network 110). In yet another embodiment, the sharing program 200 stops transmitting the access string to the client device 120. For example, the sharing program 200 terminates the process of associating the computing device with the wireless network.

[0041] Figure 3 1 is a flow chart depicting the operating steps of a sharing application 300 according to an embodiment of the present invention, the sharing application 300 being a program for decoding an encoded transmission from the sharing application 200 and providing updates on the decoding status of the encoded transmission. In one embodiment, the sharing application 300 is initiated in response to the IoT device 130 detecting an authorization command from a user. For example, the sharing application 300 is initiated when a smart speaker receives a voice instruction corresponding to a task of sharing a network key with another computing device. In another embodiment, the sharing application 300 continuously monitors the activity of the smart speaker after the user links the smart speaker with an account of a server including the sharing application 200.

[0042] At step 302, the sharing application 300 detects the access string being transmitted. In one embodiment, the sharing application 300 utilizes the microphone of the client device 120 to receive the access string transmitted from the IoT device 130. For example, the sharing application 300 uses the microphone of the computing device (e.g., the client device 120) to detect the encoded sound waves of the smart speaker (e.g., the IoT device 130). In this example, the sharing application 300 feeds the encoded sound waves into the demodulator of the computing device.

[0043] In decision step 304, the shared application 300 determines whether the transmission is decodable. In one embodiment, the shared application 300 uses the decoder 126 to extract the access string from the carrier signal transmitted from the IoT device 130. For example, the shared application 300 uses a demodulation device to decode the coded sound wave of the smart speaker (e.g., IoT device 130). In this example, the demodulation device compares the phase of the reference signal (i.e., the waveform corresponding to the carrier signal before modulation) with the phase of the coded sound wave to extract information (e.g., a binary value string representing the characters constituting the network key) from the coded sound wave (e.g., the carrier signal).

[0044] In another embodiment, the shared application 300 determines whether the decoder 126 is able to extract the access string from the carrier signal transmitted from the IoT device 130. For example, due to the high SNR of the coded sound wave that distorts the coded sound wave, the demodulation device (e.g., the decoder 126) may not be able to compare the phase of the coded sound wave with the reference. However, the high SNR prevents unexpected devices from receiving the coded information (e.g., the network key). In one case, if the shared application 300 determines that the decoder 126 cannot extract the access string from the carrier signal transmitted from the IoT device 130 (decision step 304, "no" branch), the shared application 300 displays an error message (at step 306). In another case, if the shared application 300 determines that the decoder 126 is able to extract the access string from the carrier signal transmitted from the IoT device 130 (decision step 304, "yes" branch), the shared application 300 generates a confirmation message (at step 308), and the shared application 300 transmits the confirmation message to the IoT device 130.

[0045] In step 306, the sharing application 300 provides an error message. In one embodiment, the sharing application 300 uses the application 124 to display a message to the user of the client device 120. For example, the sharing application 300 uses the notification application of the user's computing device (e.g., client device 120) to display an error message (e.g., decoding failure) on the display of the computing device. In another embodiment, the sharing application 300 uses the speaker of the client device 120 to transmit an audible message to the user. For example, the sharing application 300 uses text-to-speech (TTS) to generate a waveform that conveys a text error message (e.g., decoding failure). In this example, the sharing application 300 transmits the generated waveform to the user through the speaker of the computing device. In an alternative example, the sharing application 300 uses the location data (e.g., GPS) of the computing device and the smart speaker to provide a message including a direction instruction (i.e., move five (5) feet north) so that the user can move closer to the smart speaker to reduce the SNR of the encoded sound wave.

[0046] In step 308, the sharing application 300 generates a confirmation message. In one embodiment, the sharing application 300 generates an audible message for the IoT device 130 using a server (not shown) NLP. For example, the sharing application 300 uses text to speech (TTS) to generate a waveform (e.g., a decoded sound) that conveys a text confirmation message. In this example, in response to the demodulation device (e.g., decoder 126) successfully decoding the encoded sound wave, the sharing application 300 generates a waveform corresponding to the text confirmation of the demodulation device (e.g., a received access code). In another embodiment, the sharing application 300 can encode a carrier signal with a confirmation message, and the IoT device 130 can decode the confirmation message.

[0047] In step 310, the sharing application 300 transmits a confirmation message. In one embodiment, the sharing application 300 transmits the generated message to the IoT device 130 using the speaker of the client device 120. For example, the sharing application 300 defines a sound power level for the generated waveform and transmits the generated waveform to the smart speaker (e.g., IoT device 130) using the speaker of the computing device (e.g., client device 120).

[0048] In decision step 312, the sharing application 300 determines whether the authorization is valid. In one embodiment, the sharing application 300 determines whether the extracted access string permits the client device 120 to access the network 110. For example, the sharing application 300 uses the decoded network key to configure the computing device (e.g., the client device 120) to connect to the WLAN. In one case, if the sharing application 300 determines that the extracted access string permits the client device 120 to access the network 110 (decision step 312, "yes" branch), the sharing application 300 completes the authorization process (i.e., the IoT device 130 has successfully shared the network access code with the client device 120). In another case, if the sharing application 300 determines that the extracted access string permits the client device 120 to access the network 110 (decision step 312, "yes" branch), the sharing application 300 transmits a message to the IoT device 130 via the network 110.

[0049] In step 314, sharing application 300 terminates the authorization process. More specifically, in response to sharing application 300 determining that the extracted access string does not permit client device 120 to access network 110 (decision step 312, "no" branch), sharing application 300 terminates the authorization process for client device 120 (step 314). For example, if sharing application 300 determines that the extracted access string fails to authenticate the computing device, application 300 terminates the process of associating the computing device with the wireless network. In one embodiment, sharing application 200 ends. For example, sharing application 300 ends the attempt by the computing device to access the user's wireless network.

[0050] Figure 4 1 depicts a block diagram of components of a client device 120, an IoT device 130, and a server 140 according to an illustrative embodiment of the present invention. It should be understood that Figure 4 This merely provides an illustration of one embodiment and is not intended to imply any limitations on the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made.

[0051] Figure 4 The system includes (multiple) processors 401, cache 403, memory 402, permanent storage 405, communication unit 407, (multiple) input / output (I / O) interface 406, and communication fabric 404. The communication fabric 404 provides communication between the cache 403, memory 402, permanent storage 405, communication unit 407, and (multiple) input / output (I / O) interface 406. The communication fabric 404 can be implemented with any architecture designed to transfer data and / or control information between processors (such as microprocessors, communication and network processors, etc.), system memory, peripheral devices, and any other hardware components within the system. For example, the communication fabric 404 can be implemented with one or more buses or crossbar switches.

[0052] Memory 402 and permanent storage 405 are computer-readable storage media. In this embodiment, memory 402 includes random access memory (RAM). In general, memory 402 may include any suitable volatile or non-volatile computer-readable storage media. Cache 403 is a fast memory that enhances the performance of processor(s) 401 by saving recently accessed data from memory 402 and data close to recently accessed data.

[0053] Program instructions and data (e.g., software and data 410) for practicing embodiments of the present invention may be stored in permanent storage 405 and memory 402 for execution by one or more of the corresponding processor(s) 401 via cache 403. In an embodiment, permanent storage 405 includes a magnetic hard drive. Alternatively, or in addition to a magnetic hard drive, permanent storage 405 may include a solid-state hard drive, a semiconductor memory device, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), flash memory, or any other computer-readable storage medium capable of storing program instructions or digital information.

[0054] The media used by the permanent storage device 405 can also be removable. For example, a removable hard drive can be used for the permanent storage device 405. Other examples include optical and magnetic disks, thumb drives, and smart cards, which are inserted into the drive to transfer to another computer-readable storage medium that is also part of the permanent storage device 405. Software and data 410 can be stored in the permanent storage device 405 for access and / or execution by one or more of the (multiple) corresponding processors 401 via the cache 403. With respect to the client device 120, the software and data 410 includes the user interface 122 and the application 124, the decoder 128, and the data of the shared utilization program 300. With respect to the IoT device 130, the software and data 410 includes the encoder 134 and the data of the shared program 200.

[0055] In these examples, communication unit 407 provides communications with other data processing systems or devices. In these examples, communication unit 407 includes one or more network interface cards. Communication unit 407 can provide communications using one or both of physical and wireless communication links. Program instructions and data (e.g., software and data 410) for practicing embodiments of the present invention can be downloaded to permanent storage device 405 through communication unit 407.

[0056] (Multiple) I / O interface 406 allows data input and output with other devices that may be connected to each computer system. For example, (multiple) I / O interface 406 can provide a connection to (multiple) external device 408, such as a keyboard, a keypad, a touch screen, and / or some other suitable input device. (Multiple) external device 408 can also include portable computer readable storage media, such as thumb drives, portable optical or magnetic disks, and memory cards. Program instructions and data (e.g., software and data 410) for practicing embodiments of the present invention can be stored on such portable computer readable storage media and can be loaded onto permanent storage device 405 via (multiple) I / O interface 406. (Multiple) I / O interface 406 is also connected to display 409.

[0057] Display 409 provides a mechanism for displaying data to a user and may be, for example, a computer monitor.

[0058] The programs described herein are identified based on the applications in which they are implemented in specific embodiments of the invention. However, it should be understood that any specific program terminology used herein is merely for convenience, and thus the present invention should not be limited to any specific application identified and / or implied by such terminology.

[0059] At any possible technical detail combination level, the present invention may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0060] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0061] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0062] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0063] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0064] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0065] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0066] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0067] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for sharing network access information, the method comprising: recognizing, by the one or more processors, an audio command received by the first computing device; generating, by one or more processors, an audio waveform including an access code of an access point by encoding the access code into the audio waveform; defining, by one or more processors, a sound power level of the sound waveform; transmitting the sound waveform by one or more processors; as well as determining, by one or more processors, whether the access code encoded in the sound waveform is received by the second computing device, Wherein, identifying the audio command received by the first computing device further includes: monitoring, by one or more processors, an interface of the first computing device; determining, by one or more processors, that the audio command comprises a request for the first computing device to transmit an access code for the access point to the second computing device; and The identity of the user providing the audio command is verified by one or more processors.

2. The method according to claim 1, wherein: Determining whether the second computing device has received the access code encoded in the sound waveform further comprises: In response to determining that the second computing device receives the access code encoded in the sound waveform, wherein the second computing device verifies authorized network access of the second computing device, monitoring, by one or more processors, communication of a verification message from the second computing device for verifying authorized network access of the second computing device.

3. The method according to claim 1, further comprising: identifying, by one or more processors, transmission of an error message from the second computing device, wherein the error message includes directions, in response to determining that the second computing device did not receive the access code encoded in the acoustic waveform; and A second sound power level of the sound waveform is defined by one or more processors, the second sound power level being greater than the first sound power level.

4. The method according to claim 3, further comprising: A determination is made, by one or more processors, whether the second sound power level exceeds a defined threshold, wherein the defined threshold is within an audible frequency range.

5. The method according to claim 1, wherein: Generating a sound waveform including the access code of the access point by encoding the access code into the sound waveform further comprises: modifying, by one or more processors, a carrier signal based on a modulation signal corresponding to one or more characters of the access code; and An acoustic power level within the audible frequency range is selected by one or more processors to transmit the modified carrier signal.

6. The method according to claim 1, wherein: Determining whether the second computing device has received the access code encoded in the sound waveform further comprises: identifying, by the one or more processors, a message from a second computing device; and A determination is made, by one or more processors, whether the message includes an indication that a demodulator of the second computing device has decoded the access code from the acoustic waveform, wherein the decoding is based at least in part on a signal-to-noise ratio (SNR) of the acoustic waveform, the signal-to-noise ratio including signal distortion due to a communication channel.

7. A computer program product comprising: One or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, wherein the program instructions can be executed by one or more processors to cause the one or more processors to perform the method according to any one of claims 1-6.

8. A computer system comprising: one or more computer processors; one or more computer-readable storage media; as well as Program instructions stored on the computer-readable storage medium, the program instructions are used to be executed by at least one of the one or more processors to perform the method according to any one of claims 1-6.

9. A computer system, comprising modules for respectively executing the steps of the method according to any one of claims 1 to 6.