A call processing method and related equipment
By changing the sending and receiving attributes and link management of electronic devices, the problem of ringback tone affecting the user experience when answering multiple incoming calls at the same time in the prior art is solved, and the multi-channel call is answered without affecting the user experience. Flexible switch to answering devices when needed.
Patent Information
- Application Number
- CN202110437393.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-22
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-04-22
AI Technical Summary
The prior art is difficult to answer multiple incoming calls at the same time without affecting the user experience, especially when the ringback tone of the original call will be played, which will affect the user experience.
By changing the sending and receiving properties of electronic devices, we can answer multiple calls without ringback tones, or transfer multiple calls to other electronic devices to answer, so that multiple calls can be answered simultaneously on the same device and on the call pair The end is not affected by the ringback tone. Specific methods include establishing a communication link, transmitting call data, displaying prompt areas, receiving operation instructions, establishing or switching a call link based on the instructions, and sending useless data when necessary to avoid ringback tones.
It realizes answering multiple incoming calls at the same time without affecting the user experience, avoiding the interference of ringback tones on the user experience, and flexibly switching call answering devices when needed, improving the user experience.
Smart Images

Figure CN115243205B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of call processing, and in particular to a call processing method and related equipment. Background Art
[0002] When a user uses an electronic device (such as a mobile phone) to make a one-way or two-way call, if a new call is connected, in one case, the electronic device may not be able to answer the new call, that is, the electronic device cannot support two-way calls. In another case, the user can use the electronic device to answer the new call, but when the user uses the electronic device to answer the new call, the user still maintains the original call, which can also be understood as the original call is in a cached state, and the user is one of the cached parties of the original call. At this time, the other cached party of the original call will play a ringback tone, which is used to prompt the user that the new call is being answered, affecting the user experience of the other cached party of the original call.
[0003] Therefore, how to answer multiple calls at the same time without affecting the user experience is a problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a call processing method and related devices, which can realize answering multiple calls on the same device without ringback tones by changing the sending and receiving properties of the electronic device, or transfer one or more of the multiple calls to other electronic devices for answering, thereby realizing different devices answering multiple calls at the same time, and the other end of the call will not be affected by the ringback tone during this process.
[0005] In a first aspect, the present application provides a call processing method, which is applied to a first electronic device, and the method may include: establishing a first communication link with a second electronic device; transmitting call data between the second electronic device and the second electronic device through the first communication link; displaying a first prompt area; the first prompt area is used to prompt a call request from a third electronic device; receiving a first operation instruction input for the call request; based on the first operation instruction, establishing a second communication link with the third electronic device; transmitting call data between the third electronic device and the second electronic device through the second communication link, and keeping the first communication link in a state of transmitting call data between the second electronic device and the second electronic device.
[0006] In the solution provided in the present application, the first electronic device can answer multiple calls at the same time. Specifically, the first electronic device can answer one of the calls normally, and maintain the other calls by sending useless data (silent frames, RTCP data, etc.) to the other ends of the other calls, so that the other ends of the other calls will not play ringback tones, thereby improving the user experience; the first electronic device can also transfer at least one of the multiple calls to other electronic devices for answering. In this case, not only will the other end of the call not play a ringback tone, but these calls can also be answered normally, avoiding the situation where multiple emergency calls cannot be answered normally when they need to be answered at the same time.
[0007] In combination with the first aspect, in a possible implementation of the first aspect, after establishing a second communication link with the third electronic device based on the first operation instruction, the method also includes: displaying a second prompt area; the second prompt area is used to prompt a request to switch calls; receiving a second operation instruction input for the request to switch calls; based on the second operation instruction, transmitting call data between the second electronic device and the third electronic device through the first communication link, and maintaining the second communication link in a state of transmitting call data between the third electronic device.
[0008] In the solution provided by the present application, when multiple calls are answered simultaneously on the first electronic device, in order to avoid problems such as crosstalk, generally only one call is answered normally. In this case, useless data can be sent to the other ends of the other calls so that the other ends of the other calls will not play ringback tones, thereby avoiding interference of the ringback tones on the user. In actual situations, the call answered normally on the first electronic device can be switched, that is, when other calls need to be answered normally, the first electronic device can also switch smoothly and fluently, thereby improving the user experience.
[0009] In combination with the first aspect, in a possible implementation of the first aspect, after establishing a second communication link with the third electronic device, the method further includes: displaying a third prompt area; the third prompt area is used to prompt a request for switching the answering method of the call; receiving a third operation instruction input for the request for switching the answering method of the call; in the case of establishing a communication connection with the fourth electronic device, based on the third operation instruction, receiving call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link; or, in the case of establishing a communication connection with the fourth electronic device, based on the third operation instruction, receiving call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device; receiving call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0010] In the solution provided in the present application, multiple calls can be answered on the first electronic device, or one or more of the multiple calls can be transferred to other devices for answering. These two answering methods can be switched according to actual needs, better meeting the user's needs for answering multiple calls without the influence of ringback tones, thereby improving the user experience.
[0011] In combination with the first aspect, in a possible implementation of the first aspect, the transmitting of call data with the third electronic device through the second communication link and maintaining the first communication link in a state of transmitting call data with the second electronic device include: when a communication connection is established with a fourth electronic device, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link; when a communication connection is established with a fifth electronic device, receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fifth electronic device; receiving the call data sent by the fifth electronic device; and The method comprises: receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device when a communication connection is established with the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link; receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fifth electronic device when a communication connection is established with the fifth electronic device; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the second electronic device through the first communication link.
[0012] In the solution provided in the present application, when the first electronic device needs to answer multiple calls, all the multiple calls can be transferred to other devices for answering. For example, if the MIC (microphone) or Speaker (speaker) of the first electronic device is damaged and calls cannot be answered normally on the first electronic device, the multiple calls on the first electronic device can be transferred to other devices for answering. This allows multiple calls to be answered normally without ringback tone interference, thereby improving the user experience.
[0013] In combination with the first aspect, in a possible implementation of the first aspect, maintaining the first communication link in a state of transmitting call data between the first communication link and the second electronic device includes: when a communication connection is established with a fourth electronic device, receiving call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link.
[0014] In the solution provided in the present application, when the first electronic device needs to answer multiple calls, at least one of the multiple calls can be transferred to other devices for answering. The other devices need to establish a communication connection with the first electronic device. This call processing method can truly realize the simultaneous answering of multiple calls. For example, the first electronic device answers the call between it and the third electronic device, and the call between it and the second electronic device is transferred to the fourth electronic device for answering, so that the first call and the second call can be answered normally, which greatly improves the user experience.
[0015] In combination with the first aspect, in a possible implementation of the first aspect, the transmission of call data between the third electronic device and the third electronic device through the second communication link includes: when a communication connection is established with a fifth electronic device, receiving call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fifth electronic device; receiving call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the third electronic device through the second communication link.
[0016] In the solution provided in the present application, when the first electronic device answers multiple calls at the same time, at least one of the calls can be transferred to other devices for answering. If necessary during subsequent calls, other calls that have not been transferred can also be transferred to other devices for answering, making the solution for answering multiple calls more diverse and flexible, thereby improving the user experience.
[0017] In combination with the first aspect, in a possible implementation of the first aspect, the transmission of call data between the third electronic device and the third electronic device through the second communication link includes: when a communication connection is established with a fourth electronic device, receiving call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device; receiving call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0018] In the solution provided in the present application, when the first electronic device needs to answer multiple calls, at least one of the multiple calls can be transferred to other devices for answering. The other devices need to establish a communication connection with the first electronic device. This call processing method can truly realize the simultaneous answering of multiple calls. For example, the first electronic device answers the call between it and the second electronic device, and the call between it and the third electronic device is transferred to the fourth electronic device for answering, so that the first call and the second call can be answered normally, which greatly improves the user experience.
[0019] In combination with the first aspect, in a possible implementation of the first aspect, when a communication connection is established with a fifth electronic device, call data sent by the second electronic device is received through the first communication link, and the call data sent by the second electronic device is sent to the fifth electronic device; call data sent by the fifth electronic device is received, and the call data sent by the fifth electronic device is sent to the second electronic device through the first communication link.
[0020] In the solution provided in the present application, when the first electronic device answers multiple calls at the same time, at least one of the calls can be transferred to other devices for answering. If necessary during subsequent calls, other calls that have not been transferred can also be transferred to other devices for answering, making the solution for answering multiple calls more diverse and flexible, thereby improving the user experience.
[0021] In combination with the first aspect, in a possible implementation of the first aspect, after the call data sent by the fourth electronic device is sent to the second electronic device via the first communication link, the method also includes: displaying a fourth prompt area; the fourth prompt area is used to prompt a request to switch the call; receiving a fourth operation instruction input for the request to switch the call; in response to the fourth operation instruction, switching the call data sent by the fourth electronic device to the third electronic device via the second communication link; stopping sending the call data sent by the second electronic device to the fourth electronic device, and sending the call data sent by the third electronic device received via the second communication link to the fourth electronic device.
[0022] In the solution provided in the present application, when at least one call on the first electronic device is transferred to the fourth electronic device for answering, the calls on the first electronic device and the fourth electronic device can be switched according to actual needs. For example, the first electronic device transfers the first call (the call between the first electronic device and the second electronic device) to the fourth electronic device for answering, but the first call needs to obtain video data and the fourth electronic device cannot display the video data (for example, the fourth electronic device is a device without a display screen such as headphones), the fourth electronic device cannot meet the needs of the call. Therefore, the call can be switched to the first electronic device for answering, which better meets user needs and improves user experience.
[0023] In combination with the first aspect, in a possible implementation of the first aspect, after the call data sent by the fourth electronic device is sent to the third electronic device via the second communication link, the method also includes: displaying a fourth prompt area; the fourth prompt area is used to prompt a request to switch the call; receiving a fourth operation instruction input for the request to switch the call; in response to the fourth operation instruction, switching the call data sent by the fourth electronic device to the second electronic device via the first communication link; stopping sending the call data sent by the third electronic device to the fourth electronic device, and sending the call data sent by the second electronic device received via the first communication link to the fourth electronic device.
[0024] In the solution provided in the present application, when at least one call on the first electronic device is transferred to the fourth electronic device for answering, the calls on the first electronic device and the fourth electronic device can be switched according to actual needs. For example, the first electronic device transfers the second call (the call between the first electronic device and the third electronic device) to the fourth electronic device for answering, but the first call needs to obtain video data and the fourth electronic device cannot display the video data (for example, the fourth electronic device is a device without a display screen such as headphones), the fourth electronic device cannot meet the needs of the call. Therefore, the call can be switched to the first electronic device for answering, which better meets user needs and improves user experience.
[0025] In combination with the first aspect, in a possible implementation manner of the first aspect, the method further includes: according to a preset priority, determining an electronic device with the highest priority as the fourth electronic device from at least one electronic device that establishes a communication connection with the first electronic device.
[0026] In the solution provided in the present application, the fourth electronic device can be determined by presetting the priority, which saves the user's time in selecting the fourth electronic device and improves the user experience.
[0027] In combination with the first aspect, in a possible implementation of the first aspect, the first communication link is used to implement calls through the operator, and the second communication link is used to implement calls through a third-party application, or the first communication link is used to implement calls through a third-party application, and the second communication link is used to implement calls through the operator.
[0028] In the solution provided in the present application, when the first electronic device needs to answer two calls at the same time, one of the two calls can be a call realized through the operator (operator call), and the other can be a call realized through a third-party application (third-party call). This is because the newly added communication Kit module realizes the coordination between the operator call and the third-party call, so that the operator call and the third-party call are no longer conducted independently, which expands more scenarios and enables the call processing method to be used to the greatest extent. At the same time, the user experience is also greatly improved.
[0029] In a second aspect, the present application provides an electronic device, comprising: a memory, one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions; the one or more processors are used to call the computer instructions so that the electronic device executes: establishing a first communication link with a second electronic device; transmitting call data between the second electronic device and the second electronic device through the first communication link; displaying a first prompt area; the first prompt area is used to prompt a call request from a third electronic device; receiving a first operation instruction input for the call request; establishing a second communication link with the third electronic device based on the first operation instruction; transmitting call data between the third electronic device and the second electronic device through the second communication link, and keeping the first communication link in a state of transmitting call data between the second electronic device and the second electronic device.
[0030] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, after being used to call the computer instructions so that the electronic device executes the establishment of a second communication link with the third electronic device based on the first operation instruction, are also used to call the computer instructions so that the electronic device executes: displaying a second prompt area; the second prompt area is used to prompt a request to switch calls; receiving a second operation instruction input for the request to switch calls; based on the second operation instruction, transmitting call data between the second electronic device and the third electronic device through the first communication link, and keeping the second communication link in a state of transmitting call data between the third electronic device.
[0031] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, after being used to call the computer instructions so that the electronic device executes the establishment of the second communication link with the third electronic device based on the first operation instruction, are further used to call the computer instructions so that the electronic device executes: displaying a third prompt area; the third prompt area is used to prompt a request for switching the answering method of the call; receiving a third operation instruction input for the request for switching the answering method of the call; in the case of establishing a communication connection with a fourth electronic device, based on the third operation instruction, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link; or, in the case of establishing a communication connection with the fourth electronic device, based on the third operation instruction, receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0032] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, when used to call the computer instructions so that the electronic device executes the transmission of call data with the third electronic device through the second communication link and keeps the first communication link in a state of transmitting call data with the second electronic device, are specifically used to call the computer instructions so that the electronic device executes: when a communication connection is established with a fourth electronic device, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link; when a communication connection is established with a fifth electronic device, receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device The method comprises the steps of: receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link; receiving the call data sent by the second electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link; receiving the call data sent by the second electronic device, and sending the call data sent by the second electronic device to the fifth electronic device through the first communication link; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the second electronic device through the first communication link; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the second electronic device through the first communication link.
[0033] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, when used to call the computer instructions so that the electronic device executes the step of maintaining the first communication link in a state of transmitting call data between the electronic device and the second electronic device, are specifically used to call the computer instructions so that the electronic device executes: when a communication connection is established with a fourth electronic device, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link.
[0034] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, when used to call the computer instructions so that the electronic device executes the transmission of call data with the third electronic device through the second communication link, are specifically used to call the computer instructions so that the electronic device executes: when a communication connection is established with a fifth electronic device, receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fifth electronic device; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the third electronic device through the second communication link.
[0035] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, when used to call the computer instructions so that the electronic device executes the transmission of call data with the third electronic device through the second communication link, are specifically used to call the computer instructions so that the electronic device executes: when a communication connection is established with a fourth electronic device, receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0036] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, when used to call the computer instructions so that the electronic device executes the step of maintaining the first communication link in a state of transmitting call data between the electronic device and the second electronic device, are specifically used to call the computer instructions so that the electronic device executes: when a communication connection is established with a fifth electronic device, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fifth electronic device; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the second electronic device through the first communication link.
[0037] In combination with the second aspect, in a possible implementation of the second aspect, the one or more processors, after being used to call the computer instructions so that the electronic device executes the sending of the call data sent by the fourth electronic device to the second electronic device via the first communication link, are also used to call the computer instructions so that the electronic device executes: displaying a fourth prompt area; the fourth prompt area is used to prompt a request to switch the call; receiving a fourth operation instruction input for the request to switch the call; in response to the fourth operation instruction, switching the call data sent by the fourth electronic device to the third electronic device via the second communication link; stopping sending the call data sent by the second electronic device to the fourth electronic device, and sending the call data sent by the third electronic device received via the second communication link to the fourth electronic device.
[0038] In conjunction with the second aspect, in a possible implementation of the second aspect, the one or more processors, after being used to call the computer instructions so that the electronic device executes the sending of the call data sent by the fourth electronic device to the third electronic device via the second communication link, are further used to call the computer instructions so that the electronic device executes: displaying a fourth prompt area; the fourth prompt area is used to prompt a request for switching the call; receiving a fourth operation instruction input for the request for switching the call; responding to the fourth operation instruction, switching the call data sent by the fourth electronic device to the second electronic device via the first communication link; stopping sending the call data sent by the third electronic device to the fourth electronic device, and sending the call data sent by the second electronic device received via the first communication link to the fourth electronic device. In conjunction with the second aspect, in a possible implementation of the second aspect, the one or more processors are further used to call the computer instructions so that the electronic device executes: according to a preset priority, determining the electronic device with the highest priority from at least one electronic device that establishes a communication connection with the first electronic device as the fourth electronic device.
[0039] In combination with the second aspect, in a possible implementation of the second aspect, the first communication link is used to implement calls through the operator, and the second communication link is used to implement calls through third-party applications, or the first communication link is used to implement calls through third-party applications, and the second communication link is used to implement calls through the operator.
[0040] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the call processing method described in the first aspect and any one of the implementations of the first aspect.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on an electronic device, the electronic device executes the call processing method described in the first aspect and any one of the implementation methods of the first aspect.
[0042] In a fifth aspect, an embodiment of the present application provides a chip, which is applied to an electronic device, and the chip includes one or more processors, and the processor is used to call computer instructions so that the electronic device executes the call processing method described in the first aspect and any one of the implementation methods of the first aspect.
[0043] In a sixth aspect, the present application provides a chip system, which is applied to an electronic device to support the electronic device to implement the functions involved in the first aspect, for example, to generate or process the information involved in the call processing method described in the first aspect. In one possible design, the chip system also includes a memory, which is used to store program instructions and data necessary for the data sending device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0044] It can be understood that the electronic device provided in the second aspect, the computer program product containing instructions provided in the third aspect, the computer readable storage medium provided in the fourth aspect, the chip provided in the fifth aspect, and the chip system provided in the sixth aspect are all used to execute the call processing method provided in the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the call processing method provided in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of the software structure of an electronic device 100 provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of a call processing system provided in an embodiment of the present application;
[0048] Figure 4A flowchart of a call processing method provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of a first prompt area provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of another first prompt area provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of another first prompt area provided in an embodiment of the present application;
[0052] Figure 8 A flowchart of another call processing method provided in an embodiment of the present application;
[0053] Fig. 9 A schematic diagram of a single device answering multiple calls provided in an embodiment of the present application;
[0054] Fig.10 A schematic diagram of a second prompt area provided in an embodiment of the present application;
[0055] Fig.11 A schematic diagram of a third prompt area provided in an embodiment of the present application;
[0056] Fig.12 A schematic diagram of another third prompt area provided in an embodiment of the present application;
[0057] Fig.13 A flowchart of another call processing method provided in an embodiment of the present application;
[0058] Fig.14 A schematic diagram of multiple devices answering multiple calls provided in an embodiment of the present application;
[0059] Fig.15 A schematic diagram of another embodiment of the present application providing multiple devices answering multiple calls;
[0060] Fig.16 A schematic diagram of a method for multiple devices to answer multiple calls provided in an embodiment of the present application;
[0061] Fig.17 A schematic diagram of a downlink data flow of an operator call provided in an embodiment of the present application;
[0062] Fig.18 A schematic diagram of an uplink data flow of an operator call provided in an embodiment of the present application;
[0063] Fig.19 A schematic diagram of a downlink data flow of a third-party call provided in an embodiment of the present application;
[0064] Fig. 20 A schematic diagram of an uplink data flow of a third-party call provided in an embodiment of the present application;
[0065] Fig.21A A schematic diagram of multiple devices answering multiple calls provided in an embodiment of the present application;
[0066] Fig. 21B A schematic diagram of another embodiment of the present application providing multiple devices answering multiple calls;
[0067] Fig. 22 A schematic diagram of a fourth prompt area provided in an embodiment of the present application;
[0068] Fig.23 A schematic diagram of a user interface provided in an embodiment of the present application;
[0069] Fig.24 A schematic diagram of another user interface provided in an embodiment of the present application;
[0070] Fig.25 A schematic diagram of another user interface provided in an embodiment of the present application;
[0071] Fig.26 A schematic diagram of another user interface provided in an embodiment of the present application;
[0072] Fig. 27 A schematic diagram of another user interface provided in an embodiment of the present application;
[0073] Fig.28 A schematic diagram of another user interface provided in an embodiment of the present application;
[0074] Fig.29 A schematic diagram of answering two calls simultaneously provided in an embodiment of the present application;
[0075] Fig.30 Another schematic diagram of answering two calls simultaneously provided in an embodiment of the present application. DETAILED DESCRIPTION
[0076] The technical solutions in the embodiments of the present application are described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0077] First, some of the terms and related technologies involved in this application are explained to facilitate understanding by those skilled in the art.
[0078] IP is the abbreviation of Internet Protocol, which is the network layer protocol in the TCP / IP system. The purpose of designing IP is to improve the scalability of the network: first, to solve Internet problems and realize the interconnection of large-scale, heterogeneous networks; second, to separate the coupling relationship between top-level network applications and bottom-level network technologies to facilitate the independent development of the two.
[0079] IP is the core of the entire TCP / IP protocol suite and the foundation of the Internet. IP is located in the network layer of the TCP / IP model (equivalent to the network layer of the OSI model). It can provide information of various protocols to the transport layer, such as TCP, UDP, etc.; it can put IP information packets into the link layer and transmit them through various technologies such as Ethernet and token ring network.
[0080] IMS (IP Multimedia Subsystem) is an IP multimedia system, a new form of multimedia service, which can meet the needs of terminal customers for newer and more diversified multimedia services. IMS is considered to be the core technology of the next generation network, and is also an important way to solve the integration of mobile and fixed networks and introduce differentiated services such as triple integration of voice, data and video. Now the IMS network is relatively mature and most operators have supported it.
[0081] Session Initiation Protocol (SIP) is a multimedia communication protocol developed by IETF (Internet Engineering Task Force). SIP is an application layer signaling control protocol used to create, modify, and release sessions of one or more participants. These sessions can be IMS calls, such as VoLTE, ViLTE, VoWiFi, ViWiFi, VoNR, EPSFallback, RCS, VoIP (IP Phone), etc. It can be understood that SIP is an IP voice session control protocol originating from the Internet, which is flexible, easy to implement, and easy to expand.
[0082] With the advancement of computer science and technology, IP data networks based on packet switching technology have replaced the core position of traditional telephone networks based on circuit switching in the field of communications with their convenience and low cost. As an application layer signaling control protocol, the SIP protocol provides complete session creation and session change services for a variety of instant messaging services. Therefore, the security of the SIP protocol plays a vital role in the security of instant messaging.
[0083] SIP is responsible for establishing and releasing sessions. Generally speaking, a session will contain related media, such as video and audio. The media data is described by SDP. SDP is generally not used alone. When it is used in conjunction with SIP, it is placed in the SIP protocol document. When a session is established, media negotiation is required so that both parties can determine each other's media capabilities and exchange media data. (This is the job of SDP)
[0084] Ringback tone refers to a certain sound that the caller hears when the called terminal rings after a call is initiated, indicating that the called party is waiting for the called party to answer. In addition, when the other party hangs up the call (HOLD), the sound similar to "Hello, please do not hang up, the number you dialed is in progress" heard by the local end is also a ringback tone sent by the network. The ringback tone is usually a standard audio signal, or it may be a special sound file specified by the called user, such as music. In PSTN, the ringback tone is usually generated by the called party's local exchange, and then transmitted to the calling phone through the established one-way voice channel, and played by the calling phone to the calling party.
[0085] In the communications field, OTT (Over The Top) refers to Internet companies bypassing operators to develop various video and data service businesses based on the open Internet.
[0086] Wireless AP (Access Point): It is a wireless access point, which is used as a wireless switch in a wireless network and is also the core of a wireless network. Wireless AP is an access point for mobile computer users to enter a wired network. It is mainly used in broadband homes, inside buildings and inside parks, and can cover tens to hundreds of meters. Wireless AP (also known as session point or access bridge) is a very broad name. It not only includes simple wireless access points (wireless AP), but also a general term for wireless routers (including wireless gateways, wireless bridges) and other similar devices.
[0087] Modem, which is the abbreviation of Modulator and Demodulator, is a computer hardware that can translate the computer's digital signal into a pulse signal that can be transmitted along an ordinary telephone line. These pulse signals can be received by another modem at the other end of the line and translated into a language that the computer can understand, that is, it can modulate the digital signal to be transmitted onto the carrier or separate the digital signal from the carrier. Modem is mainly used for data communication in telephone networks and plays an important role in network interconnection and remote access.
[0088] The information in the computer is composed of digital signals of "0" and "1", but the information transmitted on the telephone line can only be analog electrical signals. Therefore, when two computers want to transmit data through the telephone line, a device is needed to convert the digital to analog.
[0089] Modulation is the process of converting digital signals into analog signals for transmission over telephone lines, while demodulation is the process of converting analog signals into digital signals. Together, they are called modems. They convert digital signals into analog signals through modulation at the sending end and convert analog signals into digital signals through demodulation at the receiving end.
[0090] When a computer sends data, the modem first converts the digital signal into a corresponding analog signal. This process is called "modulation". Before the modulated signal is transmitted to another computer via a telephone carrier, it must also be restored to a digital signal that can be recognized by the computer by the receiving modem. This process is called "demodulation". It is through this digital-to-analog conversion process of "modulation" and "demodulation" that remote communication between two computers is achieved.
[0091] HiFi is the abbreviation of High Fidelity in English, which means "high fidelity". Its definition is: the playback sound is highly similar to the original sound. In this application, the HiFi module is used to perform audio-related processing. Similarly, the Audio Digital Signal Processing (ADSP) module can also be used to perform audio-related processing.
[0092] For RDMA-aware Network Interface Controller (RNIC), the host processor of either the target device or the source device will not be involved in data transmission operations. The RNIC network card is responsible for generating Remote Direct Memory Access (RDMA) data packets and receiving input RDMA data packets, thereby eliminating redundant memory copy operations in traditional operations. This allows the AP / Modem network card data to be quickly relocated.
[0093] IPFilter (commonly referred to as IPF) is an open source software package that provides firewall services and network address translation (NAT) for many Unix-like operating systems. Its main function is to filter upstream and downstream IP packets and move DMA (Direct Memory Access) between cores.
[0094] SIM (Subscriber Identity Module) card is an IC card held by mobile users of GSM / CDMA / UMTS / LTE / NR and other communication systems, called a user identification card. These communication systems identify users through SIM cards. SIM is divided into USIM / ISIM / ESIM, etc.
[0095] Mobile phones and SIM cards together constitute mobile communication terminal equipment. Whether it is the GSM system or other communication systems such as CDMA, digital mobile phone users will receive a SIM card when they "join the network". SIM card is also called smart card or user identity card. Digital mobile phones must be equipped with this card before they can be used. SIM card is a card that contains a large-scale integrated circuit inside. The card stores the information of digital mobile phone customers, encryption keys and other contents. It can be used by the network to identify the customer's identity and encrypt the voice information of the customer during the call. The use of SIM card completely prevents the paralleling and call from being eavesdropped, and the production of SIM card is completed in strict accordance with international standards and specifications, which reliably guarantees the normal communication of customers. In the case of no SIM card installed, only emergency numbers such as 119 and 112 can be dialed. The application of SIM card in the system separates the card from the mobile phone, and a SIM card uniquely identifies a customer. A SIM card can be inserted into any mobile phone for use, and the communication charges incurred by using the mobile phone are automatically recorded in the account of the customer uniquely identified by the SIM card.
[0096] Universal Subscriber Identity Module Manager (USIMM), used for SIM read and write operation management.
[0097] Real-time Transport Protocol (RTP, also known as RTTP) is a network transmission protocol. The RTP protocol specifies the standard data packet format for transmitting audio and video over the Internet. It was originally designed as a multicast protocol, but was later used in many unicast applications. The RTP protocol is commonly used in streaming media systems (with the RTCP protocol), video conferencing and Push to Talk systems (with H.323 or SIP), making it the technical foundation of the IP telephony industry. The RTP protocol is used together with the RTP control protocol RTCP, and it is built on the User Datagram Protocol.
[0098] RTP itself does not provide a mechanism for on-time delivery or other quality of service (QoS) guarantees. It relies on lower-level services to implement this process. RTP does not guarantee delivery or prevent out-of-order delivery, nor does it determine the reliability of the underlying network. RTP implements ordered delivery. The sequence number in RTP allows the receiver to reassemble the sender's packet sequence. The sequence number can also be used to determine the appropriate packet position. For example, in video decoding, sequential decoding is not required.
[0099] The RTP standard defines two sub-protocols, RTP and RTCP.
[0100] The data transmission protocol RTP is used to transmit data in real time. The information provided by this protocol includes: timestamp (for synchronization), sequence number (for packet loss and reordering detection), and payload format (for describing the encoding format of data).
[0101] The control protocol RTCP is used for QoS feedback and synchronization of media streams, that is, RTCP is used to monitor the quality of service and transmit relevant information about the participants in the ongoing session. Compared with RTP, the bandwidth occupied by RTCP is very small, usually only 5%. The second function of RTCP is sufficient for "loosely controlled" sessions, that is, it does not have to be used to support all control communication requests of an application without clear member control and organization.
[0102] Quality of Service (QoS) refers to a network's ability to use various basic technologies to provide better service capabilities for specified network communications. It is a network security mechanism and a technology used to solve problems such as network delays and congestion. QoS guarantees are very important for networks with limited capacity, especially for streaming multimedia applications such as VoIP and IPTV, because these applications often require a fixed transmission rate and are also sensitive to delays.
[0103] Adaptive Multi-Rate (AMR) is mainly used for audio in mobile devices. It has a relatively high compression ratio, but its quality is relatively poor compared to other compression formats. However, it is still very effective because it is mostly used for human voice and calls. It should be noted that AMR includes AMR-NB and AMR-WB, which is a voice coding and adaptive multi-rate coding. The corresponding voice coding also includes EVS / Opus / G711 / G722 / SLIK, or the original PCM voice code stream is used for transmission.
[0104] TC is the abbreviation of Telephony Call, which means operator call.
[0105] Voice over Internet Protocol (VoIP) is a voice communication technology that uses the Internet Protocol (IP) to achieve voice calls and multimedia conferences, that is, to communicate over the Internet. Other informal names include IP telephony, Internet telephony, broadband telephony, and broadband phone service.
[0106] VoIP can be used on many Internet-accessible devices, including VoIP phones, smartphones, and personal computers, to make calls and send text messages over cellular networks and Wi-Fi.
[0107] The basic principle of VoIP is to compress the voice data encoding through the voice compression algorithm, and then package the voice data according to the TCP / IP standard, send the data packet to the receiving place through the IP network, and then string these voice data packets together, and after decompression, restore them to the original voice signal, so as to achieve the purpose of transmitting voice through the Internet. The core and key equipment of IP phone is the IP gateway, which maps the telephone area code of each region to the corresponding regional gateway IP address. This information is stored in a database, and the data connection processing software will complete the functions of call processing, digital voice packaging, and routing management. When the user makes a long-distance call, the gateway determines the IP address of the corresponding gateway based on the telephone area code database information, and adds this IP address to the IP data packet, and selects the best route to reduce transmission delay. The IP data packet reaches the destination gateway via the Internet. In some areas where the Internet has not yet been extended or gateways have not been set up temporarily, routes can be set up, and the nearest gateway can be transferred through the long-distance telephone network to realize communication services.
[0108] 3A is the general term for AEC, ANR, and AGC, which are three important modules of the voice noise reduction algorithm. Among them, AGC is the abbreviation of Automatic Gain Control, which means automatic gain control; AEC is the abbreviation of Acoustic Echo Cancellation, which means echo cancellation; ANR is the abbreviation of Acoustic Noise Reduce, which means noise suppression. Generally speaking, 3A is used to refer to the voice noise reduction algorithm. It can be understood that TC 3A refers to the voice noise reduction algorithm for operator calls; VoIP 3A refers to the voice noise reduction algorithm for VoIP calls.
[0109] AT command (Attention command), also known as AT instruction, is a set of AT instructions sent by Terminal Equipment (TE) or Data Terminal Equipment (DTE) to Terminal Adapter (TA) or Data Circuit Terminal Equipment (DCE). Through TA, TE sends AT instructions to control the functions of the mobile station (MS) and interact with network services.
[0110] The Radio Interface Layer (RIL) is responsible for reliable data transmission, sending AT commands, and parsing responses, making various wireless voice and data applications possible. On mobile phones, it is the bridge between the Modem and the AP. The role played by RIL is very important. RIL is designed to be a module that can reliably and efficiently transmit data. Of course, in addition to supporting the network, RIL also supports SMS, Voice Call and other functions. From this point of view, the performance of RIL affects all software related to wireless communication applications, and the rationality of software design affects the performance of RIL.
[0111] RIL is located at the interface layer of the protocol stack of the wireless baseband system. RIL provides an interface to handle the communication between the system software and the wireless hardware. RIL provides an abstraction layer that allows you to create a single driver that can be implemented on different wireless devices. RIL abstracts the hardware-related details on the device, allowing OEMs to integrate multiple modems into their devices, giving them the opportunity to differentiate their products. This single driver allows all wireless devices to work with a set of components. Smart phones mostly use a dual-CPU architecture in hardware. One is the baseband processor, which mainly handles the encoding and decoding of digital signals and voice signals, as well as communication protocols such as GSM / NR / LTE / GSM / CDMA / UMTS / TDS. The other is the application processor, which runs the operating system and various applications.
[0112] Device Management (DM), also known as terminal management, can remotely manage the mobile terminal wirelessly in the embodiments provided in this application. DM can include: terminal firmware update (FOTA), remote terminal parameter collection, and terminal parameter configuration.
[0113] The Hardware Abstraction Layer (HAL) is the cornerstone of the Android framework. All hardware-related operations required by the upper layer of the Android system need to call HAL-related APIs, such as GPS, BT, input devices, Graphocs, Camera, Audio, etc. The Android system has standardized some functions for each hardware device, and the HAL of each device is a collection of these functions (calling the corresponding driver). If the vendor does not want to opensource its own driver, some device functions can be implemented in the HAL layer.
[0114] ALSA is the abbreviation of Advanced Linux Sound Architecture, which provides support for audio and Musical Instrument Digital Interface (MIDI) on the Linux operating system. In the 2.6 series kernel, ALSA has become the default sound subsystem to replace the Open Sound System (OSS) in the 2.4 series kernel.
[0115] The main features of ALSA include: efficient support for all types of audio interfaces from consumer entry-level sound cards to professional-level audio equipment, fully modular design, support for symmetric multiprocessing (SMP) and thread safety, backward compatibility with OSS, and providing a user space alsa-lib library to simplify application development.
[0116] Pulse Code Modulation (PCM) is one of the coding methods for digital communication. The main process is to sample analog signals such as voice and images at regular intervals to discretize them, and at the same time, round off and quantize the sampled values according to the hierarchical units, and at the same time, represent the amplitude of the sampled pulse according to a set of binary codes. In the PCM process, the input analog signal is sampled, quantized and encoded, and the amplitude of the analog signal is represented by the binary-encoded number; the receiving end then restores these codes to the original analog signal. That is, the A / D conversion of digital audio includes three processes: sampling, quantization, and encoding.
[0117] The subsystem of the Distributed Mobile Sensing development platform (DMSDP) provides two core capabilities: distributed fusion perception and distributed device virtualization.
[0118] Distributed fusion perception: With the help of HarmonyOS's distributed capabilities, the perception sources of various devices are aggregated and integrated to accurately perceive the user's spatial status, mobility status, gestures, health status, etc., build full-scene ubiquitous basic perception capabilities, and support new smart life experiences.
[0119] Distributed device virtualization: With the help of HarmonyOS's distributed capabilities, a device virtualization platform is built to virtualize various devices of external devices (such as Camera, display, SPK / MIC, etc.) as extended devices of local devices. At the same time, it has the ability to share its own devices with other devices.
[0120] The voice proxy module (VoiceProxy) is an interactive module between HiFi / ADSP and AP. Its main function is voice proxy, that is, users read and / or send voice and video through VoiceProxy.
[0121] Mixer is a module used for mixing. It can integrate sounds from multiple sources into a stereo track or a mono track.
[0122] QoS Class Identifier (QCI) is a parameter used by the system to identify the transmission characteristics of service data packets. It is used to measure the packet forwarding behavior (such as packet loss rate, packet delay budget) provided to the specific SDF (service data flow). It is applied to both GBR and Non-GBR bearers. It is used to specify the control bearer-level packet forwarding mode defined in the access node (such as scheduling weight, admission threshold, queue management threshold, link layer protocol configuration, etc.), which are pre-configured by the operator in the access network node.
[0123] Protocol 23203 defines the QCI values corresponding to different bearer services. The QCI range is 1-9, corresponding to different resource types, different priorities, different delays, and different packet loss rates. To ensure that an application service can run normally, it is necessary to configure a matching QCI value for the service (the network side equipment generally provides the corresponding interface).
[0124] Radio bearer is the service provided by L2 between UE and UTRAN to the upper layer. RB is the connection format set between UE and UTRAN, which is the format of L1 and L2 of UU interface, that is, the configuration of physical channel, transport channel and logical channel. If there is no service, RB is not needed. Therefore, if signaling is to be transmitted between CN / URTRN and UE, it only needs RRC connection (actually there is also radio bearer, that is, SRB). However, as long as there is service, RB must be configured. Similarly, Iub bearer must be configured (as long as there is DCH, DCH FP bearer must be configured, the same as RL).
[0125] Radio bearers are divided into signaling radio bearers (SRBs) and data radio bearers (DRBs). SRBs are used for signaling transmission, and DRBs are used for data transmission. The scheduling priority of all SRBs is higher than that of all DRBs.
[0126] Socket is an encapsulation of TCP / IP protocol. Its appearance only makes it easier for programmers to use TCP / IP protocol stack. Socket itself is not a protocol. It is an intermediate software abstraction layer for communication between application layer and TCP / IP protocol family. It is a set of calling interfaces (API functions of TCP / IP network).
[0127] Codec is the abbreviation of Coder-Decoder. To put it simply, for audio, it is A / D and D / A conversion. A / D is the encoding process of converting analog signals (Analog) that can be heard by the human ear into digital signals (Digital) that can be processed by the computer; D / A is the decoding process of converting the processed digital signals into analog signals that can be heard by the human ear, and Codec is a processing chip that has the above two functions.
[0128] The 3rd Generation Partnership Project (3GPP) is a standardization organization established in December 1998. Its current members include ETSI in Europe, ARIB and TTC in Japan, CCSA in China, TTA in South Korea, and ATIS in North America. The goal of 3GPP is to develop and implement global (third generation) mobile phone system specifications within the scope of the ITU's IMT-2000 plan. It is committed to the evolution from GSM to UMTS (W-CDMA). Although the air interface between GSM and W-CDMA is very different, its core network uses the GPRS framework, so it still maintains a certain degree of continuity. 3GPP mainly develops the third generation technical specifications based on the GSM core network and UTRA (FDD is W-CDMA technology, TDD is TD-CDMA technology) as the wireless interface.
[0129] In daily life, we often encounter situations where we need to answer multiple calls. However, in actual situations, when a user is in a one-way call (for example, conducting a live broadcast, watching a live broadcast, video conferencing, and telephone conference, etc.) or a two-way call, if a new call is connected, the user may not be able to answer the new call and keep the original call. Alternatively, the user can answer the new call but a prompt tone will be played to the other end of the original call, affecting the user experience of the other end.
[0130] For example, when the original call and the new call that the user needs to answer are both operator calls under one SIM card (calls made through the operator), the electronic device used by the user to answer the call can only keep one call going normally, and initiate a call hold (HOLD) process to the network side to keep the other call. After receiving the instruction sent by the electronic device, the network side sends a ringback tone to the other end of the other call. In this case, not only the user cannot answer both calls at the same time, but the other end will also be affected by the ringback tone; when the original call and the new call answered by the user are operator calls under two SIM cards, once the user answers the new call, the original call will be automatically hung up, that is, the user cannot answer both calls at the same time; when the original call answered by the user is an OTT call and the new call is an operator call Or, when the original call answered by the user is a carrier call and the new call is an OTT call, since the OTT call and the carrier call cannot coexist, the user cannot answer both calls at the same time; OTT conference and carrier call can coexist, that is, the user can answer both calls, however, when the user answers the carrier call normally, the OTT conference will be muted (voice paused, but there is no ringback tone), and when the carrier call ends (including local and remote hang-ups), the OTT conference will automatically resume (unmute); when one of the original call and the new call answered by the user is a Changlian call and the other is a carrier call, although the Changlian call and the carrier call have the same priority, the second called party takes priority and the second calling party is not supported, so the user cannot answer both calls at the same time.
[0131] It should be noted that the normally answered calls / normally conducted calls mentioned in the embodiments of the present application refer to calls that can achieve normal communication between the two parties, that is, both parties can successfully obtain and send call-related data (such as voice data, video data, etc.).
[0132] Based on the above content, the present application provides a call processing method and related equipment, which can realize answering multiple calls, such as using one electronic device to switch between answering the original call and the new call. When one of the calls is proceeding normally, the other end of the other call will not play a ringback tone, thereby improving the user experience. For example, other electronic devices are used to help answer new calls or original calls, that is, one call is answered on the original electronic device, and another call is answered on other electronic devices, so that the user can answer two calls at the same time.
[0133] The following first introduces the device involved in the embodiments of the present application.
[0134] Figure 1 It is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present invention.
[0135] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0136] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0137] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0138] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0139] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0140] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and / or a Universal Serial Bus (USB) interface, etc.
[0141] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0142] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0143] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0144] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0145] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 100.
[0146] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0147] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices 100, such as AR devices, etc.
[0148] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0149] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.
[0150] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0151] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0152] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0153] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0154] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0155] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0156] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a Beidou Navigation Satellite System (BDS), a Quasi-Zenith Satellite System (QZSS) and / or a Satellite Based Augmentation System (SBAS).
[0157] In one embodiment of the present application, the communication between the first electronic device and the second electronic device, the communication between the first electronic device and the third electronic device, and the communication between the first electronic device and the fourth electronic device can be implemented through the mobile communication module 150 and / or the wireless communication module 160. It is understandable that different electronic devices can adopt a point-to-point communication mode, or communicate through a server.
[0158] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0159] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0160] The electronic device 100 can implement the acquisition function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0161] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image or video visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0162] The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image or video signal. The ISP outputs the digital image or video signal to the DSP for processing. The DSP converts the digital image or video signal into an image or video signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1. For example, in some embodiments, the electronic device 100 can use N cameras 193 to obtain images with multiple exposure coefficients, and then, in video post-processing, the electronic device 100 can synthesize an HDR image based on the images with multiple exposure coefficients through HDR technology.
[0163] The digital signal processor is used to process digital signals, and can process not only digital images or video signals, but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0164] The video codec is used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0165] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0166] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0167] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image and video playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (Universal Flash Storage, UFS), etc.
[0168] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0169] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0170] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0171] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0172] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only obtain sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to obtain sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0173] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130, or a 3.5 mm Open Mobile Terminal Platform (OMTP) standard interface or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
[0174] The sensor module 180 may include one or more sensors, which may be of the same type or different types. Figure 1 The sensor module 180 shown is only an exemplary division method. There may be other division methods, which are not limited in this application.
[0175] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0176] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0177] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0178] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0179] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0180] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0181] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0182] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0183] The fingerprint sensor 180H is used to obtain fingerprints. The electronic device 100 can use the obtained fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0184] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0185] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0186] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
[0187] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0188] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0189] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0190] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0191] Figure 2 A schematic diagram of the software structure of an electronic device 100 provided in an embodiment of the present application.
[0192] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the system is divided into four layers, from top to bottom: application layer, application framework layer, runtime and system library, and kernel layer.
[0193] The application layer can include a series of application packages.
[0194] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications (also referred to as applications).
[0195] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0196] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0197] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0198] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0199] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0200] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0201] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0202] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications from applications running in the background, or a notification that appears on the screen in the form of a dialogue interface. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0203] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.
[0204] The core library consists of two parts: one part is the function that the programming language (for example, Java language) needs to call, and the other part is the core library of the system.
[0205] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the programming files (e.g., java files) of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0206] The system library may include multiple functional modules, such as: Surface Manager, Media Libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0207] The surface manager is used to manage the display subsystem and provides the fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications.
[0208] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0209] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0210] A 2D graphics engine is a drawing engine for 2D drawings.
[0211] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, and virtual card driver.
[0212] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.
[0213] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.
[0214] The following introduces the system architecture involved in the embodiments of the present application.
[0215] See also Figure 3 , Figure 3 A schematic diagram of a call processing system provided in an embodiment of the present application, wherein the call processing system includes a first electronic device ( Figure 3 Taking a mobile phone as an example), a second electronic device, a third electronic device and a fourth electronic device, wherein a first call is established between the first electronic device and the second electronic device, and a second call is established between the first electronic device and the third electronic device.
[0216] It can be understood that no matter the first electronic device is the called party of the first call or the second electronic device is the called party of the first call, as long as the called party of the first call agrees to make the call, a communication link can be established between the first electronic device and the second electronic device. For example, the called party of the first call triggers an instruction to allow the call to be established, and a first communication link is established between the first electronic device and the second electronic device. The first communication link is used to implement the first call between the first electronic device and the second electronic device. That is, the first electronic device can transmit call data between the first electronic device and the second electronic device through the first communication link.
[0217] Similarly, when a second call (new call) is connected, no matter the first electronic device is the caller or the called party of the second call, as long as the called party of the second call agrees to make the call, a communication link can be established between the first electronic device and the third electronic device. For example, the called party of the second call triggers an instruction to allow the establishment of the second call, and a second communication link is established between the first electronic device and the third electronic device. The second communication link is used to implement the second call between the first electronic device and the third electronic device. That is, the first electronic device can transmit call data with the third electronic device through the second communication link.
[0218] It should be noted that the first electronic device can be the caller of the first call or the called party of the first call; the first electronic device can be the caller of the second call or the called party of the second call.
[0219] Figure 3 Two answering modes of the first electronic device answering two calls at the same time are shown:
[0220] Method A: The first electronic device normally transmits the call data of the second call through the communication link, but does not receive / receives and discards the call data sent by the second electronic device, and sends the call data to the second electronic device (at this time, the call data may include useless data irrelevant to the call, such as silent frames, RTCP data, etc.), or the first electronic device may not send the call data to the second electronic device. In this case, the first electronic device can change its own transceiver properties by changing the setting items, or send an instruction to modify the transceiver properties of the first electronic device to the network side. Both methods do not require initiating a call hold (CALL HOLD) process, and while avoiding the second electronic device from playing a ringback tone, the impact of crosstalk on the user is also avoided.
[0221] It can be understood that the normal transmission refers to the transmission of call data between electronic devices that establish a communication link and ultimately display it to the user, for example, the transmission of voice data and / or video data, so that both users can hear each other's voice and / or see the picture sent by the other party. Of course, the above normal transmission does not take into account some additional settings of the user for the call, such as adjusting the volume, turning off the camera, etc.
[0222] It should be noted that the normal transmission of the communication link mentioned in the embodiments of the present application can be understood as the call proceeding normally / the call being answered normally. For the relevant description of the normal proceeding / normal answering, please refer to the above and will not be repeated here.
[0223] It can be understood that the receiving and sending attributes refer to the attributes of an electronic device receiving and sending data, and the receiving and sending attributes include but are not limited to neither receiving nor sending, only receiving but not sending, only sending but not receiving, and both receiving and sending, wherein neither receiving nor sending means that the electronic device neither receives data nor sends data (for example, "inactive" can be used to indicate neither receiving nor sending), only receiving but not sending means that the electronic device only receives data but does not send data (for example, "recvonly" can be used to indicate only receiving but not sending), only sending but not receiving means that the electronic device only sends data but does not receive data (for example, "sendonly" can be used to indicate only sending but not receiving), and both receiving and sending means both receiving and sending data (for example, "sendrecv" or "active" can be used to indicate both receiving and sending).
[0224] It should be noted that, in one embodiment of the present application, the data mentioned in the above description of the meaning of the sending and receiving attributes are useful data in the call data (for example, voice data and video data of both parties, etc.), and do not include useless data in the call data (for example, silent frames, RTCP data, etc.).
[0225] In addition, the call holding process may refer to relevant 3GPP protocols and specifications, which will not be described in detail here.
[0226] Method B: The first electronic device transfers at least one of the two calls to another electronic device for answering. For example, the first electronic device makes a call with the second electronic device through the first communication link, and transfers the second call to the fourth electronic device that has established a communication connection with the first electronic device. That is, after receiving the call data sent by the third electronic device, the first electronic device will also send the call data sent by the third electronic device to the fourth electronic device. At the same time, it can also receive the call data sent by the fourth electronic device and send it to the third electronic device. Similarly, the first electronic device can also make a call with the third electronic device through the second communication link, and transfer the first call to the fourth electronic device that has established a communication connection with the first electronic device. That is, after receiving the call data sent by the second electronic device, the first electronic device will also send the call data sent by the second electronic device to the fourth electronic device. At the same time, it can also receive the call data sent by the fourth electronic device and send it to the second electronic device.
[0227] The above method can avoid the ringback tone caused by the terminal side initiating a call holding process to the network side, and can also avoid the crosstalk that may be caused by answering multiple calls at the same time, so that both calls can proceed smoothly, enhancing the user experience.
[0228] It is understandable that when the first electronic device answers a call or transfers a call to another electronic device for answering, the call can be answered directly using the MIC (microphone) and Speaker (speaker) of the first electronic device and / or other electronic devices, or using headphones compatible with the first electronic device and / or other electronic devices to answer the call.
[0229] It should be noted that the first electronic device can transfer multiple calls to other devices for answering. For example, when the first electronic device answers two calls at the same time, one of the calls can be transferred to the fourth electronic device for answering, and the other call can be transferred to the fifth electronic device for answering.
[0230] It can be understood that the first electronic device can be an electronic device with a function of receiving user instructions, for example, the first electronic device can be one of a mobile phone, a tablet computer, a PC (Personal Computer), a watch, a car machine, etc.; the second electronic device can be an electronic device with a function of receiving user instructions, for example, the second electronic device can be one or more of a mobile phone, a tablet computer, a PC, a watch, a car machine, etc.; the third electronic device can be an electronic device with a function of receiving user instructions, for example, the third electronic device can be one or more of a mobile phone, a tablet computer, a PC, a watch, a car machine, etc.; the fourth electronic device can be an electronic device with a function of receiving user instructions, for example, the fourth electronic device can be one of a headset, a mobile phone, a tablet computer, a PC, a watch, a car machine, etc.; the fifth electronic device can be an electronic device with a function of receiving user instructions, for example, the fifth electronic device can be one of a headset, a mobile phone, a tablet computer, a PC, a watch, a car machine, etc. In addition, the first electronic device, the second electronic device, the third electronic device, the fourth electronic device and the fifth electronic device can all be the electronic device 100 mentioned above.
[0231] It should be noted that the first call can be an operator call (a call made through an operator) or a third-party call (a call made through a third-party application); the second call can be an operator call or a third-party call. It is understood that the third-party call includes an OTT call, for example, the third-party call can be a WeChat call (voice / video call), a QQ call (voice / video call), a Changlian call, and an online conference (for example, Tencent Conference, etc.).
[0232] In one embodiment of the present application, more than two multi-way calls can be made. For example, the multi-way calls can be answered on one electronic device. At this time, one call is kept normal and responses to other calls are processed (refer to the above content); the multi-way calls can also be answered on multiple electronic devices. At this time, one or more of the multi-way calls can be transferred to one or more other electronic devices (refer to the above content).
[0233] based on Figure 3 The call processing system shown in the figure, the embodiment of the present application provides a call processing method, such as Figure 4 As shown, Figure 4 A flowchart of a call processing method provided in an embodiment of the present application, the method includes but is not limited to the following steps:
[0234] S401: A first electronic device establishes a first communication link with a second electronic device.
[0235] Specifically, the first electronic device establishes a first communication link with the second electronic device, that is, a first call is established between the first electronic device and the second electronic device, and the call data between the first electronic device and the second electronic device is transmitted through the first communication link.
[0236] It is understandable that the first electronic device can be the caller or the called party of the first call; the call data can include call data sent by the first electronic device to the second electronic device and call data sent by the second electronic device to the first electronic device.
[0237] It should be noted that after the first communication link is established, the first electronic device and the second electronic device are in a normal communication state, that is, the communication between the first electronic device and the second electronic device is carried out normally.
[0238] S402: The first electronic device displays a first prompt area.
[0239] Specifically, the first electronic device displays a first prompt area, and the first prompt area is used to prompt the call request between the first electronic device and the third electronic device. Specifically, when the first electronic device is the called party and the third electronic device is the calling party, the first prompt area can prompt the third electronic device's call request to the first electronic device.
[0240] In one embodiment of the present application, the first prompt area is an interface that prompts the third electronic device to send a call request to the first electronic device. In response to the user's operation on the first prompt area, for example, in response to the user's operation on an icon or control in the first prompt area (such as a touch operation, a click operation, a gesture operation, voice control, etc.), the first electronic device accepts the call request sent by the third electronic device, or rejects the call request sent by the third electronic device.
[0241] In one embodiment of the present application, the first prompt area can be displayed as a pop-up window, that is, the first prompt area can be displayed as a pop-up window prompting the third electronic device to send a call request to the first electronic device. It can be understood that the first prompt area can also be in other forms, and the present application does not limit this.
[0242] It is understandable that the icons or controls in the first prompt area can have multiple forms of expression, not limited to the forms in the following examples, and this application does not limit this. In addition, the operation can be one or more of touch, click, gesture, voice and other operations, and this application does not limit this.
[0243] For example, Figure 5 As shown, Figure 5A schematic diagram of a first prompt area provided in an embodiment of the present application, wherein interface 50 is the first prompt area, that is, interface 50 is an interface for prompting a third electronic device to send a call request to a first electronic device, and interface 50 may include controls 501 and 502, wherein control 501 is a control for rejecting a call, and in response to a user's operation on control 501 (such as a touch operation, a click operation, a gesture operation, voice control, etc.), the first electronic device rejects the call request sent by the third electronic device; control 502 is a control for agreeing to the call, and in response to a user's operation on control 501 (such as a touch operation, a click operation, a gesture operation, voice control, etc.), the first electronic device agrees to the call request sent by the third electronic device.
[0244] For example, Figure 6 As shown, Figure 6 A schematic diagram of another first prompt area provided in an embodiment of the present application, wherein interface 60 is a first prompt area, that is, interface 60 is an interface for prompting a call request sent by a third electronic device to a first electronic device, and interface 60 may include controls 601, 602, 603, and 604. In response to a user operation on control 601 (such as a touch operation, a click operation, a gesture operation, a voice control, etc.), the first electronic device rejects a new call (a call request from a third electronic device); in response to a user operation on control 602 (such as a touch operation, a click operation, a gesture operation, a voice control, etc.), the first electronic device interrupts a new call (a call request from a third electronic device); in response to a user operation on control 603 (such as a touch operation, a click operation, a gesture operation, a voice control, etc.), the first electronic device answers the new call (a call request from a third electronic device), and the original call is answered by another device; in response to a user operation on control 604 (such as a touch operation, a click operation, a gesture operation, a voice control, etc.), the first electronic device answers the original call, and the new call (a call request from a third electronic device) is answered by another device.
[0245] For example, Figure 7 As shown, Figure 7 This is a schematic diagram of another first prompt area provided in an embodiment of the present application. The interface 70 may be any interface displayed by the first electronic device (eg Figure 7 ), a pop-up window 701 is displayed on the interface 70, and the pop-up window 701 is the first prompt area, that is, the pop-up window 701 is a pop-up window prompting the third electronic device to send a call request to the first electronic device, and the pop-up window 701 may include controls 7011, controls 7012, controls 7013, and controls 7014. It can be understood that the description of controls 7011, controls 7012, controls 7013, and controls 7014 can refer to the above description of controls 601, controls 602, controls 603, and controls 604, which will not be repeated here.
[0246] S403: The first electronic device receives a first operation instruction input in response to a call request.
[0247] Specifically, the first electronic device receives a first operation instruction input for a call request. It is understandable that the first operation instruction may be an instruction triggered by an operation performed by a user on the first prompt area. It should also be noted that the first operation instruction is input for a call request between the first electronic device and a third electronic device.
[0248] It is understandable that the form of the operation performed by the user on the first prompt area includes but is not limited to key control, touch screen control, voice control, edge touch and gesture, etc.
[0249] S404: The first electronic device establishes a second communication link with the third electronic device.
[0250] Specifically, based on the first operation instruction, the first electronic device establishes a second communication link with the third electronic device, that is, the first electronic device establishes a second call with the third electronic device. In other words, the first operation instruction triggered by the user can be understood as an operation instruction triggered by the user allowing the call between the first electronic device and the third electronic device.
[0251] S405: The first electronic device transmits call data with the third electronic device via the second communication link.
[0252] Specifically, after the first electronic device establishes the second communication link with the third electronic device, the first electronic device and the third electronic device may transmit call data between them through the second communication link.
[0253] In one embodiment of the present application, after the second communication link is established, the second call between the first electronic device and the third electronic device proceeds normally, that is, without considering the influence of other factors such as line problems, user customized settings (adjusting the volume, turning off the camera, etc.), the first electronic device normally transmits the call data between the first electronic device and the third electronic device through the second communication link, and the first electronic device and the third electronic device also normally receive and send call data, and process the call data accordingly (for example, perform encoding and decoding processing and denoising processing on the call data), so that users of both parties can have a normal call.
[0254] It is understandable that the relevant description about normal calls can be referred to above and will not be repeated here.
[0255] In one embodiment of the present application, call data transmitted between the first electronic device and the third electronic device through the second communication link does not include call data sent by the first electronic device to the third electronic device, or includes call data sent by the first electronic device to the third electronic device, but the call data may be useless data (for example, silent frames, RTCP data, etc.).
[0256] S406: The first electronic device maintains the first communication link in a state of transmitting call data with the second electronic device.
[0257] Specifically, after the first electronic device establishes the second communication link with the third electronic device, the first electronic device also maintains the first communication link in a state of transmitting call data between the first electronic device and the second electronic device.
[0258] In one embodiment of the present application, the meaning of maintaining the first communication link in a state of transmitting call data between the first electronic device and the second electronic device is similar to the meaning of the first electronic device normally transmitting call data with the third electronic device through the second communication link in step S405. The first call established between the first electronic device and the second electronic device proceeds normally. That is, without considering the influence of other factors such as line problems, user-defined settings (adjusting the volume, turning off the camera, etc.), the first electronic device normally transmits call data with the second electronic device through the first communication link. The first electronic device and the second electronic device also normally receive and send call data, and perform corresponding processing on the call data (for example, encoding and decoding and denoising the call data), so that users of both parties can have a normal call. This means that users of both parties can hear each other's voices normally. If it is a video call, users of both parties can also see the pictures captured by each other's cameras.
[0259] In one embodiment of the present application, the first communication link is maintained in a state of transmitting call data between the first electronic device and the second electronic device, indicating that the first communication link still has the function of transmitting call data. However, at this time, there is not necessarily any call data transmission on the first communication link, and the first call can be understood to be in a held state, thereby avoiding crosstalk caused by multiple calls on the same device.
[0260] It should also be noted that the first electronic device can also answer more than two calls at the same time. The specific implementation steps can refer to steps S402 to S406, which will not be repeated here.
[0261] The present application also provides a call processing method, such as Figure 8 As shown, Figure 8A flowchart of another call processing method provided in an embodiment of the present application, the method may include the following steps:
[0262] S801: A first electronic device establishes a first communication link with a second electronic device.
[0263] S802: The first electronic device displays a first prompt area.
[0264] S803: The first electronic device receives a first operation instruction input in response to a call request.
[0265] S804: The first electronic device establishes a second communication link with the third electronic device.
[0266] S805: The first electronic device transmits call data with the third electronic device via the second communication link.
[0267] S806: The first electronic device maintains the first communication link in a state of transmitting call data with the second electronic device.
[0268] It is understandable that the specific contents of steps S801 to S806 can refer to steps S401 to S406 and will not be repeated here.
[0269] It should be noted that, in one embodiment of the present application, Figure 3 As shown, the first electronic device can adopt method A to answer the first call and the second call at the same time. At this time, the first electronic device transmits the call data between the first electronic device and the third electronic device through the second communication link, and maintains the first communication link in the state of transmitting the call data between the first electronic device and the second electronic device. Specifically, the second call established between the first electronic device and the third electronic device proceeds normally (refer to step S405), and the first call established between the first electronic device and the second electronic device is in a maintained state, that is, the first communication link still has the function of transmitting call data, but at this time there is not necessarily any transmission of call data on the first communication link (refer to step S406).
[0270] For example, Fig. 9 As shown, Fig. 9 A schematic diagram of a single device answering multiple calls provided in an embodiment of the present application, Fig. 9The electronic device in the embodiment receives at least two calls simultaneously - a first call and a second call, wherein the second call is in a normal call state, at which time the electronic device normally plays the call data transmitted by the other end, and can also normally collect the call data of the local end and transmit it to the other end. In short, the two parties of the second call can hear each other's voices normally (if it is a video call, both users can also see the pictures captured by the other party's camera); the first call is in a hold state, at which time the communication link used to transmit the first call data can still transmit the first call data, and the first call data may include the call data sent by the second electronic device to the first electronic device, and may also include useless data (such as mute frames, RTCP data, etc.) sent by the first electronic device to the second electronic device. It can be understood that the communication link may not actually transmit the call data, but only maintains the function of transmitting the call data.
[0271] It should be noted that after the first electronic device simultaneously answers the first call and the second call using method A, the first call and the second call can be transferred to the fourth electronic device and the fifth device for answering. Specifically, when the first electronic device establishes a communication connection with the fourth electronic device, the call data sent by the second electronic device is received through the first communication link, and the call data sent by the second electronic device is sent to the fourth electronic device; the call data sent by the fourth electronic device is received, and the call data sent by the fourth electronic device is sent to the second electronic device through the first communication link; when the communication connection is established with the fifth electronic device, the call data sent by the third electronic device is received through the second communication link, and the call data sent by the third electronic device is sent to the fifth electronic device; the call data sent by the fifth electronic device is received, and the call data sent by the fifth electronic device is received. The method comprises the steps of: receiving the call data sent by the third electronic device through the second communication link, and sending the call data sent by the third electronic device to the fourth electronic device when a communication connection is established with the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the third electronic device through the second communication link; receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fifth electronic device when a communication connection is established with the fifth electronic device; receiving the call data sent by the fifth electronic device, and sending the call data sent by the fifth electronic device to the second electronic device through the first communication link.
[0272] That is to say, there are two situations in which both calls originally on the first electronic device are transferred to other devices for answering: one is to transfer the first call to the fourth electronic device for answering, and the second call to the fifth electronic device for answering; the other is to transfer the second call to the fourth electronic device for answering, and the first call to the fifth electronic device for answering. This will not be explained here for now, and will be explained in detail later when the first electronic device adopts method B to answer the first call and the second call at the same time.
[0273] S807: The first electronic device displays a second prompt area.
[0274] Specifically, after the first electronic device establishes a second communication connection with the third electronic device (step S804), the first electronic device displays a second prompt area, where the second prompt area is used to prompt a request to switch the call.
[0275] It can be understood that the second prompt area can be the entire interface or a partial area including one or more controls. In one embodiment of the present application, the one or more controls include one or more controls for switching calls, and the form of the one or more controls for switching calls is not limited to the examples below.
[0276] For example, Fig.10 As shown, Fig.10 A schematic diagram of a second prompt area provided in an embodiment of the present application, the second prompt area may be an interface 100, the interface 100 may include a PEEK control 10011, and the PEEK control 10011 is used to switch calls; the second prompt area may also be a display area 1001 including the PEEK control 10011. It is understandable that Fig.10 The interface shown can be triggered by the user Figure 5 The interface formed after the control 502 is shown.
[0277] S808: The first electronic device receives a second operation instruction input for a request to switch a call.
[0278] Specifically, the first electronic device receives a second operation instruction input for a request to switch calls. It can be understood that the second operation instruction can be an instruction triggered by an operation performed by the user on the second prompt area. The second operation instruction is used to switch multiple calls answered by the first electronic device, that is, to switch the call that was originally in a held state (refer to step S406) to a normal answering state.
[0279] It is understood that the user's operation on the second prompt area may include, but is not limited to, key control, touch screen control, edge touch, and gestures. For example, the user long presses or clicks Fig.10The PEEK control 10011 shown triggers the second operation instruction.
[0280] S809: The first electronic device transmits call data with the second electronic device via the first communication link.
[0281] Specifically, based on the second operation instruction input for the call switching request received by the first electronic device, the first electronic device transmits the call data between the first electronic device and the second electronic device through the first communication link, that is, based on the second operation instruction, the first electronic device switches the first call from the holding state (refer to step S406) to the normal answering state.
[0282] S810: The first electronic device maintains the second communication link in a state of transmitting call data with the third electronic device.
[0283] Specifically, based on the second operation instruction input for the call switching request received by the first electronic device, the first electronic device maintains the second communication link in a state of transmitting call data between the first electronic device and the third electronic device, that is, the first electronic device switches the second call from a normal answering state to a holding state (see step S406). In other words, at this time, there is not necessarily any transmission of call data on the second communication link.
[0284] S811: The first electronic device displays a third prompt area.
[0285] Specifically, after the first electronic device establishes the second communication connection with the third electronic device (step S804), the first electronic device displays a third prompt area, where the third prompt area is used to prompt a request to switch the answering method of the call.
[0286] In one embodiment of the present application, the answering method may include the same device answering multiple calls (for example, Figure 3 A) and multiple devices answering multiple calls (e.g. Figure 3The method B) shown may also include more specific content, for example, the first electronic device answers the first call, and the other electronic device answers the second call; the first electronic device answers the second call, and the other electronic device answers the first call. It is understandable that the request for switching the answering method of the call can be a switching request between single-device answering (the same device answers) and multi-device answering, and can also be a switching request between the specific implementation methods of single-device answering and multi-device answering. In addition, when the answering method does not involve a specific implementation method of multi-device answering, the specific implementation method when switching to multi-device answering can be pre-set, that is, which device answers the first call and which device answers the second call can be pre-set. In one embodiment of the present application, the pre-set specific content can be adjusted in the setting item, so that the user can adjust the specific implementation method when multi-device answering according to actual needs.
[0287] It is understandable that the third prompt area can be the entire interface or a partial area including one or more controls. In one embodiment of the present application, the one or more controls include one or more controls for switching the answering method of the call. The form of the one or more controls for switching the answering method of the call is not limited to the examples below.
[0288] In addition, the third prompt area and the second prompt area can be the same interface, which includes one or more controls for switching calls and one or more controls for switching the call answering method; the third prompt area and the second prompt area can be in the same interface, in which case the third prompt area and the second prompt area are two display areas in this interface.
[0289] For example, Fig.11 As shown, Fig.11 A schematic diagram of a third prompt area provided in an embodiment of the present application, the third prompt area may be an interface 110, the interface 110 may include a control 11011, and the control 11011 is used to switch the answering mode of the call; the third prompt area may also be a display area 1101 including the control 11011. It is understandable that Fig.11 The interface shown can be triggered by the user Figure 5 The interface formed after the control 502 shown; Fig.11 The display area 1101 shown is Fig.10 The display area 1001 shown can be on the same interface, for example, the user triggers Figure 5 The interface formed behind the control 502 shown may include a display area 1001 and a display area 1101 .
[0290] For example, Fig.12 As shown, Fig.12A schematic diagram of another third prompt area provided in an embodiment of the present application, the third prompt area may be an interface 120, the interface 120 may include a control 12011 and a control 12012, the control 12011 and the control 12012 are used to switch the answering method of the call, specifically, the control 12011 is used to switch the answering method to the current device answering the new call and the other device answering the original call, the control 12012 is used to switch the answering method to the current device answering the original call and the other device answering the new call; the third prompt area may also be a display area 1201 including the control 12011. It can be understood that Fig.12 The interface shown can be triggered by the user Figure 5 The interface formed after the control 502 shown; Fig.12 The display area 1201 shown is Fig.10 The display area 1001 shown can be on the same interface, for example, the user triggers Figure 5 The interface formed behind the control 502 shown may include a display area 1001 and a display area 1201 .
[0291] S812: The first electronic device receives a third operation instruction input for requesting to switch the answering method of the call.
[0292] Specifically, the first electronic device receives a third operation instruction input for the request to switch the answering method of the call. It can be understood that the third operation instruction can be an instruction triggered by the user's operation on the third prompt area. The third operation instruction is used to switch the answering method of the multi-way call answered by the first electronic device, for example, Figure 3 The answering mode A shown is switched to the answering mode B, that is, the third operation instruction can change the answering mode of answering two calls on a single device to the answering mode of answering two calls on multiple devices.
[0293] It is understandable that the user's operation on the second prompt area includes, but is not limited to, key control, touch screen control, edge touch, and gestures. Fig.11 As shown) / control 12011 (as Fig.12 As shown) / control 12012 (as Fig.12 As shown) triggers the third operation instruction.
[0294] It should be noted that, based on the third operation instruction, the system can switch from a single device answering multiple calls to multiple devices answering multiple calls.
[0295] In one embodiment of the present application, the first call can be transferred to a fourth electronic device for answering. Specifically, when the first electronic device establishes a communication connection with the fourth electronic device, based on the third operation instruction, the first electronic device receives the call data sent by the second electronic device through the first communication link, and sends the call data sent by the second electronic device to the fourth electronic device; the first electronic device receives the call data sent by the fourth electronic device, and sends the call data sent by the fourth electronic device to the second electronic device through the first communication link.
[0296] In one embodiment of the present application, the second call can be transferred to a fourth electronic device for answering. Specifically, when the first electronic device establishes a communication connection with the fourth electronic device, based on the third operation instruction, the first electronic device receives the call data sent by the third electronic device through the second communication link, and sends the call data sent by the third electronic device to the fourth electronic device; the first electronic device receives the call data sent by the fourth electronic device, and sends the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0297] It is understandable that at this time, the specific status of the first call and the second call can be referred to step S405 and step S406, which will not be repeated here.
[0298] It should be noted that after switching from answering multiple calls on a single device to answering multiple calls on multiple devices, the calls answered by different devices can be switched, that is, the first call / second call originally answered by the fourth electronic device can be switched to the first electronic device. For details, see below.
[0299] It should also be noted that multiple calls can be answered from multiple devices and then switched to the same device to answer multiple calls. The specific implementation steps can be referred to step S811 and step S812, which will not be repeated here.
[0300] The present application also provides a call processing method, such as Fig.13 As shown, Fig.13 A flowchart of another call processing method provided in an embodiment of the present application, the method may include the following steps:
[0301] S1301: A first electronic device establishes a first communication link with a second electronic device.
[0302] S1302: The first electronic device displays a first prompt area.
[0303] S1303: The first electronic device receives a first operation instruction input in response to a call request.
[0304] S1304: The first electronic device establishes a second communication link with the third electronic device.
[0305] S1305: The first electronic device transmits call data with the third electronic device via the second communication link.
[0306] S1306: The first electronic device maintains the first communication link in a state of transmitting call data with the second electronic device.
[0307] It is understandable that the specific contents of steps S1301 to S1306 can refer to steps S401 to S406 and will not be repeated here.
[0308] In one embodiment of the present application, the first electronic device may use Figure 3 The method B shown answers the first call and the second call at the same time. At this time, the first electronic device transmits the call data between the first electronic device and the third electronic device through the second communication link, and keeps the first communication link in the state of transmitting the call data between the first electronic device and the second electronic device. Specifically, when the first electronic device establishes a communication connection with the fourth electronic device, the first electronic device receives the call data sent by the second electronic device through the first communication link, and sends the call data sent by the second electronic device to the fourth electronic device; the first electronic device receives the call data sent by the fourth electronic device, and sends the call data sent by the fourth electronic device to the second electronic device through the first communication link; or, when the first electronic device establishes a communication connection with the fourth electronic device, the first electronic device receives the call data sent by the third electronic device through the second communication link, and sends the call data sent by the third electronic device to the fourth electronic device; the first electronic device receives the call data sent by the fourth electronic device, and sends the call data sent by the fourth electronic device to the third electronic device through the second communication link.
[0309] It should be noted that, according to the preset priority, the electronic device with the highest priority among at least one electronic device that establishes a communication connection with the first electronic device can be determined as the fourth electronic device. It is understood that the way to establish a communication connection can include but is not limited to Bluetooth, Wi-Fi, etc.
[0310] In one embodiment of the present application, the headset has the highest priority, that is, if at least one electronic device that establishes a communication connection with the first electronic device includes a headset, the headset is selected as the fourth electronic device. Fig.14 As shown, Fig.14 A schematic diagram of multiple devices answering multiple calls provided in an embodiment of the present application is provided. Fig.14 In the embodiment, the first electronic device is a mobile phone, and the fourth electronic device is a headset. The first electronic device transfers one of two calls received simultaneously to the headset, that is, one call is received on the mobile phone, and the other call is finally received on the headset through the mobile phone.
[0311] In one embodiment of the present application, the priority can be set according to the distance between the electronic device and the first electronic device. For example, the priority of the electronic device with a short distance from the first electronic device is higher, and the priority of the electronic device with a long distance from the first electronic device is lower. Fig.15 As shown, Fig.15 A schematic diagram of another embodiment of the present application providing multiple devices answering multiple calls, Fig.15 Among them, the devices that establish communication connection with the first electronic device are a tablet computer and a PC. The distance between the tablet computer and the first electronic device is smaller, so its priority is higher, and the tablet computer is selected as the fourth electronic device.
[0312] It is understandable that during a call, the fourth electronic device that establishes a communication connection with the first electronic device can be switched according to actual needs. For example, the fourth electronic device was originally a headset, but in a subsequent call, the call answered on the fourth electronic device involves the transmission of video data, and the headset no longer meets the call requirements. The fourth electronic device can be replaced with a tablet computer, PC, or other electronic device that meets the call requirements.
[0313] According to the above content, if multiple devices are to answer multiple calls at the same time, at least one of the multiple calls can be transferred to another device for answering. Fig.16 As shown, Fig.16 A schematic diagram of a multi-device receiving multi-way calls provided in an embodiment of the present application, Fig.16 The system includes a base station, device A and device B, wherein device A is a device for receiving multiple calls at the same time. Fig.16It represents the process of transferring a call received by device A to device B. Taking voice data as an example, the transmission process of the downlink voice data stream is as follows: the base station transmits the downlink voice data stream to device A through the air interface, the Modem in device A demodulates it and transmits it to the HiFi / Audio DSP, the HiFi / Audio DSP encodes and decodes the downlink voice data stream, and then transmits it to the AP, and then transmits it to device B through the Wi-Fi module in device A. Correspondingly, the Wi-Fi module in device B receives the downlink voice data stream, and then transmits it to the AP, and then the AP transmits it to the Speaker for playback; the transmission process of the uplink voice data stream is as follows: the MIC (microphone) of device B collects the user's voice data and transmits it to the AP, that is, the uplink voice data stream is transmitted to the AP, and then transmitted to the Wi-Fi module of device A through the Wi-Fi module in device B. The Wi-Fi module in device A receives the uplink voice data stream, transmits it to the AP, and then transmits it to the HiFi / Audio DSP. DSP, and then transmit it to the Modem, which uses the Modem to modulate the uplink voice data stream, that is, convert the digital signal into a pulse signal, and finally send it to the base station through the air interface.
[0314] It is understandable that data transmission between device A and device B can also be achieved through communication technologies such as Bluetooth, or by cellular data service technology, and this application does not impose any restrictions on this.
[0315] It should be noted that the process of transferring calls made through the operator and calls made through third-party applications to other devices is different. Figure 17-Figure 20 Let me give you an example to illustrate this.
[0316] For example, Fig.17 As shown, Fig.17A schematic diagram of a downlink data flow of an operator call provided in an embodiment of the present application, taking voice data as an example, the downlink voice data flow of the operator call on the first electronic device before being transferred to the fourth electronic device is: the Modem in the first electronic device receives the downlink voice data sent by the base station through the air interface, transmits it to the RTP / AMR codec module for decoding, and then sends it to the TC 3A module for noise reduction, and the downlink voice data after noise reduction is mixed by the Mixer, and finally played through the Speaker (speaker); the downlink voice data flow of the operator call on the first electronic device after being transferred to the fourth electronic device is: the downlink voice data is mixed by the Mixer (the process before mixing refers to the above) and sent to VoiceProxy through Mail (email), and then transmitted to the communication Kit (communication Kit in the first electronic device) via DMSDP, and the communication Kit realizes the cross-device transmission of the downlink voice data, that is, the communication Kit of the first electronic device transmits the downlink voice data to the communication Kit of the fourth electronic device, and then the fourth electronic device can directly call the Codec interface to play it in the same way as VoIP, or transmit the downlink voice data to HiFi for playback.
[0317] It should be noted that the communication kit is a component package for communication, which is used for multi-device management, business implementation, etc. Fig.17 As shown, the communication Kit may include a call management module, an audio and video module, and some basic modules, wherein the call management module may coordinate multiple calls answered simultaneously, the voice module may obtain audio and video data and transmit audio and video data, and the basic module may implement some basic functions, such as discovering communicative devices, transmitting data, connecting with other devices, encrypting and decrypting, etc. In one embodiment provided in the present application, the communication Kit may transmit data through a variety of communication technologies such as short-range technologies such as Bluetooth and Wi-Fi, or cellular data service technologies. It is understandable that Fig.17 The communication kit shown is only one implementation method provided by the present application. The communication kit may also have other forms, which are not limited by the present application.
[0318] For example, Fig.18 As shown, Fig.18A schematic diagram of an uplink data flow of an operator call provided in an embodiment of the present application, taking voice data as an example, the uplink voice data flow of the operator call on the first electronic device before being transferred to the fourth electronic device is: the first electronic device collects the uplink voice data through the MIC, mixes it through the Mixer, and then processes it through the TC 3A module and the RTP / AMR codec module, and then transmits it to the Modem, and finally the Modem sends it to the base station through the air interface; the uplink voice data flow of the operator call on the first electronic device after being transferred to the fourth electronic device is: the fourth electronic device collects the uplink voice data through the MIC, processes the voice through the HiFi module, and then transmits it to the communication Kit, and Fig.17 The process shown is similar. The uplink voice data is transmitted from the communication Kit of the fourth electronic device to the communication Kit of the first electronic device, and then passes through the DMSDP module, the VoiceProxy module, and then is transmitted to the TC 3A module through Mail for noise reduction, and then is encoded and processed by the RTP / AMR codec module, and then transmitted to the Modem, and finally sent by the Modem to the base station through the air interface.
[0319] For example, Fig.19 As shown, Fig.19 A schematic diagram of a downlink data flow of a third-party call provided in an embodiment of the present application, taking voice data as an example, the downlink voice data flow of the third-party call on the first electronic device before being transferred to the fourth electronic device is: the third-party application transmits the downlink voice data to the Audio HAL, and the Audio HAL is used to call the voice-related driver program, which is transmitted to the VoIP 3A module after passing through the RNIC module for noise reduction processing, and then transmitted to the Mixer module for mixing, and finally played through the Speaker; the downlink voice data flow of the third-party call on the first electronic device after being transferred to the fourth electronic device is: the third-party application transmits the downlink voice data to the Audio HAL and / or RNIC module, and then transmits it to the fourth electronic device through the communication Kit. After receiving the downlink voice data, the fourth electronic device can directly call the Codec interface to play it uniformly according to VoIP, or transmit the downlink voice data to HiFi for playback.
[0320] For example, Fig. 20 As shown, Fig. 20A schematic diagram of an uplink data flow of a third-party call provided in an embodiment of the present application, taking voice data as an example, the uplink voice data flow of the third-party call on the first electronic device before being transferred to the fourth electronic device is: the first electronic device collects the uplink voice data through the MIC, and transmits it to the third-party application after processing through the VoIP 3A module, the RNIC module and the Audio HAL, and then transmits it to the other end of the call through the third-party application; the uplink voice data flow of the third-party call on the first electronic device after being transferred to the fourth electronic device is: the fourth electronic device collects the uplink voice data through the MIC, performs voice processing through the HiFi module, and then transmits it to the first electronic device through the communication Kit, and after receiving the uplink voice data, the first electronic device transmits it to the RNIC module and the Audio HAL for processing, and then transmits it to the third-party application.
[0321] It should also be noted that when the first electronic device and the fourth electronic device jointly answer multiple calls, it is necessary to determine which call the first electronic device and the fourth electronic device specifically answer.
[0322] For example, Fig.21A As shown, Fig.21A A schematic diagram of multiple devices answering multiple calls provided in an embodiment of the present application is provided. Fig.21A The electronic device in the embodiment answers at least two calls simultaneously - a first call and a second call, wherein the second call is answered on the electronic device and the first call is transferred to another electronic device for answering. Specifically, the electronic device receives call data sent by the other end of the first call and sends it to the other electronic device; receives call data sent by the other electronic device and sends it to the other end of the first call. Fig. 21B As shown, Fig. 21B A schematic diagram of another embodiment of the present application providing multiple devices answering multiple calls, Fig. 21B The electronic device in the embodiment of the present invention simultaneously answers at least two calls - a first call and a second call, wherein the first call is answered on the electronic device and the second call is transferred to another electronic device for answering. Specifically, the electronic device receives call data sent by the other end of the second call and sends it to the other electronic device; receives call data sent by the other electronic device and sends it to the other end of the second call.
[0323] It can be understood that which call is transferred to the fourth electronic device for answering is determined by the first operation instruction in step S403. When the first operation instruction is to answer the first call on the first electronic device and the second call on the fourth electronic device, the first electronic device transfers the second call to the fourth electronic device for answering; when the first operation instruction is to answer the second call on the first electronic device and the first call on the fourth electronic device, the first electronic device transfers the first call to the fourth electronic device for answering.
[0324] For example, when the user triggers Figure 6 Control 603 or Figure 7 When the control 7013 in the first electronic device is pressed, the first electronic device answers the new call (the second call) and selects another device to answer the original call (the first call); when the user triggers Figure 6 Control 604 or Figure 7 When the control 7014 in the first electronic device is pressed, the first electronic device answers the original call (the first call), and the other device answers the new call (the second call). It can be understood that the triggering method includes but is not limited to key triggering, touch screen triggering, edge touch and gesture triggering; the other device is another electronic device that establishes a communication connection with the first electronic device.
[0325] In one embodiment of the present application, the first prompt area displayed by the first electronic device may include answering prompt information, and the answering prompt information may include prompts and suggestions on the answering method, that is, prompting the user which of the two calls to be answered is suitable for answering on the first electronic device and which is suitable for answering on the fourth electronic device. It is understandable that the answering prompt information can be determined according to the type of the two-way call. When one of the calls involves the transmission of video data and the fourth electronic device is a headset, the suggestion included in the answering prompt information is to recommend the user to use the first electronic device to answer the call. It should be noted that the method for determining the answering prompt information is not limited to the above one, and there may be other methods, which are not limited by the present application; the expression form of the answering prompt information is not limited to text, voice, pictures, etc.
[0326] It should be noted that after transferring a call on the first electronic device to another electronic device for answering, other calls on the first electronic device can also be transferred to another device for answering. Take the example of the first electronic device answering the first call and the second call at the same time:
[0327] Case 1: If the first electronic device has previously transferred the first call to the fourth electronic device for answering, the second call can be transferred to the fifth electronic device for answering. Specifically, when the first electronic device establishes a communication connection with the fifth electronic device, the call data sent by the third electronic device is received through the second communication link, and the call data sent by the third electronic device is sent to the fifth electronic device; the call data sent by the fifth electronic device is received, and the call data sent by the fifth electronic device is sent to the third electronic device through the second communication link.
[0328] Case 2: If the first electronic device has previously transferred the second call to the fourth electronic device for answering, the first call can be transferred to the fifth electronic device for answering. Specifically, when the first electronic device establishes a communication connection with the fifth electronic device, the call data sent by the second electronic device is received through the first communication link, and the call data sent by the second electronic device is sent to the fifth electronic device; the call data sent by the fifth electronic device is received, and the call data sent by the fifth electronic device is sent to the second electronic device through the first communication link.
[0329] It can be understood that the process of transferring a call to the fifth electronic device is the same as the process of transferring a call to the fourth electronic device. Please refer to the relevant content and will not be repeated here.
[0330] It should also be noted that both calls received on the first electronic device can be transferred to another device for answering, for example, the two calls on the first electronic device can be transferred to the headset for answering, with the left headset answering one call and the right headset answering the other call. S1307: The first electronic device displays a fourth prompt area.
[0331] Specifically, after the first electronic device establishes the second communication connection with the third electronic device (step S1304), the first electronic device displays a fourth prompt area, where the fourth prompt area is used to prompt a request to switch the call.
[0332] It can be understood that the fourth prompt area can be the entire interface or a partial area including one or more controls. In one embodiment of the present application, the one or more controls include one or more controls for switching calls, and the form of the one or more controls for switching calls is not limited to the examples below.
[0333] For example, Fig. 22 As shown, Fig. 22 This is a schematic diagram of a fourth prompt area provided in an embodiment of the present application. The fourth prompt area may be an interface 220. The interface 220 may include a control 22011. The control 22011 is used to switch calls. The fourth prompt area may also be a display area 2201 including the control 22011. It is understandable that Fig. 22 The interface shown can be triggered by the user Figure 5 The interface formed after the control 502 is shown.
[0334] S1308: The first electronic device receives a fourth operation instruction for switching call input.
[0335] Specifically, the first electronic device receives a fourth operation instruction input for a request to switch calls. It can be understood that the fourth operation instruction may be an instruction triggered by an operation performed by a user on the fourth prompt area. The fourth operation instruction is used to switch calls answered on different devices. For example, if the first electronic device answers the first call and the fourth electronic device answers the second call, the fourth operation instruction enables the first electronic device to answer the second call and the fourth electronic device to answer the first call.
[0336] It can be understood that if before receiving the fourth operation instruction, the first electronic device sends the call data sent by the second electronic device to the fourth electronic device, that is, the first electronic device transfers the first call to the fourth electronic device for answering, then, after receiving the fourth operation instruction, the first electronic device responds to the fourth operation instruction, receives the call data sent by the fourth electronic device, and switches the call data sent by the fourth electronic device to the third electronic device through the second communication link; the first electronic device stops sending the call data sent by the second electronic device to the fourth electronic device, and sends the call data sent by the third electronic device received through the second communication link to the fourth electronic device, that is, the first electronic device transfers the second call to the fourth electronic device for answering; if before receiving the fourth operation instruction, the first electronic device sends the call data sent by the third electronic device to the fourth electronic device, that is, the first electronic device transfers the second call to the fourth electronic device for answering, then, after receiving the fourth operation instruction, the first electronic device responds to the fourth operation instruction, receives the call data sent by the fourth electronic device, and switches the call data sent by the fourth electronic device to the second electronic device through the first communication link; the first electronic device stops sending the call data sent by the third electronic device to the fourth electronic device, and sends the call data sent by the second electronic device received through the first communication link to the fourth electronic device, that is, the first electronic device transfers the first call to the fourth electronic device for answering.
[0337] It should be noted that Figure 4 , Figure 8 and Fig.18The call processing methods shown all involve the same problem: when the first electronic device answers two calls at the same time, if the two calls are answered normally, that is, the first electronic device's sending and receiving attributes for the first call and the second call are both "active", and the first electronic device plays the audio (and / or video, etc.) of the two calls normally, it may cause the crosstalk mentioned above, thereby affecting the call quality.
[0338] Therefore, in order to avoid the influence of crosstalk, the two calls can be in different normal listening states at different times (refer to step S405 and step S406). Specifically, the above effect can be achieved by changing the receiving and sending properties of the first electronic device, as shown in Table 1 below.
[0339] Table 1
[0340]
[0341] When the first electronic device answers two calls at the same time (refer to step S404-step S406), the transceiver attribute of the first electronic device corresponding to one of the two calls can be changed to "inactive", and the transceiver attribute of the first electronic device corresponding to the other call remains "active". From then on, the first electronic device no longer receives data sent by the other end of the changed call, nor does it send its own data to the other end of the changed call, thereby avoiding crosstalk that may be caused by answering two calls at the same time.
[0342] When the first electronic device answers a call and the fourth electronic device also answers a call, the transceiver attributes of the first electronic devices corresponding to the two calls can both be "active". For example, two people use the two electronic devices to answer the two calls, and crosstalk is unlikely to occur at this time; the transceiver attribute of the first electronic device corresponding to one of the two calls can be changed to "recvonly", and the transceiver attribute of the first electronic device corresponding to the other call remains "active". From then on, the first electronic device no longer sends data on its own end to the other end of the changed call, but still receives data sent by the other end of the changed call; the transceiver attribute of the first electronic device corresponding to one of the two calls can also be changed to "inactive", and the transceiver attribute of the first electronic device corresponding to the other call remains "active". Please refer to the above content and will not repeat it here.
[0343] Specifically, you can change the sending and receiving properties in the following two ways:
[0344] One is to change the sending and receiving properties of the first electronic device by modifying or adding setting items of the first electronic device.
[0345] In one embodiment of the present application, the corresponding transceiver attributes when the first electronic device receives two (or more) calls can be preset, and the user can also change the corresponding setting items later to change the preset transceiver attributes. It can be understood that the setting items include multiple settings related to multiple functions of the electronic device, which can be understood as system setting items in the electronic device.
[0346] For example, Fig.23 As shown, Fig.23 Schematic diagram of a user interface provided in an embodiment of the present application, the electronic device displays a setting interface 230, the setting interface 230 may include a call management control 2301, and in response to the user's operation on the call management control 2301 (for example, touching / clicking the call management control 2301), the electronic device displays a call management interface 240 (for example, Fig.24 ), the call management interface 240 may include a multi-call management control 2401. In response to the user's operation on the multi-call management control 2401 (for example, touching / clicking the call management control 2401), the electronic device displays the multi-call management interface 250 (as shown in FIG. 2 ). Fig.25 As shown), the multi-call management interface 250 may include a control 2501 and a control 2502, wherein the control 2501 is used to trigger the display of a single-device answering multi-call interface, and the control 2502 is used to trigger the display of a multi-device answering multi-call interface.
[0347] In response to the user's operation on the control 2501 (eg, touching / clicking the call management control 2501), the electronic device displays a single device answering multiple calls interface 260 (eg, Fig.26 As shown), a single-device answering multiple calls interface 260 includes a display area 2601 and a display area 2602, wherein the display area 2601 is used to display the sending and receiving attributes of the normally answered calls corresponding to the electronic device, and the display area 2601 includes controls 26011, 26012, and 26013. In response to the user's operation on controls 26011, 26012, and 26013, the sending and receiving attributes of the normally answered calls corresponding to the electronic device will change accordingly, and the display area 2602 is used to display the sending and receiving attributes of other calls corresponding to the electronic device, and the display area 2602 includes controls 26021, 26022, and 26023. In response to the user's operation on controls 26021, 26022, and 26023, the sending and receiving attributes of other calls corresponding to the electronic device will change accordingly.
[0348] Understandably, there may be other forms of single-device multi-call interface, such as Fig. 27The single-device answering multiple calls interface 270 shown, the single-device answering multiple calls interface 270 includes a display area 2701 and a display area 2702, the display area 2701 is used to display the electronic device receiving data for other calls except the normally answered calls, the display area 2701 includes a control 27011 and a control 27012, the control 27011 is used to trigger the electronic device not to receive call data sent by the other call's opposite end, the control 27012 is used to trigger the electronic device to receive and discard the call data sent by the other call's opposite end, the display area 2702 is used to display the electronic device sending data to the other call's opposite end, the display area 2702 includes a control 27021 and a control 27022, the control 27021 is used to control the electronic device to send useless data to the other call's opposite end, the control 27022 is used to control the electronic device to send data to the other call's opposite end.
[0349] In response to the user's operation on the control 2502 (eg, touching / clicking the call management control 2502), the electronic device displays a multi-device answering multi-way call interface 280 (eg, Fig.28 As shown), the multi-device answering multi-way call interface 280 includes a display area 2801 and a display area 2802, wherein the display area 2801 is used to display the sending and receiving attributes corresponding to the calls answered by the current device (the electronic device), and the display area 2801 includes controls 28011, 28012, and 28013. In response to the user's operation on the controls 28011, 28012, and 28013, the sending and receiving attributes corresponding to the calls answered by the current device will change accordingly. The display area 2802 is used to display the sending and receiving attributes corresponding to the calls answered by other electronic devices. The display area 2802 includes controls 28021, 28022, and 28023. In response to the user's operation on the controls 28021, 28022, and 28023, the sending and receiving attributes corresponding to the calls answered by other devices will change accordingly.
[0350] It is understandable that there may be other forms of the single-device answering multiple call interface and the multiple-device answering multiple call interface, and this application does not limit this.
[0351] The second is to change the transceiver attribute of the first electronic device by sending an instruction to change the transceiver attribute to the network side, and the instruction to change the transceiver attribute is used to change the attribute of the first electronic device to transmit data. It can be understood that the change of the attribute of the first electronic device to transmit data may include changing the transceiver attribute of the first electronic device, for example, the instruction to change the transceiver attribute includes changing the transceiver attribute of the first electronic device from "sendrecv" to "inactive", at this time, there is still data transmission between the first electronic device and other devices, but when the data is transmitted to the first electronic device, the first electronic device does not receive data or send data; the change of the attribute of the first electronic device to transmit data may also include changing the data transmission from the network side to the first electronic device, for example, the instruction to change the transceiver attribute includes changing the transceiver attribute of the first electronic device from "sendrecv" to "recvonly", when the first electronic device transmits data to the network side, the network side does not receive / receive and discards the data transmitted by the first electronic device, at this time, the first electronic device cannot send data to other devices, and when other devices send data to the first electronic device, the network side can transmit data to the first electronic device, at this time, the first electronic device can receive data sent by other devices. In one embodiment of the present application, the data mentioned above is useful data in the call data (e.g., voice data and video data of both parties, etc.), and does not include useless data in the call data (e.g., silent frames, RTCP data, etc.). In addition, the specific description of the sending and receiving attributes can be referred to above, which will not be repeated here.
[0352] Exemplarily, if both calls are made under one SIM card, when the second call is connected, the first electronic device will initiate a call hold process by sending a call hold instruction to the network side, the first call will be in a call hold state, and the second electronic device (the other end of the first call) will play a ringback tone. The first electronic device can send the call hold instruction and the instruction to change the transceiver attribute to the network side together. For example, a field of the call hold instruction can be added, and the added field is used to indicate the change (change) of the transceiver attribute. When the network side receives the call hold instruction and the instruction to change the transceiver attribute, the transceiver attribute of the first electronic device is changed, and the instruction to play the ringback tone is not sent to the second electronic device. The first electronic device can also send the call hold instruction and the instruction to change the transceiver attribute to the network side respectively. After receiving the instruction to change the transceiver attribute, the network side changes the attribute of the data transmitted by the first electronic device and no longer sends the instruction to play the ringback tone to the second electronic device.
[0353] The embodiment of the present application provides a call processing scenario. Figure 4 , Figure 8 and Fig.18 The call processing methods shown can all be used in the described scenarios, and are described below in conjunction with Table 2.
[0354] Table 2
[0355]
[0356]
[0357] It is understandable that since the call received by the first electronic device may be a call made through an operator or a call made through a third-party application, there are multiple scenarios as shown in Table 2.
[0358] Scenario 1: Answer two calls from different operators at the same time (two calls are made on one SIM card).
[0359] like Fig.29 As shown, Fig.29 A schematic diagram of answering two calls at the same time is provided for an embodiment of the present application. According to the relevant 3GPP protocols, one call corresponds to one session, and one session corresponds to at least one media stream. On the protocol stack side, each media stream has a corresponding socket. Fig.29 In the example, the first call corresponds to session1, session1 corresponds to Audiomedia stream1 (voice media stream 1), the second call corresponds to session2, session2 corresponds to Audiomedia stream2 (voice media stream 2), because Audiomedia stream1 and Audiomedia stream2 are both voice media streams, the corresponding QCIs are both 1 (QCI=1, voice bearer), so two calls can be run on one QCI, and the sip signaling of the first call and the second call corresponds to another QCI (QCI=5, IMS signaling bearer).
[0360] like Fig.30 As shown, Fig.30 Another schematic diagram of answering two calls at the same time provided in an embodiment of the present application, according to the relevant 3GPP protocol, one call corresponds to one session, and one session corresponds to at least one media stream. On the protocol stack side, each media stream has a corresponding socket. Fig.30In the example, the first call is a video call, which corresponds to session1, and session1 corresponds to Audio media stream1 (voice media stream 1) and Videomedia stream1 (video media stream 1); the second call is a voice call, which corresponds to session2, and session2 corresponds to Audio media stream2 (voice media stream 2). Because Audio media stream1 and Audiomedia stream2 are both voice streaming media streams, the corresponding QCIs are both 1 (QCI=1, voice bearer). Therefore, two calls can be run on one QCI, and the QCI corresponding to Video media stream1 of the first call is 2 (QCI=2, video bearer). The sip signaling of the first call and the second call corresponds to another QCI (QCI=5, IMS signaling bearer).
[0361] In short, according to the relevant 3GPP protocols, multiple media streams are allowed to be created for different SIP calls in the same PDU context environment, that is, the first electronic device is allowed to receive two calls made through the operator at the same time.
[0362] In addition, the data flow during the call transfer process can be referred to Figure 11-Figure 15 The contents shown will not be repeated here.
[0363] Scenario 2: Answer two calls from different operators at the same time (the two calls are from two different SIM cards).
[0364] It can be understood that the process of transferring a call to another device in scenario 2 and the data flow in the process can refer to scenario 1 and Figure 11-Figure 15 The contents shown will not be repeated here.
[0365] In one embodiment of the present application, one of the two calls under the two SIM cards can be set to a call holding state. Specifically, the first electronic device can send a call holding instruction to the network side to achieve the above effect.
[0366] Scenario 3: Answering a call from the operator and a call from a third party at the same time.
[0367] It is understandable that the calls made through the operator and the calls made through the third-party application are independent of each other. In one embodiment of the present application, the calls made through the operator and the third-party application are independent of each other. Figure 12-Figure 15 The call management module in the communication Kit shown in implements the adjustment of the above two calls so that the electronic device can answer the two calls at the same time.
[0368] In one embodiment of the present application, the operator call can be set to a call holding state, and the third-party call can be answered normally. Specifically, the first electronic device can send a call holding instruction to the network side to achieve the above effect.
[0369] Scenario 4: Answering two third-party calls at the same time.
[0370] It is understandable that different calls conducted through third-party applications are also independent of each other. Similar to scenario three, in one embodiment of the present application, Figure 12-Figure 15 The call management module in the communication Kit shown in the figure implements the adjustment of the different calls so that the electronic device can simultaneously answer multiple calls made through third-party applications.
[0371] Scenario 5: Answering three or more calls simultaneously.
[0372] It can be understood that the relevant description of scenario five can refer to the description of scenarios one to four above, and will not be repeated here.
[0373] It should be noted that the description of the sending and receiving attributes involved in the above scenario can be referred to the relevant content of Table 1, which will not be repeated here.
Claims
1. A call processing method, characterized in that: Applied to a first electronic device, the method includes: Establishing a first communication link with a second electronic device; transmitting call data between the second electronic device and the first communication link; Displaying a first prompt area; the first prompt area is used to prompt a call request of a third electronic device; receiving a first operation instruction input for the call request; and establishing a second communication link with the third electronic device based on the first operation instruction; transmitting the call data between the third electronic device and the first electronic device through the second communication link, and maintaining the first communication link in a state of transmitting the call data between the second electronic device and the first electronic device; The maintaining the first communication link in a state of transmitting call data between the first electronic device and the second electronic device comprises: when the first electronic device does not send call data to the second electronic device, changing its own transceiver attribute by changing a setting item or sending an instruction to modify the transceiver attribute of the first electronic device to the network side; the call data indicated by the transceiver attribute is voice data or video data; After establishing a second communication link with the third electronic device, the method further includes: Displaying a third prompt area; the third prompt area is used to prompt a request to switch the answering method of the call; receiving a third operation instruction input for requesting to switch the answering mode of the call; In the case of establishing a communication connection with a fourth electronic device, based on the third operation instruction, receiving the call data sent by the second electronic device through the first communication link, and sending the call data sent by the second electronic device to the fourth electronic device; receiving the call data sent by the fourth electronic device, and sending the call data sent by the fourth electronic device to the second electronic device through the first communication link; Alternatively, when a communication connection is established with a fourth electronic device, based on the third operation instruction, call data sent by the third electronic device is received through the second communication link, and the call data sent by the third electronic device is sent to the fourth electronic device; call data sent by the fourth electronic device is received, and the call data sent by the fourth electronic device is sent to the third electronic device through the second communication link.
2. The method according to claim 1, characterized in that After establishing a second communication link with the third electronic device based on the first operation instruction, the method further includes: Displaying a second prompt area; the second prompt area is used to prompt a request to switch the call; receiving a second operation instruction input for the request to switch the call; Based on the second operation instruction, the call data between the second electronic device and the third electronic device is transmitted through the first communication link, and the second communication link is kept in a state of transmitting the call data between the third electronic device and the third electronic device.
3. The method according to claim 1, characterized in that After sending the call data sent by the fourth electronic device to the second electronic device through the first communication link, the method further includes: Displaying a fourth prompt area; the fourth prompt area is used to prompt a request to switch the call; receiving a fourth operation instruction input for the request to switch the call; In response to the fourth operation instruction, the call data sent by the fourth electronic device is switched to be sent to the third electronic device via the second communication link; the call data sent by the second electronic device is stopped from being sent to the fourth electronic device, and the call data sent by the third electronic device and received via the second communication link is sent to the fourth electronic device.
4. The method according to claim 1, characterized in that After sending the call data sent by the fourth electronic device to the third electronic device through the second communication link, the method further includes: Displaying a fourth prompt area; the fourth prompt area is used to prompt a request to switch the call; receiving a fourth operation instruction input for the request to switch the call; In response to the fourth operation instruction, the call data sent by the fourth electronic device is switched to be sent to the second electronic device via the first communication link; the call data sent by the third electronic device is stopped from being sent to the fourth electronic device, and the call data sent by the second electronic device and received via the first communication link is sent to the fourth electronic device.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: According to the preset priority, the electronic device with the highest priority among at least one electronic device that has established a communication connection with the first electronic device is determined to be the fourth electronic device.
6. The method according to any one of claims 1 to 4, characterized in that: The first communication link is used to implement calls through the operator, and the second communication link is used to implement calls through third-party applications, or the first communication link is used to implement calls through third-party applications, and the second communication link is used to implement calls through the operator.
7. The method according to claim 5, characterized in that The first communication link is used to implement calls through the operator, and the second communication link is used to implement calls through third-party applications, or the first communication link is used to implement calls through third-party applications, and the second communication link is used to implement calls through the operator.
8. An electronic device, characterized in that: The electronic device comprises: a memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions; the one or more processors are used to call the computer instructions so that the electronic device executes the method described in any one of claims 1-7.
9. A computer storage medium, characterized in that include: Computer instructions; when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Incoming call forwarding method and terminals
CN103595871A
Call method and terminal device
CN108462945A
