Verification method and apparatus for device interaction, and computer device and storage medium

By receiving an ultrasonic request signal, determine whether the device performs preset interactive actions and analyzes the device identification, the complexity of manually entering passwords in smart device interconnection is solved, and the convenience of device interconnection is achieved.

WO2025179658A1PCT designated stage Publication Date: 2025-09-04TOUCHAIR TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/085092
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-27
Filing Date
2024-03-30
Publication Date
2025-09-04

AI Technical Summary

Technical Problem

In the prior art, the intelligent device interconnection process requires verification by manually entering a digital password, which increases the complexity of device interconnection.

Method used

By receiving the ultrasonic request signal sent by the second intelligent device, it is determined whether the device performs a preset interactive action, and parses the device identification under the conditions satisfied to realize device interconnection.

Benefits of technology

Simplifies the verification steps in the device interconnection process and improves the convenience of device interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085092_04092025_PF_FP_ABST
    Figure CN2024085092_04092025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present description are a verification method and apparatus for device interaction, and a computer device and a storage medium. The method is applied to a first smart device. The method comprises: receiving an ultrasonic request signal sent by a second smart device, wherein the ultrasonic request signal is used for requesting interaction with a first smart device, and the ultrasonic request signal carries a device identifier of the second smart device; on the basis of the ultrasonic request signal, determining whether the first smart device and the second smart device execute a preset interaction action; and when the first smart device and the second smart device execute the preset interaction action, parsing the ultrasonic request signal to obtain the device identifier of the second smart device, so as to interact with the second smart device that is represented by the device identifier. The technical solution provided in the embodiments of the present description can improve, to a certain extent, the convenience of verifying a device during a device interaction process.
Need to check novelty before this filing date? Find Prior Art

Description

Device interaction verification method, device, computer device and storage medium Technical Field

[0001] The embodiments of this specification relate to the field of device interaction technology, and specifically to a device interaction verification method, apparatus, computer equipment, and storage medium. Background Art

[0002] In the prior art, smart home appliances are usually connected to the home network through wireless communication technologies such as Wi-Fi, Bluetooth, and Zigbee, and the mobile phone is also connected to the same network, so that the two are in the same local area network environment, so that the mobile phone can control the smart home appliances. However, the interconnection and intercommunication between devices need to be verified by digital passwords. For example, in the process of pairing Bluetooth devices, it is usually necessary to enter a pairing code for verification. When the user pairs the Bluetooth device, it is necessary to ensure that the pairing code entered is consistent with the pairing code displayed on the other device to confirm the identity and legitimacy between the devices. For another example, when using a mobile phone to add a friend face to face, the same number of words need to be entered for verification, which increases the complexity of device verification during the device interconnection process.

[0003] Summary of the Invention

[0004] In view of this, multiple embodiments of this specification are dedicated to providing a device interaction verification method, apparatus, computer device and storage medium to improve the convenience of device verification during device interaction to a certain extent.

[0005] An embodiment of this specification proposes a device interaction verification method, which is applied to a first smart device. The method includes: receiving an ultrasonic request signal sent by a second smart device; wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identification of the second smart device; determining whether the first smart device and the second smart device perform a preset interaction action; and if the first smart device and the second smart device perform the preset interaction action, parsing the ultrasonic request signal to obtain the device identification of the second smart device for interacting with the second smart device represented by the device identification.

[0006] The embodiment of this specification proposes a device interaction verification device, which is applied to a first smart device. The device interaction verification device includes: a signal receiving unit, which is used to receive an ultrasonic request signal sent by a second smart device; wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identification of the second smart device; an action judgment unit, which is used to judge whether the first smart device and the second smart device perform a preset interaction action; and a device identification parsing unit, which is used to parse the ultrasonic request signal when the first smart device and the second smart device perform a preset interaction action, and obtain the device identification of the second smart device for interaction with the second smart device represented by the device identification.

[0007] An embodiment of this specification provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor implements the method described in the above embodiment when executing the computer program.

[0008] The embodiments of this specification provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the above embodiments is implemented.

