Method and system for establishing wireless connection between master device and slave device based on voice recognition

By registering the same wake-up word between the car machine and the app and using voice recognition technology to generate wireless connection parameters, the problem of cumbersome wireless connection in the existing technology is solved, automatic connection is realized, and the convenience and efficiency of connection are improved.

CN118984501APending Publication Date: 2024-11-19WUHAN CARBIT INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834528.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The current wireless connection method requires manual operation, which makes the connection process cumbersome and inconvenient, especially in the information exchange between the vehicle and the app, which is difficult to achieve simple, efficient and fast connection.

Method used

By registering the same wake-up word between the host device and the slave device, using voice recognition technology to generate the hotspot name and password for the wireless connection, and establishing a wireless connection in the device, the automated connection process is achieved.

Benefits of technology

Without manual operation, the automatic interconnection between slave devices and host devices is realized, simplifying the connection process and improving the convenience and efficiency of connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118984501A_ABST
    Figure CN118984501A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for establishing wireless connection between a master device and a slave device based on voice recognition. The method comprises the following steps that: the master device and the slave device register the same wake-up word; when the host device and the slave device monitor voices containing wake-up words, the voices are recognized, a pair of hotspot names and a first connection password for wireless connection are generated on the host device according to recognized characters, and a second connection password is generated on the slave device; the first connection password and the second connection password are generated by adopting the same rule; establishing a hotspot for wireless connection in the host device based on the hotspot name and the first connection password; and searching the hotspot name of the host device on the slave device, connecting the hotspot based on the second connection password, and establishing interconnection with the host device. According to the invention, the active device can be automatically awakened to create the wireless connection through voice recognition, the slave device is automatically connected with the wireless connection, interconnection between the slave device and the active device is automatically realized, and manual operation is not needed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless connectivity, and more specifically, to a method and system for establishing a master-slave wireless connection based on voice recognition. Background Technology

[0002] With the continuous updates and development of the Internet of Vehicles and the increasing diversification of interconnection methods, how to conveniently, quickly, and more humanely connect applications with vehicle systems, instruments, and other devices has become a hot topic at present.

[0003] Currently, wireless connectivity methods mostly rely on Wi-Fi and WLAN Direct. However, regardless of whether it's Wi-Fi or WLAN Direct, the process of establishing a connection and exchanging information between the vehicle's infotainment system and the app largely depends on manual operation. To establish a connection, users usually need to manually turn on Wi-Fi, then search for the corresponding device on the other end to establish a connection, or perform actions such as scanning a QR code to inform one end of the other end's device information and automatically initiate a connection.

[0004] Therefore, how to provide a simple, efficient, and fast way for mobile phones and peer devices to exchange information and establish connections has become a topic worth considering. Summary of the Invention

[0005] This invention addresses the technical problems existing in the prior art by providing a method and system for establishing a master-slave wireless connection based on voice recognition.

[0006] According to a first aspect of the present invention, a method for establishing a master-slave wireless connection based on voice recognition is provided, comprising:

[0007] The master device and slave device register the same wake-up word, and the offline wake-up function of the master device and slave device is set;

[0008] When the host device and the slave device detect voice containing the wake word, they recognize the voice and, based on the recognized text, generate a pair of hotspot names and a first connection password for wireless connection on the host device, and generate a second connection password on the slave device. The first connection password and the second connection password are generated using the same rules.

[0009] A hotspot for wireless connection is created in the host device based on the hotspot name and connection password;

[0010] The slave device searches for the hotspot name of the host device and connects to the hotspot based on the second connection password to establish an interconnection with the host device.

[0011] Based on the above technical solution, the present invention can also be improved as follows.

[0012] Optionally, the step of generating a hotspot name and a first connection password for wireless connection on the host device based on the identified text includes:

[0013] The identified text is converted into English letters, and the English letters and the host device name are concatenated to form the created hotspot name;

[0014] The hotspot name is encrypted using MD5, and the encrypted ciphertext is used as the first connection password.

[0015] Optionally, the step of searching for the hotspot name of the host device on the slave device and connecting to the hotspot based on the second connection password to establish an interconnection with the host device includes:

[0016] Once the slave device detects the registered wake word, it begins to search for surrounding hotspots and obtains the name of each hotspot found.

