IP Library Granted Patent US 12697877
Granted Patent B2
US 12697877 · App. 18/695,080 · Granted Aug 4, 2026

Audio stream processing method, address processing method, and related device

Inventors: Hongxing Peng (Xi'an, CN); Xuan Zhou (Shenzhen, CN); Qiang Xu (Toronto, CA); Shuai Wang (Xi'an, CN); Shiming Li (Xi'an, CN); Yan Gong (Shenzhen, CN); Jiayu Long (Shenzhen, CN); Liang Hu (Shenzhen, CN); Jie Xu (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
B60K35/26G06F3/165
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12697877
App. No.
18/695,080
Granted
Aug 4, 2026
Kind
B2
Abstract

Embodiments relate to audio stream and address processing methodologies, which is applicable to exemplary methods and devices including a first terminal device. The first terminal device establishes a connection to the vehicle, and switches a play device of audio streams in a first category and a second category from the first terminal device to the vehicle; and in a process in which the first terminal device and the vehicle are in a connected state, upon detecting that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle, obtains a target category corresponding to the target audio stream being played by the vehicle. The target audio stream is generated by the first terminal device and sent to the vehicle. The vehicle continues to play the target audio stream if the target category is the first category.

Claims (54)

1 . A method, wherein the method is applied to a data processing system, the data processing system comprises a first terminal device and a vehicle, and the method comprises:

establishing, by the first terminal device, a connection to the vehicle;

switching, by the first terminal device, a play device of audio streams in a first category and a second category from the first terminal device to the vehicle;

in a process in which the first terminal device and the vehicle are in a connected state, upon detecting that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle, obtaining a target category corresponding to a target audio stream being played via audio output by the vehicle, wherein the target audio stream is generated by the first terminal device and sent to the vehicle;

continuing to play, via audio output by the vehicle, the target audio stream when the target category is the first category; and

switching the play device of the target audio stream from the vehicle to the first terminal device when the target category is the second category, wherein the audio stream in the second category is generated by the first terminal device.

2 . The method according to claim 1 , wherein the first category comprises a media category, and the second category is different from the first category.

3 . The method according to claim 1 , further comprising:

outputting, by the first terminal device, first information, wherein the first information prompts a user to switch the play device of the target audio stream from the vehicle to the first terminal device.

4 . The method according to claim 1 , wherein after continuing to play, by the vehicle, the target audio stream when the target category is the first category, the method further comprises:

upon obtaining a play operation for a first audio stream, outputting, by the first terminal device, first information, wherein a category of the first audio stream is the first category, the first audio stream is different from the target audio stream played by the vehicle, and the first information prompts a user to switch a play device of the first audio stream from the vehicle to the first terminal device.

5 . The method according to claim 1 , wherein detecting that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle comprises:

sending, by the vehicle, a plurality of target audio signals according to a preset frequency, wherein the plurality of target audio signals comprise a first sounding signal and a second sounding signal, at least one arrival time comprises a first time set corresponding to the first sounding signal and a second time set corresponding to the second sounding signal, the first time set comprises at least one time at which the first sounding signal arrives at the first terminal device through direct incidence or reflection, and the second time set comprises at least one time at which the second sounding signal arrives at the first terminal device through direct incidence or reflection;

generating, by the first terminal device based on a time interval between an arrival time in the first time set and an arrival time in the second time set, first location information corresponding to the first terminal device, wherein the first location information indicates whether the first terminal device is located inside the vehicle or outside the vehicle; and

determining, based on the first location information of the first terminal device in a preset time period, that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle.

6 . The method according to claim 5 , wherein the plurality of target audio signals are ultrasonic signals.

7 . A method, wherein the method is applied to a first terminal device, the first terminal device is comprised in a data processing system, the data processing system further comprises a vehicle, and the method comprises:

establishing, by the first terminal device, a connection to the vehicle;

sending, by the first terminal device, data to the vehicle, wherein the data comprises a target audio stream;

in a process in which the vehicle plays the target audio stream and the first terminal device and the vehicle are in a connected state, upon detecting that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle, obtaining a target category corresponding to the target audio stream being sent to the vehicle;

continuing to send the target audio stream to the vehicle when the target category is a first category; and

switching a play device of the target audio stream from the vehicle to the first terminal device when the target category is a second category, wherein the audio stream in the second category is generated by the first terminal device.

8 . The method according to claim 7 , wherein the first category comprises a media category, and the second category is different from the first category.

9 . The method according to claim 8 , wherein the method further comprises:

upon the first terminal device receiving a play indication for playing a second audio stream, playing, by the first terminal device, the second audio stream, wherein a category of the second audio stream is the second category.

10 . The method according to claim 7 , further comprising:

outputting first information, wherein the first information prompts a user to switch the play device of the target audio stream from the vehicle to the first terminal device.

11 . The method according to claim 7 , wherein after continuing to send the target audio stream to the vehicle when the target category is a first category, the method further comprises:

upon obtaining a play operation for a first audio stream, outputting, by the first terminal device, first information, wherein a category of the first audio stream is the first category, the first audio stream is different from the target audio stream played by the vehicle, and the first information prompts a user to switch a play device of the first audio stream from the vehicle to the first terminal device.

12 . The method according to claim 7 , further comprising:

receiving, by the first terminal device, a plurality of target audio signals, wherein the plurality of target audio signals comprise a first sounding signal and a second sounding signal, at least one arrival time comprises a first time set corresponding to the first sounding signal and a second time set corresponding to the second sounding signal, the first time set comprises at least one time at which the first sounding signal arrives at the first terminal device through direct incidence or reflection, and the second time set comprises at least one time at which the second sounding signal arrives at the first terminal device through direct incidence or reflection;

generating, by the first terminal device based on a time interval between an arrival time in the first time set and an arrival time in the second time set, first location information corresponding to the first terminal device, wherein the first location information indicates whether the first terminal device is located inside the vehicle or outside the vehicle; and

determining, based on the first location information of the first terminal device in a preset time period, that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle.

13 . The method according to claim 12 , wherein the plurality of target audio signals are ultrasonic signals.

14 . A first terminal device, comprising:

at least one processor; and

a memory coupled to the at least one processor and storing instructions that are executable by the at least one processor, the instructions, when executed, causing the first terminal device to:

establish a connection to a vehicle;

send data to the vehicle, wherein the data comprises a target audio stream;

in a process in which the vehicle plays the target audio stream and the first terminal device and the vehicle are in a connected state, upon detecting that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle, obtain a target category corresponding to the target audio stream being sent to the vehicle;

continue to send the target audio stream to the vehicle when the target category is a first category; and

switch a play device of the target audio stream from the vehicle to the first terminal device when the target category is a second category, wherein the audio stream in the second category is generated by the first terminal device.

15 . The first terminal device according to claim 14 , wherein the first category comprises a media category, and the second category is different from the first category.

16 . The first terminal device according to claim 15 , wherein the instructions, when executed, cause the first terminal device further to:

upon receiving a play indication for playing a second audio stream, play the second audio stream, wherein a category of the second audio stream is the second category.

17 . The first terminal device according to claim 15 , wherein the instructions, when executed, cause the first terminal device further to:

output first information, wherein the first information prompts a user to switch the play device of the target audio stream from the vehicle to the first terminal device.

18 . The first terminal device according to claim 15 , wherein the instructions, when executed, cause the first terminal device further to:

upon obtaining a play operation for a first audio stream, output first information, wherein a category of the first audio stream is the first category, the first audio stream is different from the target audio stream played by the vehicle, and the first information prompts a user to switch a play device of the first audio stream from the vehicle to the first terminal device.

19 . The first terminal device according to claim 15 , wherein the instructions, when executed, cause the first terminal device further to:

receive a plurality of target audio signals, wherein the plurality of target audio signals comprise a first sounding signal and a second sounding signal, at least one arrival time comprises a first time set corresponding to the first sounding signal and a second time set corresponding to the second sounding signal, the first time set comprises at least one time at which the first sounding signal arrives at the first terminal device through direct incidence or reflection, and the second time set comprises at least one time at which the second sounding signal arrives at the first terminal device through direct incidence or reflection;

generate, based on a time interval between an arrival time in the first time set and an arrival time in the second time set, first location information corresponding to the first terminal device, wherein the first location information indicates whether the first terminal device is located inside the vehicle or outside the vehicle; and

determine, based on the first location information of the first terminal device in a preset time period, that the first terminal device is moved from the inside of the vehicle to the outside of the vehicle.

20 . The first terminal device according to claim 19 , wherein the plurality of target audio signals are ultrasonic signals.