[0009] The implementation method of this specification compiles the identification of the second device into an ultrasonic request signal, and then the second smart device performs a preset interactive action with the first smart device. The first smart device determines whether the second smart device performs the preset interactive action through the ultrasonic request signal. If the second smart device performs the preset interactive action, the ultrasonic request signal can be parsed to obtain the device identification of the second smart device, and then it can be determined that the device interconnected and interacting with the first smart device is the second smart device, thereby improving the convenience of device verification during the device interaction process to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG1 is a schematic flow chart of a device interaction verification method provided in one embodiment.

[0011] FIG2 is a schematic diagram showing a flow chart of a device interaction verification apparatus provided by one embodiment.

[0012] FIG3 is a schematic diagram of a computer device provided in one embodiment. DETAILED DESCRIPTION

[0013] In order to enable those skilled in the art to better understand the solutions of this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this specification.

[0014] In the prior art, smart home appliances are usually connected to the home network through wireless communication technologies such as Wi-Fi, Bluetooth, and Zigbee, and the mobile phone is also connected to the same network, so that the two are in the same local area network environment, so that the mobile phone can control the smart home appliances. However, the interconnection and intercommunication between devices need to be verified by digital passwords. For example, in the process of pairing Bluetooth devices, it is usually necessary to enter a pairing code for verification. When the user pairs the Bluetooth device, it is necessary to ensure that the pairing code entered is consistent with the pairing code displayed on the other device to confirm the identity and legitimacy between the devices. For another example, when using a mobile phone to add a friend face to face, the same number of words need to be entered for verification, which increases the complexity of device verification during the device interconnection process.

[0015] Therefore, the implementation method of this specification provides a device interaction verification method, which determines the device that needs to be interactively connected based on the user's actions, thereby avoiding the process of the user manually entering the authentication code, and to a certain extent improving the convenience of verifying the device during the device interaction process.

[0016] Referring to Figure 1 , an embodiment of this specification provides a device interaction verification method, which is applied to a first smart device and may include the following steps.

[0017] Step S110: receiving an ultrasonic request signal sent by the second smart device; wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identification of the second smart device.

[0018] In some cases, the interconnection and intercommunication between devices needs to be verified by means of digital passwords. For example, in the process of pairing Bluetooth devices, it is usually necessary to enter a pairing code for verification. When a user pairs a Bluetooth device, he needs to ensure that the pairing code entered is consistent with the pairing code displayed on the other device to confirm the identity and legitimacy between the devices. For another example, when using a mobile phone to add a friend face to face, the same number of words need to be entered for verification, which increases the complexity of device verification during the device interconnection process. Therefore, the embodiment of this specification proposes a method for verifying interconnected devices based on ultrasound.

[0019] In this embodiment, the first smart device can be a mobile terminal such as a mobile phone, laptop computer, tablet computer, or a smart home appliance such as a refrigerator, air conditioner, or lamp, on which an ultrasonic receiving module such as a microphone is installed. The second smart device can be a smart mobile terminal such as a mobile phone, laptop computer, tablet computer, or a smart mobile terminal, on which an ultrasonic transmitting module such as a speaker is installed.

[0020] In this embodiment, the second smart device first compiles its own device identification information into an ultrasonic request signal, and then broadcasts the ultrasonic request signal in space through the ultrasonic transmitting module. The first smart device can then receive the ultrasonic request signal sent by the second smart device through the ultrasonic receiving module.

[0021] In this embodiment, the process by which the second intelligent device compiles device identification information into an ultrasonic signal involves converting an electrical signal into ultrasonic waves. The basic steps are as follows: Digitization: The input device identification is converted into digital form. This process, called digitization, converts a continuous analog signal into a discrete digital signal. This is typically accomplished through sampling and quantization. Encoding: After digitization, the device identification needs to be encoded for transmission within the ultrasonic signal. The purpose of encoding is to convert the digital signal into a specific pattern of ultrasonic waves. Common encoding methods include frequency shift keying (FSK), phase shift keying (PSK), and amplitude shift keying (ASK). Modulation: After encoding, the digital signal needs to be modulated into the frequency range of the ultrasonic signal to produce the ultrasonic request signal. This can be achieved by changing the frequency, amplitude, or phase of the ultrasonic wave. Of course, in some cases, the ultrasonic request signal can also be amplified and filtered. The modulated signal may be weak or contain noise. Therefore, an amplifier is required to enhance the signal strength, and a filter is required to remove unnecessary frequency components to produce the ultrasonic request signal. Transmission: The amplified and filtered ultrasonic signal can be transmitted via an ultrasonic transmitter or speaker. The ultrasonic transmitter converts the electrical signal into mechanical vibrations, generating ultrasonic waves.