[0017] Each hotspot name is broken down into its English letters, which are then converted into text. The hotspot corresponding to the text that matches the registered wake word is found, and then a connection is attempted to be made to that hotspot based on the second connection password.

[0018] The host device verifies the second connection password based on the first connection password. If the verification is successful, the slave device successfully connects to the host device.

[0019] Optionally, when there are multiple slave devices of different types, the master device registers multiple wake words for connecting different types of slave devices, and different types of slave devices register different wake words;

[0020] When the host device and the slave device detect voice containing the registered wake word, they recognize the voice and, based on the recognized text, generate a hotspot name and a first connection password for wireless connection on the host device, and generate a second connection password on the slave device.

[0021] Create a hotspot on the host device based on the hotspot name and the first connection password;

[0022] Connect to the hotspot on the slave device based on the second connection password.

[0023] Optionally, when multiple slave devices of the same type simultaneously request to connect to the host device, the host device selects the slave device that is allowed to connect.

[0024] Optionally, the host device is a mobile phone terminal, and the slave device is a vehicle terminal.

[0025] According to a second aspect of the present invention, a master-slave wireless connection establishment system based on voice recognition is provided, comprising a master device and a slave device;

[0026] Includes master devices and slave devices;

[0027] The host device is used to register a wake word, and when it hears voice containing the registered wake word, it recognizes the voice and generates a hotspot name and a first connection password for wireless connection based on the recognized text.

[0028] The slave device is used to register the same wake word as the master device, and when it hears voice containing the registered wake word, it recognizes the voice and generates a second connection password for wireless connection based on the recognized text, wherein the second connection password and the first connection password are generated using the same rules;

[0029] The host device is also used to establish a hotspot for wireless connection based on the hotspot name and the first connection password;

[0030] The slave device is also used to search for the hotspot name of the host device and connect to the hotspot based on the second connection password to establish an interconnection with the host device.

[0031] This invention provides a method and system for establishing a wireless connection between master and slave devices based on voice recognition. The master and slave devices register the same wake-up word and configure offline wake-up functionality. When the master and slave devices detect voice containing the wake-up word, they recognize the voice and generate a hotspot name and a first connection password for wireless connection on both devices based on the recognized text. A second connection password is generated on the slave device, and both passwords are generated using the same rules. Based on the hotspot name and the first connection password, a hotspot is established on the master device. The slave device searches for the master device's hotspot name and connects to the hotspot based on the second connection password, thus establishing an interconnection with the master device. This invention can automatically wake up the active device to create a wireless connection through voice recognition, and the slave device automatically connects, automatically achieving interconnection between the slave and active devices without manual operation. Attached Figure Description

[0032] Figure 1 A flowchart of a method for establishing a master-slave wireless connection based on voice recognition provided by the present invention;

[0033] Figure 2 A schematic diagram of the overall method for establishing a master-slave wireless connection based on voice recognition;

[0034] Figure 3 The present invention provides a structural block diagram of a master-slave device wireless connection establishment system based on voice recognition. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. In addition, the technical features of the various embodiments or individual embodiments provided by the present invention can be arbitrarily combined with each other to form feasible technical solutions. Such combinations are not constrained by the order of steps and / or structural composition patterns, but must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

[0036] Figure 1 A flowchart of a master-slave wireless connection establishment method based on voice recognition provided by the present invention is shown below. Figure 1 and Figure 2 As shown, the method includes:

[0037] Step 1: Register the same wake-up word for both the master and slave devices, and configure the offline wake-up function for both devices.

[0038] Understandably, during the interconnection process, whether it's a hotspot created on a mobile device or in-vehicle system, the wireless connection process is similar; the only difference is who creates the hotspot and who connects to it. Here, the host device represents the party creating the hotspot, and the slave device represents the party connecting to the hotspot.

[0039] For the host device (which can be a mobile phone) and slave device (which can be a vehicle-mounted system) to be connected, the offline wake-up function of the host device and slave device is pre-configured. The host device and slave device register the same wake-up word to form a pair of connected host and slave devices.

[0040] It should be noted that if there are multiple slave devices, the master device can register multiple wake words for each slave device according to a certain protocol. Subsequently, the connection between the master device and different slave devices can be realized based on different wake words.

[0041] If there are many slave devices with different attribute types, the wake word can be registered according to the attribute type of the slave device. That is, slave devices with the same attribute type can be registered with the same wake word, and slave devices with different numbers of types can be registered with different wake words.

