Voice call translation capability negotiation method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsWeijie Li, Xin Zhang
Life of this patent
Estimating the term…
Abstract
A voice call translation capability negotiation method and an electronic device are provided, and relate to the field of terminal technologies. The method includes: After a first electronic device establishes a communication link with a second electronic device, if a voice call translation function is enabled, the first electronic device receives first indication information sent by the second electronic device. The first indication information is used to indicate that a voice call translation function of the second electronic device is enabled. The first electronic device automatically disables the voice call translation function.
Claims16
A method comprising:
- after a first electronic device establishes a communication link with a second electronic device, and when a voice call translation function of the first electronic device is in an enabled state, receiving, by the first electronic device, first indication information sent by the second electronic device, wherein the first indication information indicates that a voice call translation function of the second electronic device is enabled;
- wherein when the voice call translation function of the first electronic device is in the enabled state, the first electronic device is configured to:
- obtain a translation result of a speech received by the first electronic device through a first microphone, obtain a translation result of a received speech sent by the second electronic device, and send, to the second electronic device, the translation result of the speech received by the first electronic device through the first microphone;
- and
- wherein when the voice call translation function of the second electronic device is enabled, the second electronic device is configured to:
- obtain a translation result of a speech received by the second electronic device through a second microphone, obtain a translation result of a received speech sent by the first electronic device, and send, to the first electronic device, the translation result of the speech received by the second electronic device through the second microphone;
- and
- automatically disabling, by the first electronic device, the voice call translation function of the first electronic device in response to receiving the first indication information.
A method comprising:
- after a first electronic device establishes a communication link with a second electronic device, and when a voice call translation function of the first electronic device is in an enabled state, receiving first indication information sent by the second electronic device, wherein the first indication information indicates that a voice call translation function of the second electronic device is enabled;
- wherein when the voice call translation function of the first electronic device is in the enabled state, the first electronic device is configured to:
- obtain a translation result of a first speech received by the first electronic device through a first microphone, and send, to the second electronic device, the translation result of the first speech;
- and when the voice call translation function of the second electronic device is enabled, the second electronic device is configured to:
- obtain a translation result of a second speech received by the second electronic device through a second microphone, and send, to the first electronic device, the translation result of the second speech;
- after receiving the first indication information, disabling, by the first electronic device, a voice broadcast mode of the first electronic device, and enabling a text display mode of the first electronic device;
- and when the voice broadcast mode of the first electronic device is disabled and the text display mode of the first electronic device is enabled, skipping, by the first electronic device, broadcasting the translation result of the second speech received from the second electronic device, and displaying a text of the translation result of the second speech received from the second electronic device;
- and
- sending, by the first electronic device, second indication information to the second electronic device, wherein the second indication information indicates the second electronic device to disable a voice broadcast mode of the second electronic device and to enable a text display mode of the second electronic device;
- and when the voice broadcast mode of the second electronic device is disabled and the text display mode of the second electronic device is enabled, the second electronic device is configured to skip broadcasting the translation result of the first speech received from the first electronic device, and displaying a text of the translation result of the first speech received from the first electronic device.
A first electronic device, comprising:
- at least one processor;
- and
- a memory coupled to the at least one processor, wherein the memory comprises instructions that, when executed by the at least one processor, cause the first electronic device to perform operations comprising:
- after the first electronic device establishes a communication link with a second electronic device, and when a voice call translation function of the first electronic device is in an enabled state, receiving first indication information sent by the second electronic device, wherein the first indication information indicates that a voice call translation function of the second electronic device is enabled;
- wherein when the voice call translation function of the first electronic device is in the enabled state, the first electronic device is configured to:
- obtain a translation result of a speech received by the first electronic device through a first microphone, obtain a translation result of a received speech sent by the second electronic device, and send, to the second electronic device, the translation result of the speech received by the first electronic device through the first microphone;
- and when the voice call translation function of the second electronic device is enabled, the second electronic device is configured to:
- obtain a translation result of a speech received by the second electronic device through a second microphone, obtain a translation result of a received speech sent by the first electronic device, and send, to the first electronic device, the translation result of the speech received by the second electronic device through the second microphone;
- and
- automatically disabling the voice call translation function of the first electronic device in response to receiving the first indication information.
Dependencies are inferred from the claim text.