[0022] Step S120: Based on the ultrasonic request signal, determine whether the first smart device and the second smart device perform a preset interaction action.

[0023] In this embodiment, devices typically determine whether to interact with each other through a pairing code manually entered by the user, which increases the complexity of device verification. Therefore, in this embodiment, an ultrasonic request signal is used to determine whether the second smart device has performed a preset interaction action. If the second smart device has performed the preset interaction action, it indicates that the device that needs to interact with the first smart device is the second smart device represented by the ultrasonic request signal.

[0024] Step S130: When the first smart device and the second smart device perform a preset interaction action, the ultrasonic request signal is parsed to obtain the device identification of the second smart device for interacting with the second smart device represented by the device identification.

[0025] In this embodiment, if the received ultrasonic request signal meets the preset conditions, it indicates that the first smart device and the second smart device have performed a preset interaction action. In this case, the first smart device can parse the ultrasonic request signal to obtain the device identification of the second smart device for interaction with the second smart device.

[0026] In this embodiment, after propagating through the transmission medium, the ultrasonic wave is received by an ultrasonic receiver or microphone. The received ultrasonic signal is amplified and filtered to remove noise, and then demodulated to convert it back into a digital signal. Decoding and Restoration: Finally, the received digital signal is decoded and converted into a serial code. This may involve the reverse encoding process to convert the digital signal into the original device identification.

[0027] In a specific embodiment, when three users need to establish a group chat face-to-face, for example, there are users A, B, and C. User A first initiates the chat, and then all three enter the group chat by entering the same string. Now, user A initiates the chat, and then user B touches the phone used by user A, thereby entering the same group chat. Then, C touches either A or B again, and all three users A, B, and C can enter the same group chat.

[0028] In some embodiments, based on the ultrasonic request signal, determining whether the first smart device and the second smart device perform a preset interaction action may include: determining whether the signal strength of the ultrasonic request signal reaches a preset threshold; correspondingly, when the signal strength of the ultrasonic request signal is greater than or equal to the preset threshold, parsing the ultrasonic request signal.

[0029] In this embodiment, the preset interaction action is to touch the speakers and microphones of two devices together. A judgment can be made based on the signal strength of the ultrasonic request signal. If the signal strength reaches a preset threshold, it indicates that the speakers and microphones of the two devices have touched each other. Therefore, the ultrasonic request signal can be interpreted if the signal strength of the ultrasonic request signal is greater than or equal to the preset threshold.

[0030] In some embodiments, determining whether the signal strength of the ultrasonic request signal reaches a preset threshold may include: calculating the ratio of the power of the useful signal to the power of the noise signal in the ultrasonic request signal to obtain a target signal-to-noise ratio; determining whether the signal strength of the ultrasonic request signal reaches a preset threshold based on the target signal-to-noise ratio; and correspondingly, if the target signal-to-noise ratio is greater than or equal to the preset threshold, parsing the ultrasonic request signal.

[0031] In this embodiment, the signal-to-noise ratio of an ultrasonic signal refers to the ratio of the power of a useful signal to the power of a noise signal in the ultrasonic signal. When the two devices are close enough to each other, the power of the useful signal received by the first smart device will increase, while the noise will decrease. Yes, the ratio of the power of the useful signal to the power of the noise signal can be used as the target signal-to-noise ratio to determine whether the ultrasonic receiving module of the first smart device and the ultrasonic transmitting module of the second smart device are in a close relationship. When the target signal-to-noise ratio reaches a preset threshold, it means that the first smart device and the second smart device have performed a preset action, and then the ultrasonic request signal can be parsed.