[0042] Step 2: When the host device and the slave device detect the voice containing the wake word, they recognize the voice and generate a pair of hotspot names and a first connection password for wireless connection on the host device and a second connection password on the slave device based on the recognized text. The first connection password and the second connection password are generated using the same rules.

[0043] Understandably, after both the host and slave devices register a wake-up word, when the host device hears the voice of the registered wake-up word, it recognizes the voice, extracts the text content of the wake-up word, and generates a name and password for wireless connection. Specifically, the wake-up word is converted into English letters, which are then concatenated with the host's name to form the hotspot name. This name is then encrypted using MD5 to obtain the ciphertext, which serves as the connection password (referred to as the first connection password). Simultaneously, the slave device also hears the voice containing the registered wake-up word, recognizes the voice, extracts the text content of the wake-up word, and generates a connection password (referred to as the second connection password) using the same method as the host device.

[0044] If there are multiple slave devices of different types, then different wake-up words are registered on the master device, and corresponding wake-up words are registered on the slave devices of different types. Then, on the master device, different hotspot names and connection passwords are generated based on the different wake-up words.

[0045] Step 3: Based on the hotspot name and the first connection password, establish a hotspot for wireless connection on the host device.

[0046] Understandably, a hotspot is created on the host device based on the generated hotspot name and the initial connection password. Different hotspots can be created for different wake words.

[0047] Step 4: Search for the hotspot name of the host device on the slave device, and connect to the hotspot based on the second connection password to establish an interconnection with the host device.

[0048] Understandably, when the slave device listens to the voice including the registered wake word, recognizes the text, and generates a second connection password for connecting to the host device based on the text, the rules for generating the second connection password by the slave device are the same as those for generating the first connection password by the host device.

[0049] When the slave device detects the registered wake word, it begins searching for nearby hotspots, retrieving the name of each hotspot. Each hotspot name is then broken down into its constituent English letters, which are converted into characters. The slave device identifies the hotspot whose characters match the registered wake word and attempts to connect to that hotspot using a second connection password. The host device verifies the second connection password using the first connection password. If the verification is successful, the slave device successfully connects to the host device, thus establishing interconnection between the slave and host devices.

[0050] When multiple slave devices with the same attribute type simultaneously request to connect to a master device, the master device can select the allowed slave devices to connect. Only the allowed slave devices can connect to the master device. Slave devices with different attribute types can simultaneously request to connect to the master device without conflict.

[0051] See Figure 3 The present invention provides a master-slave wireless connection establishment system based on voice recognition, including a master device 31 and a slave device 32;

[0052] The host device 31 is used to register a wake word, and when it hears voice containing the registered wake word, it recognizes the voice and generates a hotspot name and a first connection password for wireless connection based on the recognized text.

[0053] The slave device 32 is used to register the same wake word as the host device 31, and when it hears voice containing the registered wake word, it recognizes the voice and generates a second connection password for wireless connection based on the recognized text, wherein the second connection password and the first connection password are generated using the same rules;

[0054] The host device 31 is also used to establish a hotspot for wireless connection based on the hotspot name and the first connection password;

[0055] The slave device 32 is also used to search for the hotspot name of the host device, and connect to the hotspot based on the second connection password to establish an interconnection with the host device 31.

[0056] In this process, when the host device 31 generates a hotspot name and a first connection password based on the text recognized from the speech, it converts the recognized text into English letters, concatenates these English letters with the host device name, and uses the concatenated text as the created hotspot name. The hotspot name is then encrypted using MD5, and the encrypted ciphertext is used as the first connection password. The slave device 32 generates a second connection password using the same rules based on the text recognized from the speech.

[0057] When there are multiple slave devices 32 of different types, the host device 31 registers multiple wake words for connecting different types of slave devices 32, which enables the connection between the host device 31 and different slave devices 32; when the host device 31 and the slave device 32 hear voice containing the registered wake words, they recognize the voice, and generate a pair of hotspot names and a first connection password for wireless connection on the host device 31 based on the recognized text; a hotspot is created on the host device 31 based on the hotspot name and the first connection password; and a second connection password is generated on the slave device 32 based on the recognized text using the same rules.

