Call adjustment method and related device
By introducing first and second audio modes of different volumes into the terminal device and adjusting the volume according to the distance between the user and the device, the sudden change in volume caused by emergency calls is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510728739.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-08-08
AI Technical Summary
When a user uses a terminal device to make a call, he suddenly receives an emergency call with a loud volume, causing a sudden change in the volume, which may cause ear blowing problems and affect the user experience.
The terminal device supports the first audio mode and the second audio mode. The first audio mode uses the first speaker, and the second audio mode uses the second speaker, and the maximum volume is different. During the answering of the first incoming call, the second incoming call is received, and then the answering instructions is switched to the second audio mode and the volume is lowered, or the first audio mode is maintained, and the volume is adjusted based on the distance between the user and the device.
It effectively avoids ear explosion problems caused by sudden changes in volume, improves the user experience, and adjusts the volume level adaptively to ensure that the volume meets user needs.
Smart Images

Figure CN120455589A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a call adjustment method and related devices. Background Art
[0002] With the rapid development of communication technology, a user may receive another call while using a terminal device. For example, if a user is on a call with a terminal device and a more urgent call is received, the terminal device may automatically hang up the ongoing call and automatically answer the more urgent call.
[0003] However, the terminal device usually adjusts based on the default audio mode used for the incoming call, which may cause a sudden change in the volume of the incoming call. For example, the default audio mode of the incoming call that the user is answering has a low volume. At this time, there is another incoming call with a high volume of the default audio mode. The terminal device may directly answer the call, causing the volume of the terminal device to suddenly increase, which may cause ear irritation and other effects on the user, easily affecting the user's experience. Summary of the Invention
[0004] In view of this, an embodiment of the present application provides a call adjustment method and related devices, the purpose of which is to improve the user experience of calls.
[0005] In a first aspect, an embodiment of the present application provides a call adjustment method, applied to a terminal device, wherein the terminal device supports a first audio mode and a second audio mode, the first audio mode uses a first speaker, and the second audio mode uses a second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions of the terminal device; the method includes:
[0006] During the process of answering the first incoming call, receiving a second incoming call; the first incoming call uses the first audio mode, and the default audio mode of the second incoming call is the second audio mode;
[0007] In response to an instruction to answer the second incoming call, answering the second incoming call, the terminal device switching to the second audio mode and lowering a default volume in the second audio mode; adjusting the volume in the second audio mode based on a distance between the user and the terminal device;
[0008] or,
[0009] In response to the instruction to answer the second incoming call, the second incoming call is answered, and the terminal device remains in the current first audio mode.
[0010] In a possible implementation, the first audio mode is a handset mode, and the second audio mode is a hands-free mode.
[0011] In a possible implementation, adjusting the volume in the second audio mode based on the distance between the user and the terminal device includes:
[0012] When the distance between the user and the terminal device is less than or equal to a first threshold, reducing the volume value in the second audio mode to a first volume threshold value that is less than or equal to the first threshold value;
[0013] And / or when the distance between the user and the terminal device is greater than or equal to a second threshold, the volume value in the second audio mode is increased to a second volume threshold corresponding to the second threshold.
[0014] In a possible implementation, after answering the second incoming call and maintaining the terminal device in the current first audio mode, the method further includes:
[0015] When the distance between the user and the terminal device is greater than a third threshold, the audio mode of the terminal device is switched from the first audio mode to the second audio mode.
[0016] In a possible implementation, the terminal device includes a first communication module and a second communication module, the first communication module is connected to a mobile cellular network, and the second communication module is connected to a terrestrial radio network;
[0017] The first incoming call is received through the first communication module, and the second incoming call is received through the second communication module.
[0018] In a possible implementation, adjusting the volume in the second audio mode based on the distance between the user and the terminal device includes:
[0019] Adjust the volume in the second audio mode based on the posture parameter of the terminal device and the distance between the user and the terminal device.
[0020] In one possible implementation, the method for obtaining the distance between the user and the terminal device includes:
[0021] determining the distance between the user and the terminal device by using a distance sensor of the terminal device;
[0022] The method for acquiring posture parameters of the terminal device includes:
[0023] The posture parameters of the terminal device are determined by an acceleration sensor of the terminal device.
[0024] In a possible implementation, the terminal device supports a broadband network and a narrowband network, the first incoming call is an incoming call on the broadband network, and the second incoming call is an incoming call on the narrowband network.
[0025] In a second aspect, an embodiment of the present application provides a walkie-talkie, comprising at least one processor, at least one mobile communication radio frequency component, at least two speakers, a memory, and at least one communication bus, wherein the memory stores program code, and the processor is configured to call the program code stored in the memory to perform the following operations:
[0026] While answering a first incoming call, a second incoming call is received; the first incoming call uses the first audio mode, and the default audio mode for the second incoming call is the second audio mode; the intercom supports the first audio mode and the second audio mode, the first audio mode uses the first speaker, and the second audio mode uses the second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the intercom;
[0027] In response to an instruction to answer the second incoming call, the second incoming call is answered, the intercom switches to the second audio mode and lowers a default volume in the second audio mode; and the volume in the second audio mode is adjusted based on a distance between the user and the intercom;
[0028] or,
[0029] In response to the instruction to answer the second incoming call, the second incoming call is answered, and the intercom remains in the current first audio mode.
[0030] In a third aspect, an embodiment of the present application provides a call adjustment device, applied to a terminal device, the device comprising:
[0031] an answering module, configured to answer a first incoming call, wherein the first incoming call uses a first audio mode, and the first audio mode uses a first speaker;
[0032] an incoming call receiving module, configured to receive a second incoming call while answering a first incoming call; the default audio mode for the second incoming call is a second audio mode, and the second audio mode uses a second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the terminal device;
[0033] an incoming call processing module, configured to answer the second incoming call in response to an instruction to answer the second incoming call; the terminal device switches to the second audio mode and lowers the default volume in the second audio mode, or the terminal device remains in the current first audio mode;
[0034] The volume adjustment module is used to adjust the volume in the second audio mode based on the distance between the user and the terminal device.
[0035] In a fourth aspect, an embodiment of the present application provides a call adjustment device, wherein the device is the terminal device, and the device includes a memory and a processor:
[0036] The memory is used to store a computer program and transmit the computer program to the processor;
[0037] The processor is configured to execute the computer program so as to enable the device to perform the call adjustment method described in the first aspect.
[0038] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the device executing the computer program implements the call adjustment method described in the first aspect above.
[0039] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0040] The embodiment of the present application provides a method for adjusting a call and a related device. The method can be applied to a terminal device that supports a first audio mode and a second audio mode, wherein the first audio mode uses a first speaker and the second audio mode uses a second speaker, the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions of the terminal device; in this method, a user answers a first incoming call, and the first incoming call uses the first audio mode. During the process of answering the first incoming call, the terminal device can receive a second incoming call, and the default audio mode of the second incoming call is the second audio mode, that is, the second incoming call uses the second audio mode; the terminal device can answer the second incoming call in response to an instruction to answer the second incoming call, and the terminal device can switch from the first audio mode to the second audio mode and lower the default volume in the second audio mode; the volume in the second audio mode can be adjusted based on the distance between the user and the terminal device. Alternatively, the terminal device can answer the second incoming call in response to an instruction to answer the second incoming call, and the terminal device will still remain in the current first audio mode.
[0041] It can be seen that when the terminal device is answering the first incoming call and there is a need to answer the second incoming call, in one case, it can switch to the second audio mode using the second speaker and lower the default volume in the second audio mode, which can reduce the volume of the second incoming call. It can also adjust the volume in the second audio mode according to the distance between the user and the terminal device, so as to avoid the problem of the user's ears being irritated by the excessive volume of the second incoming call, and can adaptively adjust the volume to be more suitable for the user, which helps to greatly improve the user's experience. In another case, even if the default audio mode of the second incoming call is the second audio mode, the terminal device can still remain in the first audio mode, and can also avoid the problem of the user's ears being irritated by the excessive volume of the second incoming call due to adjustment to the second audio mode. Therefore, the method provided in the present application helps to improve the user's experience of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the following briefly introduces the drawings required for use in the embodiment or the prior art description. 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 creative work.
[0043] Figure 1 An application scenario of a call adjustment method provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of a call adjustment method provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of a call adjustment method provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of another call adjustment method provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the structure of a call adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0049] Currently, while a user is on a call using a terminal device, the terminal device may also receive another call. For example, if a user is on a call using a terminal device and a more urgent call is received, the terminal device may automatically hang up the ongoing call and automatically answer the more urgent call.
[0050] With the rapid development of technology, dual-mode terminal devices that support both broadband and narrowband networks have emerged. Users are accustomed to answering calls on broadband networks using the handset, while those on narrowband networks are accustomed to answering calls using the handset. The default audio modes for incoming calls on broadband and narrowband networks are different: the default audio mode for broadband calls is lower volume, while the default audio mode for narrowband calls is higher volume. When a user uses a dual-mode terminal device to answer a call on a broadband network, if the dual-mode terminal device receives and answers a call on a narrowband network, the user's ears may be irritated, which can easily affect the user experience.
[0051] Based on this, in order to solve the above problem, the embodiment of the present application provides a call adjustment method and related device. The method can be applied to a terminal device, the terminal device supports a first audio mode and a second audio mode, wherein the first audio mode uses a first speaker and the second audio mode uses a second speaker, the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions of the terminal device; in this method, a user will answer a first incoming call, the first incoming call uses the first audio mode, and during the process of answering the first incoming call, the terminal device can receive a second incoming call, the default audio mode of the second incoming call is the second audio mode, that is, the second incoming call uses the second audio mode; the terminal device can answer the second incoming call in response to an instruction to answer the second incoming call, the terminal device can switch from the first audio mode to the second audio mode, and lower the default volume in the second audio mode; based on the distance between the user and the terminal device, the volume in the second audio mode can be adjusted. Alternatively, the terminal device can answer the second incoming call in response to an instruction to answer the second incoming call, and the terminal device will still remain in the current first audio mode.
[0052] It can be seen that when the terminal device is answering the first incoming call and there is a need to answer the second incoming call, in one case, it can switch to the second audio mode using the second speaker and lower the default volume in the second audio mode, which can reduce the volume of the second incoming call. It can also adjust the volume in the second audio mode according to the distance between the user and the terminal device, so as to avoid the problem of the user's ears being irritated by the excessive volume of the second incoming call, and can adaptively adjust the volume to be more suitable for the user, which helps to greatly improve the user's experience. In another case, even if the default audio mode of the second incoming call is the second audio mode, the terminal device can still remain in the first audio mode, and can also avoid the problem of the user's ears being irritated by the excessive volume of the second incoming call due to adjustment to the second audio mode. Therefore, the method provided in the present application helps to improve the user's experience of the terminal device.
[0053] First, the application scenario of the call adjustment method provided in the embodiment of the present application is introduced.
[0054] For example, the embodiments of the present application can be applied to Figure 1 In the scenario shown. The scenario includes a terminal device 101, a first device 102, and a second device 103. The terminal device 101 can receive a second incoming call from the second device 103 while answering a first incoming call from the first device 102. Subsequently, the terminal device 101 can continue to use the implementation method provided in the embodiment of the present application to handle the incoming call.
[0055] In some embodiments, the terminal device 101, the first device 102 and the second device 103 can all be multi-mode terminal devices that support broadband networks and narrowband networks, such as dual-mode walkie-talkies, etc. The first incoming call between the terminal device 101 and the first device 102 can be an incoming call under the broadband network, and the second incoming call between the terminal device 101 and the second device 103 can be an incoming call under the narrowband network.
[0056] First of all, in the above application scenario, although the terminal device 101, the first device 102 and the second device 103 are described as multi-mode terminal devices supporting broadband networks and narrowband networks, this application does not limit this. The terminal device 101 can also be a multi-mode terminal device supporting broadband networks and narrowband networks, the first device 102 can be a terminal device supporting broadband networks, and the second device 103 can be a terminal device supporting narrowband networks. The priority of incoming calls from one network is higher than that of incoming calls from the other network, and usually, the users of the first network and the second network have different answering habits.
[0057] For example, the incoming call under the broadband network can be a Long Term Evolution (LTE) call, a Voice over Internet Protocol (VoIP) call, or a VOIP emergency call; the incoming call under the narrowband network can be an incoming call of a narrowband private network, such as Public Safety Digital Trunking (PDT), Terrestrial Trunked Radio (TETRA), and Digital Mobile Radio (DMR) and other private network narrowband calls.
[0058] Secondly, although the first incoming call is described as an incoming call on a broadband network and the second incoming call is described as an incoming call on a narrowband network, this application does not limit this. The first incoming call and the second incoming call can also be incoming calls on the same type of network, so that the second incoming call has a higher priority than the first incoming call.
[0059] Then, based on the above examples, in the embodiments provided in this application, the terminal device, the first device and the second device, these electronic devices, can be in various forms, for example, walkie-talkies, mobile phones, tablet computers, laptops, wearable devices, vehicle-mounted devices, etc.
[0060] Among them, the terminal device can be a multi-mode terminal device that supports broadband networks and narrowband networks, and its form can be a walkie-talkie, etc., which is not limited in this application.
[0061] Finally, the above scenario is only an example scenario provided by the embodiment of the present application, and the embodiment of the present application is not limited to this scenario.
[0062] The specific implementation of the call adjustment method and related devices in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0063] See also Figure 2 , this figure is a flowchart of a call adjustment method provided in an embodiment of the present application, which can be applied to a terminal device.
[0064] The terminal device supports a first audio mode and a second audio mode. The first audio mode uses a first speaker of the terminal device, and the second audio mode uses a second speaker of the terminal device.
[0065] The maximum volume of the first speaker is smaller than the maximum volume of the second speaker. For example, the volume of the first speaker is 1-5, and the volume of the second speaker can be 1-10.
[0066] The first speaker and the second speaker may be located at different positions of the terminal device. For example, the first speaker may be located at the top position of the terminal device, and the second speaker may be located at the bottom position of the terminal device.
[0067] Combine Figure 2 As shown, the method may specifically include:
[0068] S201: The terminal device receives a second incoming call while answering a first incoming call.
[0069] The first incoming call uses the first audio mode, and the default audio mode for the second incoming call is the second audio mode. When the terminal device answers the first incoming call, the terminal device uses the first audio mode.
[0070] The default audio mode for the second incoming call is the second audio mode. When the terminal device does not answer any incoming call, it receives and answers the second incoming call normally. At this time, the terminal device uses the second audio mode.
[0071] In some embodiments, the terminal device may receive a first incoming call, and the terminal device may display the first incoming call to the user. After the user performs an approval operation on the first incoming call, the terminal device may answer the first incoming call.
[0072] After the terminal device answers the first incoming call, the user using the terminal device can talk with another user of the device that sent the first incoming call. During this process, the terminal device can receive a second incoming call.
[0073] In some embodiments, the first incoming call or the second incoming call may carry information such as the incoming call number, the incoming call network protocol, the default audio mode of the incoming call, etc., which is not limited in this application.
[0074] It should be noted that each incoming call may carry more or fewer types of content than the above examples, and this application does not limit this.
[0075] In a possible implementation of the present application, the first audio mode is the handset mode, and the second audio mode is the hands-free mode. For ease of understanding, this example will be used in the following description, but it does not limit the present application.
[0076] Among them, the first audio mode is the handset mode, indicating that when a user using the terminal device answers the first incoming call, he can use the handset of the terminal device to talk, and the distance between the user and the terminal device is very close, for example, the user's ear is close to the terminal device.
[0077] The second audio mode is the hands-free mode, which means that when the terminal device does not answer any incoming call, it can use the hands-free mode to answer the second incoming call when it receives and answers the second call normally. At this time, the distance between the user and the terminal device can be far, for example, the terminal device is placed on the desktop and the user sits down and listens directly.
[0078] It should be noted that the default audio mode of the first incoming call is the handset mode, which is only an example. The default audio mode can also be other modes. The user can select the handset mode when answering the first incoming call, so that the terminal device is adjusted to the handset mode based on the user's selection operation. When the terminal device answers the second incoming call, the terminal device is in the handset mode.
[0079] For ease of understanding, the following embodiments take the first incoming call as an incoming call in a broadband network, the first audio mode as a handset mode, the second incoming call as an incoming call in a narrowband network, and the second audio mode as a hands-free mode as an example to introduce the call adjustment method provided in the embodiments of the present application.
[0080] S202: The terminal device answers the second incoming call in response to the instruction to answer the second incoming call, switches to the second audio mode, and lowers the default volume in the second audio mode.
[0081] In one example, the instruction to answer the second incoming call may be an instruction generated inside the terminal.
[0082] For example, the call may be automatically answered based on the received signal strength or a preset rule. In the example where the terminal device is a walkie-talkie, ordinary calls, such as individual calls and group calls, are automatically answered. The second incoming call may be an individual call or a group call, and the terminal device may automatically answer the second incoming call without user instruction.
[0083] In another example, the instruction to answer the second incoming call may be in response to an answer instruction of the user.
[0084] For example, when receiving the second incoming call, the terminal device may display an answering control for the second incoming call, and the second incoming call may be answered in response to the user clicking the answering control for the second incoming call.
[0085] When the terminal device answers the second incoming call, it can hang up or terminate the first incoming call, which is not limited in this application.
[0086] In the example where the terminal device automatically answers the second incoming call according to a preset rule, the terminal device may have set priorities for incoming calls of various network types (ie, incoming call networks, such as the broadband network or narrowband network examples described above).
[0087] In some embodiments, the terminal device may set the priority of incoming calls in a narrowband network to be higher than that in a broadband network.
[0088] For example, a terminal device can determine the priority of an incoming call based on the incoming call network. For example, when the terminal device receives a first incoming call, it determines that the incoming call network is a broadband network. Subsequently, the terminal device receives a second incoming call and determines that the incoming call network is a narrowband network. The terminal device can then compare the priorities of the first and second calls based on the network priorities. If it determines that the priority of the second call is greater than the priority of the first call, the terminal device can automatically answer the second call.
[0089] For example, the terminal device can determine the network type of the incoming call by detecting the caller number included in the incoming call. For example, the prefix of the incoming call in the broadband network is different from that of the incoming call in the narrowband network, or the number formats of the two are different.
[0090] In another possible implementation, the terminal device may have set priorities for different incoming calls. For example, the terminal device sets the second incoming call as the highest priority. When the terminal device receives the second incoming call, it can determine that the priority of the second incoming call is greater than the priority of the first incoming call based on the incoming call number or the incoming call network.
[0091] When the terminal device answers the second incoming call, it can switch from the first audio mode to the second audio mode, for example, from the handset mode to the hands-free mode, and the terminal device can lower the default volume of the second audio mode.
[0092] In one example, the terminal device lowering the default volume of the second audio mode may be lowering the default volume to a preset volume value. For example, if the default volume is 10 and the preset volume value is 6, the volume of the second audio mode may be adjusted from 10 to 6.
[0093] The preset volume value may be pre-set, or may be a value set by the user when the user last answered a call in which the terminal device switched from the first audio mode to the second audio mode; or may be calculated by the terminal device based on the surrounding environment. This application does not limit this.
[0094] In the example where the preset volume value is calculated by the terminal device based on the surrounding environment, the terminal device calculates that the user's ear is close to the terminal device at this time, and then a volume value less than the default volume can be determined as the preset volume value. For details, please refer to the introduction of the embodiments below, which will not be expanded here.
[0095] S203: Adjust the volume in the second audio mode based on the distance between the user and the terminal device.
[0096] When the user answers the second incoming call, the terminal device can adjust the volume in the second audio mode in real time based on the distance between the user and the terminal device.
[0097] In one possible implementation, S203 may specifically include: when the distance between the user and the terminal device is less than or equal to a first threshold, reducing the volume value in the second audio mode to a first volume threshold corresponding to the first threshold that is less than or equal to the first threshold; and / or, when the distance between the user and the terminal device is greater than or equal to a second threshold, increasing the volume value in the second audio mode to a second volume threshold corresponding to the second threshold.
[0098] In some embodiments, the first threshold may be equal to the second threshold, and the first volume threshold may be equal to the second volume threshold.
[0099] For example, the first threshold and the second threshold are both threshold A, and the first volume threshold and the second volume threshold are both volume threshold 1. When the distance between the user and the terminal device is less than or equal to threshold A, the volume value of the terminal device using the second audio mode can be reduced to less than or equal to volume threshold 1; when the distance between the user and the terminal device is greater than or equal to threshold A, the volume value of the terminal device using the second audio mode can be increased to reach the second volume threshold.
[0100] When the second audio mode is hands-free mode, the terminal device can play the incoming call sound through the speaker. When the distance between the user and the terminal device is less than or equal to threshold A, the speaker volume is less than or equal to volume threshold 1. This indicates that the distance between the user's ear and the terminal device is very close, so the volume needs to be lower.
[0101] When the distance between the user and the terminal device is greater than or equal to threshold A, the speaker volume is greater than or equal to volume threshold 1. This indicates that the distance between the user's ear and the terminal device is far, so the volume needs to be increased. In other words, in hands-free mode, the volume must be increased to a sufficient level for the user to hear clearly.
[0102] In this way, the terminal device can adaptively adjust the volume of the second incoming call based on the distance between it and the user. This can avoid the problem of poor experience such as ear irritation caused by the user being too close to the terminal device but the volume in hands-free mode is too loud, and it can also avoid the problem of poor experience such as inability to hear clearly caused by the user being too far away from the terminal device and the volume in hands-free mode is too low. This makes it convenient for users to adjust their calling posture at any time, which is conducive to improving the user experience of answering calls on the terminal device.
[0103] In another possible implementation of the present application, S203 may specifically include: the terminal device adjusting the volume in the second audio mode based on the posture parameter of the terminal device itself and the distance between the user and the terminal device.
[0104] The posture parameter is used to indicate the posture of the terminal device in space, such as the position and orientation of the terminal device in space.
[0105] In some embodiments, the distance between the user and the terminal device can assist in determining the user's volume requirements for the second audio mode. For example, a greater distance between the user and the terminal device indicates that the user desires a higher volume in the second audio mode, while a closer distance between the user and the terminal device indicates that the user desires a lower volume in the second audio mode. The volume in the second audio mode can then be adaptively adjusted using the aforementioned implementation.
[0106] It is understandable that the posture parameters of the terminal device can also represent the user's volume demand in the second audio mode. Therefore, based on the posture parameters of the terminal device and the distance between the user and the terminal device, the user's volume demand in the second audio mode can be comprehensively judged, and the volume in the second audio mode can be further accurately and adaptively adjusted.
[0107] In some embodiments, the terminal device determines that its own posture parameters indicate horizontal placement or indicate a tilt angle and are more inclined to horizontal position, indicating that the user wants the volume to be higher in the second audio mode; the terminal device determines that its own posture parameters indicate vertical placement or indicate a tilt angle and are more inclined to vertical placement, indicating that the user wants the volume to be lower in the second audio mode.
[0108] In this way, based on the posture parameters of the terminal device and the distance between the terminal device and the user, the user's volume requirement in the second audio mode can be further accurately determined, and the volume in the second audio mode can be adaptively adjusted to better meet the user's actual needs.
[0109] In a possible implementation of the present application, the method for obtaining the distance between the user and the terminal device may include: the terminal device determines the distance between the user and the terminal device through the terminal device's own distance sensor; accordingly, the method for obtaining the posture parameters of the terminal device may include: the terminal device determines the posture parameters of the terminal device through the terminal device's own acceleration sensor.
[0110] The distance sensor can be used to measure the distance between an object, such as a user's face, and a terminal device. For example, the proximity of the user can be indirectly determined by measuring the reflection of infrared or ultrasonic waves emitted by the sensor from the user's face. This directly measures the distance between the user and the terminal device. A larger distance value indicates a greater distance between the user and the terminal device, while a smaller distance value indicates a closer distance between the user and the terminal device.
[0111] The accelerometer is used to measure the acceleration changes of the terminal device in three-dimensional space. For example, it can measure the acceleration changes of the terminal device on the x-axis, y-axis and z-axis. The acceleration changes on each axis can indicate the posture changes of the terminal device, and then determine whether the terminal device is placed horizontally, vertically or tilted, as well as the tilt angle, etc.
[0112] In some embodiments, the terminal device may determine the real-time distance between the terminal device and the user based on the distance value measured by the distance sensor.
[0113] In some embodiments, changes in the terminal device's postures between different positions can be pre-detected, for example, when the terminal device changes from posture 1 to posture 2. The terminal device can record the mapping relationship between the two. This allows the terminal device to subsequently determine the real-time posture parameters of the terminal device based on the changes in the acceleration values measured by the acceleration sensor and the corresponding relationship between the two.
[0114] For example, posture 1 can be placed vertically, posture 2 can be placed horizontally, the value of acceleration on the x-axis remains basically unchanged and is close to 0; the value of acceleration on the y-axis will change from a value close to 0 to the value of gravity acceleration and then to a value close to 0; the value of acceleration on the z-axis will change from the value of gravity acceleration to a value close to 0 and then to the value of gravity acceleration.
[0115] As another example, posture 1 can be placed horizontally, posture 2 can be that the top of the terminal device remains unchanged, and the bottom of the terminal device is tilted closer to the user (that is, the bottom of the terminal device is lifted), the value of acceleration on the x-axis remains basically unchanged, and is close to 0; the value of acceleration on the y-axis will gradually increase from a value close to 0; the value of acceleration on the z-axis will gradually decrease from the value of gravity acceleration.
[0116] In addition, in some embodiments, other sensors such as a light sensor included in the terminal device can be used to further assist in determining the distance between the terminal device and the user, which is not limited in this application.
[0117] In addition, in some embodiments, in order to further improve the user experience, the earpiece and the speaker of the terminal device can be set farther apart, for example, the earpiece can be set above the terminal device and the speaker can be set below the terminal device. In this way, the impact of the adjustment of the audio mode on the user can be further avoided, thereby improving the user experience.
[0118] It should be noted that the earpiece is an example of the first speaker mentioned above, and the speaker is an example of the second speaker mentioned above.
[0119] S204: The terminal device answers the second incoming call in response to the instruction to answer the second incoming call, and the terminal device remains in the current first audio mode.
[0120] It should be noted that after executing S201, S202 and S203 may be executed; alternatively, after executing S201, S204 may be executed directly without executing S202 and S203. A terminal device may support only S202 and S203 after step S201, or only S204 after step S201. Alternatively, after step S201, the terminal device may choose to execute either S202, S203, or S204, depending on the terminal device's settings.
[0121] The terminal device may still use the first audio mode when answering the second incoming call.
[0122] In a possible implementation of the present application, after executing S204, the method may further include: when the distance between the user and the terminal device is greater than a third threshold, switching the audio mode of the terminal device from the first audio mode to the second audio mode.
[0123] When the distance between the user and the terminal device is greater than the third threshold, it indicates that the distance between the user and the terminal device is far, and switching to the second audio mode at this time will not cause problems such as ear burn.
[0124] In this way, the terminal device may not switch the audio mode first, but maintain the first audio mode for answering calls. Then, considering the change in the distance between the terminal device and the user, when the distance is far, the terminal device can switch to the second audio mode, which can avoid problems such as ear irritation and is conducive to improving the user's experience of answering calls on the terminal device.
[0125] In a possible implementation of the present application, the terminal device may include a first communication module and a second communication module, wherein the first communication module is connected to a mobile cellular network and the second communication module is connected to a terrestrial radio network; the first incoming call can be received through the first communication module and the second incoming call can be received through the second communication module.
[0126] Land Mobile Radio (LMR) refers to a proprietary communications network built to meet the communication needs of users in industries such as public security, public utilities, transportation, energy, and industry and commerce, including command and dispatch, organizational management, and safe production. LMR is a narrowband radio communication technology that provides half-duplex PTT services, including but not limited to Terrestrial Trunked Radio (Tetra), Digital Mobile Radio (DMR), P25, or similar LMR radio standard technologies. (LMR network systems generally include multiple mobile radio devices, relays, dispatch consoles, etc., and can operate in one or more of the ultra-high frequency (UHF) and very high frequency (VHF) bands.)
[0127] A mobile cellular network is a wireless communication service network that provides the public with a wide range of services, including voice, data, audio, video, and imaging. It is typically built and operated by basic telecommunications operators and can support one or more cellular network standards, such as the Global System for Mobile Communications (GSM), the Universal Mobile Telecommunications System (UMTS), and the Long Term Evolution (LTE). (Compared to LMR networks, mobile cellular networks generally have wider bandwidth and higher data transmission rates. They consist of multiple mobile wireless devices, base stations, and a core network.)
[0128] In one possible implementation, the terminal device can support broadband and narrowband networks, indicating that it can support incoming calls over broadband networks and also over narrowband networks. The first incoming call is an incoming call over the broadband network, and the second incoming call is an incoming call over the narrowband network.
[0129] Broadband networks are based on high-bandwidth data transmission technologies and can simultaneously support multiple services (such as the internet, video, and voice), typically providing high-speed connections in an "always-on" manner. Narrowband networks are based on low-bandwidth communication technologies and typically support only a single service (such as voice or low-speed data), occupying a relatively narrow range of spectrum resources.
[0130] In this implementation, the terminal device may include a target communication module that supports broadband networks and narrowband networks. The first incoming call and the second incoming call may both be received through the target communication module.
[0131] The first incoming call is a call on a broadband network, and its default audio mode can be handset mode. The user can put their ear to the terminal device and answer the first call through the terminal device's handset. The second incoming call can be a call on a narrowband network. Incoming calls on narrowband networks are usually more urgent, and the terminal device will usually answer the call directly (without the user's timely response). To accommodate the habit of answering calls promptly on narrowband networks, its default audio mode is usually hands-free mode. The user can move away from the terminal device and answer the second call through the terminal device's speaker. Therefore, the second incoming call will instruct the terminal device to adjust the audio of the second incoming call to hands-free mode.
[0132] In addition, in some embodiments, the first incoming call and the second incoming call may both be calls received on a narrowband network, or both may be calls received on a broadband network, which is not limited in this application.
[0133] Next, the call adjustment method provided in the embodiment of the present application is introduced in conjunction with the software architecture of the terminal device.
[0134] The embodiments of this application take the Android system of the terminal device with a layered architecture as an example to illustrate the software structure of the terminal device. It should be noted that the Android system of the terminal device is only an example, and it can also be an iOS system. The layered architecture of the terminal device's software architecture is also only an example, and it can also be other architectures such as an event-driven architecture.
[0135] In some embodiments, the software architecture of the terminal device may include an application layer, a framework layer, and a hardware layer.
[0136] The application layer may include phone applications, contact applications, etc.
[0137] The framework layer may include a call service framework, a telephone service framework, and an audio framework, etc.
[0138] The hardware layer may include an advanced digital signal processor (ADSP), which may include an acceleration sensor, a distance sensor, and the like.
[0139] Among them, the telephone service framework is used to determine the network type of the incoming call and the default audio mode of the incoming call when answering the call, and the telephone service framework can record the audio path when answering the call. The audio path is associated with the audio mode. If the audio path is the earpiece, it indicates that the audio mode is the earpiece mode. If the audio path is the speaker, it indicates that the audio mode is the hands-free mode.
[0140] For example, the phone service framework can provide a callback for monitoring incoming calls and audio paths, thereby determining whether the network type of the incoming call is a narrowband network or a broadband network, etc., and determining whether the audio mode of the incoming call is a handset mode or a hands-free mode, etc.
[0141] The call service framework can be used to determine the priority of incoming calls, and can automatically hang up or suspend calls with lower priority (such as the first call mentioned above) and automatically answer calls with higher priority (such as the second call mentioned above), and provide information such as the default audio mode of the higher priority call to the audio framework.
[0142] For example, when a terminal device receives a second call while answering a first call, the call service module can compare the priorities of the first call and the second call. In an example where the terminal device has set priorities for calls of various network types, the call service framework will obtain the network types of the two calls respectively, and then determine the priorities of the two calls based on their network types. If the call service framework determines that the priority of the second call is higher than the priority of the first call, the call service framework can automatically hang up or suspend the first call and automatically answer the second call, and send information such as the default audio mode of the second call with a higher priority to the audio framework.
[0143] The audio framework can be used to obtain the audio mode of an incoming call and the corresponding network type of the incoming call. For example, the audio framework can obtain this information through the telephony framework. In an example where the telephony framework provides a callback for monitoring incoming calls and audio paths, the audio framework can also register with this callback to obtain the corresponding network type and audio mode of the incoming call.
[0144] The audio framework can also be used to request the ADSP to obtain the values measured by the acceleration sensor and distance sensor after receiving information such as the default audio mode of a second incoming call with a higher priority, thereby determining the posture parameters of the terminal device and the distance between the terminal device and the user.
[0145] Next, combine Figure 3 and Figure 4 The following describes different ways in which the audio framework adjusts the audio parameters of a second incoming call based on the terminal device's posture parameters and the distance between the terminal device and the user. For each example, the first audio mode is the handset mode, and the default audio mode for the second incoming call (i.e., the second audio mode) is the hands-free mode.
[0146] As an example, see Figure 3 , which is a schematic diagram of a call adjustment method provided by an embodiment of the present application. Figure 3As shown, the audio framework can adjust the earpiece mode to the hands-free mode based on the default audio mode of the second incoming call with a higher priority received, and dynamically adjust the volume of the second incoming call based on the posture parameters of the terminal device determined by the acceleration sensor and the distance between the terminal device and the user determined by the distance sensor, thereby realizing adaptive adjustment of the volume of the sound heard by the user (that is, the volume of the second incoming call). For details, please refer to the detailed introduction of the above embodiment.
[0147] As an example, see Figure 4 , which is a schematic diagram of another call adjustment method provided by an embodiment of the present application. Figure 4 As shown, the audio framework can determine whether the audio mode needs to be adjusted based on the posture parameters of the terminal device determined by the acceleration sensor and the distance between the terminal device and the user determined by the distance sensor, that is, the terminal device maintains the first audio mode when answering the second call, and subsequently determines whether it needs to be adjusted to the hands-free mode based on the posture parameters of the terminal device and the distance between the terminal device and the user. For details, please refer to the detailed introduction of the above embodiment.
[0148] Next, the call adjustment method provided by the embodiment of the present application is introduced in combination with practical applications, taking the example that the priority of an incoming call in a narrowband network is higher than the priority of an incoming call in a broadband network.
[0149] Terminal device U1 receives an incoming call from device U2 over the LTE broadband network. The user uses the handset mode on terminal device U1 to conduct the call over the broadband network. At this time, device U3 initiates a call to terminal device U1 over the narrowband network. Its priority is higher. Terminal device U1 hangs up or puts on hold the call from device U2 and automatically answers the call from device U3. The default audio mode for calls initiated by device U3 is hands-free mode. The terminal device can answer the call initiated by device U3 in the following two ways.
[0150] In one approach, the terminal device U1 can adjust the handset mode to the hands-free mode and adjust the volume of the incoming call initiated by the device U3 in the hands-free mode based on the posture parameters of the terminal device U1 and the distance between the terminal device U1 and the user. For example, if the distance between the terminal device U1 and the user is relatively close, and the terminal device U1 is placed vertically or tilted and more inclined to vertical, the terminal device can reduce the volume in the hands-free mode. For another example, if the distance between the terminal device U1 and the user is relatively far, and the terminal device U1 is placed horizontally or tilted and more inclined to horizontal, the terminal device can increase the volume in the hands-free mode.
[0151] Alternatively, terminal device U1 can adjust the audio mode of an incoming call initiated by device U3 based on the terminal device U1's posture parameters and the distance between terminal device U1 and the user. For example, when terminal device U1 answers a call from U3, it remains in handset mode. Later, if the distance between U1 and the user increases and terminal device U1 is placed horizontally or tilted more towards horizontal, the terminal device can adjust the handset mode to hands-free mode.
[0152] Thus, based on the introduction of the above embodiments, the call adjustment method provided in the embodiments of the present application can be used when there is a problem affecting the user experience when the audio mode of a second call with a higher priority is inconsistent with that of the first call. For example, the first call uses the handset mode, while the second call uses the hands-free mode by default, which can easily cause problems such as ear irritation and affect the user experience. The call adjustment method provided in the present application can adaptively adjust the default volume of the second call in the second audio mode, or use the first audio mode to answer the second call, which can improve the user experience.
[0153] The above are some specific implementations of the call adjustment method provided in the embodiment of the present application. Based on this, the present application also provides corresponding equipment and call adjustment devices. The following will introduce the equipment and call adjustment devices provided in the embodiment of the present application from the perspective of functional modularization.
[0154] An embodiment of the present application provides a walkie-talkie, which includes at least one processor, at least one mobile communication radio frequency component, at least two speakers, a memory, and at least one communication bus. The memory stores program code, and the processor is used to call the program code stored in the memory to perform the following operations:
[0155] While answering a first incoming call, a second incoming call is received; the first incoming call uses the first audio mode, and the default audio mode for the second incoming call is the second audio mode; the intercom supports the first audio mode and the second audio mode, the first audio mode uses the first speaker, and the second audio mode uses the second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the intercom;
[0156] In response to an instruction to answer the second incoming call, the second incoming call is answered, the intercom switches to the second audio mode and lowers a default volume in the second audio mode; and the volume in the second audio mode is adjusted based on a distance between the user and the intercom;
[0157] or,
[0158] In response to the instruction to answer the second incoming call, the second incoming call is answered, and the intercom remains in the current first audio mode.
[0159] See also Figure 5 , which is a schematic diagram of the structure of a call adjustment device provided in an embodiment of the present application. The call adjustment device 500 is applied to a terminal device and may include:
[0160] An answering module 510 is configured to answer a first incoming call, where the first incoming call uses a first audio mode, and the first audio mode uses a first speaker;
[0161] The incoming call receiving module 520 is configured to receive a second incoming call while answering the first incoming call; the default audio mode for the second incoming call is the second audio mode, and the second audio mode uses the second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the terminal device;
[0162] The incoming call processing module 530 is configured to answer the second incoming call in response to the instruction to answer the second incoming call; the terminal device switches to the second audio mode and lowers the default volume in the second audio mode, or the terminal device remains in the current first audio mode;
[0163] The volume adjustment module 540 is configured to adjust the volume in the second audio mode based on the distance between the user and the terminal device.
[0164] As an implementation manner, the first audio mode is an earpiece mode, and the second audio mode is a hands-free mode.
[0165] As an implementation, the volume adjustment module 540 may be configured to:
[0166] When the distance between the user and the terminal device is less than or equal to a first threshold, reducing the volume value in the second audio mode to a first volume threshold value that is less than or equal to the first threshold value;
[0167] And / or when the distance between the user and the terminal device is greater than or equal to a second threshold, the volume value in the second audio mode is increased to a second volume threshold corresponding to the second threshold.
[0168] As an implementation manner, the call adjustment device 500 may further include:
[0169] The audio mode switching module is configured to switch the audio mode of the terminal device from the first audio mode to the second audio mode when the distance between the user and the terminal device is greater than a third threshold.
[0170] As an embodiment, the terminal device includes a first communication module and a second communication module, the first communication module is connected to a mobile cellular network, and the second communication module is connected to a terrestrial radio network;
[0171] The first incoming call is received through the first communication module, and the second incoming call is received through the second communication module.
[0172] As an implementation, the volume adjustment module 540 may be configured to:
[0173] Adjust the volume in the second audio mode based on the posture parameter of the terminal device and the distance between the user and the terminal device.
[0174] As an implementation manner, a method for obtaining the distance between the user and the terminal device may be implemented by the following units:
[0175] a distance determining unit, configured to determine the distance between the user and the terminal device by using a distance sensor of the terminal device;
[0176] The terminal device's posture parameter acquisition method can be implemented by the following units:
[0177] The posture parameter determination unit is used to determine the posture parameter of the terminal device through the acceleration sensor of the terminal device.
[0178] As an implementation manner, the terminal device supports a broadband network and a narrowband network, the first incoming call is an incoming call in the broadband network, and the second incoming call is an incoming call in the narrowband network.
[0179] The embodiments of the present application also provide corresponding call adjustment devices and computer-readable storage media for implementing the solutions provided in the embodiments of the present application.
[0180] The call adjustment device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to execute the computer program so that the device executes the call adjustment method described in any embodiment of the present application.
[0181] The computer-readable storage medium stores a computer program. When the computer program is executed, the device executing the computer program implements the call adjustment method described in any embodiment of the present application.
[0182] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of this application are only used as name identifiers and do not represent the first or second in order.
[0183] Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a readable storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a communication device (which can be a wireless network communication device such as a mobile terminal, a walkie-talkie, a car radio, etc.) to execute the methods described in various embodiments or certain parts of the embodiments of the present application.
[0184] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0185] The above is merely one specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for adjusting a call, characterized in that: Applied to a terminal device, the terminal device supports a first audio mode and a second audio mode, the first audio mode uses a first speaker, and the second audio mode uses a second speaker; The maximum volume of the first speaker is smaller than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions of the terminal device; the method includes: During the process of answering the first incoming call, receiving a second incoming call; the first incoming call uses the first audio mode, and the default audio mode of the second incoming call is the second audio mode; In response to an instruction to answer the second incoming call, answering the second incoming call, switching the terminal device to the second audio mode and lowering a default volume in the second audio mode; adjusting the volume in the second audio mode based on the distance between the user and the terminal device; or, In response to the instruction to answer the second incoming call, the second incoming call is answered, and the terminal device remains in the current first audio mode.
2. The method according to claim 1, characterized in that The first audio mode is an earpiece mode, and the second audio mode is a hands-free mode.
3. The method according to claim 1, characterized in that The adjusting the volume in the second audio mode based on the distance between the user and the terminal device includes: When the distance between the user and the terminal device is less than or equal to a first threshold, reducing the volume value in the second audio mode to a first volume threshold value that is less than or equal to the first threshold value; And / or when the distance between the user and the terminal device is greater than or equal to a second threshold, the volume value in the second audio mode is increased to a second volume threshold corresponding to the second threshold.
4. The method according to claim 1, wherein After answering the second incoming call and the terminal device maintaining the current first audio mode, the method further includes: When the distance between the user and the terminal device is greater than a third threshold, the audio mode of the terminal device is switched from the first audio mode to the second audio mode.
5. The method according to claim 1, wherein The terminal device includes a first communication module and a second communication module, the first communication module is connected to a mobile cellular network, and the second communication module is connected to a terrestrial radio network; The first incoming call is received through the first communication module, and the second incoming call is received through the second communication module.
6. The method according to claim 1, characterized in that The adjusting the volume in the second audio mode based on the distance between the user and the terminal device includes: Adjust the volume in the second audio mode based on the posture parameter of the terminal device and the distance between the user and the terminal device.
7. The method according to claim 6, characterized in that The method for obtaining the distance between the user and the terminal device includes: determining the distance between the user and the terminal device by using a distance sensor of the terminal device; The method for acquiring posture parameters of the terminal device includes: The posture parameters of the terminal device are determined by an acceleration sensor of the terminal device.
8. The method according to any one of claims 1 to 7, characterized in that The terminal device supports a broadband network and a narrowband network, the first incoming call is an incoming call on the broadband network, and the second incoming call is an incoming call on the narrowband network.
9. A walkie-talkie, characterized in that: The intercom includes at least one processor, at least one mobile communication radio frequency component, at least two speakers, a memory and at least one communication bus, wherein the memory stores program code, and the processor is used to call the program code stored in the memory to perform the following operations: While answering a first incoming call, a second incoming call is received; the first incoming call uses the first audio mode, and the default audio mode for the second incoming call is the second audio mode; the intercom supports the first audio mode and the second audio mode, the first audio mode uses the first speaker, and the second audio mode uses the second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the intercom; In response to an instruction to answer the second incoming call, the second incoming call is answered, the intercom switches to the second audio mode and lowers a default volume in the second audio mode; and the volume in the second audio mode is adjusted based on a distance between the user and the intercom; or, In response to the instruction to answer the second incoming call, the second incoming call is answered, and the intercom remains in the current first audio mode.
10. A call adjustment device, characterized in that: Applied to a terminal device, the device includes: an answering module, configured to answer a first incoming call, wherein the first incoming call uses a first audio mode, and the first audio mode uses a first speaker; an incoming call receiving module, configured to receive a second incoming call while answering a first incoming call; the default audio mode for the second incoming call is a second audio mode, and the second audio mode uses a second speaker; the maximum volume of the first speaker is lower than the maximum volume of the second speaker, and the first speaker and the second speaker are located at different positions on the terminal device; an incoming call processing module, configured to answer the second incoming call in response to an instruction to answer the second incoming call; the terminal device switches to the second audio mode and lowers the default volume in the second audio mode, or the terminal device remains in the current first audio mode; The volume adjustment module is used to adjust the volume in the second audio mode based on the distance between the user and the terminal device.