[0032] In some embodiments, the device interaction verification method may further include: receiving orientation information fed back by the second smart device when the signal strength of the ultrasonic request signal is greater than or equal to a preset threshold; and parsing the ultrasonic request signal when the orientation information is the same as the orientation of the first smart device.

[0033] In this embodiment, if the judgment is based solely on the strength of the ultrasonic request signal, the two mobile phones can also achieve this operation by using the "face-to-face" module, that is, placing the handsets of the two mobile phones together, which may lead to interaction errors. Therefore, in order to achieve proximity authentication between the two mobile phones, it is also possible to verify the orientation of the second smart device. The second smart device broadcasts the data of the gyroscope sensor via Bluetooth, WiFi, etc., so that the first smart device can make a judgment after receiving this orientation information. Therefore, if the strength of the ultrasonic request signal and the orientation of the second smart device both meet preset conditions, it will begin to parse the ultrasonic request signal to obtain the device identification information of the second smart device.

[0034] In some embodiments, the device interaction verification method may further include: upon receiving a Bluetooth notification broadcast by the second smart device, turning on the ultrasonic receiving module to receive an ultrasonic request signal sent by the second smart device; the Bluetooth notification is used to notify the second smart device to turn on the ultrasonic receiving module.

[0035] In this embodiment, Bluetooth is a wireless communication technology, and its advantages mainly include: Low power consumption: Bluetooth technology adopts low power consumption mode, so it can extend battery life. Convenience: The connection between Bluetooth devices is very convenient, and only a simple pairing operation is required to establish a connection. Security: Bluetooth connection has high security and can encrypt data transmission to prevent data from being stolen. Stability: The frequency band used by Bluetooth technology is relatively stable and not easily interfered with. Multi-device connection: Bluetooth technology supports simultaneous connection of multiple devices, and can realize data transmission and mutual control between multiple devices. Compatibility: Bluetooth technology has become a standard feature of various devices. Almost all smartphones, tablets, laptops and other smart devices support Bluetooth connection.

[0036] In this embodiment, since ultrasound propagation requires a certain amount of power consumption, and Bluetooth can always operate in a low-power mode, the ultrasound receiving module of the first smart device can be kept off until a notification is received, at which time the ultrasound receiving module can be turned on. Since Bluetooth can operate in a low-power mode, the Bluetooth of the first smart device can be kept on. Then, before sending an ultrasound request signal, the second smart device can first use Bluetooth broadcast to notify the first smart device to turn on the ultrasound receiving module, thereby reducing the power consumption of the first smart device to a certain extent.

[0037] In some embodiments, the device interaction verification method may further include: informing the second smart device of the location of the ultrasound receiving module on the first smart device.

[0038] In this embodiment, if the first smart device is a large device such as a smart home appliance, in order to ensure that the ultrasonic request signal received by the second smart device meets the preset conditions, the speaker of the second smart device needs to be aligned with the microphone of the first smart device that receives the ultrasonic request signal, so that the signal strength of the ultrasonic request signal received by the first smart device reaches a preset threshold. Since smart home appliances are generally medium-to-large terminals and are not easy to move, the second device can be informed of the location of its own microphone for receiving the ultrasonic request signal, so that the ultrasonic transmitting module of the second smart device is aligned with the ultrasonic receiving module of the second smart device, so that the ultrasonic request signal received by the first smart device meets the preset conditions.

[0039] Please refer to Figure 2. In some embodiments, a device interaction verification apparatus may be provided, which is applied to a first smart device and may include: a signal receiving unit, an action determination unit, and a device identification resolution unit.

[0040] A signal receiving unit is configured to receive an ultrasonic request signal sent by a second smart device, wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identifier of the second smart device.

[0041] An action determination unit is configured to determine, based on the ultrasonic request signal, whether the first smart device and the second smart device execute a preset interactive action.

[0042] The device identification parsing unit is used to parse the ultrasonic request signal when the first smart device and the second smart device perform a preset interaction action, and obtain the device identification of the second smart device for interacting with the second smart device represented by the device identification.

[0043] Regarding the specific functions and effects achieved by the device interaction verification device, please refer to the other embodiments of this specification for reference and explanation, and will not be repeated here. The various modules in the device interaction verification device can be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0044] Referring to FIG. 3 , in some embodiments, a computer device may be provided, including a memory and a processor. The memory stores a computer program, and the processor implements the method steps in the embodiment when executing the computer program.

