Signal sending method and terminal equipment
By deploying transmitters and receivers on different sides of the terminal device, and using the ultrasonic path switching during audio services and the ordinary audio channel to send ultrasonic signals when there are no audio services, the problem of the terminal device being accidentally triggered in a pocket or backpack is solved, improving detection accuracy and user experience.
Patent Information
- Application Number
- CN202411151658.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2026-03-03
AI Technical Summary
Accidental touches on terminal devices when not in use, especially when placed in a pocket or backpack, can lead to unintended operations due to the difficulty of accurately distinguishing whether the device is obstructed by existing technology.
At least one transmitter and receiver are deployed on different sides of the terminal device. Ultrasonic signals are transmitted using the ultrasonic path switching during audio services and the normal audio channel when there are no audio services. Ultrasonic signals are transmitted through two speakers to improve the detection success rate and reduce latency.
It effectively avoids accidental operation and improves the detection accuracy and user experience of terminal devices in pockets or similar environments.
Smart Images

Figure CN121603592A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to signal transmission methods and terminal devices. Background Technology
[0002] Currently, to enhance user convenience, an increasing number of terminal devices are equipped with touchscreen displays, allowing users to control these devices by tapping or swiping their fingers on the screen. However, when the device is not in use, accidental screen touches can cause unexpected actions, impacting the user experience. For example, when a device is in a pocket or backpack, if the screen is in contact with skin or an object and there is relative movement, the device may perform actions corresponding to that contact, such as unlocking the screen, opening an application, or making a phone call. Therefore, effectively identifying the status of terminal devices to handle accidental operations is a pressing issue that needs to be addressed. Summary of the Invention
[0003] This application provides a signal transmission method and a terminal device, which can effectively prevent the terminal device from performing erroneous operations.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] Firstly, a signal transmission method is provided, which can be executed by a terminal device. At least one transmitter is deployed on a first side and a second side of the terminal device, respectively, but the first and second sides are not located on the same side of the terminal device. The at least one transmitter deployed on the first side includes a first transmitter, and the at least one transmitter deployed on the second side includes a second transmitter. Here, "terminal device" can refer to the terminal device itself, or to a processor, circuit, module, logic node, chip, or chip system within the terminal device that implements the method.
[0006] The method includes: determining whether an audio service is in progress on the terminal device; when an audio service is in progress on the terminal device, sending a first signal using a first transmitter during a first time period and sending a second signal using a second transmitter during a second time period, wherein the first and second time periods do not overlap; when no audio service is in progress on the terminal device, sending a third signal using a first transmitter and sending a fourth signal using a second transmitter; wherein the first, second, third, and fourth signals are used to determine the state of the terminal device.
[0007] Based on the above method, when the terminal device has only one ultrasonic channel, ultrasonic signals can be sent using two speakers through a single channel switch for pocket mode detection, thereby improving the detection success rate. When the terminal device does not have audio services, the ultrasonic signal can be sent directly using the ordinary audio channel, which can reduce the detection latency.
[0008] In one possible implementation, at least one receiver is deployed on a first side and a second side of the terminal device, the at least one receiver deployed on the first side including a first receiver, and the at least one receiver deployed on the second side including a second receiver; the method further includes: receiving a fifth signal through the first receiver and the second receiver, the fifth signal being used to determine the state of the terminal device.
[0009] In one possible implementation, the first signal and / or the second signal includes an ultrasound signal.
[0010] In one possible implementation, the state of the terminal device includes the state where the terminal device is in a pocket.
[0011] In one possible implementation, when the terminal device is conducting an audio service, a first signal is transmitted using a first transmitter in a first time period and a second signal is transmitted using a second transmitter in a second time period via an ultrasonic channel.
[0012] In one possible implementation, when no audio service is in progress on the terminal device, a third signal is transmitted using a first transmitter and a fourth signal is transmitted using a second transmitter through at least two audio channels.
[0013] In one possible implementation, transmitting a first signal using a first transmitter and a second transmitter includes: simultaneously transmitting a third signal using the first transmitter and transmitting a fourth signal using the second transmitter; or alternately transmitting a third signal using the first transmitter and transmitting a fourth signal using the second transmitter.
[0014] In one possible implementation, the first signal, the second signal, the third signal, and the fourth signal are periodically transmitted signals.
[0015] In one possible implementation, the first signal, the second signal, the third signal, the fourth signal, and the fifth signal are ultrasound signals.
[0016] In one possible implementation, the first transmitter and the second transmitter are speakers, and the first receiver and the second receiver are microphones.
[0017] Secondly, a chip is provided. This chip is deployed in a terminal device. The chip includes: a processor; and is configured to cause the terminal device to perform the methods described in the first aspect above by executing a computer program (or computer-executable instructions) stored in a memory, and / or by means of logic circuitry. Optionally, the number of processors may be one or more.
[0018] Thirdly, a terminal device is provided for implementing the above-described method. This terminal device can be the same as the terminal device described in the first aspect. The terminal device includes modules, units, or means corresponding to the implementation of the above-described method. These modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions.
[0019] In one possible implementation, the terminal device may include a processing module and a transceiver module. The processing module can be used to implement the processing functions in any of the above aspects and their possible implementations. The processing module may be, for example, a processor. The transceiver module, also referred to as a transceiver unit, is used to implement the sending and / or receiving functions in any of the above aspects and their possible implementations. The transceiver module may consist of transceiver circuitry, a transceiver, or a transceiver unit.
[0020] In one possible implementation, the transceiver module includes a sending module and a receiving module, which are used to implement the sending and receiving functions in any of the above aspects and any possible implementations.
[0021] Fourthly, a terminal device is provided, comprising: a processor; configured to cause the terminal device to perform the method described in the first aspect by executing a computer program (or computer-executable instructions) stored in a memory, and / or by means of logic circuitry. The terminal device may be the same as the terminal device described in the first aspect. Optionally, the number of processors may be one or more.
[0022] In one possible implementation, the terminal device also includes a memory.
[0023] In one possible implementation, the processor and memory are integrated together; alternatively, the memory is independent of the processor.
[0024] In one possible implementation, the terminal device is a chip or a chip system. Optionally, when the terminal device is a chip system, it can be composed of chips or may include chips and other discrete components.
[0025] Fifthly, a terminal device is provided, comprising: a processor and an interface circuit; the interface circuit is configured to receive a computer program or instructions and transmit them to the processor; the processor is configured to execute the computer program or instructions to cause the terminal device to perform the method described in the first aspect above. The terminal device may be the same as described in the first aspect. Optionally, the number of processors may be one or more.
[0026] In one possible implementation, the terminal device is a chip or a chip system. Optionally, when the terminal device is a chip system, it can be composed of chips or may include chips and other discrete components.
[0027] In a sixth aspect, a computer-readable storage medium is provided that stores instructions which, when executed on a computer, enable the computer to perform the method described in the first aspect.
[0028] In a seventh aspect, a computer program product containing instructions is provided, which, when run on a computer, enables the computer to perform the method described in the first aspect.
[0029] It is understandable that the technical effects of any possible implementation of the second to seventh aspects mentioned above can be seen in the technical effects of different possible implementations of the first aspect or any other aspect mentioned above, and will not be repeated here.
[0030] Understandably, provided that the solutions do not contradict each other, the solutions in the above aspects can be combined. Attached Figure Description
[0031] Figure 1 A schematic diagram of the hardware structure of the terminal device provided in this application;
[0032] Figure 2 A flowchart of the signal transmission method provided in this application;
[0033] Figure 3 A schematic diagram of the audio path of the terminal device provided in this application;
[0034] Figure 4 A schematic diagram of transmitting ultrasonic signals for the terminal device provided in this application. Figure 1 ;
[0035] Figure 5 A schematic diagram of transmitting ultrasonic signals for the terminal device provided in this application. Figure 2 ;
[0036] Figure 6 A schematic diagram of transmitting ultrasonic signals for the terminal device provided in this application. Figure 3 ;
[0037] Figure 7 A schematic diagram of the structure of the terminal device provided in this application. Detailed Implementation
[0038] Currently, one method to prevent accidental touches on a terminal device when the screen is off is as follows: When the terminal device is in a screen-off state, it emits an ultrasonic signal and receives the reflected ultrasonic signal. If the energy of the reflected signal is greater than a threshold, the terminal device remains in a screen-off state. This method can only determine whether the area near the ultrasonic transmitter is blocked, but it cannot distinguish whether only the top of the terminal device is blocked, or whether the terminal device is placed in a pocket. Furthermore, this method cannot address the situation where the top speaker may not be blocked when the terminal device is placed in a pocket.
[0039] Another method to prevent accidental touches when the screen is off involves using ultrasound instead of a light sensor. The terminal device's ultrasonic transmitter emits N ultrasonic signals, and the first data of the ultrasonic echo signals is input into a first classification model to obtain a first scene type. Based on the first scene type, it is determined whether the terminal device is in an obstructed state. If so, the terminal device activates the anti-accidental touch function. However, this solution cannot solve the problem that when the terminal device is placed in a pocket, the top speaker may not be obstructed.
[0040] Therefore, determining the attitude information of the terminal device becomes particularly important. Currently, the attitude information of the terminal device can be obtained using its sensors, thereby determining the signal mode of the ultrasonic transmitter. Microphones at the top and bottom of the terminal device simultaneously receive reflected and direct ultrasonic signals for judgment. However, the above approach has certain drawbacks: 1. Using only a single ultrasonic transmitter leads to lower accuracy in the judgment; 2. Currently, the terminal device only has one ultrasonic path at its core, and the terminal device can only support the transmission of one ultrasonic signal at a time.
[0041] Therefore, this application proposes a signal transmission method that enables low-power ultrasonic pocket anti-mistouch operation under different postures. The method includes: when the terminal device has audio service, using one ultrasonic path, transmitting ultrasonic signals using two speakers at different times; when the terminal device does not have audio service, directly using a normal audio path, transmitting ultrasonic signals using two speakers. This method can be applied to terminal devices, specifically handheld touchscreen terminal devices, including mobile phones, tablets, etc., to detect whether the terminal device is in a pocket.
[0042] For example, the terminal device is a handheld device or wearable device. Examples include mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), ultra-mobile personal computers (UMPCs), satellite terminals, or smartwatches. The following examples illustrate this. Figure 1 The structure of the terminal device is described using the terminal device 10 shown as an example.
[0043] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a terminal device provided in this application. Figure 1 The terminal device 10 may specifically include: a processor 110, a display screen 120, a memory 130, and a sensor module 140. The terminal device 10 also includes at least one of a transmitter 151 or a transmitter 152, and at least one of a receiver 153 or a receiver 154. Optionally, the terminal device 10 may also include at least one of the following: a camera 160, an external memory interface 131, a universal serial bus (USB) interface 132, a charging management module 170, a power management module 171, a battery 172, antenna 1, antenna 2, a mobile communication module 180, a wireless communication module 181, an audio module 190, an indicator 191, or a subscribing identification module (SIM) card interface 192, etc. These will be described in detail below.
[0044] Processor 110 may include one or more processing units, such as: an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, or a neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors. The controller can generate operation control signals based on the instruction opcode and timing signals to control instruction fetching and execution.
[0045] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.
[0046] The memory 130 can be used to store computer executable program code, which includes instructions. The memory 130 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the terminal device 10 (such as audio data, phonebook, etc.). Furthermore, the memory 130 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 10 by running instructions stored in the memory 130 and / or instructions stored in memory located within the processor. The processor 110 and the memory 130 may be integrated together or deployed independently.
[0047] The external storage interface 131 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 10. The external storage card communicates with the processor 110 through the external storage interface 131 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0048] Transmitter 151 or transmitter 152 is used to transmit signals, such as sound wave signals. Receiver 153 or receiver 154 is used to receive signals, such as sound wave signals. The sound wave can be ultrasound or infrasound. Based on the characteristics of sound waves, such as line-of-sight (LoS) propagation and reflection or refraction at interfaces between different media, processor 110 can control transmitter 151 and / or transmitter 152 to transmit sound wave signals, and receiver 153 and / or receiver 154 can receive reflected and direct sound wave signals. The received sound wave signals are then sent to processor 110, which can then determine whether the terminal device 10 needs to activate the anti-mistouch mode based on the transmitted and received sound wave signals, thereby improving the user experience.
[0049] Optionally, transmitter 151 or transmitter 152 may be a speaker or other device of terminal device 10, and receiver 153 or receiver 154 may be a microphone or other device of terminal device 10, without limitation.
[0050] Figure 1 The illustration is based on the example where transmitter 151 and receiver 153 are located at the top of terminal device 10, and transmitter 152 and receiver 154 are located at the bottom of terminal device 10. In specific applications, transmitter 151 and receiver 153 can also be located on the left side of terminal device 10, and transmitter 152 and receiver 154 can also be located on the right side of terminal device 10, without limitation.
[0051] Sensor module 140 may include at least one sensor. For example, sensor module 140 includes a touch sensor and an accelerometer. Optionally, sensor module 140 may also include at least one of the following sensors: a gyroscope sensor, a proximity sensor, an ambient light sensor, a distance sensor, or a fingerprint sensor. The functions of each sensor are briefly described below.
[0052] A touch sensor, also known as a "touch device," can be located on the display screen 120. The touch sensor and the display screen 120 together form a touchscreen, also called a "touchscreen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 120. In some embodiments, the touch sensor may also be located on the surface of the terminal device 10, in a different position than the display screen 120.
[0053] An accelerometer can detect the magnitude of acceleration in various directions (typically three axes) of the terminal device 10. When the terminal device 10 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the terminal device, and can be applied to applications such as landscape / portrait switching and pedometers.
[0054] A gyroscope sensor can be used to determine the motion attitude of the terminal device 10. In some embodiments, the angular velocity of the terminal device 10 about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor. A distance sensor is used to measure distance.
[0055] Terminal device 10 can measure distance using infrared or laser. In some embodiments, during a shooting scenario, terminal device 10 can utilize a distance sensor to measure distance for rapid focusing. The proximity sensor may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. Terminal device 10 emits infrared light outward through the LED. Terminal device 10 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near terminal device 10. When insufficient reflected light is detected, terminal device 10 can determine that there is no object near terminal device 10. Terminal device 10 can utilize the proximity sensor to detect when a user holds terminal device 10 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor can also be used in holster mode and pocket mode for automatic unlocking and screen locking.
[0056] A fingerprint sensor is used to collect fingerprints. Terminal device 10 can use the collected fingerprint characteristics to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0057] An ambient light sensor is used to detect ambient light intensity. The terminal device 10 can adaptively adjust the brightness of its display screen 120° based on the detected ambient light intensity. The ambient light sensor can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor can also work in conjunction with a proximity sensor to detect whether the terminal device 10 is in a pocket, preventing accidental touches.
[0058] Terminal device 10 implements display functions through a GPU, display screen 120, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 120 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0059] The display screen 120 is used to display images, videos, etc. The display screen 120 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 10 may include one or N display screens 120, where N is a positive integer greater than 1.
[0060] Terminal device 10 can implement audio functions, such as music playback and recording, through audio module 190 and application processor. Audio module 190 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 190 can also be used for encoding and decoding audio signals. In some embodiments, audio module 190 can be located in processor 110, or some functional modules of audio module 190 can be located in processor 110. Optionally, audio module 190 can be connected to one or more of a speaker, receiver, microphone, or headphone jack to implement audio functions, such as music playback and recording.
[0061] Terminal device 10 can perform shooting functions through camera 160, video codec, GPU, display 120 and application processor.
[0062] Camera 160 is used to capture still images or videos. In some embodiments, terminal device 10 may include one or N cameras 160, where N is a positive integer greater than 1. If terminal device 10 includes N cameras, one of the N cameras is the main camera.
[0063] The charging management module 170 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 170 receives charging input from the wired charger via a USB interface 132. In some wireless charging embodiments, the charging management module 170 receives wireless charging input via the wireless charging coil of the terminal device 10. While charging the battery 172, the charging management module 170 can also supply power to the terminal device via the power management module 171.
[0064] The power management module 171 connects the battery 172, the charging management module 170, and the processor 110. The power management module 171 receives input from the battery 172 and / or the charging management module 170, providing power to the processor 110, memory 130, display screen 120, camera 160, and wireless communication module 181, etc. The power management module 171 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 171 may also be located within the processor 110. In other embodiments, the power management module 171 and the charging management module 170 may be located in the same device.
[0065] The wireless communication function of the terminal device 10 can be implemented through antenna 1, antenna 2, mobile communication module 180, wireless communication module 181, modem processor, and baseband processor.
[0066] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 10 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0067] The mobile communication module 180 can provide solutions for wireless communication applications on the terminal device 10, including 2G, 3G, 4G, and 5G. The mobile communication module 180 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 180 can receive electromagnetic waves via the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 180 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 180 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 180 and at least some modules of the processor 110 may be housed in the same device.
[0068] The wireless communication module 181 can provide solutions for wireless communication applications on the terminal device 10, including wireless local area networks (WLANs) (such as Wi-Fi), Bluetooth, Global Navigation Satellite System (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR). The wireless communication module 181 can be one or more devices integrating at least one communication processing module. The wireless communication module 181 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 181 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0069] In some embodiments, the antenna 1 of the terminal device 10 is coupled to the mobile communication module 180, and the antenna 2 is coupled to the wireless communication module 181, so that the terminal device 10 can communicate with the network and other devices through wireless communication technology.
[0070] Indicator 191 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0071] The SIM card interface 192 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 192 to make contact with and detach from the terminal device 10. The terminal device 10 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The terminal device 10 interacts with the network through the SIM card to achieve functions such as voice calls and data communication.
[0072] The terminal device 10 also includes an ultrasonic detection module and a status tracking module. The ultrasonic detection module receives ultrasonic signals from the receiver 153 and processes these signals to determine whether the terminal device 10 is in a pocket. The status tracking module adjusts the ultrasonic signal transmission method based on sensors such as an accelerometer after the ultrasonic detection module determines that the terminal device 10 is in a pocket and activates the pocket anti-mistouch mode.
[0073] Understandable. Figure 1 The structural composition shown herein does not constitute a limitation on the terminal device, except... Figure 1 In addition to the components shown, the terminal device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0074] The method provided in this application will now be described with reference to the accompanying drawings. The terminal device in the following embodiments may include... Figure 1 The components shown are not described in detail.
[0075] It is understood that in this application, " / " can indicate that the objects before and after it are in an "or" relationship. For example, A / B can mean A or B. "And / or" can be used to describe three relationships between the related objects. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural. Furthermore, expressions like "at least one of A, B, and C" or "at least one of A, B, or C" are generally used to indicate any of the following: A exists alone; B exists alone; C exists alone; A and B exist simultaneously; A and C exist simultaneously; B and C exist simultaneously; A, B, and C exist simultaneously. The above examples using three elements (A, B, and C) illustrate the optional entries for this item. When the expression contains more elements, its meaning can be obtained according to the aforementioned rules.
[0076] To facilitate the description of the technical solutions of this application, the terms "first" and "second" may be used to distinguish technical features with the same or similar functions. The terms "first" and "second" do not limit the number or execution order, nor do they imply that they are necessarily different. In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or design schemes. The use of "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.
[0077] It is understood that the term "embodiment" used throughout the specification means that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, various embodiments throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It is understood that in the various embodiments of this application, the sequence number of each process does not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of this application.
[0078] It is understood that in this application, "when," "under the circumstances," "if," and "if" all refer to the corresponding processing that will be carried out under certain objective circumstances, and are not time-limited, nor do they require that there must be a judgment action when implemented, nor do they imply any other limitations.
[0079] In this application, "greater than or equal to" can be replaced with "greater than" or "equal to"; "less than or equal to" can be replaced with "less than" or "equal to". For example, "A is greater than or equal to B" can be replaced with "A is greater than B" or "A is equal to B"; "A is less than or equal to B" can be replaced with "A is less than B" or "A is equal to B".
[0080] It is understood that some optional features in this application can be implemented independently in certain scenarios without relying on other features, such as the current underlying solution, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the terminal device provided in this application can also implement these features or functions, which will not be elaborated here.
[0081] It is understood that the same step or step with the same function or technical feature in this application can be referenced and learned from each other in different embodiments.
[0082] The following is based on Figure 1The terminal device 10 shown is used as an example to illustrate the method provided in this application, but this application does not limit the subject of execution. For example, the terminal device 10 in the method provided below in this application may also be a chip, chip system, or processor (such as processor 110) that supports the implementation of the method by the terminal device 10, or it may be a logical node, logical module, or software that can implement all or part of the functions of the terminal device 10.
[0083] It is understood that in this application, the terminal device 10 may perform some or all of the steps in this application. These steps are merely examples, and this application may also perform other steps or variations thereof. Furthermore, the steps may be performed in different orders as presented in this application, and it is not necessary to perform all the steps in this application.
[0084] like Figure 2 As shown, this application provides a signal transmission method, which may include the following steps:
[0085] Step S201: The terminal device determines whether there is an audio service in progress.
[0086] Specifically, after enabling ultrasonic detection (such as ultrasonic pocket mode detection), the terminal device can detect whether there is an audio service in progress on the terminal device, such as the terminal device playing music or video, or the terminal device being in a voice or video call.
[0087] Step S202a: When the terminal device determines that an audio service is in progress, it sends a first signal using a first transmitter during a first time period and sends a second signal using a second transmitter during a second time period. The first and second time periods do not overlap.
[0088] Specifically, the first transmitter and the second transmitter can be loudspeakers.
[0089] The first and second signals can be ultrasonic signals, used for ultrasonic detection to determine the status of the terminal device. The status of the terminal device can include whether it is in a pocket, or in a closed space such as a handbag or backpack. After determining the status of the terminal device, it can decide whether to activate the accidental touch prevention mode.
[0090] The terminal device can receive a fifth signal through a first receiver and a second receiver. This fifth signal is used to determine the status of the terminal device. The first receiver and the second receiver can be microphones. The fifth signal can be an ultrasonic signal. The fifth signal can be a signal obtained by reflecting and / or directly transmitting the aforementioned first signal and second signal. The terminal device determines its status by detecting the fifth signal. After determining the status of the terminal device, the terminal device can decide whether to enable the anti-mistouch mode.
[0091] Specifically, such as Figure 3 As shown, when the terminal device detects that an audio service is in progress, the data stream of that audio service can be sent to speaker 1 and speaker 2 through the audio path, thereby playing audio through speaker 1 and speaker 2. For example, the audio can be mono or stereo. Because an audio service is in progress, the terminal device needs to transmit an ultrasonic signal to speaker 1 or speaker 2 through the ultrasonic path. Since the ultrasonic path can only connect to one speaker at a time, the ultrasonic signal needs to be transmitted through the ultrasonic path in speaker 1 or speaker 2 for a period of time. The terminal device can initially select one of speaker 1 and speaker 2 to send the ultrasonic signal, and then switch to the other speaker to send the ultrasonic signal after a period of time.
[0092] Optionally, the ultrasound signal can be a periodic ultrasound signal.
[0093] Since the switching of the ultrasonic path has a certain time delay and will affect the normal audio playback of the terminal device, the ultrasonic path is switched only once in the optimal embodiment to avoid frequently sending ultrasonic signals in a round-robin manner between the two speakers.
[0094] For example, such as Figure 4 As shown, the terminal device can choose to use speaker 1 to send a first periodic ultrasound signal in a first time period, and after the ultrasound channel switching occurs, send a second periodic ultrasound signal in a second time period. The first time period and the second time period do not overlap.
[0095] Optionally, the first periodic ultrasound signal can be the same as the second periodic ultrasound signal, or it can be a different ultrasound signal.
[0096] In some embodiments, the terminal device may use a speaker located on the first side of the terminal device to transmit an ultrasonic signal during a first time period, and after an ultrasonic path switching occurs, use a speaker located on the second side of the terminal device to transmit an ultrasonic signal during a second time period. The first side and the second side of the terminal device may be the top and bottom of the terminal device, the left side and the right side of the terminal device, or two sides of the terminal device that are not on the same side.
[0097] In some embodiments, the terminal device can also select the transmission order of ultrasonic signals based on the orientation of the terminal device. For example, when the terminal device is placed top down, the ultrasonic signal is transmitted first using the speaker located at the top in a first time period, and then the ultrasonic signal is transmitted secondly using the speaker located at the bottom in a second time period. Alternatively, when the terminal device is placed top up, the ultrasonic signal is transmitted first using the speaker located at the bottom in a first time period, and then the ultrasonic signal is transmitted secondly using the speaker located at the top in a second time period.
[0098] Step S202b: When the terminal device determines that there is no audio service in progress, it sends a third signal using the first transmitter and a fourth signal using the second transmitter.
[0099] Specifically, the first transmitter and the second transmitter can be loudspeakers.
[0100] The third and fourth signals can be ultrasonic signals, used for ultrasonic detection to determine the status of the terminal device. The status of the terminal device can include whether it is in a pocket, or in a closed space such as a handbag or backpack. After determining the status of the terminal device, it can decide whether to activate the accidental touch prevention mode.
[0101] The terminal device can receive a fifth signal through a first receiver and a second receiver. This fifth signal is used to determine the status of the terminal device. The first receiver and the second receiver can be microphones. The fifth signal can be an ultrasonic signal. This fifth signal can be a signal obtained by reflecting and / or directly transmitting the aforementioned third and fourth signals. The terminal device determines its status by detecting the fifth signal. After determining the status of the terminal device, the terminal device can decide whether to enable the anti-mistouch mode.
[0102] Specifically, such as Figure 3 As shown, when the terminal device detects that no audio service is in progress, it can directly transmit ultrasonic signals to speaker 1 and speaker 2 through two audio channels. The terminal device can send ultrasonic signals through both speakers simultaneously.
[0103] Optionally, the ultrasound signal can be a periodic ultrasound signal.
[0104] In some embodiments, the terminal device can transmit orthogonal ultrasonic signals via speaker 1 and speaker 2, such as... Figure 5 As shown. At this time, the periodic ultrasonic signals transmitted by speaker 1 and speaker 2 can overlap in the time domain.
[0105] In some embodiments, the terminal device can transmit alternating ultrasonic signals via speaker 1 and speaker 2, such as Figure 6 As shown. At this time, the periodic ultrasonic signals transmitted through speaker 1 and speaker 2 can be transmitted alternately in the time domain.
[0106] Based on the above method, when the terminal device has only one ultrasonic channel, ultrasonic signals can be sent using two speakers through a single channel switch for pocket mode detection, thereby improving the detection success rate. When the terminal device does not have audio services, the ultrasonic signal can be sent directly using the ordinary audio channel, which can reduce the detection latency.
[0107] Understandably, the actions of the terminal device 10 in the above steps can be performed by... Figure 1 The processor 110 in the terminal device 10 shown calls the application code stored in the memory 130 to execute it, and this application does not impose any restrictions on this.
[0108] This application also provides a terminal device, which can be the terminal device in the above method embodiments, or an apparatus including the above terminal device, or a component that can be used in a terminal device. It is understood that, in order to achieve the above functions, the terminal device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the unit and algorithm operations of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0109] This application can divide the terminal device into functional modules based on the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It is understood that the module division in this application is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0110] For example, when dividing the functional modules using an integrated approach. Figure 7 A schematic diagram of a terminal device 90 is shown. The terminal device 90 includes a processing module 901 and a transceiver module 902. The processing module 901, also called a processing unit, is used to perform operations other than transmission and reception operations; for example, it can be a processing circuit or a processor. The transceiver module 902, also called a transceiver unit, is used to perform transmission and reception operations; for example, it can be a transceiver circuit, a transceiver, or a transceiver unit. For example, the transceiver module 902 includes the aforementioned first transmitter, second transmitter, first receiver, and second receiver.
[0111] In some embodiments, the terminal device 90 may further include a storage module ( Figure 7 (Not shown in the image) is used to store program instructions and data.
[0112] For example, terminal device 90 is used to implement the functions of a terminal device. Terminal device 90 is, for example, a... Figure 1 The terminal device described in the illustrated embodiment.
[0113] In a simplified embodiment, those skilled in the art will recognize that the terminal device 90 can employ... Figure 1 The form shown. For example, Figure 1 The processor 110 can call computer execution instructions stored in the memory 130 to cause the terminal device 90 to execute the method described in the above method embodiment.
[0114] For example, Figure 7 The function / implementation process of the processing module 901 can be achieved through... Figure 1 The processor 110 in the memory calls computer execution instructions stored in the memory 130 to implement this. Figure 7 The function / implementation process of the transceiver module 902 in the middle can be obtained through Figure 1 This is achieved through transmitter 151, transmitter 152, receiver 153, and receiver 154.
[0115] It is understood that one or more of the above modules or units can be implemented by software, hardware, or a combination of both. When any of the above modules or units are implemented by software, the software exists as computer program instructions and is stored in memory. The processor can be used to execute the program instructions and implement the above method flow. The processor can be built into a system-on-a-chip (SoC) or ASIC, or it can be a separate semiconductor chip. In addition to the core that executes the software instructions for computation or processing, the processor may further include necessary hardware accelerators, such as field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), or logic circuits that implement dedicated logic operations.
[0116] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of a CPU, microprocessor, digital signal processing (DSP) chip, microcontroller unit (MCU), artificial intelligence processor, ASIC, SoC, FPGA, PLD, application-specific digital circuit, hardware accelerator, or non-integrated discrete device, which can run the necessary software or perform the above method flow independently of software.
[0117] Optionally, this application also provides a chip system, including: at least one processor and an interface, wherein the at least one processor is coupled to a memory via the interface, and when the at least one processor executes a computer program or instructions in the memory, the method in any of the above method embodiments is executed. In one possible implementation, the chip system further includes a memory. Optionally, the chip system may be composed of chips or may include chips and other discrete devices; this application does not specifically limit this.
[0118] Optionally, this application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be implemented by a computer program instructing related hardware. This program can be stored in the aforementioned computer-readable storage medium. When executed, the program can include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the terminal device in any of the foregoing embodiments, such as the hard disk or memory of the terminal device. The aforementioned computer-readable storage medium can also be an external storage device of the terminal device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD), flash card, etc., equipped on the terminal device. Further, the aforementioned computer-readable storage medium can include both internal storage units and external storage devices of the terminal device. The aforementioned computer-readable storage medium is used to store the aforementioned computer program and other programs and data required by the terminal device. The aforementioned computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0119] Optionally, this application also provides a computer program product. All or part of the processes in the above method embodiments can be executed by a computer program instructing related hardware. This program can be stored in the above computer program product, and when executed, it can include the processes described in the above method embodiments.
[0120] Optionally, this application also provides computer instructions. All or part of the processes in the above method embodiments can be executed by computer instructions instructing related hardware (such as a computer, processor, or terminal device). The program can be stored in the aforementioned computer-readable storage medium or the aforementioned computer program product.
[0121] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal device can be divided into different functional modules to complete all or part of the functions described above.
[0122] In the several embodiments provided in this application, it should be understood that the disclosed methods and terminal devices can be implemented in other ways. For example, the terminal device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another terminal device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0123] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0124] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0125] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A signal transmission method, characterized in that, The method is applied to a terminal device, wherein at least one transmitter is deployed on a first side and a second side of the terminal device, the first side and the second side are not located on the same side of the terminal device; the at least one transmitter deployed on the first side includes a first transmitter, and the at least one transmitter deployed on the second side includes a second transmitter; the method includes: Determine if an audio service is running on the terminal device; When the terminal device is performing an audio service, it uses the first transmitter to send a first signal in a first time period and uses the second transmitter to send a second signal in a second time period. The first time period and the second time period do not overlap. When the terminal device is not performing any audio service, it uses the first transmitter to send a third signal and the second transmitter to send a fourth signal. The first signal, the second signal, the third signal, and the fourth signal are used to determine the state of the terminal device.
2. The method according to claim 1, characterized in that, At least one receiver is deployed on the first side and the second side of the terminal device, respectively, wherein the at least one receiver deployed on the first side includes a first receiver, and the at least one receiver deployed on the second side includes a second receiver; the method further includes: The fifth signal is received by the first receiver and the second receiver, and the fifth signal is used to determine the status of the terminal device.
3. The method according to claim 1 or 2, characterized in that, The first signal and / or the second signal include an ultrasonic signal.
4. The method according to any one of claims 1-3, characterized in that, The state of the terminal device includes the state where the terminal device is in a pocket.
5. The method according to any one of claims 1-4, characterized in that, When the terminal device is performing an audio service, it transmits the first signal using the first transmitter through an ultrasonic channel during a first time period and transmits the second signal using the second transmitter during a second time period.
6. The method according to any one of claims 1-4, characterized in that, When the terminal device is not performing any audio service, it transmits a third signal using the first transmitter and a fourth signal using the second transmitter through at least two audio channels.
7. The method according to any one of claims 1-4 or 6, characterized in that, Sending a first signal using the first transmitter and the second transmitter includes: Simultaneously, the first transmitter is used to send a third signal, and the second transmitter is used to send a fourth signal; or The first transmitter is used alternately to send the third signal, and the second transmitter is used to send the fourth signal.
8. The method according to any one of claims 1-7, characterized in that, The first signal, the second signal, the third signal, and the fourth signal are periodically transmitted signals.
9. The method according to any one of claims 1-8, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are ultrasound signals.
10. The method according to any one of claims 1-9, characterized in that, The first transmitter and the second transmitter are speakers, and the first receiver and the second receiver are microphones.
11. A terminal device, characterized in that, Includes units or modules for performing the method as described in any one of claims 1 to 10.
12. A chip, characterized in that, Deployed in a terminal device, at least one transmitter is deployed on a first side and a second side of the terminal device, respectively, wherein the first side and the second side are not located on the same side of the terminal device; the at least one transmitter deployed on the first side includes a first transmitter, and the at least one transmitter deployed on the second side includes a second transmitter; the chip is used to perform the following operations: Determine if an audio service is running on the terminal device; When the terminal device is performing an audio service, it uses the first transmitter to send a first signal in a first time period and uses the second transmitter to send a first signal in a second time period, and the first time period and the second time period are different. When the terminal device is not performing any audio service, it uses the first transmitter and the second transmitter to send a first signal; The first signal is used to determine the status of the terminal device.
13. A terminal device, characterized in that, include: A processor coupled to a memory for storing programs or instructions that, when executed by the processor, cause the terminal device to perform the method as described in any one of claims 1 to 10.
14. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed, they cause the computer to perform the method as described in any one of claims 1 to 10.
15. A computer program product, said computer program product comprising computer program code, characterized in that, When the computer program code is run on a computer, it causes the computer to perform the method according to any one of claims 1 to 10.