Information receiving method and apparatus, information transmitting method and apparatus, computer device, and storage medium
By generating different sequence codes between smart devices and sending request signals, information transmission without manual verification is achieved, the cumbersome problems in the prior art are solved, and the convenience and efficiency between devices are improved.
Patent Information
- Application Number
- PCT/CN2024/085091
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-05
- Filing Date
- 2024-03-30
- Publication Date
- 2025-08-14
AI Technical Summary
The steps for transmitting close-range information between existing smart devices are cumbersome, and users need to manually turn on Bluetooth, search for devices, verify and enter pairing codes, resulting in poor convenience.
By scanning electronic devices within the target space, generating sequence codes different from other devices, and sending compiled request signals, the target device automatically transmits information when it recognizes the sequence code and meets preset conditions, avoiding the manual verification process.
The information transmission process between smart devices is simplified and the convenience and efficiency of near-field data transmission is improved.
Smart Images

Figure CN2024085091_14082025_PF_FP_ABST
Abstract
Description
Information receiving method, transmission method, device, computer equipment and storage medium Technical Field
[0001] The embodiments of this specification relate to the field of information transmission technology, and specifically to an information receiving method, transmission method, apparatus, computer equipment, and storage medium. Background Art
[0002] In the prior art, information sharing methods between smart devices can achieve information transmission between devices without the need for data cables. Currently, short-range transmission between smart devices can be based on Bluetooth connections, WiFi connections, NFC connections, and the like. However, this type of information sharing method also has certain shortcomings. The steps for transmitting data between devices via Bluetooth are generally as follows: turn on the Bluetooth function of the device and ensure that the device is discoverable; search for nearby Bluetooth devices on another device and select the Bluetooth device to be connected; verify and establish the Bluetooth connection, requiring the input of a pairing code for verification; after successful verification, data can be transmitted via the Bluetooth communication protocol, resulting in a relatively complex verification step for information transmission between devices.
[0003] Summary of the Invention
[0004] In view of this, multiple embodiments of this specification are dedicated to providing an information receiving method, transmission method, apparatus, computer equipment and storage medium to improve the convenience of near-field data transmission between smart devices to a certain extent.
[0005] The embodiment of this specification proposes an information receiving method, which is applied to a smart device, and the method includes: scanning electronic devices within a target space range; generating a serial code representing the identification of the smart device; wherein the serial code is different from the serial code of the electronic device within the target space range; sending a request signal; wherein the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information to the smart device; receiving the information transmitted by the target electronic device; wherein the target electronic device transmits the information to the smart device when it identifies the serial code of the smart device and receives a request signal that meets preset conditions.
[0006] An embodiment of the present specification proposes an information transmission method, which is applied to a smart device, and the method includes: scanning electronic devices within a target space; wherein different electronic devices carry serial codes representing the identification of each electronic device; receiving a request signal sent by a target electronic device; wherein the request signal is compiled based on the serial code of the target electronic device; the request signal is used to request the smart device to transmit information from the smart device to the target electronic device; when the request signal meets a preset condition, the information is sent to the target electronic device represented by the request signal.
[0007] The embodiment of this specification proposes an information receiving device, which is applied to a smart device, and the information receiving device includes: a device scanning module, which is used to scan electronic devices within a target space range; an identification generating module, which is used to generate a serial code representing the identification of the smart device; wherein the serial code is different from the serial code of the electronic device within the target space range; a signal sending module, which is used to send a request signal; wherein the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information to the smart device; an information receiving module, which is used to receive information transmitted by the target electronic device; wherein the target electronic device transmits information to the smart device when it identifies the serial code of the smart device and receives a request signal that meets preset conditions.
[0008] The embodiment of this specification proposes an information transmission device, which is applied to a smart device, and the information transmission device includes: a device scanning module, which is used to scan electronic devices within a target space range; wherein different electronic devices carry serial codes representing the identification of each electronic device; a signal receiving module, which is used to receive a request signal sent by a target electronic device; wherein the request signal is compiled based on the serial code of the target electronic device; the request signal is used to request the smart device to transmit information from the smart device to the target electronic device; the information transmission module is used to transmit information to the target electronic device represented by the request signal when the request signal meets a preset condition.
[0009] 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.
[0010] 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.
[0011] The implementation method of this specification scans electronic devices within the target space range through Bluetooth, WiFi, etc., wherein each electronic device carries a serial code representing its own device identification, and then the smart device generates a serial code different from the identification of each of the above electronic devices. After that, a request signal can be sent (an operation of receiving information is executed). When the target electronic device scans the serial code of the smart device and the received request signal meets the preset conditions, the information can be sent to the smart device represented by the request signal, and then the smart device can receive the information transmitted by the target electronic device, thereby eliminating the need for users to manually perform authentication between devices, thereby improving the convenience of near-field data transmission between smart devices to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] FIG1 is a schematic flow chart of an information receiving method provided in one embodiment.
[0013] FIG2 is an interactive schematic diagram of an information transmission method provided by an embodiment.
[0014] FIG3 is a schematic diagram showing a process of sending a request signal according to an embodiment.
[0015] FIG4 is a schematic flow chart showing an information transmission method according to an embodiment.
[0016] FIG5 is a schematic diagram showing a flow chart of an information receiving device provided in one embodiment.
[0017] FIG6 is a schematic diagram showing a flow chart of an information transmission device provided in one embodiment.
[0018] FIG7 is a schematic diagram of a computer device provided in one embodiment. DETAILED DESCRIPTION
[0019] 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.
[0020] In the prior art, the information sharing method between smart devices can realize information transmission between devices without the need for data cables. At present, short-range transmission between smart devices can be carried out based on Bluetooth connection, WiFi connection, NFC connection, etc. However, this type of information sharing method also has certain shortcomings. The steps for transmitting data between devices via Bluetooth are generally as follows: turn on the Bluetooth function of the device and make sure that the device is in a discoverable state; search for nearby Bluetooth devices on another device and select the Bluetooth device to be connected; verify and establish the Bluetooth connection, and enter the pairing code for verification; after successful verification, data can be transmitted through the Bluetooth communication protocol, so the verification steps for information transmission between devices are relatively complicated. Therefore, the embodiment of this specification provides a wind direction adjustment method, thereby avoiding the need for users to move to the position of the fan to manually adjust the wind direction of the fan, which improves the convenience of users using smart fans to a certain extent.
[0021] In a specific example, let's say user A wants to exchange business cards with user B. They can either add each other as friends, send their personal information to the other, and then save the other's information to their own phone. Alternatively, they can use Bluetooth or WiFi to complete multiple levels of verification before transferring their personal information to the other's phone. Exchanging business cards using these methods is relatively cumbersome.
[0022] Therefore, the embodiments of this specification propose an information receiving method to improve the convenience of near-field data transmission between smart devices to a certain extent.
[0023] 1 , an embodiment of this specification provides an information receiving method, which is applied to a smart device and may include the following steps.
[0024] Step S110: Scan electronic devices within the target space.
[0025] In this embodiment, the information may be one or a combination of text, images, video, and audio. For example, the transmitted personal information may include text information such as name, position, and phone number, and may also include images of personal photos, or information about personal audio and video performances. Of course, the information may also be in the form of text documents, spreadsheets, slides, compressed files, and various other file types, including software installation packages. This specification does not limit the specific content of the information; any content transmitted using the methods described in this specification falls within the scope of protection provided by this specification.
[0026] In this embodiment, it is first necessary to scan electronic devices in the same environment and identify the serial code representing each electronic device. Once scanned, it indicates that the signal broadcast by the electronic device has been received. The method of scanning electronic devices within the target space range can be Bluetooth scanning, WiFi scanning, UWB (Ultra-Wide Band) scanning, etc., and this embodiment is not limited to this.
[0027] The target spatial range may be the range that can be scanned by the scanning method used. Specifically, for example, the scanning range of a Bluetooth signal depends on factors including the type and power of the Bluetooth device, environmental conditions, and other interference factors. Generally speaking, the standard communication range of a Bluetooth signal is approximately 10 meters (30 feet), but may be slightly longer than this distance under ideal conditions. However, in the real world, many factors can reduce the transmission range of a Bluetooth signal. For example, walls, obstacles, electromagnetic interference, and other wireless devices may affect signal propagation, resulting in a reduced communication range. In addition, low-power Bluetooth devices typically have a shorter communication range. In addition, different Bluetooth versions also have an impact on the communication range. Newer Bluetooth versions generally provide a longer communication range and better anti-interference capabilities. In general, the communication range of a Bluetooth signal is typically between a few meters and more than ten meters, but may vary under certain conditions.
[0028] Step S120: Generate a serial code representing the smart device identification; wherein the serial code is different from the serial codes of the electronic devices within the target space range.
[0029] In this embodiment, after scanning electronic devices within the target space, a sequence code representing the device's identity needs to be generated. Therefore, this sequence code must be different from the sequence codes of other electronic devices within the target space. The sequence code can be an orthogonal code. Orthogonal codes have excellent mutual interference suppression performance and can effectively reduce co-channel interference and multipath interference. Common orthogonal codes include Walsh codes, Hadamard codes, and truncated codes. Walsh codes are binary orthogonal codes commonly used in CDMA (Code Division Multiple Access) wireless communication systems. Walsh codes have good autocorrelation and cross-correlation, enabling multi-user access and multiplexing. Hadamard codes are binary orthogonal codes also commonly used in CDMA communication systems. Hadamard codes have excellent spectrum broadening properties, preventing co-channel interference and multipath interference. Truncated codes are multi-ary orthogonal codes also commonly used in CDMA communication systems. Truncated codes can achieve multi-user access and multiplexing by using chips of different lengths in the code sequence.
[0030] Step S130: Send a request signal; wherein, the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information to the smart device.
[0031] In this embodiment, the request signal is a signal generated by the smart device based on the sequence code. The request signal can be obtained by the following methods: 1. Analog coding: Information is converted into a continuously changing analog signal for encoding. The request signal can be analog coding, which is commonly used in analog communication systems, such as the modulation process during modulation and demodulation. 2. Pulse coding: Information is converted into a pulse waveform for encoding. Pulse coding is commonly used in digital communication systems, such as pulse amplitude modulation (PAM), pulse width modulation (PWM), and pulse position modulation (PPM). 3. Coded modulation: The sequence code is converted into a baseband signal using digital signal processing technology, and the baseband signal is then carried on a carrier signal with certain characteristic changes, such as frequency, amplitude, and phase. Common coded modulation methods include frequency shift keying (FSK), phase shift keying (PSK), amplitude shift keying (ASK), and orthogonal frequency division multiplexing (OFDM). It should be noted that when the request signal is obtained through analog coding, the request signal is an analog signal; when the request signal is an acoustic signal obtained through modulation, the request signal is an acoustic signal.
[0032] Step S140: receiving information transmitted by the target electronic device; wherein, the target electronic device transmits information to the smart device when it recognizes the serial code of the smart device and receives a request signal that meets preset conditions.
[0033] In this embodiment, when the target electronic device scans a smart device, it can obtain the serial code of each smart device. It then determines whether the received request signal meets the preset conditions. If the preset conditions are met, it will parse the request signal and obtain the serial code of the smart device, that is, it determines which electronic device in the target space needs to send information. The smart device can then receive the information transmitted by the target electronic device.
[0034] Please refer to Figures 2 and 3. In a specific embodiment, there are a smart device and electronic devices A, B, and C. The current user Li who holds the smart device needs the user Wu who holds electronic device B to send personal information to the smart device. At this time, Li needs to turn on the Bluetooth scanning function of the smart device, scan the serial code of electronic device A as -51, the serial code of electronic device B as -43, and the serial code of electronic device C as -39, then generate the serial code -27 of the smart device, compile it into an ultrasonic request signal, and then send the ultrasonic request signal and align the speaker of the smart device with the speaker of electronic device B so that electronic device B can receive the ultrasonic request signal. When the signal-to-noise ratio of the ultrasonic request signal reaches a preset threshold, it indicates that the information needs to be sent to the smart device represented by the ultrasonic request signal, and then parse the ultrasonic request signal to obtain the serial code -27 of the smart device. Finally, electronic device B sends Wu's personal information to the smart device.
[0035] It should be noted that if the smart device needs to exchange personal information with electronic device B, the earpieces of the smart device and electronic device B can be placed together. In this way, the speaker in the earpiece can be used to send an ultrasonic request signal, and the microphone in the earpiece can be used to receive the ultrasonic request signal, so that two-way verification can be performed. Compared with the independent verification process of sending and receiving, the efficiency of information transmission is improved to a certain extent.
[0036] Specifically, for example, if a smart device needs to exchange information with electronic device B, both the smart device and electronic device B need to scan for electronic devices within a target spatial range and generate their own serial codes. Upon detecting a device within the target spatial range, they begin sending ultrasonic request signals to each other and bring the handsets of the smart device and electronic device B closer together until the signal-to-noise ratio of their respective ultrasonic request signals reaches a preset threshold. Both the smart device and electronic device B can then receive the ultrasonic request signal sent by the other device, which has a signal-to-noise ratio that reaches the preset threshold. They can then parse the ultrasonic request signal to obtain the other device's serial code, allowing Wu and Li to transfer their personal information to the other device.
[0037] In some embodiments, the request signal is an ultrasonic request signal, and the step of receiving the information transmitted by the target electronic device may include: receiving the information transmitted by the target electronic device; when the target electronic device recognizes the serial code of the smart device and the signal-to-noise ratio of the ultrasonic request signal is greater than or equal to a preset threshold, the information is transmitted to the smart device.
[0038] In this embodiment, the ultrasonic request signal is an ultrasonic signal. The process of compiling a sequence code into an ultrasonic signal involves converting an electrical signal into an ultrasonic wave. The basic steps are as follows: Information input: First, the sequence code generated in the embodiment of this specification needs to be input into an electronic device. Digitization: Next, the input sequence code is converted into digital form. This process is called digitization, which converts a continuous analog signal into a discrete digital signal. This is usually accomplished through sampling and quantization. Encoding: After digitization, the sequence code needs to be encoded for transmission in 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 obtain 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 noisy. Therefore, an amplifier is required to enhance the signal strength, and a filter is required to remove unnecessary frequency components to obtain the ultrasonic request signal. Transmission: The amplified and filtered ultrasonic signal can be sent out through an ultrasonic transmitter or speaker. The ultrasonic transmitter converts the electrical signal into mechanical vibration to generate ultrasonic waves.
[0039] In this embodiment, when the smart device receives an ultrasonic request signal, it can determine whether the signal-to-noise ratio of the received ultrasonic request signal reaches a preset threshold. If the preset threshold is reached, the ultrasonic request signal can be demodulated: At the receiving end, the ultrasonic wave is received by the ultrasonic receiver or microphone after propagating through the transmission medium. The received ultrasonic signal will be amplified and filtered to remove noise, and demodulated to convert the ultrasonic signal back into a digital signal. Decoding and restoration: Finally, the received digital signal will be decoded and converted into the form of a serial code. This may involve a reverse encoding process to convert the digital signal into the original serial code. Finally, the information is transmitted to the smart device represented by the serial code.
[0040] In some embodiments, sending the request signal may include: compiling the sequence code into an ultrasonic request signal; and sending the ultrasonic request signal.
[0041] In this embodiment, the sequence code generated in the embodiments of this specification is first input into an electronic device. Digitization: Next, the input sequence code is converted into digital form. This process, called digitization, converts a continuous analog signal into a discrete digital signal. This is usually accomplished through sampling and quantization. Encoding: After digitization, the sequence code needs to be encoded for transmission in an 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 obtain an 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 noisy. Therefore, an amplifier is required to enhance the signal strength, and a filter is required to remove unnecessary frequency components to obtain the ultrasonic request signal. Transmission: The amplified and filtered ultrasonic signal can be transmitted through an ultrasonic transmitter or speaker. The ultrasonic transmitter converts the electrical signal into mechanical vibrations, generating ultrasonic waves.
[0042] In some embodiments, scanning the electronic devices within the target space may include: scanning Bluetooth signals broadcast by the electronic devices within the target space; wherein the Bluetooth signals carry the serial codes of the respective electronic devices.
[0043] 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.
[0044] In this embodiment, the smart device first turns on Bluetooth to search for electronic devices within the target space, one of which corresponds to a sequence code representing a Bluetooth channel. Then, it opens a Bluetooth channel for itself, i.e., generates a sequence code identifying the smart device, so that other electronic devices can scan it.
[0045] In some implementations, the information receiving method may further include: releasing the sequence code after the information reception is completed.
[0046] In this embodiment, since the number of devices supported during Bluetooth communication is limited, after information reception is completed and no further operations are required, the sequence code can be released to allocate Bluetooth channels to other electronic devices.
[0047] In some embodiments, when the smart device is a computer, the information receiving method may further include: informing the user of the location of the target speaker on the screen of the computer; the target microphone is the speaker that sends the ultrasonic request signal.
[0048] In this embodiment, if the smart device is a computer, in order to ensure that the ultrasonic request signal received by the target electronic device meets a preset condition, the speaker of the target electronic device needs to be aligned with the speaker of the smart device that transmits the ultrasonic request signal, so that the signal-to-noise ratio of the ultrasonic request signal received by the target electronic device reaches a preset threshold. Since computers are generally medium-to-large terminals and are not easy to move, the target electronic device can be informed of the location of the speaker of its own transmitting ultrasonic request signal, and the microphone of the target electronic device can be aligned with the target speaker, so that the ultrasonic request signal received by the target electronic device meets the preset condition.
[0049] In some implementations, the information receiving method may further include: sending the request signal when at least one electronic device is scanned.
[0050] In this embodiment, in order to reduce the power consumption of the smart device, the request signal does not need to be sent in time. The request signal is only sent when an electronic device is scanned within the target space range, thereby reducing the power consumption of the smart device to a certain extent.
[0051] 4 , an embodiment of this specification provides an information transmission method, which is applied to a smart device and may include the following steps.
[0052] Step S210: Scan electronic devices within the target space; wherein different electronic devices carry serial codes representing the identification of each electronic device.
[0053] Step S220: Receive a request signal sent by a target electronic device; wherein the request signal is compiled based on the serial code of the target electronic device; the request signal is used to request the smart device to transmit information from the smart device to the target electronic device.
[0054] Step S230: When the request signal meets a preset condition, the information is transmitted to the target electronic device represented by the request signal.
[0055] In this embodiment, the information transmission method described in the embodiment of this specification corresponds to the information receiving method described in the above embodiment. Therefore, the terms and methods specifically described in the above embodiment will not be repeated here. For detailed understanding, please refer to the description in the above specific embodiment. It should be noted that in this embodiment, the smart device is a device for receiving information, and the target electronic device is a device for transmitting information; while in the above embodiment, the smart device is a device for transmitting information, and the target electronic device is a device for sending information.
[0056] In this embodiment, the target space can be scanned for smart devices using Bluetooth or other methods, and the serial codes of each smart device can be identified. In this case, the microphone of the smart device can be turned on to receive the request signal sent by the target electronic device, and then the request signal can be determined to determine whether it meets the preset conditions. If the request signal meets the preset conditions, the request signal can be parsed to obtain the serial code of the target electronic device, and then the information can be sent to the target electronic device represented by the serial code.
[0057] In some embodiments, the request signal is an ultrasonic request signal, and when the request signal meets a preset condition, the information is transmitted to the target electronic device represented by the request signal. This may include: when the signal-to-noise ratio of the ultrasonic request signal is greater than or equal to a preset threshold, the information is transmitted to the target electronic device represented by the ultrasonic request signal.
[0058] In some embodiments, transmitting information to the target electronic device represented by the request signal may include: parsing the ultrasonic request signal to obtain a serial code of the target electronic device represented by the ultrasonic request signal; and sending the information to the target electronic device represented by the serial code.
[0059] 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, converting the digital signal into the original serial code. Finally, the information is transmitted to the smart device represented by the serial code.
[0060] In some embodiments, scanning the electronic devices within the target space may include: scanning Bluetooth signals broadcast by the electronic devices within the target space; wherein the Bluetooth signals carry the serial codes of the respective electronic devices.
[0061] In some embodiments, when the smart device is a computer, the information transmission method may further include: informing the user of the location of a target microphone on a screen of the computer; the target microphone is a microphone that receives the ultrasonic request signal.
[0062] In this embodiment, if the smart device is a computer, in order to ensure that the ultrasonic request signal received by the smart device meets the preset conditions, the microphone of the target electronic device needs to be aligned with the speaker of the smart device, so that the signal-to-noise ratio of the ultrasonic request signal received by the smart device reaches a preset threshold. Since computers are generally medium-to-large terminals and are not easy to move, the target electronic device can be informed of the location of its microphone for receiving the ultrasonic request signal, and the speaker of the target electronic device can be aligned with the target microphone, so that the ultrasonic request signal received by the smart device meets the preset conditions.
[0063] In some embodiments, the information transmission method may further include: when at least one of the electronic devices is scanned, turning on a microphone of the smart device to receive the ultrasonic request signal.
[0064] In this embodiment, in order to reduce the power consumption of the smart device, when information needs to be transmitted, there is no need to keep the microphone in the open state. Only when the electronic device is scanned within the target space range, the microphone of the device itself is turned on to receive the ultrasonic request signal, thereby reducing the power consumption of the smart device to a certain extent.
[0065] Please refer to Figure 5. In some embodiments, an information receiving device may be provided, which is applied to a smart device and may include: a device scanning module, an identification generating module, a signal sending module, and an information receiving module.
[0066] The device scanning module is used to scan electronic devices within the target space.
[0067] The identification generation module is used to generate a serial code representing the identification of the smart device; wherein the serial code is different from the serial codes of the electronic devices within the target space range.
[0068] A signal sending module is used to send a request signal; wherein, the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information to the smart device.
[0069] The information receiving module is used to receive information transmitted by the target electronic device; wherein, the target electronic device transmits information to the smart device when it recognizes the serial code of the smart device and receives a request signal that meets preset conditions.
[0070] Please refer to Figure 6. In some embodiments, an information transmission device may be provided, which is applied to a smart device and may include: a device scanning module, a signal receiving module, and an information transmission module.
[0071] The device scanning module is used to scan electronic devices within the target space; wherein different electronic devices carry serial codes representing the identification of each electronic device.
[0072] A signal receiving module is used to receive a request signal sent by a target electronic device; wherein the request signal is compiled based on the serial code of the target electronic device; the request signal is used to request the smart device to transmit information from the smart device to the target electronic device.
[0073] The information transmission module is used to transmit information to the target electronic device represented by the request signal when the request signal meets a preset condition.
[0074] Regarding the specific functions and effects achieved by the information receiving device and / or the information transmitting 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 information receiving device and / or the information transmitting 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.
[0075] Referring to FIG. 7 , 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.
[0076] 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.
[0077] 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).
[0078] It should be understood that each process and / or block in the flowchart and / or block diagram, as well as combinations 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.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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 method for receiving information, characterized in that: The information receiving method is applied to a smart device, and the method includes: Scan electronic devices within the target space; Generate a serial code representing the smart device identifier; wherein the serial code is different from the serial code of the electronic device within the target space; Sending a request signal; wherein the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information to the smart device; Receive information transmitted by the target electronic device; wherein, the target electronic device transmits information to the smart device when it recognizes the serial code of the smart device and receives a request signal that meets preset conditions.
2. The method according to claim 1, characterized in that The request signal is an ultrasonic request signal, and the step of receiving information transmitted by the target electronic device includes: Receive information transmitted by the target electronic device; when the target electronic device recognizes the serial code of the smart device and the signal-to-noise ratio of the ultrasonic request signal is greater than or equal to a preset threshold, transmit the information to the smart device.
3. The method according to claim 2, characterized in that Send a request signal, including: compiling the sequence code into an ultrasonic request signal; The ultrasound request signal is sent.
4. The method according to claim 1, wherein Scan electronic devices within the target space, including: Scan the Bluetooth signals broadcast by electronic devices within the target space; wherein the Bluetooth signals carry the serial codes of the electronic devices.
5. The method according to claim 1, wherein The method further comprises: After the information reception is completed, the sequence code is released.
6. The method according to claim 2, characterized in that In the case where the smart device is a computer, the method further includes: The user is informed of the location of a target speaker on the computer screen; the target speaker is the speaker that sends the ultrasonic request signal.
7. The method according to claim 1, characterized in that The method further comprises: When at least one of the electronic devices is scanned, the request signal is sent.
8. An information transmission method, characterized in that: The information transmission method is applied to a smart device, and the method includes: Scanning electronic devices within the target space; wherein different electronic devices carry serial codes representing the identification of each electronic device; Receiving a request signal sent by a target electronic device; wherein the request signal is compiled based on a serial code of the target electronic device; the request signal is used to request the smart device to transmit information from the smart device to the target electronic device; When the request signal meets a preset condition, the information is transmitted to the target electronic device represented by the request signal.
9. The method according to claim 8, characterized in that The request signal is an ultrasonic request signal. When the request signal meets a preset condition, information is transmitted to a target electronic device represented by the request signal, including: When the signal-to-noise ratio of the ultrasonic request signal is greater than or equal to a preset threshold, the information is transmitted to the target electronic device represented by the ultrasonic request signal.
10. The method according to claim 9, characterized in that Transmitting information to a target electronic device represented by the request signal, comprising: parsing the ultrasonic request signal to obtain a serial code of the target electronic device represented by the ultrasonic request signal; The information is transmitted to the target electronic device represented by the serial code.
11. The method according to claim 8, characterized in that Scan electronic devices within the target space, including: Scan the Bluetooth signals broadcast by electronic devices within the target space; wherein the Bluetooth signals carry the serial codes of the electronic devices.
12. The method according to claim 9, characterized in that In the case where the smart device is a computer, the method further includes: The user is informed of the position of a target microphone on the computer screen; the target microphone is the microphone that receives the ultrasonic request signal.
13. The method according to claim 9, characterized in that The method further comprises: When at least one of the electronic devices is scanned, the microphone of the smart device is turned on to receive the ultrasonic request signal.
14. An information receiving device, characterized in that: The information receiving device is applied to a smart device, and the information receiving device includes: A device scanning module is used to scan electronic devices within the target space; An identification generation module, configured to generate a serial code representing the identification of the smart device; wherein the serial code is different from the serial codes of the electronic devices within the target space; The signal sending module is used to send a request signal; wherein, the request signal is compiled based on the serial code of the smart device; the request signal is used to request the target electronic device to transmit information input into the smart device; The information receiving module is used to receive information transmitted by the target electronic device; wherein, the target electronic device transmits information to the smart device when it recognizes the serial code of the smart device and receives a request signal that meets preset conditions.
15. An information transmission device, characterized in that: The information transmission device is applied to a smart device, and the information transmission device includes: A device scanning module is used to scan electronic devices within the target space; wherein different electronic devices carry a serial code representing the identity of each electronic device; A signal receiving module, configured to receive a request signal sent by a target electronic device; wherein the request signal is compiled based on a serial code of the target electronic device; and the request signal is used to request the smart device to transmit information from the smart device to the target electronic device; The information transmission module is used to transmit information to the target electronic device represented by the request signal when the request signal meets a preset condition.
16. 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 13 is implemented.
17. 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 13 is implemented.
Citation Information
Patent Citations
Information transmission method, information transmission device, electronic equipment and storage medium
CN112530154A
Information transmission method, device, equipment and medium
CN114257579A
Scanning method and device, electronic equipment and storage medium
CN115086501A
Bluetooth data output method and device, electronic equipment and storage medium
CN115225121A
Method for controlling wake-up of sound wave-based wireless network and wireless sensor network using the same
US20130315039A1