Audio transmission method and apparatus, terminal and readable storage medium
By establishing a communication connection between Bluetooth headset and the movable audio acquisition device and changing the audio acquisition endpoint, the problem of voice content leaked when the Bluetooth headset enters the voice is solved, and the privacy protection of user voice is achieved.
Patent Information
- Application Number
- PCT/CN2024/132734
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-04
- Filing Date
- 2024-11-18
- Publication Date
- 2025-06-12
AI Technical Summary
When existing Bluetooth headsets enter voice, the voice content will not only be collected, but will also spread around, resulting in user privacy leakage.
By establishing a communication connection between the first device (Bluetooth headset) and the second device (movable audio acquisition device), a privacy protection request is generated according to the user's operation, the audio acquisition function of the first device is turned off, and the audio acquisition function of the second device is turned on, thereby changing the audio acquisition endpoint and reducing the possibility of audio spreading to the surroundings.
It effectively protects users' voice privacy, prevents voice content from being leaked to the surrounding areas, and enhances users' privacy and security.
Smart Images

Figure CN2024132734_12062025_PF_FP_ABST
Abstract
Description
Audio transmission method, device, terminal and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on December 4, 2023, with application number 202311656219.2 and invention name “A method, device, terminal and readable storage medium for audio transmission”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of headphones, and in particular to an audio transmission method, device, terminal and readable storage medium. Background Art
[0003] Bluetooth headsets are unencumbered by wires and unrestricted by the interfaces of mobile phones and tablets. Their strong compatibility makes them popular with consumers. Headphone manufacturers have modified the output speakers of Bluetooth headsets to prevent sound leakage and protect the privacy of their voice output. However, due to the distance between the Bluetooth headset and the user's voice input, when a user inputs into the Bluetooth headset, the voice content is not only collected by the Bluetooth headset but also spreads to the surrounding area. This leaves the user's input voice unprotected, leading to privacy breaches. Technical issues
[0004] The embodiments of the present application provide an audio transmission method, device, terminal and readable storage medium to solve the problem in the prior art that the voice input by the user into the Bluetooth headset is not protected, resulting in the leakage of user privacy. Technical Solutions
[0005] A first aspect of an embodiment of the present application provides an audio transmission method, applied to a first device, the method comprising:
[0006] When detecting that the second device is powered on, establishing a communication connection with the second device;
[0007] In response to a first user operation, generating a privacy protection request; the privacy protection request is used to instruct the first device to turn off an audio collection function, and to instruct the second device to turn on the audio collection function;
[0008] Sending the privacy protection request to the second device, instructing the second device to enable the audio collection function;
[0009] Receive first audio data sent by the second device.
[0010] A second aspect of an embodiment of the present application provides an audio transmission method, applied to a second device, the method comprising:
[0011] When detecting that the first device is powered on, establishing a communication connection with the first device;
[0012] In response to a second user operation, generating a privacy protection request; the privacy protection request is used to instruct the first device to turn off the audio collection function and instruct the second device to turn on the audio collection function;
[0013] Sending the privacy protection request to the first device, instructing the first device to disable the audio collection function;
[0014] Encoding the collected original audio to obtain first audio data;
[0015] The first audio data is sent to the first device.
[0016] A third aspect of an embodiment of the present application provides an audio transmission device, including a first device communicatively connected to a second device and / or including the second device communicatively connected to the first device; the first device is used to execute the method as described in the first aspect, and the second device is used to execute the method as described in the second aspect.
[0017] The fourth aspect of an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0018] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0019] A sixth aspect of the present application provides a computer program product, which, when executed on a terminal, enables the terminal to execute the steps of the method described in the first aspect. Beneficial effects
[0020] As can be seen from the above, this application establishes a communication connection between the first device and the second device when the first device detects that the second device is turned on. Then, according to the user's first operation, the first device generates a privacy protection request and sends the privacy protection request to the second device through the communication connection. The first device turns off the audio collection function according to the instructions of the privacy protection request, and the second device turns on the audio collection function according to the instructions of the privacy protection request. This operation causes the audio collection end to change, and the second device begins to be responsible for collecting audio. The first device receives the first audio data sent by the second device, that is, the second device transmits the first audio data to the first device. The remaining functions of the first device can be used normally. By controlling the second device to shorten the distance between the second device and the user's voice position, the possibility of the collected audio spreading to the surrounding area is reduced, thereby protecting the user's privacy. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] FIG1 is a flowchart of an audio transmission method provided in an embodiment of the present application;
[0023] FIG2 is a diagram of a device communication relationship provided by an embodiment of the present application;
[0024] FIG3 is a schematic diagram of a second device provided in an embodiment of the present application;
[0025] FIG4 is a second flowchart of an audio transmission method provided in an embodiment of the present application;
[0026] FIG5 is a flowchart of an audio transmission method according to an embodiment of the present application;
[0027] FIG6 is a structural diagram of an audio transmission device provided in an embodiment of the present application;
[0028] FIG7 is a structural diagram of a terminal provided in an embodiment of the present application. Modes for Carrying Out the Invention
[0029] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0030] It will be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0031] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0032] It should be further understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0033] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0034] In specific implementations, the terminals described in the embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).
[0035] In the following discussion, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and / or joystick.
[0036] The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk burning application, a spreadsheet application, a game application, a phone application, a video conferencing application, an email application, an instant messaging application, a workout support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.
[0037] Various applications that can be executed on the terminal can use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and / or changed between applications and / or within a corresponding application. In this way, the common physical architecture of the terminal (e.g., the touch-sensitive surface) can support a variety of applications with user interfaces that are intuitive and transparent to the user.
[0038] It should be understood that the size of the serial numbers of each step in this embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of this application.
[0039] In order to illustrate the technical solution described in this application, specific embodiments are provided below.
[0040] Referring to Figure 1, Figure 1 is a flowchart of an audio transmission method provided by an embodiment of the present application. As shown in Figure 1, an audio transmission method is applied to a first device, and the method includes the following steps:
[0041] Step 101: When detecting that a second device is powered on, establish a communication connection with the second device.
[0042] Specifically, in order to protect the voice content input by the user into the Bluetooth headset and ensure that the user's privacy is not leaked, this application proposes an audio transmission method, which is applied to the first device. The first device is a wireless headset, such as a head-mounted Bluetooth headset, a neck-hanging Bluetooth headset, a true wireless Bluetooth headset, and other Bluetooth headsets, as well as other wireless headsets. The second device has an audio acquisition function and can be a mobile device with an audio acquisition function. In order to facilitate portability, it is usually designed as a wearable device, such as a ring, a bracelet, or a necklace.
[0043] Specifically, as shown in Figure 2, Figure 2 is a device communication relationship diagram provided by the present application. It can be seen from Figure 2 that there is a communication connection between the first device and the second device, and there is also a communication connection between the first device and the external device. The external device refers to a terminal device such as a mobile phone, tablet and computer that can establish a communication connection with the first device. The second device can only establish a communication connection with the first device and cannot establish a communication connection with the external device. In addition to establishing a communication connection with the second device, the first device can also establish a communication connection with the external device. That is, the second device is an accessory of the first device. There is direct communication between the first device and the second device, and there is direct communication between the first device and the external device. This setting makes the operation interface of the external device only display the first device, and the interface is simple and easy to manage.
[0044] Specifically, the second device is an accessory to the first device. Therefore, before shipment or user use, the first and second devices must be bound to each other. This means that permission to establish a communication connection between the first and second devices is enabled. Binding the devices prevents random device connections from causing communication confusion.
[0045] It should be noted that the second device in this application refers to a device that has a binding relationship with the first device.
[0046] Specifically, after the first device is powered on, it sends a signal to the surrounding space to detect whether the second device is powered on. If the second device is detected to be powered on, a communication connection is established with the second device. The detection and communication connection establishment process occurs very quickly, facilitating subsequent user use.
[0047] Specifically, the communication connection mode between the first device and the second device may be Bluetooth Low Energy (BLE) or wireless communication technology (WIFI).
[0048] Step 102: Generate a privacy protection request in response to a first user operation; the privacy protection request is used to instruct the first device to turn off an audio collection function, and to instruct the second device to turn on the audio collection function.
[0049] The first user operation specifically refers to an operation performed by the user on the first device to trigger privacy protection. The privacy protection request is used to instruct the first device to turn off the audio collection function and to instruct the second device to turn on the audio collection function.
[0050] Specifically, if the user performs the first user operation on the first device, such as pressing the privacy protection button, the first device generates the privacy protection request. This can be further categorized as: pressing and releasing the button generates the privacy protection request, activating the privacy protection function; pressing and releasing the button generates the privacy protection request, but the privacy protection function takes effect only if the button is pressed.
[0051] Specifically, after generating the privacy protection request in response to the first user operation, the method further includes: based on the privacy protection request, the first device turns off the audio collection function.
[0052] Specifically, after the first device generates the privacy protection request, the first device adjusts the function of the device itself according to the privacy protection request, that is, turns off the audio collection function of the first device.
[0053] Step 103: Send the privacy protection request to the second device, instructing the second device to enable the audio collection function.
[0054] Specifically, after generating the privacy protection request, the first device sends the privacy protection request to the second device via the communication connection. After receiving the privacy protection request, the second device enables the audio collection function of the second device according to the instruction of the privacy protection request.
[0055] Specifically, the generation of the privacy protection request, the sending of the privacy protection request, and the adjustment of the collection functions of the first device and the second device according to the privacy protection request also occur within a very short period of time.
[0056] Specifically, after the audio collection function of the second device is enabled, audio collection is no longer the responsibility of the first device, but is instead performed by the second device. The second device can then collect audio using an audio collection device included in the second device, such as a microphone.
[0057] Specifically, traditional Bluetooth headsets have a speaker and a microphone for outputting audio from external devices and collecting audio for the external device. A drawback of traditional Bluetooth headsets is that the headset is some distance away from the user's voice source. When a user inputs audio into the headset, the audio is not only picked up by the headset's microphone but also diffuses to the surrounding area, allowing people around the user to hear it or nearby devices to pick it up. This leaves the audio input into the headset unprotected, leading to privacy breaches.
[0058] Specifically, the first device in this application, i.e., the wireless headset, also has a speaker and a microphone. When the user does not use the privacy protection function, the first device is no different from a traditional Bluetooth headset in terms of usage. The first device in this application also outputs the audio of the external device through the speaker and collects the audio for the external device through the microphone. Here, the microphone of the first device is the audio collection device.
[0059] Specifically, the audio collection function of the first device is turned off, and the audio collection function of the second device is turned on, which means that the privacy protection function is turned on. As mentioned above, the second device may be a removable device. Therefore, after the privacy protection function is turned on, the second device can be moved to the user's voice position to collect audio. By moving, the distance between the microphone of the audio collection device and the user's voice position is reduced. The microphone of the second device and its sound cavity are optimized for low sounds and close to the mouth, such as high sensitivity to pick up low sounds, which can reduce the sound volume while shortening the distance, thereby protecting the user's audio data and preventing the user's privacy from being leaked. In addition, pointing the microphone and its sound cavity in a specific direction can further shield external noise.
[0060] It should be noted that, although the audio collection function of the first device is turned off at this time, other functions of the first device are not affected and can be used normally. For example, the speaker of the first device plays the audio from the external device normally.
[0061] Specifically, the second device can be a removable device such as a ring, a bracelet, and a necklace. This application prefers a ring as the second device. Taking a ring as an example, the second device is introduced. As shown in Figure 3, Figure 3 is a schematic diagram of a second device provided by this application. In Figure 3, the three rectangles in the ring are located on the outside of the ring and are function buttons. When worn, they face the same direction as the back of the hand. The circle is also located on the outside of the ring and is a microphone for collecting audio. When worn, it faces the same direction as the palm. In this way, when the user moves the ring to the user's voice position, such as the mouth, they can also make an open hand covering their mouth as if whispering, further reducing the risk of input audio being leaked. Moreover, the microphone faces the same direction as the palm and makes an open hand covering the mouth as if whispering, which can further block external noise.
[0062] Specifically, the audio collected by the second device is referred to as original audio.
[0063] Specifically, the response between devices is very fast, so the privacy protection function is enabled at the same time as the user's first operation occurs. After the privacy protection function is enabled, if the user triggers a privacy protection revocation request, the privacy protection function is disabled. After the privacy protection revocation request is generated, the first device enables the audio collection function, and the second device disables the audio collection function.
[0064] Specifically, if the privacy protection revocation request is generated by the first device, the first device directly receives the privacy protection revocation request and enables the audio collection function of the first device. Simultaneously, based on the communication connection, the first device sends the privacy protection revocation request to the second device. After receiving the privacy protection request, the second device disables the audio collection function of the second device. The audio is then collected by an audio collection device, such as a microphone, of the first device.
[0065] At this point, the privacy protection function is turned off. The first device directly collects audio and transmits it to the external device.
[0066] Step 104: Receive first audio data sent by the second device.
[0067] Specifically, after the second device collects the original audio, in order to better transmit the original audio, it is necessary to encode the original audio, that is, convert the analog signal into a digital signal to obtain the first audio data, and then send the first audio data to the first device.
[0068] Specifically, the original audio is encoded using audio transmission coding, and the audio transmission coding is subband coding (SBC), advanced audio coding (AAC), low complexity communications codec (LC3) or low-latency high-definition audio codec (LHDC), etc.
[0069] Specifically, the audio transmission encoding used between the first device and the second device is a first encoding, and the audio transmission encoding used between the first device and the external device is a second encoding. After receiving the first audio data sent by the second device, it also includes: determining whether the first encoding and the second encoding are the same; if the first encoding and the second encoding are the same, sending the received first audio data to the external device.
[0070] Specifically, this application defines the audio transmission coding used between the first device and the second device as a first coding, wherein the first coding is a non-customized audio transmission coding such as SBC, AAC, LC3 or LHDC, or a customized audio transmission coding. The audio transmission coding used between the first device and the external device is defined as a second coding, and the second coding is SBC, AAC, LC3 or LHDC, etc.
[0071] Specifically, the second device encodes the collected original audio according to the first encoding to obtain the first audio data, and then the second device can send the first audio data to the first device, thereby realizing the transmission of the original audio.
[0072] Furthermore, after receiving the first audio data sent by the second device, the first device needs to continue to transmit the first audio data backward, that is, send the audio data corresponding to the original audio to the external device. However, before continuing the backward transmission, it is necessary to first determine whether the first encoding and the second encoding are the same. If the first encoding and the second encoding are the same, it means that the external device is able to decode the first audio data and restore it to the original audio. The first device can directly send the received first audio data to the external device.
[0073] Specifically, after determining whether the first encoding and the second encoding are the same, it also includes: if the first encoding and the second encoding are not the same, decoding the first audio data based on the first encoding to obtain the original audio; encoding the original audio based on the second encoding to obtain second audio data; and sending the second audio data to the external device.
[0074] Specifically, if the determination reveals that the first encoding and the second encoding are different, this indicates that the external device cannot decode the first audio data and cannot restore it to the original audio. In this case, the first device decodes the first audio data according to the first encoding to obtain the original audio. The first device then encodes the original audio according to the second encoding to obtain the second audio data. The first device then sends the second audio data to the external device, thereby enabling further transmission of the original audio.
[0075] Optionally, in order to enable the external device to receive higher quality audio, the audio is processed using an audio processing algorithm, including noise reduction, sound enhancement, sound merging, and echo cancellation. The audio processing algorithm can be implemented in any one or more of the first device, the second device, and the external device.
[0076] Specifically, if the audio processing algorithm is implemented in the second device, after the second device collects the original audio, the original audio is first processed by the audio processing algorithm, and then encoded according to the first encoding.
[0077] Specifically, if the audio processing algorithm is implemented in the first device, after the first device receives the first audio data, the first audio data is first decoded according to the first encoding to obtain the original audio, and then the original audio is processed by the audio processing algorithm. After processing, the original audio is encoded according to the first encoding or the second encoding.
[0078] Specifically, if the audio processing algorithm is implemented in the external device, after the external device receives the first audio data or the second audio data, the external device decodes the first audio data according to the first encoding, or decodes the second audio data according to the second encoding to obtain the original audio, and then processes the original audio through the audio processing algorithm to complete the audio quality improvement operation of the original audio.
[0079] In addition, the first device can also receive a function adjustment request sent by the second device. The function adjustment request here does not involve the privacy protection function. The function of the external device is adjusted according to the function adjustment request. Please refer to steps 501 to 503 for the specific implementation process.
[0080] In an embodiment of the present application, when the first device detects that the second device is turned on, a communication connection is established between the first device and the second device. Then, based on the user's first operation, the first device generates a privacy protection request and sends the privacy protection request to the second device through the communication connection. The first device turns off the audio collection function according to the instructions of the privacy protection request, and the second device turns on the audio collection function according to the instructions of the privacy protection request. This operation causes the audio collection end to change, and the second device begins to be responsible for collecting audio. The first device receives the first audio data sent by the second device, that is, the second device transmits the first audio data to the first device. The remaining functions of the first device can be used normally. By controlling the second device to shorten the distance between the second device and the user's voice position, the possibility of the collected audio spreading to the surrounding area is reduced, thereby protecting the user's privacy.
[0081] Referring to Figure 4, Figure 4 is a flowchart of a second method for audio transmission provided by an embodiment of the present application. As shown in Figure 4, an audio transmission method is applied to a second device, and the method includes the following steps:
[0082] Step 401: When it is detected that the first device is powered on, a communication connection is established with the first device.
[0083] Specifically, in order to protect the voice content input by the user into the Bluetooth headset and ensure that the user's privacy is not leaked, this application proposes an audio transmission method, which is applied to the second device. The first device is a wireless headset, such as a head-mounted Bluetooth headset, a neck-hanging Bluetooth headset, a true wireless Bluetooth headset, and other Bluetooth headsets, as well as other wireless headsets. The second device has an audio acquisition function and can be a removable device with an audio acquisition function. In order to facilitate portability, it is usually designed as a wearable device, such as a ring, a bracelet, or a necklace.
[0084] Specifically, in this embodiment, the device communication connection relationship between the first device, the second device, and the external device is the same as that described in step 101. Similarly, the second device is an accessory of the first device, and a binding relationship exists between the first device and the second device, i.e., permission to establish a communication connection has been enabled between the first device and the second device.
[0085] Specifically, after the second device is powered on, it sends a signal to the surrounding space to detect whether the first device is powered on. If the first device is detected to be powered on, a communication connection is established with the first device. Here, the detection process and the communication connection establishment process also occur in a very short time, which is convenient for the user's subsequent use.
[0086] Here, the second device serves as a communication detection device and a request generating device, and the first device serves as a communication detected device and a request receiving device.
[0087] Specifically, the communication connection mode between the first device and the second device may be Bluetooth Low Energy (BLE), Zigbee or wireless communication technology (WIFI).
[0088] Step 402: Generate a privacy protection request in response to a second user operation; the privacy protection request is used to instruct the first device to turn off the audio collection function and instruct the second device to turn on the audio collection function.
[0089] The second user operation specifically refers to an operation performed by the user on the second device to trigger privacy protection. The privacy protection request is used to instruct the first device to turn off the audio collection function and to instruct the second device to turn on the audio collection function.
[0090] Specifically, if the user performs the second user operation on the second device, such as pressing the privacy protection button, the second device generates the privacy protection request. This can be further categorized as: pressing and releasing the button generates the privacy protection request, activating the privacy protection function; pressing and releasing the button generates the privacy protection request, but the privacy protection function takes effect only if the button is pressed.
[0091] Specifically, after the second device generates the privacy protection request, the second device adjusts the function of the device itself according to the privacy protection request, that is, turns on the audio collection function of the second device.
[0092] In addition, the privacy protection request may also be generated by the external device. In the case where the privacy protection request is generated by the external device, the external device sends the privacy protection request to the first device. After receiving the privacy protection request, the first device turns off the audio collection function of the first device. Simultaneously, based on the communication connection, the first device sends the privacy protection request to the second device. After receiving the privacy protection request, the second device turns on the audio collection function of the second device, and the microphone of the second device collects audio.
[0093] It's important to note that if at least one of the first and second devices is not enabled, the privacy protection request will not be generated and the privacy protection feature will not be activated. For example, for an external device, a prompt will pop up stating "No relevant device detected, privacy protection feature not activated!"
[0094] Step 403: Send the privacy protection request to the first device, instructing the first device to disable the audio collection function.
[0095] Specifically, after generating the privacy protection request, the second device sends the privacy protection request to the first device via the communication connection. After receiving the privacy protection request, the first device disables the audio collection function of the first device according to the instruction of the privacy protection request.
[0096] Specifically, similar to the above embodiment, the generation of the privacy protection request, the sending of the privacy protection request, and the functional adjustment of the first device and the second device according to the privacy protection request also occur within a very short period of time.
[0097] Specifically, after the audio capture function of the second device is enabled, audio capture is no longer the responsibility of the first device, but is instead performed by the second device. Audio capture can now be performed using an audio capture device, such as a microphone, included in the second device. The advantages of using the second device for audio capture are described in detail in step 103 and will not be further elaborated here.
[0098] Specifically, with respect to the privacy protection revocation request, if the privacy protection revocation request is generated by the second device, the second device directly receives the privacy protection revocation request and disables the audio collection function of the second device. Simultaneously, based on the communication connection, the second device sends the privacy protection revocation request to the first device. After receiving the privacy protection revocation request, the first device enables the audio collection function of the first device, and the audio is collected by the audio collection device of the first device, such as a microphone.
[0099] Specifically, the privacy protection revocation request may also be generated by the external device. If the privacy protection revocation request is generated by the external device, the external device sends the privacy protection revocation request to the first device. After receiving the privacy protection revocation request, the first device turns on the audio collection function of the first device, and the audio collection device of the first device, such as a microphone, collects audio. Simultaneously, based on the communication connection, the first device sends the privacy protection revocation request to the second device. After receiving the privacy protection revocation request, the second device turns off the audio collection function of the second device.
[0100] At this point, the privacy protection function is turned off. The first device directly collects audio and transmits it to the external device.
[0101] Step 404: Encode the collected original audio to obtain first audio data.
[0102] Specifically, the second device starts to collect audio and collects the original audio. After the second device collects the original audio, in order to better transmit the original audio, it needs to encode the original audio, that is, convert the analog signal into a digital signal to obtain the first audio data.
[0103] Specifically, the audio transmission encoding used between the first device and the second device is a first encoding, and the encoding processing of the collected original audio to obtain the first audio data includes: encoding the collected original audio based on the first encoding to obtain the first audio data.
[0104] Specifically, the content of the first encoding is described in the above embodiment. The second device encodes the collected original audio according to the first encoding to obtain the first audio data.
[0105] Step 405: Send the first audio data to the first device.
[0106] Specifically, the first audio data obtained after encoding processing is sent to the first device.
[0107] Furthermore, the first device can receive the first audio data sent by the second device. The subsequent audio data transmission process is the same as the implementation process of step 104 in the above embodiment, and will not be repeated here.
[0108] In an embodiment of the present application, when the second device detects that the first device is turned on, a communication connection is established between the second device and the first device. Then, based on the user's second operation, the second device generates a privacy protection request and sends the privacy protection request to the first device through the communication connection. The second device turns on the audio acquisition function according to the instructions of the privacy protection request, and the first device turns off the audio acquisition function according to the instructions of the privacy protection request. This operation causes a change in the audio acquisition end, and the second device begins to be responsible for collecting audio. The second device collects the original audio, and after encoding processing, transmits the first audio data corresponding to the original audio to the first device. Without affecting the use of other functions of the first device, the distance between the second device and the user's voice position can be shortened by controlling the second device, reducing the possibility of the collected audio spreading to the surrounding area, thereby protecting the user's privacy.
[0109] Referring to Figure 5, Figure 5 is a flowchart of a third embodiment of an audio transmission method provided by the present application. As shown in Figure 5, an audio transmission method is applied to a second device, and the method includes the following steps:
[0110] Step 501: When it is detected that a first device is powered on, a communication connection is established with the first device.
[0111] The implementation process of this step is the same as the implementation process of step 401 in the aforementioned embodiment, and will not be repeated here.
[0112] Step 502: Generate a function adjustment request in response to a third user operation; the function adjustment request is used to instruct the first device to adjust the function of the external device.
[0113] Specifically, in addition to providing audio capture for the privacy protection function, the second device can also adjust the functions of the external device, such as answering and hanging up calls, increasing and decreasing the volume, swiping up and down to switch screens, and taking photos and videos.
[0114] Specifically, as long as the second device and the first device successfully establish a communication connection, the second device can adjust the function of the external device through the first device.
[0115] Specifically, the third user operation refers to an operation performed by a user to trigger a function adjustment. The function adjustment herein does not involve the privacy protection function. The third user operation is an operation performed by the user on the second device, such as a touch or click. There are multiple types of third user operations, and different third user operations correspond to different function adjustment purposes, but the implementation process is basically the same.
[0116] Specifically, in response to the third user operation, the second device generates the function adjustment request, where the function adjustment request is used to instruct the first device to adjust the function of the external device.
[0117] Step 503: Send the function adjustment request to the first device, instructing the first device to adjust the function of the external device based on the function adjustment request.
[0118] Specifically, after the second device generates the function adjustment request, the second device sends the function adjustment request to the first device.
[0119] Specifically, here the request is sent to the first device, which performs subsequent operations, rather than the second device directly adjusting the external device, to avoid functional disorders caused by an increase in devices.
[0120] Specifically, after the first device receives the function adjustment request, it directly adjusts the function of the external device according to the function adjustment request, that is, the first device parses the function adjustment request and adjusts the function of the external device. The adjustment process is the same as the process of directly adjusting the function of the external device through the first device.
[0121] Specifically, the first device, especially when the first device is a true wireless Bluetooth headset, is small in size, with few clickable buttons and touchable positions. Often, some operations such as controlling the volume, previous song, and next song require double-clicking, triple-clicking, double-clicking and long pressing, and other continuous operations to implement, which makes the user operation complicated and unfriendly.
[0122] The present application can expand the functions of the first device and simplify the control operations by providing an accessory for the first device, that is, providing the second device. At the same time, since the second device is a movable device, the user can operate the second device intuitively and at close range, that is, indirectly adjust the function of the external device by clicking or touching the second device, without the user having to touch the first device, and is less likely to cause erroneous operations.
[0123] Specifically, as previously mentioned, the second device is an accessory to the first device, and only the first device is displayed on the external device's interface. However, the effect of the function adjustment request triggered by the second device is the same as the effect of the adjustment directly made by the first device on the external device. For example, if you press the volume up button on the second device, the external device will see the same effect as if you pressed the volume up button on the first device.
[0124] In an embodiment of the present application, after the second device establishes a communication connection with the first device, based on the user's third operation, the second device generates a function adjustment request and sends the function adjustment request to the first device, instructing the first device to adjust the function of the external device according to the function adjustment request, to facilitate the user to make adjustments.
[0125] The embodiment of the present application also provides an audio transmission device.
[0126] Optionally, the audio transmission apparatus includes a first device communicatively connected to a second device; the first device is used to execute the first audio transmission method disclosed in the embodiment of the present application.
[0127] Alternatively, the application sharing device includes the second device communicatively connected to the first device; the second device is used to execute the second and third audio transmission methods disclosed in the embodiments of the present application.
[0128] Alternatively, referring to Figure 6, which is a structural diagram of an audio transmission device provided in an embodiment of the present application, the audio transmission device includes a first device communicatively connected to a second device, and a second device communicatively connected to the first device; the first device is configured to execute the first audio transmission method disclosed in the embodiment of the present application, and the second device is configured to execute the second and third audio transmission methods disclosed in the embodiment of the present application.
[0129] For example, the first device is a wireless headset, such as a head-mounted Bluetooth headset, a neckband Bluetooth headset, a true wireless Bluetooth headset, or other types of Bluetooth headsets. The second device has an audio acquisition function and can be a portable device with an audio acquisition function. For portability, it is usually designed as a wearable device, such as a ring, bracelet, or necklace.
[0130] The audio transmission device provided in the embodiment of the present application can implement each process of the embodiment of the above-mentioned audio transmission method and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0131] Figure 7 is a structural diagram of a terminal provided in an embodiment of the present application. As shown in the figure, the terminal 7 of this embodiment includes: at least one processor 70 (only one is shown in Figure 7), a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70. When the processor 70 executes the computer program 72, the steps of any of the above-mentioned method embodiments are implemented.
[0132] The terminal 7 can be a computing device such as a desktop computer, laptop, PDA, or cloud server. The terminal 7 may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that FIG7 is merely an example of the terminal 7 and does not limit the terminal 7. The terminal 7 may include more or fewer components than shown, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, and the like.
[0133] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0134] The memory 71 can be an internal storage unit of the terminal 7, such as a hard drive or memory of the terminal 7. Alternatively, the memory 71 can be an external storage device of the terminal 7, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. Furthermore, the memory 71 can include both an internal storage unit of the terminal 7 and an external storage device. The memory 71 is used to store the computer program and other programs and data required by the terminal. The memory 71 can also be used to temporarily store data that has been output or is about to be output.
[0135] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0136] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0137] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0138] In the embodiments provided in this application, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0139] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0140] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0141] If the integrated module / unit is implemented as a software functional unit and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the process steps in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content of the computer-readable medium can be appropriately increased or decreased based on the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.
[0142] The present application implements all or part of the processes in the above-mentioned embodiment method, and can also be implemented through a computer program product. When the computer program product runs on a terminal, the terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0143] The above-described 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. An audio transmission method, characterized in that: Applied to a first device, the method includes: When detecting that the second device is powered on, establishing a communication connection with the second device; In response to a first operation of the user, generating a privacy protection request; the privacy protection request is used to instruct the first device to turn off an audio collection function, and to instruct the second device to turn on the audio collection function; Sending the privacy protection request to the second device, instructing the second device to enable the audio collection function; Receive first audio data sent by the second device.
2. The method according to claim 1, characterized in that After generating a privacy protection request in response to the first operation of the user, the method further includes: Based on the privacy protection request, the first device turns off the audio collection function.
3. The method according to claim 1, characterized in that The audio transmission coding used between the first device and the second device is a first coding, the audio transmission coding used between the first device and an external device is a second coding, and after receiving the first audio data sent by the second device, the method further includes: Determine whether the first code and the second code are the same; If the first code is the same as the second code, the received first audio data is sent to the external device.
4. The method according to claim 3, characterized in that After determining whether the first code and the second code are the same, the method further includes: If the first code and the second code are different, decoding the first audio data based on the first code to obtain original audio; Encode the original audio based on the second encoding to obtain second audio data; The second audio data is sent to the external device.
5. An audio transmission method, characterized in that: Applied to the second device, the method includes: When detecting that the first device is powered on, establishing a communication connection with the first device; In response to a second operation of the user, generating a privacy protection request; the privacy protection request is used to instruct the first device to turn off the audio collection function, and to instruct the second device to turn on the audio collection function; Sending the privacy protection request to the first device, instructing the first device to turn off the audio collection function; Encoding the collected original audio to obtain first audio data; The first audio data is sent to the first device.
6. The method according to claim 5, characterized in that The audio transmission code used between the first device and the second device is a first code, and the encoding process of the collected original audio to obtain the first audio data includes: The collected original audio is encoded based on the first encoding to obtain the first audio data.
7. The method according to claim 5, characterized in that After the step of establishing a communication connection with the first device when detecting that the first device is powered on, the step further includes: In response to a third operation of the user, generating a function adjustment request; the function adjustment request is used to instruct the first device to adjust the function of the external device; The function adjustment request is sent to the first device, instructing the first device to adjust the function of the external device based on the function adjustment request.
8. An audio transmission device, characterized in that: The invention comprises a first device communicatively connected to a second device and / or the second device communicatively connected to the first device; the first device is used to execute the method as described in any one of claims 1 to 4, and the second device is used to execute the method as described in any one of claims 5 to 7.
9. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Private conversion Bluetooth earphone of voice transmitting and voice receiving fission
CN103281421A
Novel separable watch
CN105306623A
Smart watch and call method of smart watch
CN112468644A
Audio transmission method and device, terminal and readable storage medium
CN117896657A
Smart watch coupling earphone
KR101521539B1