Conference call switching method and related device
By switching the IMS conference under the LTE network to the CS conference on the 2G/3G network, the IMS conference number is replaced by the CS call number, which solves the problem that the call interface of a single radio frequency device cannot display the participant number after the switch. to display the effect correctly.
Patent Information
- Application Number
- CN202310573827.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-05-19
AI Technical Summary
When conducting an IMS conference under the LTE network, after the single radio frequency device is switched from the LTE network to the 2G/3G network, the call interface of the conference call cannot correctly display the phone numbers of the participants.
By obtaining and replacing the number in the connection information of the IMS conference during the switching process, the CS call number reported by the modem is replaced by the IMS conference number to ensure that the participant's phone number is correctly displayed in the CS conference.
When switching from an IMS conference to a CS conference, ensure that the phone numbers of participants are correctly displayed on the call interface, which solves the problem of incomplete number display.
Smart Images

Figure CN117692973B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a conference call switching method and related devices. Background Art
[0002] With the popularization of long term evolution (LTE) networks, users can establish conference calls based on the Internet protocol multimedia subsystem (IMS) through electronic devices with multiple other devices over the LTE network.
[0003] At present, some electronic devices only have a single radio frequency. If a single-radio electronic device moves out of the coverage of the LTE network while conducting an IMS conference with multiple other devices on the LTE network, the single-radio electronic device will switch from the LTE network to the 2G / 3G network. The single-radio electronic device will trigger a single radio voice call continuity (SRVCC) switch, thereby ensuring the continuity of the conference call when switching from the LTE network to the 2G / 3G network. Among them, SRVCC is a VoLTE voice service continuity solution proposed by 3GPP, which is mainly to solve the problem of ensuring voice call continuity when a single-radio electronic device moves between the LTE / Pre-LTE network and the 2G / 3G circuit switched (CS) domain network, that is, to ensure smooth switching of the single-radio electronic device between the IMS-controlled VoIP voice service and the CS domain voice service.
[0004] However, when an electronic device establishes an IMS conference call with multiple other devices on an LTE network, if the network where the electronic device resides changes from an LTE network to a 2G / 3G network, the electronic device will trigger an SRVCC switch for the conference call. However, when the conference call is switched to a 2G / 3G network, the number of a conference member displayed on the call interface displayed by the electronic device will not be displayed. Summary of the invention
[0005] The present application provides a conference call switching method and related devices, which can ensure the continuity of switching from an IMS conference to a CS conference while allowing the telephone numbers of participants to be correctly displayed on the call interface of the CS conference.
[0006] In a first aspect, the present application provides a conference call switching method, comprising: after merging a first IMS call and a second IMS call into an IMS conference, obtaining the number of the IMS conference reported by a modem; retaining the connection information of the second IMS call as the connection information of the IMS conference, wherein the connection time of the second IMS call is used as the connection time for generating the IMS conference, but the number in the connection information of the IMS conference is replaced with the number of the IMS conference, and the connection time of the IMS conference is used to generate the duration of the IMS conference; obtaining the participant information of the IMS conference from the network side reported by the modem, wherein the participant information includes a first telephone number and a second telephone number; displaying the participant information and the duration of the IMS conference; after switching to a resident 2G or 3G network, switching the IMS conference to a CS conference, wherein the CS conference includes the first CS call and a second CS call; obtaining the number of the first CS call reported by the modem and the number of the second CS call, wherein the number of the first CS call is the first telephone number and the number of the second CS call is the second telephone number; using the connection information of the IMS conference as the connection information of the second CS call, wherein the connection time of the IMS conference is used as the connection time of the second CS call, but the number in the connection information of the second CS call is replaced with the number of the second CS call reported by the modem, and the connection time of the second CS call is used for the duration of the second CS call; using the number of the first CS call reported by the modem as the number in the connection information of the first CS call; displaying the number in the connection information of the first CS call, the number in the connection information of the second CS call, and the duration of the second CS call.
[0007] According to a conference switching method provided by the present application, before the connection information of the IMS conference is used as the connection information of the second CS call in the CS conference, the conference number in the connection information of the IMS conference is replaced by the number of the second CS call reported by the modem. Therefore, when the continuity of the switch from the IMS conference to the CS conference is ensured, the telephone number of the participant can be correctly displayed on the call interface of the CS conference.
[0008] In a possible implementation, the number in the connection information of the second CS call is replaced with the number of the second CS call reported by the modem, specifically including: determining whether the number in the connection information of the IMS conference is a telephone number, and if not, modifying the number in the connection information of the IMS conference to the number of the second CS call reported by the modem and using it as the connection information of the second CS call.
[0009] In this way, it can be ensured that the number in the connection information of the second CS call is a telephone number.
[0010] In a possible implementation, before merging the first IMS call and the second IMS call into an IMS conference, the method further includes: when camping on the LTE network, obtaining the number of the first IMS call and the number of the second IMS call reported by the modem, wherein the number of the first IMS call is the first telephone number, and the number of the second IMS call is the second telephone number; using the number of the first IMS call reported by the modem as the number in the connection information of the first IMS call, and using the number of the second IMS call reported by the modem as the number in the connection information of the second IMS call, wherein the connection information of the second IMS call includes the connection time of the second IMS call, and the connection time of the second IMS call is used to generate the duration of the second IMS call; and displaying the number in the connection information of the first call, the number in the connection information of the second call, and the duration of the second IMS call.
[0011] In this way, before merging the IMS conference, the phone number of the first IMS call, the phone number of the second IMS call and the duration of the second IMS call can be displayed. In this way, after merging the IMS conference, the connection time in the second IMS call can be directly used to calculate the duration of the IMS conference.
[0012] In a possible implementation, the method further includes: while displaying the number in the connection information of the first call, the number in the connection information of the second call, and the duration of the second IMS call, also displaying a merge call control; merging the first IMS call and the second IMS call into an IMS conference specifically includes: receiving a first input from a user to the merge call control; in response to the first input, sending a merge call request to the network side through the modem, the merge call request being used to merge the first IMS call and the second IMS call into the IMS conference.
[0013] In this way, the user can trigger the merging of two IMS calls into an IMS conference.
[0014] In a possible implementation, the connection time of the second IMS call is used to generate the duration of the second IMS call, which specifically includes: determining the duration of the IMS conference according to the connection time of the second IMS call and the current system time.
[0015] In a possible implementation, the connection time of the IMS conference is used to generate the duration of the IMS conference, which specifically includes: determining the duration of the IMS conference according to the connection time of the IMS conference and the current system time.
[0016] In a possible implementation, the connection time of the second CS call is used to generate the duration of the second CS call, which specifically includes: determining the duration of the second CS call according to the connection time of the second CS call and the current system time.
[0017] In a possible implementation, the retaining the connection information of the second IMS call as the connection information of the IMS conference specifically includes: retaining the connection information of the second IMS call as the connection information of the IMS conference, and releasing the connection information of the first IMS call.
[0018] In a possible implementation, the number of the first IMS call reported by the modem is used as the number in the connection information of the first IMS call, and the number of the second IMS call reported by the modem is used as the number in the connection information of the second IMS call, specifically including: in a telephone communication service framework telephonyfw, the number of the first IMS call reported by the modem is used as the number in the connection information of the first IMS call, and the number of the second IMS call reported by the modem is used as the number in the connection information of the second IMS call.
[0019] In a possible implementation manner, the retaining the connection information of the second IMS call as the connection information of the IMS conference specifically includes: retaining the connection information of the second IMS call in the telephonyfw as the connection information of the IMS conference.
[0020] In a possible implementation manner, the using the connection information of the IMS conference as the connection information of the second CS call specifically includes: using the connection information of the IMS conference as the connection information of the second CS call in the telephonyfw.
[0021] In a second aspect, the present application provides an electronic device comprising one or more processors and one or more memories, the one or more processors comprising a modem; wherein the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program code, the computer program code comprising computer instructions, and when the one or more processors execute the computer instructions, the method in any possible implementation of the above-mentioned first aspect is executed.
[0022] The one or more processors may also include a central processing unit (CPU).
[0023] In a third aspect, the present application provides another electronic device, comprising one or more functional modules, wherein the one or more functional modules are used to execute the method in any possible implementation of the first aspect above.
[0024] The one or more functional modules may include telephonyfw.
[0025] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, which, when executed on an electronic device, execute the method in the above-mentioned second aspect and any possible implementation of the second aspect.
[0026] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute a method in any possible implementation of any of the above aspects.
[0027] The beneficial effects of the second and fifth aspects can refer to the beneficial effects of the first aspect and any possible implementation method of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A schematic diagram of the architecture of a call system provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0030] Figure 3A-3E A schematic diagram of a scenario for establishing a telephone conference call provided in an embodiment of the present application;
[0031] Figure 4A-4D A schematic diagram of another scenario of establishing a telephone conference provided in an embodiment of the present application;
[0032] Figure 5A-5C A schematic diagram of a scenario in which an SRVCC switch occurs in a telephone conference provided in an embodiment of the present application;
[0033] Figure 6A-6C A schematic diagram of the interface display effect of the conference call switching method provided in an embodiment of the present application;
[0034] Figure 7 A schematic diagram of a call framework provided in an embodiment of the present application;
[0035] Figure 8 A schematic diagram of a code implementation for merging two IMS calls into an IMS conference provided in an embodiment of the present application;
[0036] Fig. 9 A schematic diagram of code implementation of switching an IMS conference to a CS conference provided in an embodiment of the present application;
[0037] Fig.10A schematic diagram of a code implementation of a conference switching method provided in an embodiment of the present application;
[0038] Fig.11 The present invention is a flowchart of a conference switching method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0041] A communication system 10 provided in an embodiment of the present application is introduced below.
[0042] Figure 1 A schematic diagram of the architecture of a call system 10 provided in an embodiment of the present application is shown.
[0043] like Figure 1 As shown, the call system 10 may include an electronic device 100 , a network device 200 , and a plurality of conference member devices, for example, an electronic device 300 and an electronic device 400 .
[0044] The electronic device 100 may establish an IMS / CS call or conference with the electronic device 300 and the electronic device 400 through the network device 200. The network device 200 may be referred to as a network side in the embodiment of the present application.
[0045] In some embodiments, the electronic device 100 can conduct a telephone conference with the electronic device 300 and the electronic device 400 through the cellular network where the network device 200 is located. The cellular network may include but is not limited to 2G networks (e.g., global system for mobile communications (GSM), code division multiple access (CDMA), 3G networks (e.g., wideband code division multiple access (WCDMA), time division synchronous code division multiple ac (TD-SCDMA)), 4G networks (e.g., long term evolution (LTE)) and other network systems.
[0046] When the electronic device 100 and the electronic device 300 and the electronic device 400 conduct an IMS call or an IMS conference in the LTE network, the electronic device 100 and the electronic device 300 and the electronic device 400 will complete the interaction during the call or conference in the IMS of the LTE network. When the electronic device 100 and the electronic device 300 and the electronic device 400 conduct a CS call or conference in the 2G / 3G network, the electronic device 100 and the electronic device 300 and the electronic device 400 will establish a telephone conference in the CS domain of the 2G / 3G network.
[0047] In the embodiment of the present application, the device type of the electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart large screens and smart speakers, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (extended reality, XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), vehicle-mounted devices or smart city devices, and the like.
[0048] In the embodiment of the present application, there is no particular limitation on the specific type of the electronic device 100.
[0049] The following introduces the hardware structure of an electronic device provided in an embodiment of the present application.
[0050] Figure 2 A schematic structural diagram of an electronic device 100 provided in an embodiment of the present application is shown.
[0051] It should be understood that Figure 2 The electronic device 100 shown is only an example, and the electronic device 100 may have more Figure 2 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 2 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0052] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, 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. Among them, the sensor module 180 may include a fingerprint sensor 180H, a touch sensor 180K, etc.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., 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.
[0060] 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.
[0061] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), 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.
[0062] 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).
[0063] 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.
[0064] 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). The display screen panel can also be made of 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, a 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.
[0065] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0066] 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 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.
[0067] The camera 193 is used to capture still 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 passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image 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.
[0068] The digital signal processor is used to process digital signals, and can process not only digital image 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.
[0069] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0070] 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 electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0071] 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.
[0072] 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 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 (UFS), etc.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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 collect 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 collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0078] 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.
[0079] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting the SIM card interface 195 or removing the SIM card from the SIM card interface 195 .
[0084] The following describes in detail the scenario of establishing a telephone conference call involved in the embodiments of the present application.
[0085] Figure 3A-3E A schematic diagram of a scenario for establishing a telephone conference call provided in an embodiment of the present application is shown.
[0086] For example, Figure 3AAs shown, the electronic device 100 can make an IMS call with the electronic device 300 under the 4G network (i.e., LTE network), and display a phone call interface 310. Among them, a status bar 311 can be displayed at the top of the phone call interface 310. The status bar 311 may include a network signal indicator 312, etc. Among them, the network signal indicator 312 is used to indicate that the current electronic device 100 resides in the 4G network (i.e., LTE network). The phone call interface 310 may include the phone number information 313 of the electronic device 300 (for example, 123456789), the duration of the call 314, the IMS call identifier 315, and multiple call function controls. Among them, the multiple function controls may include a recording control, a waiting control, an add call control 316, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 317, an external speaker control, and the like. Among them, the IMS call identifier 315 can be used to indicate that the current electronic device 100 and the electronic device 300 are based on IMS. The add call control 316 can be used to actively call other electronic devices when the electronic device 100 can make an IMS call with the electronic device 300 under the 4G network (ie, LTE network). The hang-up control 317 can be used to hang up the current telephone call between the electronic device 100 and the electronic device 300.
[0087] The electronic device 100 may receive a user input (eg, a click) for the add call control 316. In response to the input, the electronic device 100 may display the following information: Figure 3B Add call interface 320 is shown.
[0088] like Figure 3BAs shown, the top of the add call interface 320 may display the above-mentioned status bar 311. When the electronic device 100 displays the add call interface 320, a call mark 318 may be displayed on the status bar 311. The call mark 318 may be used to indicate that the electronic device 100 is currently on a call. The add call interface 320 may include a personal favorites control 321, a recent call control 322, an address book control 323, and a dial pad control 324. Among them, the personal favorites control 321 may be used to trigger the electronic device 100 to display a favorite contact page including one or more favorite contacts, and the user can select the favorite contact in the contact page to make a phone call. The recent call control 322 may be used to trigger the electronic device 100 to display a recent call page including the recent contacts that have recently called, called in, and called out with the electronic device 100, and the user can select the recent contact in the recent call page to make a phone call. The address book control 323 may be used to trigger the electronic device 100 to display an address book page including contacts saved on the electronic device 100, and the user can select the saved contact in the address book page to make a phone call. The dial pad control 324 can be used to trigger the electronic device 100 to display a dial page 325. The dial page 325 can include a dial 326, a dial control 327, and a dial number display area 328.
[0089] like Figure 3C As shown, the electronic device 100 can receive the dial number (e.g., 987654321) input by the user in the dial pad page. After the user enters the dial number, the electronic device 100 can receive the user's input (e.g., single click) for the dial control 327. In response to the input, the electronic device 100 can call the electronic device 400 corresponding to the dial number (e.g., 987654321).
[0090] like Figure 3D As shown, after the electronic device 400 receives the incoming call from the electronic device 100, the electronic device 100 can switch to conduct an IMS-based telephone call with the electronic device 400 and maintain the call link with the electronic device 300. When the electronic device 100 conducts an IMS-based telephone call with the electronic device 400 and maintains the call path with the electronic device 300, the telephone call interface 330 can be displayed. The top of the telephone call interface 330 can display the above-mentioned status bar 311. For the text description of the above-mentioned status bar 311, please refer to the above-mentioned Figure 3AThe illustrated embodiment will not be described in detail here. The call interface 330 may include the telephone number information 331 (e.g., 987654321) of the electronic device 400, an IMS call identifier 332, the duration of the call 333, the telephone number information 334 (e.g., 123456789) of the electronic device 300, a hold identifier 335, and a plurality of call function controls. Among them, the IMS call identifier 332 may be used to indicate that the current electronic device 100 and the electronic device 400 are currently conducting an IMS call, the duration of the call 333 may be used to indicate the duration of the current electronic device 100 and the electronic device 400 are currently conducting an IMS call, and the hold identifier 335 may be used to indicate that the current electronic device 100 maintains the call path with the electronic device 300. The plurality of call function controls may include a recording control, a switching control 336, a merge call control 337, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 338, an external speaker control, and the like. The switching control 336 can be used to trigger the electronic device 100 to switch to an IMS call with the electronic device 300 and maintain the call path with the electronic device 400. The merge call control 337 can be used to trigger the electronic device 100 to merge the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference.
[0091] The electronic device 100 may receive a user input (e.g., a single click) for the merge call control 337. In response to the input, the electronic device 100 may merge the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference. That is, the electronic devices 100, 300, and 400 may receive each other's voice data, and may also send each other their collected voice data.
[0092] like Figure 3E As shown, after the electronic device 100 completes the IMS conference, the electronic device can display a telephone conference call interface 340. The telephone conference call interface 340 may include the telephone number information of the conference participants, the conference duration 343, the IMS conference identifier 344, and multiple conference function controls. Among them, the telephone number information of the conference participants includes the telephone number 342 (for example, 123456789) of the electronic device 300 and the telephone number 341 (for example, 987654321) of the electronic device 400. The IMS conference identifier 344 can be used to indicate that the current electronic device 100 is conducting an IMS conference with the electronic devices 300 and 400. Among them, the conference call function controls may include a recording control, a waiting control, an add call control 345, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 346, an external speaker control, and the like.
[0093] Through the above Figure 3A-3E In the manner of establishing a conference call shown, the electronic device 100 actively adds an IMS call with the electronic device 400 during the IMS call with the electronic device 300, and merges the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference.
[0094] Figure 4A-4D A schematic diagram of another scenario for establishing a telephone conference provided in an embodiment of the present application is shown.
[0095] For example, Figure 4A As shown, the electronic device 100 can make an IMS call with the electronic device 300 in the 4G network (ie, LTE network), and display the phone call interface 310. For the text description of the phone call interface 310, please refer to the above Figure 3A The illustrated embodiments will not be described in detail here.
[0096] like Figure 4B As shown, during the process of the electronic device 100 and the electronic device 300 conducting an IMS call, the electronic device 100 can receive an incoming call from the electronic device 400 and display an incoming call interface 410. The incoming call interface 410 can include the telephone number information 411 (for example, 123456789) of the electronic device 300, the IMS call identifier 412, the duration of the call 413, the telephone number information 414 (for example, 987654321) of the electronic device 400, the end and answer control 415, the rejection control 416, and the hold and answer 417. Among them, the IMS call identifier 412 can be used to indicate that the electronic device 100 and the electronic device 300 are currently conducting an IMS call. The end and answer control 415 can be used to trigger the electronic device 100 to hang up the IMS call with the electronic device 300, accept the incoming call of the electronic device 400, and conduct an IMS call with the electronic device 400. The rejection control 416 can be used to trigger the electronic device 100 to reject the incoming call of the electronic device 400. The hold and answer control 417 may be used to trigger the electronic device 100 to hold the call path with the electronic device 300 , and accept the incoming call from the electronic device 400 , and conduct an IMS call with the electronic device 400 .
[0097] like Figure 4C As shown, when the electronic device 100 is making a phone call with the electronic device 400 based on the IMS and maintaining the call path with the electronic device 300, the phone call interface 420 may be displayed. The status bar 311 may be displayed at the top of the phone call interface 420. For the text description of the status bar 311, please refer to the above Figure 3AThe illustrated embodiment will not be described in detail here. The call interface 420 may include telephone number information 421 (e.g., 987654321) of the electronic device 400, an IMS call identifier 422, a call duration 423, telephone number information 424 (e.g., 123456789) of the electronic device 300, a hold identifier 425, and a plurality of call function controls. The IMS call identifier 422 may be used to indicate that the current electronic device 100 and the electronic device 400 are conducting an IMS call, the call duration 423 may be used to indicate the duration of the current electronic device 100 and the electronic device 400 conducting an IMS call, and the hold identifier 425 may be used to indicate that the current electronic device 100 maintains the call path with the electronic device 300. The plurality of call function controls may include a recording control, a switching control 426, a merge call control 427, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 428, a speaker control, and the like. The switching control 426 can be used to trigger the electronic device 100 to switch to the IMS call with the electronic device 300 and maintain the call path with the electronic device 400. The merge call control 427 can be used to trigger the electronic device 100 to merge the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference.
[0098] The electronic device 100 may receive a user input (e.g., a single click) for the merge call control 427. In response to the input, the electronic device 100 may merge the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference. That is, the electronic devices 100, 300, and 400 may receive each other's voice data, and may also send each other their collected voice data.
[0099] like Figure 4D As shown, after the electronic device 100 completes the IMS conference, the electronic device may display a telephone conference call interface 340. For a text description of the telephone conference call interface 340, please refer to the above Figure 3E The illustrated embodiments will not be described in detail here.
[0100] Through the above Figure 4A-4D In the manner of establishing a telephone conference call shown, the electronic device 100 receives an incoming call from the electronic device 400 during an IMS call with the electronic device 300. After the electronic device 100 accepts the incoming call from the electronic device 400, the electronic device 100 can merge the IMS call with the electronic device 300 and the IMS call with the electronic device 400 into an IMS conference.
[0101] Figure 5A-5CA schematic diagram of a scenario in which an SRVCC switch occurs in a telephone conference provided in an embodiment of the present application is shown.
[0102] For example, Figure 5A As shown, after the electronic device 100 completes the IMS conference, the electronic device may display a telephone conference call interface 340. The telephone conference call interface 340 may display a telephone number 342 (e.g., 123456789) of the electronic device 300 and a telephone number 341 (e.g., 987654321) of the electronic device 400. For a text description of the telephone conference call interface 340, please refer to the above Figure 3E The illustrated embodiments will not be described in detail here.
[0103] like Figure 5B As shown, when the resident network of the electronic device 100 switches from the 4G network (i.e., the LTE network) to the 2G or 3G network, the ongoing IMS conference of the electronic device 100, the electronic device 300, and the electronic device 400 will be switched to the CS domain telephone conference call to maintain the continuity of the voice service of the telephone conference call. After the SRVCC switch is completed, the electronic device 100 can display the telephone conference call interface 510, and display the identification of the resident network after the switch (e.g., 3G network identification 319) in the status bar 311. Among them, the telephone conference call interface 510 can display the telephone number information 511 of the electronic device 300, the number 512 of the IMS conference (e.g., mmtel), the conference duration 513, and multiple conference function controls. Among them, the multiple conference function controls can include a recording control, a waiting control, an add call control 514, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 515, an external speaker control, and the like.
[0104] When the IMS conference is switched from SRVCC to a CS domain telephone conference call, the electronic device 100 cannot display the telephone number information of the electronic device 400 in the telephone conference call interface 510 .
[0105] The electronic device 100 may receive a user input (eg, a single click) on the hang-up control 515 , and in response to the input, the electronic device 100 may hang up the current CS domain telephone conference call.
[0106] like Figure 5C As shown, after the electronic device 100 can hang up the current CS domain conference call, the electronic device 100 can display the recent call interface 520.
[0107] After the IMS conference is switched to the CS domain telephone conference call, the electronic device 100 cannot display the telephone number information of the electronic device 400 in the telephone conference call interface 510. The electronic device 100 also cannot display the record of the CS domain telephone conference call of the electronic device 400 in the recent call interface 520, and instead displays the call record 521 of the unknown number in the recent call interface 520.
[0108] Through the above Figure 5A-5C In the scenario of SRVCC switching during the telephone conference call shown, it can be seen that when the IMS conference between the electronic device 100 and the electronic devices 300 and 400 is switched to a CS domain telephone conference call, the electronic device 100 will incorrectly display the phone number of a participant (electronic device 300 or electronic device 400) in the conference call interface during the CS domain telephone conference call. After the CS domain telephone conference call ends, the electronic device 100 will also incorrectly display the phone number of a participant (electronic device 300 or electronic device 400) in the call record of the recent call interface.
[0109] Therefore, a conference call switching method is provided in an embodiment of the present application. When the IMS conference held by the electronic device 100, the electronic device 300, and the electronic device 400 is switched to a CS domain telephone conference call, it is ensured that the electronic device 100 correctly displays the telephone number of the participant on the conference call interface during the CS domain telephone conference call. After the CS domain telephone conference call ends, the electronic device 100 will also correctly display the telephone number of the participant in the call record of the recent call interface.
[0110] Figure 6A-6C A schematic diagram of the interface display effect of the conference call switching method provided in an embodiment of the present application is shown.
[0111] For example, Fig. 6A As shown, after the electronic device 100 completes the IMS conference, the electronic device may display a telephone conference call interface 340. The telephone conference call interface 340 may display a telephone number 342 (e.g., 123456789) of the electronic device 300 and a telephone number 341 (e.g., 987654321) of the electronic device 400. For a text description of the telephone conference call interface 340, please refer to the above Figure 3E The illustrated embodiments will not be described in detail here.
[0112] like Figure 6BAs shown, when the resident network of the electronic device 100 switches from the 4G network (i.e., the LTE network) to the 2G or 3G network, the ongoing IMS conference of the electronic device 100, the electronic device 300, and the electronic device 400 will be switched to the CS domain telephone conference call to maintain the continuity of the voice service of the telephone conference call. After the SRVCC switch is completed, the electronic device 100 can display the telephone conference call interface 610, and display the identification of the resident network after the switch (for example, the 3G network identification 319) in the status bar 311. Among them, the telephone conference call interface 610 can display the telephone number information 611 of the electronic device 300, the telephone number information 612 of the electronic device 400, the conference duration 613, and multiple conference function controls. Among them, the multiple conference function controls can include a recording control, a waiting control, an add call control 614, a video call control, a mute control, a contact control, a dial pad control, a hang-up control 615, an external speaker control, and the like.
[0113] Among them, after the IMS conference undergoes SRVCC switching and switches to a CS domain telephone conference call, the electronic device 100 can correctly display the telephone number information of the participants (electronic device 300 and electronic device 400) in the telephone conference call interface 610.
[0114] The electronic device 100 may receive a user input (eg, a single click) on the hang-up control 615 , and in response to the input, the electronic device 100 may hang up the current CS domain telephone conference call.
[0115] like Figure 6C As shown, after the electronic device 100 can hang up the current CS domain conference call, the electronic device 100 can display the recent call interface 620. The electronic device 100 can also correctly display the call records of the calls with the participants in the CS domain conference call in the recent call interface 620, for example, the call record 621 of the call with the electronic device 300 and the call record 622 of the call with the electronic device 300. The call record 621 of the call with the electronic device 300 includes the telephone number of the electronic device 300 (for example, 123456789), and the call record 622 of the call with the electronic device 400 includes the telephone number of the electronic device 400 (for example, 987654321).
[0116] The following introduces the call framework provided in the embodiments of the present application.
[0117] Figure 7 A schematic diagram of a conversation framework provided in an embodiment of the present application is shown.
[0118] like Figure 7As shown, the call software framework may include an application layer, a framework layer, a hardware abstraction layer, a vendor customized module (Vendor) and a baseband processing module (modem).
[0119] The application layer may include a dialer, a telephone communication service (Telephony), a telephone module (Telecom) and a telephone interface module (IncallUI).
[0120] The Telephony may include an external interface, a call management center, a call path, and a telephone communication service connection (TelephonyConnection) of a call path to provide IMS related services.
[0121] Telecom can be used to manage calls through the telephone call class (Telecom / Call) and provide an interface for Telephony to interact with the application layer.
[0122] The framework layer may include the telephony framework (telephony fw), the telephony framework (telecomfw), and the IP multimedia system network module (net / ims). Net / ims can manage the network management of ims through the ims phone class (ImsCall). Among them, telephony fw may include a java-based wireless interface module (radio interface layer java, RILJ).
[0123] Telephony fw can create a call connection module to manage the call connection during a call, for example, IMS phone connection class (ImsPhoneConnection) and CS phone connection class (GsmCdmaConnection).
[0124] The hardware abstraction layer may include a radio interface layer daemon (RILD) based on the RILJ. RILD is the middle layer between the RILJ and the modem. After the RILJ sends a request, the RILD converts the request sent by the RILJ into a modem AT command and sends it to the modem. When the modem reports or returns a message to the upper layer, the RILD processes the message reported or returned by the modem and gives it to the RILJ.
[0125] Vendor can include an ims module. The ims module in the vendor (Vendor / ims) can be used to provide ims-related services (e.g., session management, etc.). The ims module in the vendor can be customized by the chip manufacturer of each modem. Vendor / ims can implement ims-related services through the ims phone session class (ImsCallSession).
[0126] The following is the code implementation of merging two IMS calls into an IMS conference.
[0127] Figure 8 A schematic diagram of code implementation for merging two IMS calls into an IMS conference provided in an embodiment of the present application is shown.
[0128] like Figure 8 As shown, when the electronic device 100 is holding a first IMS call with the electronic device 300 and is conducting a second IMS call with the electronic device 400, two IMS calls can be established on the electronic device 100. The first IMS call being held is a background call (background, bgCall), and the second IMS call being conducted is a foreground call (foreground, fgCall).
[0129] 1. Under bgCall, Vendor / ims can create an "ImsCallSession" with the ID "ICS@1".
[0130] ne / ims can create "ImsCall" with the ID "IC@1".
[0131] telephony fw can create "ImsPhoneConnection" with Id "IPC@1".
[0132] Telephony can create a "TelephonyConnection" with an ID of "1".
[0133] Telecom can create "Telecom / Call" with the ID "TC@1".
[0134] Among them, "ImsCallSession" with ID "ICS@1" can be bound to "ImsCall" with ID "IC@1", and "ImsCall" with ID "IC@1" can be bound to "ImsPhoneConnection" with ID "IPC@1". "ImsPhoneConnection" with ID "IPC@1" can be bound to "TelephonyConnection" with ID "1". "ImsPhoneConnection" with ID "IPC@1" and "TelephonyConnection" with ID "1" can be bound to "Telecom / Call" with ID "TC@1".
[0135] Among them, the ImsCallSession with Id "ICS@1" can store the number of the first IMS call reported by the modem, that is, the telephone number of the electronic device 300. The ImsCallSession with Id "ICS@1" can give the number of the first IMS call to the "ImsCall" with Id "IC@1". The "ImsCall" with Id "IC@1" can give the number of the first IMS call to the "ImsPhoneConnection" with Id "IPC@1". The "ImsPhoneConnection" with Id "IPC@1" can store the connection information of the first IMS call, and the connection information of the first call may include the number of the first IMS call and the connection time of the first IMS call. The "TelephonyConnection" with Id "1" can obtain the number of the first IMS call from the "ImsPhoneConnection" with Id "IPC@1". The "TelephonyConnection" with ID "1" can provide the number of the first IMS call to the "Telecom / Call" with ID "TC@1". The IncallUI can obtain the number of the first IMS call from the "Telecom / Call" with ID "TC@1" and display it. The IncallUI can also obtain the connection time of the first IMS call stored in the "ImsPhoneConnection" with ID "IPC@1", and determine and display the duration of the first IMS call based on the connection time of the first IMS call.
[0136] 2. Under fgCall, Vendor / ims can create an "ImsCallSession" with the ID "ICS@2".
[0137] ne / ims can create "ImsCall" with the ID "IC@2".
[0138] telephony fw can create "ImsPhoneConnection" with Id "IPC@2".
[0139] Telephony can create a "TelephonyConnection" with an ID of "2".
[0140] Telecom can create "Telecom / Call" with the ID "TC@2".
[0141] Among them, "ImsCallSession" with ID "ICS@2" can be bound to "ImsCall" with ID "IC@2", and "ImsCall" with ID "IC@2" can be bound to "ImsPhoneConnection" with ID "IPC@2". "ImsPhoneConnection" with ID "IPC@2" can be bound to "TelephonyConnection" with ID "2". "ImsPhoneConnection" with ID "IPC@2" and "TelephonyConnection" with ID "2" can be bound to "Telecom / Call" with ID "TC@2".
[0142] Among them, the ImsCallSession with Id "ICS@2" can store the number of the first IMS call reported by the modem, that is, the telephone number of the electronic device 300. The ImsCallSession with Id "ICS@2" can give the number of the first IMS call to the "ImsCall" with Id "IC@2". The "ImsCall" with Id "IC@2" can give the number of the first IMS call to the "ImsPhoneConnection" with Id "IPC@2". The "ImsPhoneConnection" with Id "IPC@2" can store the connection information of the first IMS call, and the connection information of the first call may include the number of the first IMS call and the connection time of the first IMS call. The "TelephonyConnection" with Id "2" can obtain the number of the first IMS call from the "ImsPhoneConnection" with Id "IPC@2". The "TelephonyConnection" with ID "2" can provide the number of the first IMS call to the "Telecom / Call" with ID "TC@2". The IncallUI can obtain the number of the first IMS call from the "Telecom / Call" with ID "TC@2" and display it. The IncallUI can also obtain the connection time of the first IMS call stored in the "ImsPhoneConnection" with ID "IPC@2", and determine and display the duration of the first IMS call based on the connection time of the first IMS call.
[0143] 3. After the telephone conference is established, the modem can report the call information of the IMS conference, wherein the IMS conference call information includes the number of the IMS conference (for example, "mmtel"). The call information of the IMS conference can be "dc=id=3, DA1ING, toa=129, conf, mo, number=mmtel".
[0144] After obtaining the call information of the IMS conference reported by the modem, Vendor / ims can create an "ImsCallSession" with the ID "ICS@3".
[0145] After Vendor / ims obtains the bottom layer return and merges successfully, it can bind "ImsCall" with ID "IC@2" and "ImsPhoneConnection" with ID "IPC@2" in fgcall to "ImsCallSession" with ID "ICS@3".
[0146] Net / ims can replace the number stored in "ImsCall" with the IMS conference number in the call information of the IMS conference with the IMS conference number. Telephony fw also replaces the number stored in "ImsPhoneConnection" with the IPC@2 number based on the modified number in "ImsCall" with the IPC@2 number. That is, the numbers stored in "ImsPhoneConnection" with the IPC@2 number and "ImsCall" with the IMS conference number are modified to the IMS conference number (for example, mmtel).
[0147] Telephony can copy the "TelephonyConnection" with Id "2" to the "TelephonyConnection" with Id "3" and create an "ImsConference" with Id "conference@1".
[0148] Telephony can bind the "TelephonyConnection" with ID "3" to the "ImsConference" with ID "conference@1" as the host connection (hostConnection). Telephony can bind the "TelephonyConnection" with ID "3" to the "ImsPhonyConnection" with ID "IPC@2" as the original connection (originalConnection).
[0149] Telecom can create "Telecom / Call" with the ID "conferenceId" and bind "Telecom / Call" with the ID "conferenceId" to "ImsConference" with the ID "conference@1" and "TelephonyConnection" with the ID "3".
[0150] After obtaining the participant information returned by the network side through the modem, Telephony can create a "ConferenceParticipantConnection" with an ID of "Participant@1" and a "ConferenceParticipantConnection" with an ID of "Participant@2". The participant information may include the number of the first IMS call and the number of the second IMS call.
[0151] The number stored in the "ConferenceParticipantConnection" with the ID "Participant@1" may be the number of the first IMS call (ie, adrress: A), and the number stored in the "ConferenceParticipantConnection" with the ID "Participant@1" may be the number of the second IMS call (ie, adrress: B).
[0152] The "ConferenceParticipantConnection" with the ID "Participant@1" and the "ConferenceParticipantConnection" with the ID "Participant@2" are both bound to the "ImsPhoneConnection" with the ID "IPC@2" to form a parent connection (parentConnection). Telephony can bind the "ConferenceParticipantConnection" with the ID "Participant@1" and the "ConferenceParticipantConnection" with the ID "Participant@2" as participants (Participant) to the "ImsConference" with the ID "conference@1".
[0153] Telecom can create "Telecom / Call" with the ID "TelephonyConnectionService@1" and "Telecom / Call" with the ID "TelephonyConnectionService@2".
[0154] Telecom can bind "Telecom / Call" with the ID "TelephonyConnectionService@1" to "ConferenceParticipantConnection" with the ID "Participant@1".
[0155] Telecom can bind "Telecom / Call" with the ID "TelephonyConnectionService@2" to "ConferenceParticipantConnection" with the ID "Participant@2".
[0156] The following is the code implementation for switching an IMS conference to a CS conference.
[0157] Fig. 9 A schematic diagram of code implementation of switching an IMS conference to a CS conference provided in an embodiment of the present application is shown.
[0158] like Fig. 9 As shown, when the network of the electronic device 100 changes, switching from the LTE network (ie, 4G network) to the 2G / 3G network, the SRVCC switching is triggered, wherein the switching process can be as follows:
[0159] 1. Telephony fw can report two CS calls through the modem through the HAL layer. The HAL layer can create a "DriverCall" with an ID of "1" and a "DriverCall" with an ID of "2", and report the call information of the first CS call through the "DriverCall" with an ID of "1", and report the call information of the second CS call through the "DriverCall" with an ID of "2". The call information of the first CS call includes the number of the first CS call, that is, the telephone number of the electronic device 300, and the call information of the second CS call includes the number of the second CS call, that is, the telephone number of the electronic device 300.
[0160] 2. The telephony fw may create a “GsmCdmaConnection” with an ID of “1” for the first CS call, and a “GsmCdmaConnection” with an ID of “2” for the second CS call.
[0161] 3. The telephony fw can copy the connection information in the "ImsPhoneConnection" with the ID "IPC@2" to the "handoverConnection" for storage. Then, the "ImsPhoneConnection" with the ID "IPC@2" is released. After creating the "GsmCdmaConnection" with the ID "1" of the first CS call and the "GsmCdmaConnection" with the ID "2" of the second CS call, the connection information saved in the "handoverConnection" is copied to the "GsmCdmaConnection" with the ID "2" of the second CS call.
[0162] The connection information stored in the “GsmCdmaConnection” whose ID is “1” of the first CS call is generated based on the call information reported by the “DriverCall” whose ID is “1”.
[0163] Therefore, the number of the connection information in the "GsmCdmaConnection" whose Id is "1" of the first CS call is the number of the first CS call, and the number of the connection information in the "GsmCdmaConnection" whose Id is "2" of the first CS call is the number of the IMS conference (for example, mmtel).
[0164] 4. Telephony can create a "TelephonyConnection" with an ID of "1" and a "TelephonyConnection" with an ID of "2". Telephony binds the "TelephonyConnection" with an ID of "1" to the "GsmCdmaConnection" with an ID of "1" in the telephony fw, and binds the "TelephonyConnection" with an ID of "2" to the "GsmCdmaConnection" with an ID of "2" in the telephony fw.
[0165] Telephony can also create a "TelephonyConference" as a conference call for the first CS call and the second CS call, and bind it to the "TelephonyConnection" with ID "1" and the "TelephonyConnection" with ID "2". Telephony binds the "TelephonyConnection" with ID "1" to the "GsmCdmaConnection" with ID "1" in the telephony fw, and binds the "TelephonyConnection" with ID "2" to the "GsmCdmaConnection" with ID "2" in the telephony fw.
[0166] The "GsmCdmaConnection" with ID "1" can report the stored connection information to the "TelephonyConnection" with ID "1".
[0167] The "GsmCdmaConnection" with an ID of "2" may report the stored connection information to the "TelephonyConnection" with an ID of "2".
[0168] 5. Telecom can create "Telecom / Call" with the ID "TelephonyConnectionService@3" and "Telecom / Call" with the ID "TC@3".
[0169] Telecom can bind the "Telecom / Call" with the ID "TelephonyConnectionService@3" to the "TelephonyConnection" with the ID "2", bind the "Telecom / Call" with the ID "TC@3" to the "TelephonyConnection" with the ID "1", and create the "Telecom / Call" with the ID "ConferenceId2" for the CS conference.
[0170] InCallUI can create an "Incall / Call" with an ID of "TC@5" based on the "Telecom / Call" with an ID of "TelephonyConnectionService@3", create an "Incall / Call" with an ID of "TC@6" based on the "Telecom / Call" with an ID of "TC@3", and create an "Incall / Call" with an ID of "TC@7" based on the "Telecom / Call" with an ID of "ConferenceId2".
[0171] In this way, since the connection information in the "ImsPhoneConnection" with ID "IPC@2" is copied to the "GsmCdmaConnection" with ID "2" of the second CS call, the "GsmCdmaConnection" with ID "2" can continue to use the connection information in the "ImsPhoneConnection" with ID "IPC@2", thereby maintaining the continuity of the call connection on the electronic device, ensuring the continuity of the transition between the IMS conference and the CS conference after the SRVCC switching, and ensuring that the call time on the interface continues to be counted after the SRVCC switching occurs.
[0172] However, the number in the connection information of the "ImsPhoneConnection" with ID "IPC@2" is the conference number of the IMS conference, not the telephone number. After the connection information in the "ImsPhoneConnection" with ID "IPC@2" is directly copied to the "GsmCdmaConnection" with ID "2" of the second CS call, the number stored in the connection information in the "GsmCdmaConnection" with ID "2" also becomes the conference number. Therefore, the number reported to the upper-level object by the "GsmCdmaConnection" with ID "2" will also be the conference number, resulting in only one telephone number and the conference number (for example, mmtel) being displayed on the interface during the final CS conference, resulting in incomplete display of the telephone numbers of the participants.
[0173] Therefore, a conference switching method provided in an embodiment of the present application can achieve switching from an LTE network to a 2G / 3G network. When an SRVCC switch occurs, first determine whether the number in the connection information stored in the "ImsPhoneConnection" (i.e., "ImsPhoneConnection" with an ID of "IPC@2") used during the IMS conference is a telephone number. If the number in the connection information is not a telephone number, the number in the connection information is modified to the number of the second CS call reported by the modem. Then, the connection information whose number is modified to the number of the second CS call is stored in the "GsmCdmaConnection" (i.e., "GsmCdmaConnection" with an ID of "2") of the second CS call. If the number in the connection information is a telephone number, the connection information is directly copied to the "GsmCdmaConnection" of the second CS call. In this way, it can be ensured that after switching from an IMS conference to a CS conference, the telephone numbers of the participants can be correctly displayed on the conference call interface.
[0174] Fig.10 A schematic diagram of code implementation of the conference switching method provided in an embodiment of the present application is shown.
[0175] like Fig.10 As shown, when the network of the electronic device 100 changes, switching from the LTE network (ie, 4G network) to the 2G / 3G network, the SRVCC switching is triggered, wherein the switching process can be as follows:
[0176] 1. Telephony fw can report two CS calls through the modem through the HAL layer. The HAL layer can create a "DriverCall" with an ID of "1" and a "DriverCall" with an ID of "2", and report the call information of the first CS call through the "DriverCall" with an ID of "1", and report the call information of the second CS call through the "DriverCall" with an ID of "2". The call information of the first CS call includes the number of the first CS call, that is, the telephone number of the electronic device 300, and the call information of the second CS call includes the number of the second CS call, that is, the telephone number of the electronic device 300.
[0177] 2. The telephony fw may create a “GsmCdmaConnection” with an ID of “1” for the first CS call, and a “GsmCdmaConnection” with an ID of “2” for the second CS call.
[0178] 3. The telephony fw can copy the connection information in the "ImsPhoneConnection" with the ID "IPC@2" to the "handoverConnection" for storage. Then, the "ImsPhoneConnection" with the ID "IPC@2" is released. After creating the "GsmCdmaConnection" with the ID "1" of the first CS call and the "GsmCdmaConnection" with the ID "2" of the second CS call, determine whether the number in the connection information stored in the "handoverConnection" is a telephone number, that is, determine whether the value in the address field of the "handoverConnection" is a telephone number. If not, modify the value in the address field of the "handoverConnection" to the number reported by the "DriverCall" with the ID "2", that is, set address in the "handoverConnection" to DriverCall2.number. Then, the modified connection information in "handoverConnection" is copied to the "GsmCdmaConnection" with ID "2".
[0179] Fig.11 A flow chart of a conference switching method provided in an embodiment of the present application is shown.
[0180] like Fig.11 Said method may include the following steps:
[0181] S11. The modem may report the call information of the first IMS call to Veddor / ims.
[0182] The call information of the first IMS call may include telephone number 1 (eg, 123456789) of the first IMS call.
[0183] After obtaining the call information of the first IMS call, Vedndor / ims can create a first ImsCallSession, generate session information of the first IMS call based on the call information of the first IMS call, and save the session information of the first IMS call in the first ImsCallSession. The session information of the first IMS call includes the telephone number 1 of the first IMS call.
[0184] S12. Veddor / ims may report the session information of the first IMS call to net / ims.
[0185] Wherein, net / ims can create a first ImsCall, generate network information of the first IMS call based on the session information of the first IMS call, and save the network information of the first IMS call in the first ImsCall. Wherein, the network information of the first IMS call can include telephone number 1.
[0186] S13.net / ims may report the network information of the first IMS call to the telephony fw.
[0187] S14. The telephony fw may generate connection information of the first IMS call based on the network information of the first IMS call.
[0188] The connection information of the first IMS call may include telephone number 1 and connection time 1 of the first IMS call.
[0189] The telephony fw may create a first ImsPhoneConnection and save the connection information of the first IMS call in the first ImsPhoneConnection. The connection information of the first IMS call may include the phone number 1 and the connection time 1 of the first IMS call. The first IMS call may be in a hold state, that is, a background call (bgcall).
[0190] S15. The telephony fw may report the number in the connection information of the first IMS call to the telephony.
[0191] Telephony may create a first TelephonyConnection, and save the number in the connection information of the first IMS call, that is, telephone number 1, in the first TelephonyConnection.
[0192] S16.Telephony may report telephone number 1 to Telecom.
[0193] Telephony can report telephone number 1 to Telecom through the first TelephonyConnection.
[0194] S17.Telecom can provide telephone number 1 to InCallUI.
[0195] Among them, Telecom can create a first Telecom / Call and report the telephone number 1 to the InCallUI through the first Telecom / Call.
[0196] S18. The modem may report the call information of the call to the second IMS to Veddor / ims.
[0197] The call information of the second IMS call may include telephone number 1 (eg, 123456789) of the second IMS call.
[0198] After acquiring the call information of the second IMS call, Vedndor / ims may create a second ImsCallSession, generate session information of the second IMS call based on the call information of the second IMS call, and save the session information of the second IMS call in the second ImsCallSession. The session information of the second IMS call includes the telephone number 1 of the second IMS call.
[0199] S19. Veddor / ims may report the session information of the second IMS call to net / ims.
[0200] Wherein, net / ims can create a second Imscall, generate network information of the second IMS call based on the session information of the first IMS call, and save the network information of the second IMS call in the second Imscall. Wherein, the network information of the second IMS call can include telephone number 2.
[0201] S20.net / ims can report the network information of the second IMS call to the telephony fw.
[0202] S21.telephony fw may generate connection information of the second IMS call based on the network information of the second IMS call.
[0203] The connection information of the second IMS call may include telephone number 2 and connection time 2 of the second IMS call.
[0204] The telephony fw may create a second ImsPhoneConnection and save the connection information of the second IMS call in the second ImsPhoneConnection. The connection information of the second IMS call may include the phone number 2 and the connection time 2 of the second IMS call. The second IMS call may be in an active state, that is, a foreground call (fgcall).
[0205] S22. The telephony fw may report the number and connection time in the connection information of the second IMS call to the telephony.
[0206] Telephony may create a second TelephonyConnection, and save the number in the connection information of the second IMS call, that is, telephone number 2, in the second TelephonyConnection.
[0207] S23.Telephony may report telephone number 2 and connection time 2 to Telecom.
[0208] Telephony can report telephone number 2 and connection time 2 to Telecom through the second TelephonyConnection.
[0209] S24.Telecom may provide the telephone number 2 and the connection time 2 to the InCallUI.
[0210] Among them, Telecom can create a second Telecom / Call and report the telephone number 2 and the connection time 2 to the InCallUI through the second Telecom / Call.
[0211] S25. InCallUI may display telephone number 1, telephone number 2, and the duration of the second IMS call based on connection time 2.
[0212] Among them, the display of telephone number 1, telephone number 2 and the duration of the second IMS call on the call interface of InCallUI can refer to the aforementioned interface embodiment, which will not be repeated here.
[0213] The duration of the second IMS call may be the difference between the current system time and the connection time 2.
[0214] S26.InCallUI can detect merge events.
[0215] For example, InCallUI can detect a merge event in which a user clicks a merge call control displayed on the call interface.
[0216] S27. InCallUI may send a merge instruction to the modem in response to the merge event.
[0217] S28. The modem sends a merge request to the network side.
[0218] The merge request is used to request the network side to merge the first IMS call and the second IMS call into an IMS conference.
[0219] S29. The modem receives the subscription information of the IMS conference sent by the network side.
[0220] S30.modem can report the subscription information of the IMS conference sent by the network side to Telephony.
[0221] The subscription information of the IMS conference includes participant information, and the participant information includes telephone number 1 and telephone number 2.
[0222] After obtaining the participant information, Telephony can create the first ConferenceParticipantConnection, the second ConferenceParticipantConnection, the third TelephonyConnection, and ImsConference.
[0223] Telephony can save telephone number 1 to the first ConferenceParticipantConnection and telephone number 2 to the second ConferenceParticipantConnection.
[0224] Telephony can release the first TelephonyConnection and the second TelephonyConnection.
[0225] S31.Telephony may report telephone number 1 and telephone number 2 to Telecom.
[0226] Telecom can create a third Telecom / Call based on ImsConference.
[0227] Telecom may create a fourth Telecom / Call based on the first ConferenceParticipantConnection, create a fifth Telecom / Call based on the second ConferenceParticipantConnection, and release the first Telecom / Call and the second Telecom / Call.
[0228] S32.Telecom can report telephone number 1 and telephone number 2 to InCallUI.
[0229] Telecom can report telephone number 1 to InCallUI through the fourth Telecom / Call, and report telephone number 2 to InCallUI through the fifth Telecom / Call.
[0230] S33.modem can report the call information of IMS conference to Veddor / ims.
[0231] The call information of the IMS conference includes the conference number.
[0232] Vedndor / ims may create a third ImsCallSession of the IMS conference, generate session information of the IMS conference based on the call information of the IMS conference, and save the conference information of the IMS call in the third ImsCallSession.
[0233] S34. Veddor / ims may report the session information of the IMS conference to net / ims.
[0234] Wherein, net / ims may release the first ImsCall and retain the second ImsCall, and save the network information of the IMS conference in the second ImsCall. Wherein, the network information of the IMS conference may include a conference number (eg, mmtel).
[0235] S35.net / ims can report the network information of IMS calls to telephony fw.
[0236] S36.telephony fw The number in the connection information of the second IMS call is modified to the conference number and used as the connection information of the IMS conference.
[0237] The connection information of the IMS conference includes the conference number and the connection time 2.
[0238] The telephony fw may release the first ImsPhoneConnection, retain the second ImsPhoneConnection, update the conference number in the network information of the IMS conference to the second ImsPhoneConnection, and use the connection information after the updated number stored in the second ImsPhoneConnection as the connection information of the IMS conference.
[0239] S37.telephony fw may report the connection time in the connection information of the IMS conference to Telephony.
[0240] The telephony fw reports the connection time in the IMS connection information stored in the second ImsPhoneConnection to the telephony.
[0241] S38.Telephony gives the connection time 2 to Telecom.
[0242] Telephony can provide the connection time 2 to ImsConference through the third TelephonyConnection, and report the connection time 2 to Telecom through ImsConference.
[0243] S39.Telecom can provide the connection time 2 to InCallUI.
[0244] Among them, Telecom can provide the connection time 2 to InCallUI through the third Telecom / Call.
[0245] S40. InCallUI may display telephone number 1, telephone number 2, and the duration of the IMS conference based on connection time 2.
[0246] Among them, during the IMS conference, the display of telephone number 1, telephone number 2 and the duration of the IMS conference on the call interface of InCallUI can refer to the aforementioned interface embodiment, which will not be repeated here.
[0247] The duration of the IMS conference may be the difference between the current system time and the connection time 2.
[0248] S41. The modem switches to the 2G / 3G network.
[0249] Among them, since the modem switches from the LTE network to the 2G / 3G network, the SRVCC handover is triggered.
[0250] S42. The modem may report the call information of the first CS call to the telephony fw.
[0251] The call information of the first CS call may include the telephone number 1 of the first CS call.
[0252] S43.telephony fw may generate connection information of the first CS call.
[0253] After acquiring the call information of the first CS call reported by the modem through the first DriverCall, the telephony fw may create the first GsmCdmaConnection. Based on the call information of the first CS call reported by the modem through the first DriverCall, the telephony fw may generate the connection information of the first CS call, and store the connection information of the first CS call in the first GsmCdmaConnection. The connection information of the first CS call may include the telephone number 1 and the connection time 3 of the first CS call.
[0254] S44.telephony fw may report the number in the connection information of the first CS call to Telephony.
[0255] Telephony may recreate the first TelephonyConnection and save the number in the connection information of the first CS call, that is, telephone number 1, in the first TelephonyConnection.
[0256] S45.Telephony may report telephone number 1 to Telecom.
[0257] Telephony can report telephone number 1 to Telecom through the first TelephonyConnection.
[0258] S46.Telecom can provide telephone number 1 to InCallUI.
[0259] Among them, Telecom can create a sixth Telecom / Call and report the telephone number 1 to the InCallUI through the sixth Telecom / Call.
[0260] S47. The modem can report the call information of the second CS call to the telephony fw.
[0261] The call information of the second CS call may include the telephone number 2 of the second CS call.
[0262] S48. If the telephony fw recognizes that the number in the connection information of the IMS conference is not a telephone number, the number in the connection information of the IMS conference is changed to telephone number 2 and used as the connection information of the second CS call.
[0263] Among them, telephony fw can store the connection information of the IMS conference saved in the second ImsPhoneConnection in the handoverConnection before releasing the second ImsPhoneConnection. When telephony fw obtains the call information of the second CS call reported by the modem through the second DriverCall, telephony fw can create a second GsmCdmaConnection. Telephony fw can determine whether the number in the connection information of the IMS conference stored in the handoverConnection is a telephone number. If the number in the connection information of the IMS conference is not a telephone number, telephony fw can modify the number in the connection information of the IMS conference stored in the handoverConnection to the number in the call information of the second CS call, and then save it in the second GsmCdmaConnection.
[0264] If the number in the connection information of the IMS conference is a telephone number, the telephony fw may directly save the connection information of the IMS conference stored in the handoverConnection into the second GsmCdmaConnection.
[0265] In a possible implementation, the telephony fw may not determine whether the number in the connection information of the IMS conference stored in the handoverConnection is a telephone number, and may fix the number in the connection information of the IMS conference stored in the handoverConnection to the number in the call information of the second CS call, and then save it in the second GsmCdmaConnection.
[0266] S49.telephony fw may report the number and connection time in the connection information of the second CS call to Telephony.
[0267] The telephony fw reports the number and connection time in the connection information of the second CS call stored in the second GsmCdmaConnection to the telephony. The connection information of the second CS call includes the phone number 2 and the connection time 2.
[0268] S50. Telephony gives the telephone number 2 and the connection time 2 to Telecom.
[0269] Telecom can create a seventh Telecom / Call and report the phone number 1 to InCallUI through the seventh Telecom / Call. Telecom can also create an eighth Telecom / Call and associate the eighth Telecom / Call with the sixth Telecom / Call and the seventh Telecom / Call as the Telecom / Call of the CS conference.
[0270] S51.Telecom can provide the telephone number 2 and the connection time 2 to the InCallUI.
[0271] S52. InCallUI can display telephone number 1, telephone number 2, and the duration of the CS conference based on connection time 2.
[0272] Among them, during the CS conference, the display of telephone number 1, telephone number 2 and the duration of the CS conference on the call interface of InCallUI can refer to the aforementioned interface embodiment, which will not be repeated here.
[0273] The duration of the CS conference may be the difference between the current system time and the connection time 2.
[0274] In a possible implementation, the above steps S47 to S48 may occur before steps S42 to S43. Since the second CS call corresponds to the above second IMS call, and the second IMS call is in active state before being merged with the IMS conference, that is, the second IMS call is a foreground call (fgcall). Therefore, after the SRVCC switch occurs, the modem will first receive the second CS call returned by the network side, and then receive the first CS call corresponding to the first IMS call returned by the network side. Therefore, after the modem reports the call information of the second CS call to telephonyfw, telephonyfw can modify the number in the connection information of the IMS conference to the number in the call information of the second CS call, and then use it as the connection information of the second CS call. After the modem reports the call information of the first CS call to telephonyfw, telephonyfw can directly generate the connection information of the first CS call based on the call information of the first CS call.
[0275] In the embodiment of the present application, before the connection information of the IMS conference is used as the connection information of the second CS call in the CS conference, the conference number in the connection information of the IMS conference is replaced by the number of the second CS call reported by the modem, and after the subsequent CS conference is hung up, the telephony fw can also provide the correct telephone number of the participant to the telephony. Therefore, when the application layer generates the call record, it can obtain the correct telephone number of the participant in the CS conference from the telephony, and when displaying the interface of the call record, it can also correctly display the correct telephone number of the participant in the CS conference.
[0276] In some embodiments, when an electronic device is conducting an IMS call, it switches from a resident LTE network to a resident 2G / 3G network, and an SRVCC switch occurs. When the electronic device uses the connection information of the IMS call as the connection information of a CS call, if it finds that the number in the connection information of the IMS call is not a telephone number, it may directly replace the number in the connection information of the IMS call with the number of the CS call reported by the modem, and then use it as the connection information for the CS call.
[0277] Through a conference call switching method provided by an embodiment of the present application, an electronic device can merge a first IMS call and a second IMS call into an IMS conference under an LTE network, and then obtain the number of the IMS conference reported by the modem. Then, the connection information of the second IMS call is retained as the connection information of the IMS conference, wherein the connection time of the second IMS call is used as the connection time for generating the IMS conference, but the number in the connection information of the IMS conference is replaced with the number of the IMS conference, and the connection time of the IMS conference is used to generate the duration of the IMS conference. The electronic device obtains the participant information of the IMS conference from the network side reported by the modem, wherein the participant information includes a first telephone number and a second telephone number. The electronic device can display the participant information and the duration of the IMS conference. When the electronic device switches to a resident 2G or 3G network, the IMS conference is switched to a CS conference, wherein the CS conference includes a first CS call and a second CS call. The electronic device can obtain the number of the first CS call reported by the modem, and the number of the second CS call, wherein the number of the first CS call is the first telephone number, and the number of the second CS call is the second telephone number. The electronic device may use the connection information of the IMS conference as the connection information of the second CS call, wherein the connection time of the IMS conference is used as the connection time of the second CS call, but the number in the connection information of the second CS call is replaced with the number of the second CS call reported by the modem, and the connection time of the second CS call is used for the duration of the second CS call. The electronic device may also use the number of the first CS call reported by the modem as the number in the connection information of the first CS call; the electronic device may display the number in the connection information of the first CS call, the number in the connection information of the second CS call, and the duration of the second CS call.
[0278] Because the conference number in the connection information of the IMS conference is replaced by the number of the second CS call reported by the modem before the connection information of the IMS conference is used as the connection information of the second CS call in the CS conference, it is ensured that the telephone numbers of the participants can be correctly displayed on the conference call interface after switching from the IMS conference to the CS conference.
[0279] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0280] The embodiments of the present application also provide a computer program product. When the computer program product is executed on an electronic device, the electronic device can implement the steps in the above-mentioned various method embodiments.
[0281] The embodiment of the present application also provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps of any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0282] The term "user interface (UI)" in the specification and drawings of this application refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, pictures and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The controls contained in the interface are specified by nodes such as <head> and <body>. A node corresponds to a control or attribute in the interface. After being parsed and rendered, the node is presented as user-visible content. In addition, many applications, such as hybrid applications, usually also contain web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code. For example, HTML is defined by <body> tags or nodes in the web page source code. 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0283] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0284] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0285] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0286] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A conference call switching method, characterized in that: include: After merging the first IMS call and the second IMS call into an IMS conference, obtaining a number of the IMS conference reported by the modem; The connection information of the second IMS call is retained as the connection information of the IMS conference, wherein the connection time of the second IMS call is used as the connection time for generating the IMS conference, but the number in the connection information of the IMS conference is replaced with the number of the IMS conference, and the connection time of the IMS conference is used to generate the duration of the IMS conference; Acquire the participant information of the IMS conference from the network side reported by the modem, wherein the participant information includes a first telephone number and a second telephone number; Displaying the participant information and the duration of the IMS conference; After switching to the resident 2G or 3G network, switching the IMS conference to a CS conference, wherein the CS conference includes a first CS call and a second CS call; Obtaining a number of the first CS call and a number of the second CS call reported by the modem, wherein the number of the first CS call is the first telephone number, and the number of the second CS call is the second telephone number; Using the connection information of the IMS conference as the connection information of the second CS call, wherein the connection time of the IMS conference is used as the connection time of the second CS call, but the number in the connection information of the second CS call is replaced with the number of the second CS call reported by the modem, and the connection time of the second CS call is used for the duration of the second CS call; Using the number of the first CS call reported by the modem as the number in the connection information of the first CS call; The number in the connection information of the first CS call, the number in the connection information of the second CS call, and the duration of the second CS call are displayed.
2. The method according to claim 1, characterized in that The number in the connection information of the second CS call is replaced with the number of the second CS call reported by the modem, specifically including: It is determined whether the number in the connection information of the IMS conference is a telephone number. If not, the number in the connection information of the IMS conference is modified to the number of the second CS call reported by the modem and then used as the connection information of the second CS call.
3. The method according to claim 1, characterized in that Before merging the first IMS call and the second IMS call into an IMS conference, the method further includes: When camping on the LTE network, obtain the number of the first IMS call and the number of the second IMS call reported by the modem, wherein the number of the first IMS call is the first telephone number, and the number of the second IMS call is the second telephone number; Using the number of the first IMS call reported by the modem as the number in the connection information of the first IMS call, and using the number of the second IMS call reported by the modem as the number in the connection information of the second IMS call, wherein the connection information of the second IMS call includes the connection time of the second IMS call, and the connection time of the second IMS call is used to generate the duration of the second IMS call; The number in the connection information of the first IMS call, the number in the connection information of the second IMS call, and the duration of the second IMS call are displayed.
4. The method according to claim 3, characterized in that The method further comprises: When displaying the number in the connection information of the first IMS call, the number in the connection information of the second IMS call, and the duration of the second IMS call, a call merge control is also displayed; The merging the first IMS call and the second IMS call into an IMS conference specifically includes: Receiving a first input from a user to the merge call control; In response to the first input, a call merge request is sent to a network side through the modem, where the call merge request is used to merge the first IMS call and the second IMS call into the IMS conference.
5. The method according to claim 3 or 4, characterized in that: The connection time of the second IMS call is used to generate the duration of the second IMS call, and specifically includes: The duration of the IMS conference is determined according to the connection time of the second IMS call and the current system time.
6. The method according to any one of claims 1 to 4, characterized in that The connection time of the IMS conference is used to generate the duration of the IMS conference, which specifically includes: The duration of the IMS conference is determined according to the connection time of the IMS conference and the current system time.
7. The method according to any one of claims 1 to 4, characterized in that The connection time of the second CS call is used to generate the duration of the second CS call, and specifically includes: The duration of the second CS call is determined according to the connection time of the second CS call and the current system time.
8. The method according to any one of claims 1 to 4, characterized in that The retaining the connection information of the second IMS call as the connection information of the IMS conference specifically includes: The connection information of the second IMS call is retained as the connection information of the IMS conference, and the connection information of the first IMS call is released.
9. The method according to claim 3, characterized in that: The using the number of the first IMS call reported by the modem as the number in the connection information of the first IMS call, and using the number of the second IMS call reported by the modem as the number in the connection information of the second IMS call, specifically includes: In the telephone communication service framework telephonyfw, the number of the first IMS call reported by the modem is used as the number in the connection information of the first IMS call, and the number of the second IMS call reported by the modem is used as the number in the connection information of the second IMS call.
10. The method according to any one of claims 1 to 4, characterized in that The retaining the connection information of the second IMS call as the connection information of the IMS conference specifically includes: The connection information of the second IMS call is retained in telephonyfw and used as the connection information of the IMS conference.
11. The method according to any one of claims 1 to 4, characterized in that: The using the connection information of the IMS conference as the connection information of the second CS call specifically includes: The connection information of the IMS conference is used as the connection information of the second CS call in telephonyfw.
12. An electronic device, characterized in that: The electronic device comprises one or more processors and one or more memories, wherein the one or more processors comprise a modem; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, wherein the computer program codes comprise computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1 to 11.
13. An electronic device, characterized in that: The method comprises one or more functional units, wherein the one or more functional modules are used to execute the method according to any one of claims 1 to 11.
14. The electronic device according to claim 13, characterized in that: The one or more functional modules include telephonyfw.
15. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 11.
