Call control method, system, and related apparatus
By detecting the status of the stylus, the electronic device selects the appropriate microphone to collect audio data, solving the problem of audio data clarity of the stylus in different call scenarios and improving the user's call experience.
Patent Information
- Application Number
- PCT/CN2025/083335
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-21
- Filing Date
- 2025-03-19
- Publication Date
- 2025-09-25
AI Technical Summary
The functions of existing styluses are relatively simple and cannot meet users' audio data collection needs in different call scenarios. In particular, when the user is moving or far away from the device, the audio data is not clear enough.
By detecting whether the stylus is held by the user and facing the speaking party, the electronic device chooses to use its own microphone or the stylus's microphone to collect audio data to meet the needs of different call scenarios.
Improved audio clarity, especially when the user is moving or far away from the device, provides a better call experience and supports multi-person conference call scenarios.
Smart Images

Figure CN2025083335_25092025_PF_FP_ABST
Abstract
Description
A call control method, system and related device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 21, 2024, with application number 202410330913.3 and application name “A call control method, system and related devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminals, and in particular to a call control method, system and related devices. Background Art
[0003] With the increasing popularity of electronic devices such as mobile phones and tablets, input methods for these devices are becoming increasingly diverse. Nowadays, users often use styluses as a common input device, enabling functions such as clicking, drawing, and text entry on electronic devices. However, current stylus applications are limited, and their functions are relatively simple, failing to meet users' growing usage needs. Summary of the Invention
[0004] The present application provides a call control method, system and related devices, which realize the acquisition of the status of the stylus when the electronic device starts to collect audio. Based on the status of the stylus, the electronic device collects audio data through the microphone of the electronic device and / or the microphone of the stylus. The electronic device determines the microphone to collect audio data based on whether the stylus is held by the user, whether it is adsorbed on the electronic device or whether it is facing the speaking object, so that the electronic device can collect audio data at a shorter distance through its own microphone and collect audio data at a longer distance through the microphone of the stylus, helping users to collect audio data in different call scenarios and providing users with a better call experience.
[0005] In a first aspect, the present application provides a call control method, which is applied to an electronic device including a first microphone, the method comprising: receiving a first input; in response to the first input, if it is detected that the stylus is held by the user, collecting audio data through the second microphone of the stylus; if it is detected that the stylus is not held by the user, collecting audio data through the first microphone. In this way, the electronic device chooses to use the first microphone or the second microphone to collect audio data based on whether the stylus is held by the user. The electronic device can collect clearer audio data through the stylus when the user moves or the user is far away from the electronic device. The electronic device can also collect audio data of multiple users through the microphone of the electronic device when multiple users are present, which is suitable for scenarios where multiple people hold conference calls through electronic devices.
[0006] In some examples, the first input is an input for starting audio collection, such as an input for answering / dialing a call, an input for starting recording, etc. Thus, after receiving the input for starting audio data collection, the electronic device obtains the state of the stylus and selects the corresponding microphone.
[0007] In one possible implementation, if it is detected that the stylus is not being held by the user, audio data is collected through the first microphone, including: if it is detected that the stylus is not being held by the user and is attached to the electronic device, audio data is collected through the first microphone. In this way, the electronic device detects that the stylus is attached to the electronic device, indicating that the user is not using the stylus. The stylus's microphone may also be blocked by the electronic device. The electronic device collects audio data through the first microphone, which better meets the user's audio collection needs and can collect clearer audio.
[0008] In one possible implementation, the method further includes: if it is detected that the stylus is not held by the user and is not attached to the electronic device, pausing audio data collection and displaying a first prompt message, where the first prompt message is used to prompt the user to mute the microphone. In this way, when the stylus is idle, for example, when the stylus is placed on a desktop, the electronic device may tend to assume that the user wants to pause speaking. To protect the user's privacy, the electronic device may mute the microphone and suspend audio data collection.
[0009] In some examples, the first prompt information may include a mute icon, which may indicate that the electronic device is muted. In this way, the user can understand that the electronic device is muted through the mute icon, which facilitates the user to perform subsequent mute operations.
[0010] In one possible implementation, if the stylus is detected to be held by the user, audio data is collected via the second microphone of the stylus, including: if the stylus is detected to be held by the user and directed toward the person speaking, audio data is collected via the second microphone. In this way, when the stylus is directed toward the person speaking, there is a high probability that the distance between the microphone of the stylus and the person speaking is smaller than the distance between the microphone of the electronic device and the person speaking, and the electronic device can collect clearer audio data from the person speaking through the stylus.
[0011] In one possible implementation, if the stylus is detected to be held by the user, audio data is collected via the second microphone of the stylus, including: if the stylus is detected to be held by the user and not pointed at the speaker, audio data is collected via the first microphone and the second microphone. In this way, when the stylus is not pointed at the speaker, multiple speakers near the electronic device may be speaking freely. The electronic device can use the first microphone and the second microphone to jointly collect audio data from the nearby speakers, thereby capturing relatively clear audio data from different speakers.
[0012] In one possible implementation, collecting audio data through the second microphone includes collecting audio data in the direction of the speaker toward which the stylus is pointed. Thus, when the stylus is pointed toward a speaker, the electronic device can collect audio data in that direction through the second microphone. When the speaker toward which the stylus is pointed is speaking, the audio data collected by the electronic device through the second microphone includes audio data from the speaker toward which the stylus is pointed. In scenarios where a single person is speaking, the stylus can be used as a microphone to collect audio data from the speaker.
[0013] In some examples, the electronic device transmits the collected audio data to another electronic device that is in communication with the electronic device, and the other electronic device plays the audio data.
[0014] In one possible implementation, after pausing audio data collection and displaying the first prompt information, the method further includes: receiving a first instruction sent by the stylus; and in response to the first instruction, canceling the display of the first prompt information and continuing audio data collection. In this way, when the electronic device pauses audio data collection, the user can use the stylus to trigger the electronic device to resume audio data collection.
[0015] In one possible implementation, the method further includes: receiving a second instruction sent by the stylus; and adjusting the volume of the electronic device in response to the second instruction. In this way, the user can adjust the volume of the audio played by the electronic device using the stylus while using the stylus, which makes it more convenient for the user to adjust the volume without switching devices.
[0016] In one possible implementation, the method further includes: displaying a call interface in response to the first input; receiving a third instruction sent by the stylus; and ending the call and canceling the display of the call interface in response to the third instruction. In this way, the user can trigger the electronic device to end a call using the stylus while using the stylus, eliminating the need for the user to switch devices, which is more convenient.
[0017] In some examples, the method further includes: displaying a recording control in response to the first input, the recording control being used to indicate that the electronic device is capturing audio; receiving a third instruction sent by the stylus; and, in response to the third instruction, ending recording and removing the display of the recording control. This allows the user to trigger the electronic device to end recording or voice capture using the stylus while using the stylus, eliminating the need for the user to switch devices, which is more convenient.
[0018] In one possible implementation, the method further includes: in response to the first input, sending a fourth instruction to the stylus, the fourth instruction being used to instruct the stylus to detect a state of the stylus; and receiving a first state sent by the stylus, the first state comprising one or more of being held by a user, not held by a user, attached to an electronic device, not attached to an electronic device, facing a speaking party, or not facing a speaking party. Thus, after receiving the first input, the electronic device instructs the stylus to detect the state of the stylus via the fourth instruction. After receiving the first state of the stylus, the electronic device determines a microphone for collecting audio data based on the first state of the stylus.
[0019] In a second aspect, the present application provides a call control method for a stylus including a second microphone. The method comprises: receiving a fourth instruction from an electronic device, the fourth instruction instructing the stylus to detect its state; transmitting a first state to the electronic device, the first state comprising one or more of being held by a user, not held by a user, attached to the electronic device, not attached to the electronic device, facing a speaker, or not facing a speaker; if the first state indicates that the stylus is held by a user, receiving a fifth instruction from the electronic device; responding to the fifth instruction, collecting audio data via the second microphone; and transmitting the audio data to the electronic device. Thus, after receiving the fourth instruction from the electronic device, the stylus can detect its state and transmit the state back to the electronic device. The electronic device can determine which microphone to use based on the stylus state. When the electronic device receives the first state indicating that the stylus is held by a user, it instructs the stylus to collect audio data via the fifth instruction. The stylus can transmit the collected audio data to the electronic device, which then collects the audio data.
[0020] In one possible implementation, if the first state indicates that the stylus is being held by a user and directed toward a speaker, in response to a fifth instruction, collecting audio data via the second microphone includes: collecting audio data in the direction of the speaker toward which the stylus is directed, via the second microphone. Thus, when the electronic device receives the first state indicating that the stylus is being held by a user and directed toward a speaker, the fifth instruction instructs the stylus to collect audio data in the direction of the speaker toward which the stylus is directed. The stylus can transmit the collected audio data to the electronic device, and when the speaker speaks, the audio data collected by the electronic device includes the speaker's audio data.
[0021] In one possible implementation, the method further includes: detecting a second user input; and in response to the second input, sending a first instruction to the electronic device, wherein the first instruction is used to trigger the electronic device to switch a microphone state, where the microphone state includes a mute state and an unmute state. In this way, the stylus is used to detect user input and trigger the electronic device to perform a corresponding operation. When using the stylus, the user can control the electronic device without switching the operating electronic device, making it easier for the user to operate the electronic device from a distance.
[0022] In one possible implementation, the method further includes: detecting a third input from the user; and in response to the third input, sending a second instruction to the electronic device, wherein the second instruction is used to trigger the electronic device to adjust the volume of the electronic device. In this way, while the user speaks with the stylus, they can use the stylus to control the volume of the audio played by the electronic device, making it convenient for the user to adjust the volume of the electronic device remotely.
[0023] In one possible implementation, the method further includes: detecting a fourth user input; and in response to the fourth input, sending a third instruction to the electronic device, wherein the third instruction is used to trigger the electronic device to end the call. In this way, the user can end the call directly using the stylus, without having to click the electronic device while holding the stylus, which is more convenient.
[0024] In a third aspect, the invention is applied to a first communication system, wherein the first communication system includes an electronic device and a stylus, the electronic device including a first microphone, and the stylus including a second microphone; the method includes: the electronic device receiving a first input; the electronic device sending a fourth instruction to the stylus in response to the first input, the fourth instruction being used to instruct the stylus to detect a state of the stylus; after the stylus receives the fourth instruction, in response to the fourth instruction, sending a first state to the electronic device; if the first state received by the electronic device indicates that the stylus is being held by a user, sending a fifth instruction to the stylus; after the stylus receives the fifth instruction, in response to the fifth instruction, collecting audio data through the second microphone; if the first state received by the electronic device indicates that the stylus is not being held by the user, collecting audio data through the first microphone. In this way, the first communication system can provide users with a richer range of audio collection scenarios, facilitating the user to conveniently collect the required audio data.
[0025] In one possible implementation, if the first state received by the electronic device indicates that the stylus is not held by the user, the audio data is collected through the first microphone. In this way, the electronic device detects that the stylus is not held by the user and directly collects the audio data through the first microphone.
[0026] In one possible implementation, if the first state received by the electronic device indicates that the stylus is not held by the user and is not attached to the electronic device, the electronic device pauses collecting audio data and displays a first prompt message, where the first prompt message is used to prompt the user to mute the microphone. In this way, the electronic device detects that the stylus is attached to the electronic device and pauses collecting audio data.
[0027] In one possible implementation, if the first state received by the electronic device indicates that the stylus is being held by the user and is facing the person speaking, the electronic device sends a sixth instruction to the stylus. After receiving the sixth instruction, the stylus responds to the sixth instruction by collecting audio data through the second microphone. The stylus then sends the audio data to the electronic device. In this way, the electronic device detects that the stylus is being held by the user and is facing the person speaking, and instructs the stylus to collect audio data.
[0028] In one possible implementation, if the first state received by the electronic device indicates that the stylus is being held by the user and is facing the person speaking, the electronic device sends a sixth instruction to the stylus, including: if the first state received by the electronic device indicates that the stylus is being held by the user and is not facing the person speaking, collecting audio data via the first microphone and sending the sixth instruction to the stylus. In this way, the electronic device detects that the stylus is being held by the user and is not facing the person speaking, instructs the stylus to collect audio data, and simultaneously collects audio data itself.
[0029] In one possible implementation, after receiving the sixth instruction, the stylus pen responds to the sixth instruction by collecting audio data through the second microphone, including collecting audio data in the direction of the speaking person that the stylus pen is pointing at through the second microphone. In this way, the electronic device collects audio data of the speaking person through the stylus pen.
[0030] In one possible implementation, after the electronic device pauses collecting audio data and displays a first prompt message, the method further includes: the stylus receiving a second input; the stylus sending a first instruction to the electronic device in response to the second input; and after the electronic device receives the first instruction, the electronic device cancels the display of the first prompt message and resumes collecting audio data in response to the first instruction. In this way, when the electronic device pauses collecting audio data, the user can trigger the electronic device to resume collecting audio data using the stylus.
[0031] In one possible implementation, the method further includes: the stylus receiving a third input from the user; the stylus sending a second instruction to the electronic device in response to the third input; and the electronic device adjusting the volume of the electronic device in response to the second instruction after receiving the second instruction. In this way, while the user is speaking with the stylus, they can use the stylus to control the volume of the audio played by the electronic device, making it easier for the user to adjust the volume of the electronic device remotely.
[0032] In one possible implementation, the method further includes: the electronic device displays a call interface in response to the first input; the stylus receives a fourth input from the user; the stylus sends a third instruction to the electronic device in response to the fourth input; and the electronic device cancels the display of the call interface in response to the third instruction after receiving the third instruction. This allows the user to end the call directly using the stylus, eliminating the need to click the electronic device while holding the stylus, making the operation more convenient.
[0033] In some examples, the electronic device collects audio data via a first microphone and / or a second microphone, and the method further includes: receiving a fifth input via the stylus; sending a seventh instruction to the electronic device in response to the fifth input; and upon receiving the seventh instruction, the electronic device, in response to the seventh instruction, displays a first prompt message and pauses audio data collection. In this way, while the electronic device is collecting audio, the user can mute the electronic device using the stylus. In some examples, the content of the first instruction and the seventh instruction are the same.
[0034] In a fourth aspect, the present application provides an electronic device comprising: one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the electronic device executes any possible implementation method as in the first aspect.
[0035] In a fifth aspect, the present application provides a computer-readable storage medium that stores a computer program. When the computer program runs on a processor of an electronic device, the electronic device executes any possible implementation method as in the first aspect.
[0036] In a sixth aspect, the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute any possible implementation method in the first aspect.
[0037] In the seventh aspect, the present application provides a stylus comprising: one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the stylus executes any possible implementation method as in the second aspect.
[0038] In an eighth aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program runs on a processor of a stylus pen, the stylus pen executes any possible implementation method as described in the second aspect.
[0039] In a ninth aspect, the present application provides a computer program product, which, when running on a stylus, enables the stylus to execute any possible implementation method in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] FIG1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0041] FIG2 is a schematic diagram of the hardware structure of a stylus provided in an embodiment of the present application;
[0042] FIG3 is a schematic diagram of a communication system 10 provided in an embodiment of the present application;
[0043] FIG4 is a flow chart of a call control method according to an embodiment of the present application;
[0044] FIG5 is a flow chart of another call control method provided in an embodiment of the present application;
[0045] Figures 6A-6E are a set of scenario diagrams provided in an embodiment of the present application;
[0046] 7A-7C are another set of scenario schematic diagrams provided in an embodiment of the present application;
[0047] 8A-8B are another set of scenario schematic diagrams provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0049] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0050] Next, a hardware structure diagram of the electronic device 100 provided in an embodiment of the present application is introduced.
[0051] The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device. The embodiments of the present application do not impose any particular restrictions on the specific type of the electronic device.
[0052] 1 shows a schematic diagram of the hardware structure of an electronic device 100. The electronic device 100 may include, but is not limited to, a processor 101, a memory 102, a communication module 103, a power supply 104, a touch screen 105, one or more microphones 106, one or more speakers 107, and an audio module 108, etc.
[0053] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0054] The processor 101 may include one or more processing units. For example, the processor 101 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0055] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0056] Processor 101 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 101 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 101. If processor 101 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 101's latency, and thus improves system efficiency.
[0057] In some embodiments, the processor 101 may include one or more interfaces. The 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 subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0058] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0059] Memory 102 is coupled to processor 101 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, memory 102 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 102 may store an operating system, such as embedded operating systems such as uCOS, VxWorks, and RTLinux. Memory 102 may also store a communication program that can be used to communicate with stylus 200 or other devices.
[0060] The communication module 103 can be used to communicate with other electronic devices (eg, the stylus 200 ). For example, the communication module 103 can be used to receive audio data sent by the stylus 200 .
[0061] The power supply 104 can supply power to the electronic device 100. For example, the power supply 104 can be a rechargeable lithium battery or a replaceable standard battery, etc. The power supply 104 can provide power required by components such as the processor 101, the memory 102, the communication module 103, and the touch screen 105.
[0062] The touch screen 105 may include a display screen and a touch sensor. The display screen is used to display images, videos, etc. The display screen includes a display panel. The display panel may be a liquid crystal display (LCD). The display screen panel may also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniLED, a microLED, a micro-OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device 100 may include one or N display screens, where N is a positive integer greater than one. The touch sensor, also known as a "touch panel," may be used to detect movement of the stylus 200 acting on the touch screen 105. The touch sensor may transmit the detected movement to the application processor to determine the movement trace of the stylus 200, so that the application processor can provide visual output related to the touch operation through the display screen.
[0063] The electronic device 100 can implement audio functions through the microphone 106, the speaker 107, the audio module 108 and the processor 101. Among them, one or more microphones 106 can be used to collect audio data. One or more speakers 107 can be used to play audio data.
[0064] The audio module 108 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 108 can also be used to encode and decode audio signals. In some examples, the audio module 108 can be provided in the processor 101, or some functional modules of the audio module 108 can be provided in the processor 101.
[0065] Microphone 106 , also known as a "microphone" or "microphone," is used to convert sound signals into electrical signals. When making a call, sending a voice message, or recording a voice message, a user can place their mouth close to microphone 106 to input the sound signal into microphone 106 . Electronic device 100 can be equipped with two microphones 106 , which not only collect sound signals but also implement noise reduction. In some examples, electronic device 100 can also be equipped with three, four, or more microphones 106 to collect sound signals, reduce noise, identify sound sources, implement directional recording, and more.
[0066] The speaker 107 , also called a “speaker”, is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music, listen to hands-free calls, listen to conference calls, etc. through the speaker 107 .
[0067] Next, a schematic diagram of the hardware structure of the stylus pen 200 provided in an embodiment of the present application is introduced.
[0068] As shown in FIG. 2 , the stylus pen 200 may include but is not limited to a processor 201 , a memory 202 , a sensor module 203 , one or more microphones 204 , a communication module 205 , a power supply 206 , and the like.
[0069] The processor 201 can be used to read and execute computer-readable instructions. In a specific implementation, the processor 201 may primarily include a controller, an arithmetic unit (ALU), and registers. The controller is primarily responsible for decoding instructions and issuing control signals for operations corresponding to the instructions. The ALU is primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. In a specific implementation, the hardware architecture of the processor 201 may be an application-specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, among others.
[0070] The processor 201 can be used to parse signals received by the communication module 205. The processor 201 can respond based on the parsing results and perform corresponding operations. For example, the processor 201 can collect audio data through the microphone 204 based on the signal sent by the electronic device 100, etc. The processor 201 can also be used to notify the communication module 205 to send signals to other electronic devices. For example, the processor 201 can send audio data collected by the microphone 204 to the electronic device 100 via the communication module 205, etc.
[0071] The memory 202 is coupled to the processor 201 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, the memory 202 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system, such as an embedded operating system such as uCOS, VxWorks, or RTLinux. The memory 202 may also store a communication program that can be used to communicate with the electronic device 100 or other devices.
[0072] The sensor module 203 may include, but is not limited to, an ultrasonic sensor 203A (not shown), a pressure sensor 203B (not shown), etc. In the embodiment of the present application, the stylus 200 can determine whether the user is holding the stylus 200 through the sensor module 203, and the stylus 200 can also recognize the user's gestures, etc. through the sensor module 203.
[0073] In some examples, the stylus 200 can use an ultrasonic sensor 203A to identify whether the user is holding the stylus 200. The ultrasonic sensor 203A can be located on the body of the stylus 200 and can transmit ultrasonic waves and receive ultrasonic waves reflected by obstacles. Based on the received ultrasonic waves, the stylus 200 can detect whether the ultrasonic sensor 203A is blocked. When the ultrasonic sensor 203A is blocked, the ultrasonic waves emitted by the ultrasonic sensor 203A are reflected, and the ultrasonic sensor 203A receives the reflected ultrasonic waves. Therefore, the energy of the ultrasonic waves received by the blocked ultrasonic sensor 203A is greater than the energy of the ultrasonic waves received by the unblocked ultrasonic sensor 203A. The stylus 200 can determine that the user is holding the stylus 200 when it detects that the ultrasonic sensor 203A located near the tip is blocked. The stylus 200 can also determine that the user is not holding the stylus 200 when it detects that the ultrasonic sensor 203A located near the tip is not blocked.
[0074] In some examples, the stylus 200 can also recognize user gestures using the ultrasonic sensor 203A. For example, the stylus 200 can identify single-click input, double-click input, long-press input, and so on based on the duration that the ultrasonic sensor 203A is blocked by the user. For another example, the stylus 200 may include multiple ultrasonic sensors 203A located at different locations on the stylus 200. The stylus 200 can identify upward swipe input, downward swipe input, and so on based on the order in which the different ultrasonic sensors 203A are blocked.
[0075] In some examples, the stylus 200 can identify whether the user is holding the stylus 200 through the pressure sensor 203B. For example, the pressure sensor 203B can be located on the body of the stylus 200. The pressure sensor 203B can detect whether the user is pressing the pressure sensor 203B, that is, whether the user is holding the stylus 200, based on the pressure value applied to the pressure sensor 203B.
[0076] In some examples, the stylus 200 can also recognize user gestures through the pressure sensor 203B, such as single click, double click, long press, etc. For example, the pressure sensor 203B can be located at the end of the stylus 200 (also known as the top of the stylus 200) and can be used to detect whether the user inputs to the top of the stylus 200.
[0077] In some examples, pressure sensor 203B can be provided on the tip of stylus 200. Pressure sensor 203B can be used to detect the pressure felt by the tip. Pressure sensor 203B can send the detected pressure data to processor 201. Processor 201 can control communication module 205 to send different signals based on the pressure data, thereby instructing electronic device 100 to display handwriting of different thicknesses at the location on the touch screen where the tip of stylus 200 passes.
[0078] It should be noted that the stylus 200 is not limited to the ultrasonic sensor 203A. The stylus 200 may include a speaker, which transmits ultrasonic waves and receives them via the microphone 204 to detect whether the user is holding the stylus 200 and recognize the user's gestures. Alternatively, the stylus 200 may include a touch sensor, which may detect whether the user is holding the stylus 200 and recognize the user's gestures on the stylus 200. This is not limited in the present embodiment.
[0079] In some examples, the stylus 200 can also detect whether it is facing a designated object. The designated object can be a person speaking near the stylus 200. For example, the stylus 200 can use near-far field recognition technology to determine the relative position of the speaking object and the stylus 200. The stylus 200 can collect sound signals using multiple microphones 204 and, based on the time difference between different microphones capturing the same sound signal, determine the directions of different sound sources relative to the stylus 200, thereby determining the directions of different speaking objects relative to the stylus 200. For another example, the stylus 200 can use the ultrasonic sensor 203A to identify the outlines of nearby objects and, using an algorithm, determine whether the object outlines belong to the speaking object. Subsequently, the stylus 200 can use the ultrasonic sensor 203A to determine the direction of a person relative to the stylus 200, and so on. For another example, the stylus 200 can use the multiple microphones 204 and the ultrasonic sensor 203A to determine whether it is facing a designated object. The stylus 200 may determine the directions of different sound sources relative to the stylus 200 through multiple microphones, and then determine whether there are any obstructions in the directions of different sound sources through the ultrasonic sensor 203A.
[0080] The stylus 200 can obtain the posture of the stylus 200 through a gyroscope or an acceleration sensor. The stylus 200 can detect whether the stylus 200 is facing a certain speaker based on the posture of the stylus 200 and the relative direction between the speaker and the stylus 200.
[0081] In some examples, when the stylus 200 is pointed toward a designated object, audio data in the direction of the designated object can be collected. Thus, when the designated object makes a sound, the stylus 200 can collect audio data including the sound signal of the stylus 200 pointing toward the designated object. In a scenario where a single person is speaking, the stylus 200 can thus collect the clear speech of the person being pointed at by the stylus 200.
[0082] The stylus 200 can use directional sound pickup technology to collect audio data in the direction of a designated object that the stylus 200 is pointing at. Alternatively, the stylus 200 can adjust the recording range of the microphone 204 to collect audio data in the direction of the designated object that the stylus 200 is pointing at. Alternatively, the stylus 200 can identify the audio data of the designated object that the stylus 200 is pointing at, and after collecting audio data through the microphone 204, the stylus 200 can filter out the audio data of the designated object that the stylus 200 is pointing at from the collected audio data. In some examples, the stylus 200 can detect the distance of the designated object relative to the stylus 200 and set the recording range to a radius centered on the stylus 200 and the distance of the speaking object that the stylus 200 is pointing at relative to the stylus 200. This allows the stylus 200 to collect audio data of the designated object when the designated object speaks.
[0083] Among them, the one or more microphones 204 can be used to collect audio data. The microphone 204, also known as a "microphone" or "microphone", can convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 204 to input the sound signal into the microphone 204. The electronic device 100 can be provided with at least one microphone 204. In some examples, the electronic device 100 can be provided with two microphones 204, which can not only collect sound signals but also realize noise reduction function. In other examples, the electronic device 100 can also be provided with three, four or more microphones 204 to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording functions, etc.
[0084] The communication module 205 can be used to communicate with the electronic device 100. Specifically, the communication module 205 can transmit audio data collected by one or more microphones 204 to the electronic device 100. The communication module 205 can also include a transmitter. The transmitter is located at the tip of the stylus 200 and can be used to output a signal that can be detected by the touch screen of the electronic device 100. The electronic device 100 can determine the position of the tip of the stylus 200 on the touch screen of the electronic device 100 based on the signal transmitted by the transmitter detected by the touch screen. The electronic device 100 can also detect the tilt angle and tilt direction of the tip of the stylus 200 based on the signal transmitted by the transmitter of the stylus 200.
[0085] The power supply 206 can provide power to the stylus 200. For example, the power supply 206 can be a rechargeable lithium battery or a replaceable standard battery. The power supply 206 can provide power required by components of the stylus 200, such as the processor 201, the memory 202, the sensor module 203, the one or more microphones 204, and the communication module 205.
[0086] Optionally, the stylus pen 200 may further include a speaker (not shown in the figure), and the stylus pen 200 may play audio data through the speaker.
[0087] Next, a schematic diagram of a communication system 10 provided in an embodiment of the present application is introduced.
[0088] Exemplarily, as shown in FIG3 , the communication system 10 may include but is not limited to an electronic device 100 and a stylus 200 . The electronic device 100 establishes a communication connection with the stylus 200 . The communication connection may be a wireless connection, such as a wireless fidelity (Wi-Fi) connection, a Bluetooth connection, an infrared connection, a near field communication (NFC) connection, a ZigBee connection, or a connection via a mobile network of 2G, 3G, 4G, 5G, and subsequent standard protocols, etc. The Bluetooth connection may be a communication connection supporting a Bluetooth low energy (BLE) protocol or a classic Bluetooth (also known as a basic rate / enhanced data rate (BR / EDR) technology) protocol. In some examples, the communication connection may also be a wired connection. For example, the stylus 200 and the electronic device 100 may be connected via a data cable, and communication data may be transmitted via the data cable.
[0089] The electronic device 100 can detect input from the stylus 200 on the touch screen and perform operations corresponding to the input from the stylus 200. For example, in response to input from the stylus 200 on an icon, the electronic device 100 can display the interface corresponding to the icon. For another example, in response to movement input from the stylus 200 on the touch screen, the electronic device 100 can display the movement trace of the stylus 200, and so on. In this way, the user can control the electronic device 100 using the stylus 200.
[0090] The stylus 200 includes one or more microphones 204, which can be used to collect audio data. The electronic device 100 includes one or more microphones 106, which can also be used to collect audio data.
[0091] In the embodiment of the present application, the electronic device 100 can detect the status of the stylus 200 during a call. Based on the status of the stylus 200 , the electronic device 100 can determine whether to collect audio data through the microphone 204 and / or the microphone 106 .
[0092] In some examples, the stylus 200 can be attached to the side of the electronic device 100. For example, the stylus 200 can include a magnetic attachment device (e.g., a magnet), and the stylus 200 can be attached to the electronic device 100 via the magnetic attachment device. The electronic device 100 and / or the stylus 200 can detect whether the stylus 200 is attached to the electronic device 100. For example, the electronic device 100 and / or the stylus 200 can include a magnetometer, and the magnetometer can be used to detect whether the stylus 200 is attached to the electronic device 100. Optionally, the electronic device 100 can charge the stylus 200 using wireless charging technology when the stylus 200 is attached to the side of the electronic device 100.
[0093] An embodiment of the present application provides a call control method. After the electronic device 100 receives the user's input, it can detect the status of the stylus 200 in response to the input. The electronic device 100 can determine whether to use the microphone of the electronic device 100 and / or the microphone of the stylus 200 to collect audio data according to the status of the stylus 200. The status of the stylus 200 can indicate whether the stylus 200 is held by the user and whether the stylus 200 is facing a designated object. The designated object is the speaking object near the stylus 200. In this way, the electronic device 100 can be combined with the stylus 200 to more flexibly collect audio data of different speaking objects in a call scenario, so that the electronic device 100 can obtain clearer audio data.
[0094] Specifically, the electronic device 100 may use the microphone of the electronic device 100 to collect audio data when it detects that the stylus 200 is not being held by the user. The electronic device 100 may detect whether the microphone of the stylus 200 is facing a designated object when it detects that the stylus 200 is being held by the user. The electronic device 100 may use the microphone of the stylus 200 to collect audio data when it detects that the microphone of the stylus 200 is facing a designated object. The electronic device 100 may use both the microphone of the electronic device 100 and the microphone of the stylus 200 to collect audio data when it detects that the microphone of the stylus 200 is not facing the designated object.
[0095] In this way, when the user holds the stylus 200, the distance between the stylus 200 and the user's vocalization site is typically smaller than the distance between the electronic device 100 and the user's vocalization site. The electronic device 100 can collect audio data using the microphone of the stylus 200, enabling closer and clearer audio signals. When the user is not holding the stylus 200, it can be assumed that the user is temporarily unwilling to use the stylus 200, and the electronic device 100 can collect audio data using its own microphone. When the stylus 200 is pointed at a designated object, the electronic device 100 can collect audio data from the designated object using the microphone of the stylus 200, allowing the electronic device 100 to obtain clearer speech from the designated object. When the stylus 200 is not pointed at the designated object, the electronic device 100 uses both its own microphone and the microphone of the stylus 200 to collect nearby audio data, enabling hands-free calling. The electronic device 100 can use the stylus 200 to implement audio collection for a variety of call scenarios, providing users with a more intelligent and convenient calling experience.
[0096] It is understandable that after the electronic device 100 collects the audio data, it can send the audio data to the device communicating with the electronic device 100. The device communicating with the electronic device 100 can play the audio data.
[0097] For example, as shown in FIG4 , the call control method provided in the embodiment of the present application includes the following steps:
[0098] S401. The electronic device 100 receives an input to start a call.
[0099] After receiving the input for starting a call, the electronic device 100 may perform steps S402 to S406 multiple times during the call. The input for starting a call may be an input for making / answering a call, an input for joining a conference call (also known as joining a conference), an input for making / answering a video call, an input for making / answering a voice call, and the like.
[0100] It should be noted that performing steps S402 to S406 multiple times during a call can be understood as the electronic device 100 being able to detect the state of the stylus 200 in real time during the call and setting a microphone for collecting audio data based on the state of the stylus 200. In some examples, the electronic device 100 detecting the state of the stylus 200 in real time during the call can be understood as the electronic device 100 detecting the state of the stylus 200 at preset intervals (e.g., 10ms) and setting a microphone for collecting audio data based on the state of the stylus 200, which is not limited in this embodiment of the present application.
[0101] S402. The electronic device 100 detects whether the stylus pen 200 is held by the user.
[0102] After receiving the input to start a call, the electronic device 100 can detect whether the stylus pen 200 is held by the user. When the electronic device 100 detects that the stylus pen 200 is not held by the user, it can execute step S403. When the electronic device 100 detects that the stylus pen 200 is held by the user, it can execute step S404.
[0103] The electronic device 100 may acquire state information from the stylus pen 200 , and based on the acquired state information, detect whether the stylus pen 200 is held by the user.
[0104] In some examples, the status information may indicate whether the stylus 200 is being held by the user and whether the stylus 200 is facing a designated object. Specifically, the stylus 200 may detect whether the stylus 200 is being held by the user using the ultrasonic sensor 203A and / or the pressure sensor 203B. The stylus 200 may also detect whether the stylus 200 is facing a designated object using the ultrasonic sensor 203A or the microphone 204. For details, please refer to the embodiment shown in FIG2 , which will not be further described here.
[0105] In some examples, the state information may include sensor data acquired by the sensor module 203 of the stylus 200. For example, the state information may include ultrasonic data received by the ultrasonic sensor 203A, or pressure data detected by the pressure sensor 203B. The ultrasonic data or pressure data may be used to indicate whether the stylus 200 is being held by the user. The state information may also include ultrasonic data received by the ultrasonic sensor 203A, or audio data received by the microphone 204. The ultrasonic data or audio data may be used to indicate whether the stylus 200 is facing a designated object.
[0106] In some examples, the electronic device 100 may send an instruction 41 to the stylus 200, and the stylus 200 may obtain status information in response to the instruction 41 and send the status information to the electronic device 100. The instruction 41 may be used to instruct the stylus 200 to start a call with the electronic device 100, or the instruction 41 may be used to instruct the stylus 200 to obtain status information of the stylus 200 and send the status information to the electronic device 100.
[0107] In other examples, after receiving an input to start a call, the electronic device 100 may detect whether the electronic device 100 has established a communication connection with the stylus 200. The electronic device 100 may execute steps S402 to S406 upon detecting that the electronic device 100 has established a communication connection with the stylus 200. The electronic device 100 may collect audio data through the microphone of the electronic device 100 upon detecting that the electronic device 100 has not established a communication connection with the stylus 200.
[0108] It is understandable that after receiving the input to end the call, the electronic device 100 stops executing steps S402 to S406.
[0109] S403 . The electronic device 100 collects audio data through the microphone of the electronic device 100 .
[0110] When the electronic device 100 detects that the stylus 200 is not held by the user, it can collect audio data through the microphone of the electronic device 100. In this way, the electronic device 100 can collect audio data from multiple nearby speakers, allowing multiple speakers to participate in the call at the same time, achieving a hands-free call effect.
[0111] S404 . The electronic device 100 detects whether the stylus pen 200 is facing a designated object.
[0112] When the electronic device 100 detects that the stylus 200 is held by the user, it can detect whether the stylus 200 is facing the designated object. When the electronic device 100 detects that the stylus 200 is facing the designated object, it can execute step S405. When the electronic device 100 detects that the stylus 200 is not facing the designated object, it can execute step S406.
[0113] It should be noted that it is not limited to first detecting whether the stylus 200 is held by the user, and then detecting whether the stylus 200 is facing the designated object when it is detected that the stylus 200 is held by the user. The electronic device 100 can instruct the stylus to send status information including information indicating whether the stylus 200 is held by the user and whether the stylus is facing the designated object to the electronic device 100. When the electronic device 100 determines that the status information indicates that the stylus 200 is not held by the user, step S403 is executed. When the electronic device 100 determines that the status information indicates that the stylus 200 is held by the user and is facing the designated object, step S405 is executed. When the electronic device 100 determines that the status information indicates that the stylus 200 is held by the user and is not facing the designated object, step S406 is executed. In this way, the electronic device 100 can directly determine the microphone to be used according to the status information.
[0114] S405 . The electronic device 100 collects audio data through the microphone of the stylus 200 .
[0115] When the electronic device 100 detects that the stylus 200 is pointing toward a designated object, it can collect audio data through the microphone of the stylus 200. In this way, when the stylus 200 is pointing toward the designated object, it is more likely that the distance between the microphone of the stylus 200 and the designated object is closer than the distance between the microphone of the electronic device 100 and the designated object. In this scenario, the stylus 200 can function as a microphone, making it easier for different designated objects to speak.
[0116] In some examples, the electronic device 100 can use the microphone of the stylus 200 to collect audio data in the direction of the designated object that the stylus 200 is pointing at. For details, please refer to the embodiment shown in Figure 2, which will not be described in detail here. In this way, the electronic device 100 collects audio data in the direction of the designated object that the stylus 200 is pointing at, which can reduce the interference of the voices of other speakers in the surrounding directions when the designated object that the stylus 200 is pointing at speaks.
[0117] S406 . The electronic device 100 collects audio data through the microphone of the electronic device 100 and the microphone of the stylus 200 .
[0118] When the electronic device 100 detects that the stylus 200 is not pointing toward a designated object, it can collect audio data through the microphones of the electronic device 100 and the stylus 200. This allows the electronic device 100 to collect clearer audio data through the microphones of the electronic device 100 and the stylus 200. Furthermore, when the stylus 200 is not pointing toward a designated object, it can be considered a scene where multiple people are speaking. The electronic device 100 can collect audio data from all nearby speakers to avoid missing any information.
[0119] It is understandable that after collecting audio data, the electronic device 100 can send the audio data to other electronic devices that are communicating with the electronic device 100.
[0120] In some examples, after receiving an input to start a call, the electronic device 100 may instruct the stylus 200 to obtain status information. After obtaining the status information of the stylus 200, the electronic device 100 may detect whether the stylus 200 is being held by the user and whether the stylus 200 is facing a designated object based on the status information. When the status information indicates that the stylus 200 is not being held by the user, the electronic device 100 collects audio data through the microphone of the electronic device 100. When the status information indicates that the stylus 200 is being held by the user and facing a designated object, the electronic device 100 instructs the stylus 200 to collect audio data. The stylus 200 may send the collected audio data to the electronic device 100. When the status information indicates that the stylus 200 is not being held by the user and is not facing a designated object, the electronic device 100 collects audio data through the microphone of the electronic device 100 and instructs the stylus 200 to collect audio data.
[0121] In other examples, the electronic device 100 may use the microphone of the electronic device 100 to collect audio data when it detects that the stylus 200 is not being held by the user. The electronic device 100 may use the microphone of the stylus 200 to collect audio data when it detects that the stylus 200 is being held by the user. In this way, the electronic device 100 can directly select the corresponding microphone based on whether the stylus 200 is being held by the user.
[0122] It should be noted that this is not limited to call scenarios. When the electronic device 100 is recording or receiving voice input, steps S402 to S406 may be performed multiple times to collect audio data. In this way, the call control method can be used in a variety of audio collection scenarios to provide users with different audio collection experiences.
[0123] In other examples, the electronic device 100 may use the microphone of the electronic device 100 to collect audio data when it detects that the stylus 200 is attached to the electronic device 100. The electronic device 100 may use the microphone of the stylus 200 to collect audio data when it detects that the stylus 200 is held by the user. The electronic device 100 may pause collecting audio data and display a mute prompt message when it detects that the stylus 200 is not attached to the electronic device 100 and is not held by the user. The mute prompt message can be used to remind the user that the microphone of the electronic device 100 has been turned off.
[0124] In this way, when the user holds the stylus 200, the distance between the stylus 200 and the user's vocal part is usually smaller than the distance between the electronic device 100 and the user's vocal part. The electronic device 100 collects audio data through the microphone of the stylus 200 and can collect clearer sound signals at a closer distance. When the user adsorbs the stylus 200 on the electronic device 100, it can be considered that the user does not want to use the stylus 200 temporarily, and the electronic device 100 can collect audio data through its own microphone. When the user does not hold the stylus 200 and does not adsorb the stylus 200 on the electronic device 100, it can be considered that the user wants to pause audio collection, and the electronic device 100 can pause the operation of collecting audio data through the microphone. The electronic device 100 can collect user audio during a call through the microphone of the electronic device 100 and the microphone of the stylus 200.
[0125] For example, as shown in FIG5 , the call control method provided in the embodiment of the present application includes the following steps:
[0126] S501. The electronic device 100 receives an input for starting a call.
[0127] S502 . The electronic device 100 detects whether the stylus pen 200 is adsorbed onto the electronic device 100 .
[0128] After receiving the input to start a call, the electronic device 100 can detect whether the stylus 200 is attached to the electronic device 100. When the electronic device 100 detects that the stylus 200 is attached to the electronic device 100, it can execute step S503. When the electronic device 100 detects that the stylus 200 is not attached to the electronic device 100, it can execute step S504. The description of how the electronic device 100 detects whether the stylus 200 is attached to the electronic device 100 can be found in the embodiment shown in FIG. 3 and will not be repeated here. The electronic device 100 can execute steps S502 to S506 multiple times during a call.
[0129] S503 . The electronic device 100 collects audio data through the microphone of the electronic device 100 .
[0130] When the electronic device 100 detects that the stylus pen 200 is attached to the electronic device 100 , the electronic device 100 may collect audio data through the microphone of the electronic device 100 .
[0131] S504. The electronic device 100 detects whether the stylus pen 200 is held by the user.
[0132] When the electronic device 100 detects that the stylus 200 is not attached to the electronic device 100, it can detect whether the stylus 200 is being held by the user. Upon detecting that the stylus 200 is being held by the user, the electronic device 100 can execute step S505. Upon detecting that the stylus 200 is not being held by the user, the electronic device 100 can execute step S506. Specifically, a description of how the electronic device 100 detects whether the stylus 200 is being held by the user can be found in the embodiment shown in FIG. 4 and will not be repeated here.
[0133] S505 . The electronic device 100 collects audio data through the microphone of the stylus pen 200 .
[0134] The electronic device 100 detects that the stylus pen 200 is held by the user, and collects audio data through the microphone of the stylus pen 200 .
[0135] In some examples, the electronic device 100 can detect whether the stylus 200 is facing a designated object when the user is holding the stylus 200. When the electronic device 100 detects that the stylus 200 is facing the designated object, it can use the microphone of the stylus 200 to collect audio data in the direction of the designated object. When the electronic device 100 detects that the stylus 200 is not facing the designated object, it can use the microphone of the stylus 200 to collect nearby audio data, or it can use both the microphone of the electronic device 100 and the microphone of the stylus 200 to collect nearby audio data.
[0136] S506. The electronic device 100 pauses collecting audio data and displays a mute prompt message, which can be used to prompt the user to mute the microphone.
[0137] When the electronic device 100 detects that the stylus 200 is not being held by the user and is not attached to the electronic device 100, it pauses audio data collection and displays a mute prompt. The mute prompt may include, but is not limited to, text, voice, image, animation, and the like. For example, the mute prompt may include the text message "Current microphone muted." This allows the user to mute the electronic device 100 by putting the stylus 200 aside, for example, by placing it on a table. This allows the user to avoid being heard by the other party when they do not wish to speak.
[0138] It is understandable that, when the electronic device 100 collects audio data through the microphone of the stylus 200 , if the electronic device 100 detects that the stylus 200 is not held by the user and is not attached to the electronic device 100 , the stylus 200 is instructed to stop collecting audio data.
[0139] It should be noted that the method is not limited to first detecting whether the stylus 200 is attached to the electronic device 100, and then detecting whether the stylus 200 is held by the user when it is detected that the stylus 200 is not attached to the electronic device 100. The electronic device 100 can instruct the stylus to send status information including information indicating whether the stylus 200 is held by the user and whether the stylus 200 is attached to the electronic device to the electronic device 100. When the electronic device 100 determines that the status information indicates that the stylus 200 is attached to the electronic device 100, step S503 is executed. When the electronic device 100 determines that the status information indicates that the stylus 200 is not attached to the electronic device 100 and is held by the user, step S505 is executed. When the electronic device 100 determines that the status information indicates that the stylus 200 is not attached to the electronic device 100 and is not held by the user, step S506 is executed. In this way, the electronic device 100 can directly determine the microphone to be used based on the status information. Similarly, the status information may include one or more of whether the stylus 200 is being held by the user, whether the stylus 200 is attached to the electronic device, and whether the stylus 200 is facing a designated object. The electronic device 100 may determine the microphone to use based on the status information. For details, please refer to the above embodiment and will not be repeated here.
[0140] It should be noted that, not limited to call scenarios, when the electronic device 100 is in recording, receives voice input, etc., it can also collect audio data by executing steps S502 to S506 multiple times.
[0141] In some examples, when the stylus 200 cannot be attached to the electronic device 100, the electronic device 100 may, after receiving an input to start a call, detect whether the stylus 200 is within a preset range and is not being held by the user. When the electronic device 100 detects that the stylus 200 is within the preset range and is not being held by the user, it may collect audio data through the microphone of the electronic device 100. When the electronic device 100 detects that the stylus 200 is within the preset range and is being held by the user, it may collect audio data through the microphone of the stylus 200. When the electronic device 100 detects that the stylus 200 is outside the preset range, it may pause collecting audio data and display a mute prompt message. The preset range may be a range that includes the electronic device 100 and is less than a preset distance (e.g., 2 cm) from the edge of the electronic device 100. For example, the electronic device 100 may detect the distance between the stylus 200 and the edge of the electronic device 100 using the ultrasonic sensor 203A of the stylus 200. In this way, when the stylus pen 200 cannot be adsorbed on the electronic device 100, the user can also place the stylus pen 200 within a preset range of the electronic device 100, for example, place the stylus pen 200 above the electronic device 100, so that the user can switch between different audio collection modes.
[0142] In other examples, when the stylus 200 cannot be attached to the electronic device 100, the electronic device 100 may detect whether the stylus 200 is being held by the user after receiving an input to start a call. When the electronic device 100 detects that the stylus 200 is being held by the user, step S505 is executed. When the electronic device 100 detects that the stylus 200 is not being held by the user, the electronic device 100 may collect audio data through the microphone of the electronic device 100, or pause audio data collection and display a mute prompt message. In this way, the user can change the method of collecting audio data by whether or not the stylus 200 is being held.
[0143] Optionally, when the stylus 200 cannot be attached to the electronic device 100, the electronic device 100 may detect whether a communication connection has been established between the electronic device 100 and the stylus 200 after receiving an input to start a call. Upon detecting that a communication connection has not been established between the electronic device 100 and the stylus 200, the electronic device 100 may collect audio data through the microphone of the electronic device 100. Upon detecting that a communication connection has been established between the electronic device 100 and the stylus 200, the electronic device 100 may detect whether the stylus 200 is being held by the user. For details, please refer to the above embodiments and will not be repeated here.
[0144] In other examples, when the electronic device 100 detects that the stylus 200 is attached to the electronic device 100 , the electronic device 100 may use the microphone of the electronic device 100 and the microphone of the stylus 200 to collect audio data.
[0145] It is understandable that the electronic device 100 can detect the status of the stylus 200 in real time during a call and set a microphone for collecting audio data based on the status of the stylus 200. It should be noted that the electronic device 100 detecting the status of the stylus 200 in real time during a call can be understood as the electronic device 100 detecting the status of the stylus 200 at preset intervals (for example, 10ms) and setting a microphone for collecting audio data based on the status of the stylus 200, which is not limited in this embodiment of the present application.
[0146] It can also be understood that when the electronic device 100 detects that the call is ended, the electronic device 100 stops detecting the status of the stylus 200 and collecting audio data.
[0147] Next, the call control method shown in FIG4 is introduced in conjunction with a specific application scenario.
[0148] For example, as shown in FIG6A , the electronic device 100 displays a desktop 600. The desktop 600 may include multiple application icons, such as a conference application icon 601, a dialing application icon, and the like. The conference application icon 601 may be used to trigger the electronic device 100 to display the interface of the conference application (e.g., the conference interface 610 shown in FIG6B ). The conference application may be used to initiate / access a conference. The dialing application icon may be used to trigger the electronic device 100 to display a call interface, which may be used to make / answer a call. A status bar 603 may also be displayed above the desktop 600. The status bar 603 may display a Bluetooth icon 603A. The Bluetooth icon 603A may be used to indicate that the electronic device 100 has established a Bluetooth connection with the stylus 200. It should be noted that the connection is not limited to the Bluetooth icon 603A. When the electronic device 100 and the stylus 200 establish a communication connection via a communication technology other than Bluetooth, the electronic device 100 may display icons corresponding to other communication connections. This embodiment of the present application is not limited to this.
[0149] After detecting the input of the stylus 200 to the conference application icon 601, the electronic device 100 can respond to the input and display the conference interface 610 as shown in Figure 6B. As shown in Figure 6B, the conference interface 610 includes a "Join Conference" control 611. The "Join Conference" control 611 can be used to trigger the electronic device 100 to establish a call connection with other electronic devices, so that the user can access the conference. The conference interface 610 can also include a conference ID column and a participant column. Among them, the conference ID column can be used to enter the conference ID, so that the electronic device 100 can access the conference indicated by the conference ID. Among them, the participant column can be used to enter the name of the participant, so that the participant can determine the person who is currently speaking based on the participant name.
[0150] After detecting an input from the stylus 200 to the "Join Meeting" control 611, the electronic device 100 may detect the state of the stylus 200 in response to the input. Upon detecting that the stylus 200 is held by the user and is directed toward the designated object A, the electronic device 100 may collect audio data of the designated object A through the microphone 204 and display the meeting interface 620 shown in FIG6C .
[0151] As shown in Figure 6C, the conference interface 620 can be used by users to participate in online meetings. The conference interface 620 may include a microphone control 621. The microphone control 621 can be used to indicate that the microphone is not muted. The microphone control 621 can also be used to trigger the electronic device 100 to mute. When the microphone is muted, the electronic device 100 does not perform the operation of collecting audio data. When the microphone is not muted, the electronic device 100 performs the operation of collecting audio data based on the status of the stylus 200. Here, the microphone control 621 indicates that the microphone is not muted. The conference interface 620 may also include a list of participants, the name of the speaker, and a speaker control. The list of participants can be used to remind the user of the members participating in the online meeting. The name of the speaker can be used to remind the user who is speaking. The speaker control can be used to indicate whether the speaker is turned off. The speaker control can also be used to trigger the electronic device 100 to turn the speaker off / on.
[0152] It should be noted that when the electronic device 100 and the stylus 200 are in the scene shown in Figure 6C, if the user points the stylus 200 at the designated object B, the electronic device 100 can detect that the stylus 200 is held by the user and is facing the designated object B, and collect audio data of the designated object B through the microphone 204.
[0153] After detecting an input from the stylus 200 to the "Join Meeting" control 611, the electronic device 100 may detect the state of the stylus 200 in response to the input. When the electronic device 100 detects that the stylus 200 is held by the user and is not directed toward a designated object, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG6C , and the user moves the stylus 200 so that it is not directed toward any designated object, the electronic device 100 may collect audio data through the microphone 106 and the microphone 204, as shown in FIG6D .
[0154] After detecting an input from the stylus 200 to the "Join Meeting" control 611, the electronic device 100 may detect the state of the stylus 200 in response to the input. When the electronic device 100 detects that the stylus 200 is not being held by the user, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG6C and the user puts the stylus 200 down, the electronic device 100 may detect that the stylus 200 is not being held by the user, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG6D and the user puts the stylus 200 down, the electronic device 100 may collect audio data through the microphone 106, as shown in FIG6E .
[0155] In some examples, the electronic device 100 may collect audio data in the direction of designated object A when it detects that the user is holding the stylus 200 and that the stylus 200 is pointing toward designated object A. The electronic device 100 may also collect audio data in the direction of designated object B when it detects that the user is holding the stylus 200 and that the stylus 200 is pointing toward designated object B. In this way, when the stylus 200 is pointed toward designated object A, it can collect audio data in that direction. When designated object A makes a sound, the audio data collected by the stylus 200 includes audio data from designated object A. Similarly, when the stylus 200 is pointed toward designated object B, it can collect audio data from that direction. When designated object B makes a sound, the audio data collected by the stylus 200 includes audio data from designated object B. In this way, even when the designated object is farther away from the electronic device 100, the electronic device 100 can capture the designated object's sound more clearly through the microphone of the stylus 200.
[0156] Next, the call control method shown in FIG5 is introduced in conjunction with a specific application scenario.
[0157] After detecting input from the stylus 200 to the "Join Meeting" control 611 shown in FIG. 6B , the electronic device 100 can detect the status of the stylus 200 in response to the input. Upon detecting that the stylus 200 is attached to the electronic device 100, the electronic device 100 can collect audio data via the microphone 106, as shown in FIG. The inputs to the conference interface 620 shown in FIG. 7A can be found in the above-described embodiment and will not be further described here. Here, the microphone control 621 indicates that the microphone is not muted.
[0158] After detecting an input from the stylus 200 to the "Join Meeting" control 611 shown in FIG. 6B , the electronic device 100 can detect the state of the stylus 200 in response to the input. When the electronic device 100 detects that the stylus 200 is attached to the electronic device 100, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG. 7A , and the user picks up the stylus 200, the electronic device 100 can detect that the stylus 200 is being held by the user, and collect audio data through the microphone 204, as shown in FIG. Here, the microphone control 621 indicates that the microphone is not muted.
[0159] After detecting an input from the stylus 200 to the "Join Meeting" control 611 shown in FIG6B , the electronic device 100 may detect the status of the stylus 200 in response to the input. When the electronic device 100 detects that the stylus 200 is not attached to the electronic device 100 and is not being held, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG7A , if the user removes the stylus 200 from the electronic device 100 and places it aside, the electronic device 100 may detect that the stylus 200 is not attached to the electronic device 100 and is not being held by the user, or when the electronic device 100 and the stylus 200 are in the scenario shown in FIG7B , if the user places the stylus 200 aside, the electronic device 100 may detect that the stylus 200 is not attached to the electronic device 100 and is not being held by the user, the electronic device 100 may pause collecting audio data and mute the electronic device 100, as shown in FIG7C . Here, the electronic device 100 displays a microphone control 701, which can indicate that the microphone is in a muted state. The microphone control 701 can also be used to trigger the electronic device 100 to unmute.
[0160] In one possible implementation, the electronic device 100 establishes a communication connection with the stylus 200. The stylus 200 can detect the user's designated input and, through the communication connection, instruct the electronic device 100 to perform a designated operation corresponding to the designated input. In this way, the user can remotely control the electronic device 100 through the stylus 200 to perform a designated operation while using the stylus 200, without the user having to operate the electronic device 100 through the touch screen of the electronic device 100. For example, the designated input may include one or more of designated input 1, designated input 2, and designated input 3. Designated input 1, designated input 2, and designated input 3 are different. Designated input 1 can be used to trigger the electronic device 100 to mute or unmute. Designated input 2 can be used to trigger the electronic device 100 to end a call. Designated input 3 can be used to trigger the electronic device 100 to adjust the volume. In this way, during a call, the user can remotely control the electronic device 100 through the stylus 200, which is convenient for user operation.
[0161] In some examples, the tip portion of the stylus 200 includes a pressure sensor. The pressure sensor can be used to detect user input to the tip portion of the stylus 200. The electronic device 100 collects audio data through the microphone of the electronic device 100 and / or the microphone of the stylus 200. The stylus 200 can instruct the electronic device 100 to mute after receiving the user input to the tip portion of the stylus 200 (for example, a single click). The electronic device 100 can pause collecting audio data after receiving the instruction from the stylus 200. When the electronic device 100 is muted, the stylus 200 can instruct the electronic device 100 to unmute after receiving the user input to the tip portion of the stylus 200 (for example, a single click). The electronic device 100 can determine the microphone that collects audio data based on the state of the stylus 200 after receiving the instruction from the stylus 200 and collect audio data through the determined microphone. In this way, when the user holds the stylus 200, the user can control the electronic device 100 to mute / unmute through the stylus 200, without the user having to operate the icon of the electronic device 100 for controlling the electronic device 100 to mute / unmute the electronic device 100, so that the user can control the electronic device 100 to mute / unmute more conveniently.
[0162] For example, when the electronic device 100 displays the conference interface 620 shown in FIG8A , the electronic device 100 is in a muted state. The conference interface 620 includes a microphone control 701 , which can indicate that the electronic device 100 is muted.
[0163] After receiving input from the user to the pressure sensor 203B on the tip of the stylus 200, the stylus 200 can, in response to the input, instruct the electronic device 100 to unmute. After receiving the instruction to unmute the stylus 200, the electronic device 100 can detect that the stylus 200 is being held by the user. The electronic device 100 can collect the user's audio data via the microphone 204 and display the conference interface 620 shown in FIG. 7B . Alternatively, the electronic device 100 can collect audio data via the microphone 106 and the microphone 204 and display the conference interface 620 shown in FIG. 6D .
[0164] In some examples, since the stylus 200 can receive input from the user to the pressure sensor 203B on the tip of the stylus 200, which indicates that the user is holding the stylus 200, the electronic device 100 can collect the user's audio data through the microphone 204 and display the conference interface 620 shown in Figure 7B after receiving the instruction that the stylus 200 is unmuted, or collect audio data through the microphone 106 and the microphone 204 and display the conference interface 620 shown in Figure 6D. In this way, the electronic device 100 can reduce the number of operations required to detect the status of the stylus 200, and the electronic device 100 can perform the operation of collecting audio data more quickly.
[0165] It is understood that when the electronic device 100 collects audio data through the microphone 204 and / or the microphone 106, the stylus 200 can, after receiving the user's input to the pressure sensor 203B on the tip of the stylus 200, respond to the input and instruct the electronic device 100 to mute. After receiving the instruction to mute the stylus 200, the electronic device 100 can stop collecting audio data and display the conference interface 620 shown in FIG8A.
[0166] Optionally, when the electronic device 100 is collecting audio data through the microphone 204, the stylus 200 can, after receiving input from the user to the pressure sensor 203B on the tip of the stylus 200, suspend the collection of audio data and instruct the electronic device 100 to mute the sound in response to the input. In this way, the stylus 200 can quickly stop collecting audio data through the microphone.
[0167] It should be noted that the detection of user input to the stylus 200 by a pressure sensor here is only an example and is not limited to a pressure sensor. The stylus 200 can also detect user input to the stylus 200 through an ultrasonic sensor, a touch sensor, etc., and the embodiment of the present application is not limited to this.
[0168] In some examples, the tip of the stylus 200 includes a pressure sensor. The pressure sensor can be used to detect user input to the tip of the stylus 200. While the electronic device 100 is in a call, the stylus 200 can end the call after receiving user input (e.g., a double-click) from the tip of the stylus 200. This allows the user to control the electronic device 100 to end the call while holding the stylus 200, making it easier for the user to exit the call.
[0169] For example, the electronic device 100 displays the conference interface 620 shown in FIG8A , and the electronic device 100 is in a conference call. After receiving user input (e.g., double-click, long press, etc.) from the pressure sensor 203B on the tip of the stylus 200, the stylus 200 can, in response to the input, instruct the electronic device 100 to exit the conference. Upon receiving the instruction to exit the conference from the stylus 200, the electronic device 100 can exit the conference and display the conference interface 610 shown in FIG6B . In this way, the user can remotely control the electronic device 100 to exit the conference using the stylus 200.
[0170] Similarly, when the electronic device 100 is in a call and the call interface is displayed, the stylus 200 can receive user input (e.g., double-click, long press, etc.) from the pressure sensor 203B on the tip of the stylus 200 and, in response to the input, instruct the electronic device 100 to end the call. Upon receiving the instruction from the stylus 200 to end the call, the electronic device 100 can end the call and display the interface that was displayed before the call began. In this way, the user can remotely control the electronic device 100 to end the call using the stylus 200.
[0171] It is understood that the input for muting / unmuting the electronic device 100 is different from the input for ending a call on the electronic device 100 and is not limited to a pressure sensor. The stylus 200 may also receive user input via a touch sensor. The stylus 200 is not limited to receiving input from a pressure sensor located at the tip of the stylus 200. The stylus 200 may also receive other user inputs to mute / unmute the electronic device 100 or end a call. For example, the stylus 200 may include a pressure sensor or a touch sensor at the tip of the stylus. The stylus 200 may receive user input from the sensor at the tip of the stylus to mute / unmute the electronic device 100 or end a call. This is not a limitation in the present embodiment.
[0172] In some examples, the body of the stylus 200 is provided with a touch sensor. The touch sensor can be used to detect user input on the body of the stylus 200. When the electronic device 100 is in a call, the stylus 200 can instruct the electronic device 100 to adjust the volume of the electronic device 100 after receiving user input (e.g., a sliding input) on the body of the stylus 200. For example, the stylus 200 can instruct the electronic device 100 to increase the volume of the electronic device 100 after receiving user input by sliding the stylus 200 upward. The stylus 200 can also instruct the electronic device 100 to decrease the volume of the electronic device 100 after receiving user input by sliding the stylus 200 downward. In this way, when the user holds the stylus 200, they can control the volume of the electronic device 100 through the stylus 200, which is more convenient and quick.
[0173] The stylus pen 200 or the electronic device 100 stores a correspondence between sliding distances and volume adjustment values. The volume adjustment value is the difference between the volume after adjustment by the electronic device 100 and the volume before adjustment. The longer the stylus pen 200 detects the user sliding along the pen body, the greater the volume adjustment value. The shorter the stylus pen 200 detects the user sliding along the pen body, the smaller the volume adjustment value.
[0174] For example, the electronic device 100 is in a conference call and displays the conference interface 620 shown in FIG6D or the conference interface 620 shown in FIG7B . Upon receiving an upward swipe input from the user on the stylus pen body, the stylus pen 200 may instruct the electronic device 100 to increase the volume by the volume adjustment value. Upon receiving the instruction from the stylus pen 200 to increase the volume by the volume adjustment value, the electronic device 100 may adjust the volume of the electronic device 100 according to the volume adjustment value and display the conference interface 620 shown in FIG8B .
[0175] As shown in FIG8B , the conference interface 620 includes a volume adjustment bar 801 . The volume adjustment bar 801 can be used to indicate the current volume of the electronic device 100 . The volume adjustment bar 801 can also be used to receive a sliding input from the user to adjust the volume of the electronic device 100 .
[0176] It is understandable that detecting the user's input to the stylus 200 through a touch sensor is only an example and is not limited to a touch sensor. The stylus 200 may also detect the user's input to the stylus 200 through an ultrasonic sensor or the like, and the embodiment of the present application does not limit this.
[0177] It should be noted that the above-mentioned designated operations performed by the electronic device 100 controlled by the stylus 200 include inputs such as mute / unmute, end call, and adjust volume. These designated operations are only examples. The embodiments of the present application can also provide designated inputs for controlling the electronic device 100 to perform other designated operations through the stylus 200. For example, when the electronic device 100 displays a slide in a meeting, the stylus 200 can receive user input (for example, swipe left, swipe right) to trigger the electronic device 100 to switch the displayed slide. For another example, the stylus 200 can trigger the electronic device 100 to turn off or turn on the speaker, etc. when it detects that the user is shaking the stylus 200 through a sensor such as a gyroscope. The embodiments of the present application are not limited to this.
[0178] In other examples, the electronic device 100 establishes a communication connection with the stylus 200, and the electronic device 100 may instruct the stylus 200 to start a call after receiving an input to start a call. The stylus 200 may detect the status of the stylus 200 after receiving the instruction from the electronic device 100. When the stylus 200 determines to use the microphone of the electronic device 100 to collect audio data based on the status of the stylus 200, the electronic device 100 may be instructed to collect audio data on its own. When the stylus 200 determines to use the microphone of the stylus 200 to collect audio data based on the status of the stylus 200, the collected audio data may be sent to the electronic device 100. When the stylus 200 determines to use the microphone of the electronic device 100 and the microphone of the stylus 200 based on the status of the stylus 200, the electronic device 100 may be instructed to collect audio data and send the collected audio data to the electronic device 100. Specifically, the stylus 200 determines whether to use the microphone of the electronic device 100 and / or the microphone of the stylus 200 to collect audio data based on the state of the stylus 200. Please refer to the above embodiment for a description, which will not be repeated here. In this way, the stylus 200 can independently determine whether to collect audio data.
[0179] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A call control method, characterized in that: Applied to an electronic device including a first microphone, the method includes: receiving a first input; In response to the first input, if it is detected that the stylus is held by the user, collecting audio data through a second microphone of the stylus; If it is detected that the stylus is not held by the user, audio data is collected through the first microphone.
2. The method according to claim 1, characterized in that If it is detected that the stylus is not held by the user, collecting audio data through the first microphone includes: If it is detected that the stylus is not held by the user and is adsorbed on the electronic device, audio data is collected through the first microphone.
3. The method according to claim 2, characterized in that The method further comprises: If it is detected that the stylus is not held by the user and is not adsorbed on the electronic device, the collection of audio data is paused and a first prompt message is displayed, where the first prompt message is used to prompt the user to mute the microphone.
4. The method according to any one of claims 1 to 3, characterized in that If it is detected that the stylus is held by the user, collecting audio data through the second microphone of the stylus includes: If it is detected that the stylus is held by the user and the stylus is facing the speaking object, audio data is collected through the second microphone.
5. The method according to claim 4, characterized in that If it is detected that the stylus is held by the user, collecting audio data through the second microphone of the stylus includes: If it is detected that the stylus is held by the user and the stylus is not facing the speaking object, audio data is collected through the first microphone and the second microphone.
6. The method according to claim 4, characterized in that The collecting audio data through the second microphone includes: The second microphone collects audio data in the direction of the speaking object that the stylus is pointing to.
7. The method according to claim 3, characterized in that After pausing the collection of audio data and displaying the first prompt information, the method further includes: receiving a first instruction sent by the stylus; In response to the first instruction, the first prompt information is canceled and audio data collection continues.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: receiving a second instruction sent by the stylus; In response to the second instruction, the volume of the electronic device is adjusted.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: In response to the first input, displaying a call interface; receiving a third instruction sent by the stylus; In response to the third instruction, the call is ended and the call interface is canceled.
10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: In response to the first input, sending a fourth instruction to the stylus, wherein the fourth instruction is used to instruct the stylus to detect a state of the stylus; A first state sent by the stylus is received, where the first state includes one or more of being held by a user, not held by a user, adsorbed on the electronic device, not adsorbed on the electronic device, facing a speaking object, and not facing a speaking object.
11. A call control method, characterized in that: Applied to a stylus including a second microphone, the method includes: receiving a fourth instruction sent by the electronic device, wherein the fourth instruction is used to instruct the stylus to detect a state of the stylus; Sending a first state to the electronic device, where the first state includes one or more of being held by a user, not being held by a user, being adsorbed on the electronic device, not being adsorbed on the electronic device, facing a speaking object, and not facing a speaking object; If the first state indicates that the stylus is held by the user, a fifth instruction sent by the electronic device is received; In response to the fifth instruction, collecting audio data through the second microphone; The audio data is transmitted to the electronic device.
12. The method according to claim 11, characterized in that If the first state indicates that the stylus is held by the user and is facing the person speaking, the step of collecting audio data through the second microphone in response to the fifth instruction includes: The second microphone collects audio data in the direction of the speaking object that the stylus is pointing to.
13. The method according to claim 11 or 12, characterized in that The method further comprises: detecting a second input from the user; In response to the second input, a first instruction is sent to the electronic device, where the first instruction is used to trigger the electronic device to switch a microphone state, where the microphone state includes a mute state and a non-mute state.
14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: detecting a third input from the user; In response to the third input, a second instruction is sent to the electronic device, where the second instruction is used to trigger the electronic device to adjust the volume of the electronic device.
15. The method according to any one of claims 11 to 14, characterized in that The method further comprises: detecting a fourth input from the user; In response to the fourth input, a third instruction is sent to the electronic device, where the third instruction is used to trigger the electronic device to end the call.
16. A call control method, characterized in that: Applied to a first communication system, the first communication system includes an electronic device and a stylus, the electronic device includes a first microphone, and the stylus includes a second microphone; the method includes: The electronic device receives a first input; In response to the first input, the electronic device sends a fourth instruction to the stylus, where the fourth instruction is used to instruct the stylus to detect a state of the stylus; After receiving the fourth instruction, the stylus sends a first state to the electronic device in response to the fourth instruction; If the first state received by the electronic device indicates that the stylus is held by the user, sending a fifth instruction to the stylus; After receiving the fifth instruction, the stylus collects audio data through the second microphone in response to the fifth instruction; If the first state received by the electronic device indicates that the stylus is not held by the user, audio data is collected through the first microphone.
17. An electronic device, characterized in that: The electronic device comprises one or more processors, one or more memories and a first microphone; wherein the first microphone, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer executable program, so that when the one or more processors execute the computer executable program, the electronic device executes the method as described in any one of claims 1 to 10.
18. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is run on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 10.
19. A computer program product, characterized in that When the computer program product is run on an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 10.
20. A stylus pen, characterized in that: The invention comprises one or more processors, one or more memories and a second microphone; wherein the second microphone, one or more sensors, and the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer executable program, and when the one or more processors execute the computer executable program, the stylus executes the method as described in any one of claims 11 to 15.
21. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is run on the stylus, the stylus is enabled to execute the method according to any one of claims 11 to 15.
22. A computer program product, characterized in that When the computer program product is run on the stylus, the stylus is enabled to perform the method according to any one of claims 11 to 15.
Citation Information
Patent Citations
Audio frequency circuit selection method, apparatus, and circuit, and hand-held terminal
CN105554201A
Writing pen and electronic equipment
CN205121493U
Stylus pen with microphone for portable terminal
KR1020050010373A
Enhanced Audio Recording For Smart Pen Computing Systems
US20090022332A1
Apparatus and method of controlling voice input in electronic device supporting voice recognition
US20150032457A1