[0058] When multiple slave devices 32 of the same type simultaneously request to connect to the host device 31, the host device 31 selects the slave device 32 that is allowed to connect.

[0059] This invention provides a method and system for establishing a wireless connection between master and slave devices based on voice recognition. The master and slave devices register the same wake-up word and configure offline wake-up functionality. When the master and slave devices detect voice containing the wake-up word, they recognize the voice and generate a hotspot name and a first connection password for wireless connection on both devices based on the recognized text. A second connection password is generated on the slave device, and both passwords are generated using the same rules. Based on the hotspot name and the first connection password, a hotspot is established on the master device. The slave device searches for the master device's hotspot name and connects to the hotspot based on the second connection password, thus establishing an interconnection with the master device. This invention can automatically wake up the active device to create a wireless connection through voice recognition, and the slave device automatically connects to the wireless connection, automatically achieving interconnection between the slave and active devices without manual operation.

[0060] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0061] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0062] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0063] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0064] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0065] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0066] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A method for establishing wireless connection between master and slave devices based on voice recognition, characterized in that: include: The host device and the slave device register the same wake-up word and set the offline wake-up function of the host device and the slave device; When the host device and the slave device monitor a voice containing the wake-up word, the voice is recognized, and a pair of hotspot name and a first connection password for wireless connection is generated on the host device according to the recognized text, and a second connection password is generated on the slave device, wherein the first connection password and the second connection password are generated using the same rule; Based on the hotspot name and the first connection password, establishing a hotspot for wireless connection in the host device; The hotspot name of the host device is searched on the slave device, and the hotspot is connected based on the second connection password to establish interconnection with the host device.

2. The method for establishing a wireless connection between a master and a slave device according to claim 1, characterized in that: The method of generating a pair of hotspot name and first connection password for wireless connection on the host device according to the recognized text includes: Convert the recognized text into English letters, and concatenate the English letters and the host device name as the created hotspot name; The hotspot name is encrypted using MD5, and the encrypted ciphertext is used as the first connection password.

3. The method for establishing a wireless connection between a master and a slave device according to claim 2, characterized in that: The step of searching the hotspot name of the host device on the slave device, connecting to the hotspot based on the second connection password, and establishing interconnection with the host device includes: When the slave device detects the registered wake-up word, it starts searching for hotspots around it and obtains the name of each hotspot found around it. Each hotspot name is disassembled to extract the English letters therein, and the English letters are converted into text, and a hotspot corresponding to the text consistent with the registered wake-up word is found, and then an attempt is made to connect to the hotspot based on the second connection password; The host device verifies the second connection password based on the first connection password. If the verification is successful, the slave device is successfully connected to the host device.

4. The method for establishing a wireless connection between a master and a slave device according to claim 1, characterized in that: When there are multiple slave devices of different types, the host device registers multiple wake-up words for connecting to different types of slave devices, and different types of slave devices register different wake-up words; When the host device and the slave device monitor a voice containing a registered wake-up word, the voice is recognized, and a pair of a hotspot name and a first connection password for wireless connection is generated on the host device according to the recognized text, and a second connection password is generated on the slave device; creating a hotspot on the host device based on the hotspot name and the first connection password; Based on the second connection password, the hotspot is connected on the slave device.

5. The method for establishing a wireless connection between a master and a slave device according to claim 4, characterized in that: When there are multiple slave devices of the same type that simultaneously request to connect to the master device, the master device selects the slave device that is allowed to connect.

6. The method for establishing a wireless connection between a master and a slave device according to any one of claims 1 to 5, characterized in that: The host device is a mobile phone, and the slave device is a vehicle device.

7. A system for establishing wireless connection between master and slave devices based on voice recognition, characterized in that: Including host devices and slave devices; The host device is used to register a wake-up word, and when a voice containing the registered wake-up word is monitored, the voice is recognized, and a hotspot name and a first connection password for wireless connection are generated according to the recognized text; The slave device is used to register the same wake-up word as the host device, and when a voice containing the registered wake-up word is monitored, recognize the voice, and generate a second connection password for wireless connection according to the recognized text, wherein the second connection password and the first connection password are generated using the same rule; The host device is further used to establish a hotspot for wireless connection based on the hotspot name and the first connection password; The slave device is also used to search for the hotspot name of the host device, and connect to the hotspot based on the second connection password to establish interconnection with the host device.