[0045] In some embodiments, a computer-readable storage medium may be provided, on which a computer program is stored. When the computer program is executed by a processor, the method steps in the embodiments are implemented.

[0046] Those skilled in the art will understand that all or part of the processes in the implementation methods described can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the implementation methods of the methods described. Among them, any reference to memory, storage, database or other media used in the various implementation methods provided in this specification may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0047] It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.

[0048] The descriptions of the various embodiments of this specification are made in a progressive manner. Different embodiments focus on describing the parts that are different from other embodiments. After reading this specification, those skilled in the art will know that the various embodiments in this specification, as well as the various technical features disclosed in the embodiments, can be combined in more ways. To make the description concise, not all possible combinations of the various technical features in the embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0049] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0050] The various embodiments in this specification emphasize the differences between the various embodiments, and the various embodiments can be interpreted in comparison with each other. Any combination of the various embodiments in this specification based on general technical knowledge by those skilled in the art is within the scope of this specification.

[0051] The foregoing description is merely an embodiment of the present invention and is not intended to limit the scope of the claims. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements within the spirit and principles of the present invention are intended to be encompassed by the claims.

Claims

1. A device interaction verification method, characterized in that: Applied to a first smart device, the method includes: receiving an ultrasonic request signal sent by a second smart device; wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identifier of the second smart device; Based on the ultrasonic request signal, determining whether the first smart device and the second smart device perform a preset interaction action; When the first smart device and the second smart device perform a preset interaction action, the ultrasonic request signal is parsed to obtain the device identification of the second smart device for interacting with the second smart device represented by the device identification.

2. The method according to claim 1, characterized in that Determining, based on the ultrasonic request signal, whether the first smart device and the second smart device execute a preset interaction action includes: Determining whether the signal strength of the ultrasonic request signal reaches a preset threshold; Accordingly, when the signal strength of the ultrasonic request signal is greater than or equal to a preset threshold, the ultrasonic request signal is analyzed.

3. The method according to claim 2, characterized in that Determining whether the signal strength of the ultrasonic request signal reaches a preset threshold includes: Calculating a ratio of a useful signal power to a noise signal power in the ultrasonic request signal to obtain a target signal-to-noise ratio; determining whether the signal strength of the ultrasonic request signal reaches a preset threshold based on the target signal-to-noise ratio; Accordingly, when the target signal-to-noise ratio is greater than or equal to a preset threshold, the ultrasound request signal is analyzed.

4. The method according to claim 2, characterized in that The method further comprises: When the signal strength of the ultrasonic request signal is greater than or equal to a preset threshold, receiving direction information fed back by the second smart device; When the orientation information is the same as the orientation of the first smart device, the ultrasound request signal is parsed.

5. The method according to claim 1, wherein The method further comprises: When a Bluetooth notification broadcast by the second smart device is received, the ultrasonic receiving module is turned on to receive the ultrasonic request signal sent by the second smart device; the Bluetooth notification is used to notify the second smart device to turn on the ultrasonic receiving module.

6. The method according to claim 5, characterized in that The method further comprises: Inform the second smart device of the location of the ultrasound receiving module on the first smart device.

7. A device interaction verification device, characterized in that: Applied to a first smart device, the device interaction verification device includes: a signal receiving unit, configured to receive an ultrasonic request signal sent by a second smart device; wherein the ultrasonic request signal is used to request interaction with the first smart device, and the ultrasonic request signal carries a device identification of the second smart device; an action determination unit, configured to determine, based on the ultrasonic request signal, whether the first smart device and the second smart device execute a preset interaction action; The device identification parsing unit is used to parse the ultrasonic request signal when the first smart device and the second smart device perform a preset interaction action, and obtain the device identification of the second smart device for interacting with the second smart device represented by the device identification.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Data transmission method and device

    CN108377286A

  • Equipment pairing method and device

    CN109743714A

  • Device pairing method and system, master device, slave device and storage medium

    CN114698062A

  • Adaptive threshold for proximity based wireless communications features

    US20170332190A1