Communication control method and related device

By using multiple antennas to provide working links in dual-card dual-pass electronic devices and switching antenna resources in Volte call mode, the problem of the impact of Volte call mode on another SIM card resource is solved, and a better gaming experience and Volte call experience are achieved.

CN114828263BActive Publication Date: 2025-04-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210502667.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2025-04-11
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

In dual-slot and dual-pass situation, the Volte call mode has a great impact on the resources of another SIM card, resulting in a reduced gaming experience of SIM card 1.

Method used

M working links are provided to the first SIM card through the M-root antenna. When the second SIM card is in the CDRX sleep state in the Volte mode, the N-root antennas are switched to the first SIM card to provide the working link.

Benefits of technology

It effectively reduces the resource impact of Volte call mode on another SIM card, ensures the optimal performance of the first SIM card, and ensures the normal operation of the second SIM card during the Volte wake-up period.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114828263B_ABST
    Figure CN114828263B_ABST
Patent Text Reader

Abstract

The present application discloses a communication control method and a related device, which are applied to an electronic device, wherein the electronic device includes a first SIM card and a second SIM card, and the method includes: when the first SIM card is in a preset working mode, M working links provided by M antennas are provided to the first SIM card for working; when the second SIM card is in a working state of discontinuous reception CDRX in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are provided to the second SIM card for working, and the N antennas are N antennas among the M antennas; when the second SIM card is in a dormant state of CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link to the first SIM card for working. By adopting the embodiment of the present application, the resource impact of the Volte call mode on another SIM card can be reduced in the case of dual-card dual-communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication control method and related devices. Background Art

[0002] With the widespread popularization of electronic devices (such as mobile phones, tablet computers, etc.), electronic devices can support more and more applications and have more and more powerful functions. Electronic devices are developing in a diversified and personalized direction and have become an indispensable electronic product in users' lives.

[0003] Taking a mobile phone as an example, it can support dual-SIM dual-pass, but when the frequency bands used by the dual SIM cards are reused on the link, if subscriber identity module (SIM) card 1 is playing games, SIM card 2 will occupy the resources of SIM card 1 during a voice over long-term evolution (Volte) call, thereby reducing the gaming experience of SIM card 1. Therefore, how to reduce the impact of the Volte call mode on the resources of the other SIM card in the case of dual-SIM dual-pass needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a communication control method and a related device, which can reduce the impact of the Volte call mode on the resources of another SIM card in a dual-SIM dual-communication situation.

[0005] In a first aspect, an embodiment of the present application provides a communication control method, which is applied to an electronic device, wherein the electronic device includes a first SIM card and a second SIM card, and the method includes:

[0006] When the first SIM card is in a preset working mode, the first SIM card works through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1;

[0007] When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M;

[0008] When the second SIM card is in the dormant state of the CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work.

[0009] In a second aspect, an embodiment of the present application provides a communication control device, which is applied to an electronic device, wherein the electronic device includes a first SIM card and a second SIM card, and the device includes: a control unit and a switching unit, wherein:

[0010] The control unit is configured to, when the first SIM card is in a preset working mode, operate the first SIM card through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1; and when the second SIM card is in a working state of discontinuous reception CDRX in a connected state in a long-term evolution voice bearer Volte mode, operate the second SIM card through N working links provided by N antennas, the N antennas are N antennas among the M antennas, each antenna corresponds to one working link, and N is an integer greater than or equal to 1 and less than M;

[0011] The switching unit is used to switch at least one antenna of the N antennas to the first SIM card when the second SIM card is in the dormant state of the CDRX, so as to provide a corresponding working link for the first SIM card to work.

[0012] In a third aspect, an embodiment of the present application provides an artificial intelligence chip, which is used to execute some or all of the steps described by the first party.

[0013] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises a method for executing some or all of the steps described by the first party, or the electronic device comprises an artificial intelligence chip as described in the third aspect.

[0014] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.

[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0016] The implementation of the embodiments of the present application has the following beneficial effects:

[0017] It can be seen that the communication control method and related devices described in the embodiments of the present application are applied to an electronic device, and the electronic device includes a first SIM card and a second SIM card. When the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, and each antenna corresponds to a working link, and M is an integer greater than 1. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, and the N antennas are N antennas among the M antennas, and each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M. When the second SIM card is in the dormant state of CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work. In this way, the CDRX function of Volte can be cleverly utilized, so that even if the working frequency band of the first SIM card is affected by the simultaneous operation of the second SIM card, the resources occupied by the first SIM card will be returned to the first SIM card when the second SIM card is in the dormant period of CDRX, thereby ensuring the optimal performance of the first SIM card and ensuring the normal operation of the second SIM card in the Volte wake-up period (that is, the working state of CDRX). That is, in the case of dual-card dual-communication, the influence of the Volte call mode on the resources of another SIM card can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0020] Figure 2 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;

[0021] Figure 3A is a structural diagram of a radio frequency system provided in an embodiment of the present application;

[0022] Figure 3B is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0023] Figure 4A It is a flow chart of a communication control method provided in an embodiment of the present application;

[0024] Figure 4B is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0025] Figure 4C is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0026] Figure 4D is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0027] Figure 4E is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0028] Figure 4F is a structural diagram of another radio frequency system provided in an embodiment of the present application;

[0029] Figure 5 It is a flowchart of another communication control method provided by an embodiment of the present application;

[0030] Figure 6 is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application;

[0031] Figure 7 It is a block diagram of the functional units of a communication control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0033] In order to better understand the solutions of the embodiments of the present application, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.

[0034] In a specific implementation, the electronic device may include various devices with computer functions, such as handheld devices (smartphones, tablet computers, etc.), vehicle-mounted devices (navigators, assisted reversing systems, driving recorders, car refrigerators, etc.), wearable devices (smart bracelets, wireless headphones, smart watches, smart glasses, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (UE), mobile stations (MS), virtual reality / augmented reality devices, terminal devices, etc. The electronic device may also be a base station or a server.

[0035] Electronic devices may also include smart home devices, which may be at least one of the following: smart speakers, smart cameras, smart rice cookers, smart wheelchairs, smart massage chairs, smart furniture, smart dishwashers, smart televisions, smart refrigerators, smart electric fans, smart heaters, smart clothes drying racks, smart lights, smart routers, smart switches, smart switch panels, smart humidifiers, smart air conditioners, smart doors, smart windows, smart stoves, smart disinfection cabinets, smart toilets, sweeping robots, etc., without limitation.

[0036] In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.

[0037] As shown in the figure, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195.

[0038] It is to be understood that the structure illustrated in the embodiment of the present application 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 split 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.

[0039] 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor NPU, etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be 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. In this way, repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 100 in processing data or executing instructions is improved. The processor may further include an image processor, which may be an image preprocessor (preprocess image signal processor, Pre-ISP), which may be understood as a simplified ISP, and which may also perform some image processing operations, for example, may obtain image statistical information.

[0040] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.

[0041] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0042] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0043] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0044] 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, the baseband processor, and the like.

[0045] 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.

[0046] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G 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.

[0047] 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 filters it, 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.

[0048] 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.

[0049] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (miniLED), MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.

[0050] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.

[0051] The ISP is used to process the data fed back by the 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 the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0052] 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 one or more cameras 193.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the above instructions stored in the internal memory 121, so that the electronic device 100 executes the method of displaying page elements provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can execute the method of displaying page elements provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110. 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.

[0058] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0059] Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0060] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0061] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0062] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0063] 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.

[0064] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0065] 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.

[0066] For example, Figure 2 The software structure diagram of the electronic device 100 is shown. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, respectively, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0067] like Figure 2 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0068] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0069] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0070] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0071] Content providers are used to store and retrieve data and make it accessible to applications. The data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0072] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0073] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0074] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0075] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0076] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0077] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0078] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0079] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0080] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0081] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0082] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0083] A 2D graphics engine is a drawing engine for 2D drawings.

[0084] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0085] In the second part, the communication control method and related devices disclosed in the embodiments of the present application are introduced as follows.

[0086] In the related art, a mobile phone with four antennas is used as an example. The mobile phone supports dual-SIM dual-pass. The dual SIM cards may include a subscriber identity module (SIM). When the frequency bands used by the dual SIM cards are reused on the link, SIM card 1 is used to play games, while SIM card 2 occupies the resources of card 1 during Volte calls. Figure 3A As shown, taking the working frequency band B41 of SIM card 1 and the working frequency band B3 of SIM card 2 as an example, when only SIM card 1 is working, the working frequency band B41 can use 4-ways, and 4-way switching can be freely performed through the front-end switching module.

[0087] In an embodiment of the present application, the electronic device may include a radio frequency system, which may include: a radio frequency transceiver, a communication module, a switching module and four antennas (a first antenna, a second antenna, a third antenna and a fourth antenna). The switching module may be 4P4T.

[0088] Further, such as Figure 3BAs shown, when SIM2's working band B3 performs Volte work at the same time, it is necessary to release the two multiplexed Rx (multiple in multiple out (MIMO)) links to be used as the working link of B3. At this time, due to the multiplexing of the front-end link of the low noise amplifier (LNA) of the working band B3 and the working band B41, SIM1 B41 needs to adjust the two Rx links to the working band B3 of SIM2, and the working band B41 will be fixed on PRX and DRX, and cannot be freely switched in 4-way, and can only be switched in 2-way on the primary receive (PRX) and the diversity receive (DRX).

[0089] In summary, when SIM2 joins and works simultaneously, the frequency band used by SIM1 (taking B41 as an example) will change from 4-way switching to 2-way switching, and it is no longer possible to select the best antenna as Tx in the 4-way.

[0090] Further, based on Figure 3A , Figure 3B The defects of the related art described are shown in Figure 4A , Figure 4A is a flow chart of a communication control method provided by an embodiment of the present application, which is applied to Figure 1 or Figure 2 The electronic device described includes a first SIM card and a second SIM card. As shown in the figure, the communication control method includes:

[0091] 401. When the first SIM card is in a preset working mode, the first SIM card works through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1.

[0092] In a specific implementation, the preset working mode can be set by the user or by the system default. The preset working mode may include one of the following: game mode, video mode, shooting mode, shopping mode, live broadcast mode, data transmission mode, etc., which are not limited here. The first SIM card is the primary card and the second SIM card is the secondary card, or the first SIM card is the secondary card and the second SIM card is the primary card.

[0093] In a specific implementation, when the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, each antenna corresponds to a working link, and M is an integer greater than 1. For example, the preset working mode is a game mode and M is 4. Then, in the game mode, 4 working links provided by 4 antennas are used to work for the first SIM card, and each antenna can correspond to a working link.

[0094] Of course, in a specific implementation, different working modes may correspond to different numbers of antennas, that is, a mapping relationship between a preset working mode and the number of antennas may be preset, and the number of antennas M of the first SIM card may be determined based on the mapping relationship.

[0095] 402. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M.

[0096] In the specific implementation, in order to save power consumption, there is a mechanism in Volte. When the UE is in the connected state and has no data transmission, it will stop monitoring the physical downlink control channel (PDCCH) according to the DRX rules, thereby achieving the purpose of power saving. Figure 4B As shown, a DRX cycle includes two time periods: working state (OnDuration) and rest state (Opportunity for DRX). Based on this, in the working state, N working links provided by N antennas are required for the second SIM card to work, and in the sleep state, N working links provided by N antennas are not required for the second SIM card to work.

[0097] Specifically, when the second SIM card is in a connected mode discontinuous reception (CDRX) working state in the long-term evolution voice bearer Volte mode, the N working links provided by N antennas can be used for the second SIM card to work, and the N antennas are N antennas among M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M, that is, the first SIM card will give part of its antennas to the second SIM card, so that the second SIM card can work through the N working links provided by the N antennas.

[0098] Optionally, the above step 402, providing the second SIM card with N working links provided by N antennas, may include the following steps:

[0099] 21. Detect a channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters;

[0100] 22. Determine N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters;

[0101] 23. Determine N antennas corresponding to the N first channel evaluation parameters, and operate the second SIM card through N working links provided by the N antennas.

[0102] In a specific implementation, the channel evaluation parameters of each of M working links can be detected to obtain M first channel evaluation parameters. In an embodiment of the present application, the channel evaluation parameters may include one or more, and the channel evaluation parameters may include at least one of the following: signal-to-noise ratio, reference signal receiving power (RSRP), signal strength value, information entropy, etc., which are not limited here. The first channel evaluation parameter of each channel can be obtained by performing a weighted operation based on the channel evaluation parameter corresponding to each working link.

[0103] In a specific implementation, a mapping relationship between a preset working mode and a channel evaluation parameter can be pre-set, that is, different working modes can correspond to different channel evaluation parameters, or a mapping relationship between a preset working frequency band and a channel evaluation parameter can be pre-set, for example, the channel evaluation parameters corresponding to the working frequency band B41 and the working frequency band B3 can be different.

[0104] Of course, the channel evaluation parameter may include a specific value, or may include a channel evaluation parameter within a period of time.

[0105] Furthermore, N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters can be determined, and then N antennas corresponding to the N first channel evaluation parameters can be determined, and the N working links provided by the N antennas are provided to the second SIM card to work. In this way, although the experience of the first SIM card is reduced to a certain extent, the Volte experience of the second SIM card is guaranteed.

[0106] Optionally, the above step 21, detecting the channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters, may include the following steps:

[0107] 211. Obtain a channel evaluation parameter corresponding to a working link i to obtain at least one channel evaluation parameter, where the working link i is any working link among the M working links;

[0108] 212. Determine a weight parameter corresponding to the working link i to obtain at least one target weight parameter corresponding to the at least one channel evaluation parameter;

[0109] 213. Perform a weighted operation according to the at least one channel evaluation parameter and the at least one target weight parameter to obtain a first channel evaluation parameter corresponding to the working link i.

[0110] In a specific implementation, taking working link i as an example, working link i is any working link among M working links, the channel evaluation parameter corresponding to working link i can be obtained to obtain at least one channel evaluation parameter. Normally, a working link can have more than one channel evaluation parameter.

[0111] In a specific implementation, different working modes may correspond to different weight parameters, or different frequency bands may correspond to different weight parameters. Furthermore, the weight parameters corresponding to the working link i may be determined based on the working mode or the frequency band corresponding to the working link to obtain at least one target weight parameter corresponding to at least one channel evaluation parameter, that is, a corresponding weight may be set for each channel evaluation parameter.

[0112] Furthermore, a weighted operation can be performed based on at least one channel evaluation parameter and at least one target weight parameter to obtain a first channel evaluation parameter corresponding to working link i. In this way, the channel quality can be evaluated in multiple dimensions, which helps to ensure the accuracy of channel quality detection.

[0113] Optionally, the above step 212, determining the weight parameter corresponding to the working link i to obtain at least one weight parameter corresponding to the at least one channel evaluation parameter, may include the following steps:

[0114] 2121. Determine a target weight parameter set corresponding to the preset working mode according to a mapping relationship between the preset working mode and the weight parameter set, wherein the weight parameter set includes a plurality of weight parameters, and each weight parameter corresponds to a channel evaluation parameter identifier;

[0115] 2122. Determine a weight parameter corresponding to each channel evaluation parameter in the at least one channel evaluation parameter according to the target weight parameter set to obtain at least one weight parameter;

[0116] 2123. Adjust the at least one weight parameter to obtain the at least one target weight parameter, and the sum of the at least one target weight parameter is 1.

[0117] In a specific implementation, a mapping relationship between a preset working mode and a weight parameter set may be pre-stored. The weight parameter set may include multiple weight parameters, each of which may correspond to a channel evaluation parameter identifier, and the channel evaluation parameter identifier is used to express the dimension of channel evaluation.

[0118] Specifically, according to the mapping relationship between the preset working mode and the weight parameter set, the target weight parameter set corresponding to the preset working mode can be determined. The weight parameter set can include multiple weight parameters, each weight parameter corresponds to a channel evaluation parameter identifier, and then, the weight parameter corresponding to each channel evaluation parameter in at least one channel evaluation parameter can be determined according to the target weight parameter set to obtain at least one weight parameter. Since the sum of these weight parameters is not necessarily 1, at least one weight parameter can be adjusted. For example, at least one target weight parameter can be obtained by proportionally adjusting each weight parameter so that the sum of at least one target weight parameter is 1.

[0119] 403. When the second SIM card is in the dormant state of the CDRX, switch at least one antenna of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work.

[0120] In a specific implementation, when the second SIM card is in the sleep state of CDRX, it means that the N working links of the second SIM card are in the sleep state, and at least one of the N antennas can be switched to the first SIM card to provide a corresponding working link to the first SIM card for operation, that is, the first SIM card can establish at least one more working link, which helps to increase the number of working links of the preset working mode, and thereby increase the resource supply of the preset working mode.

[0121] In the embodiment of the present application, the CDRX mechanism of Volte is cleverly used to allow SIM1 4-way switching to continue, thereby improving the gaming experience, and the use of SIM2 Volte is not affected during the switching process.

[0122] Optionally, the above step 403, switching at least one antenna of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work, may include the following steps:

[0123] 41. Detect a channel evaluation parameter of each of the N working links to obtain N second channel evaluation parameters;

[0124] 42. Determine at least one second channel evaluation parameter having the best channel quality among the N second channel evaluation parameters;

[0125] 43. Determine at least one antenna corresponding to the at least one second channel evaluation parameter, and operate the first SIM card through at least one working link provided by the at least one antenna.

[0126] In a specific implementation, the channel evaluation parameters of each of the N working links can be detected to obtain M first channel evaluation parameters. In an embodiment of the present application, the channel evaluation parameters may include one or more, and the channel evaluation parameters may include at least one of the following: signal-to-noise ratio, reference signal receiving power, signal strength value, information entropy, etc., which are not limited here. The first channel evaluation parameter of each channel can be obtained by performing a weighted operation based on the channel evaluation parameter corresponding to each working link.

[0127] Of course, the channel evaluation parameter may include a specific value, or may include a channel evaluation parameter within a period of time.

[0128] Furthermore, at least one second channel evaluation parameter with the best channel quality among the N second channel evaluation parameters can be determined, and then at least one antenna corresponding to the at least one second channel evaluation parameter can be determined, and the working link provided by the at least one antenna is provided to the first SIM card for operation. In this way, the experience of the first SIM card can be guaranteed without affecting the Volte experience of the second SIM card.

[0129] That is, in the embodiment of the present application, the CDRX function of Volte is cleverly used so that the gaming experience of SIM1 will not be reduced even if the working frequency band of SIM1 is simultaneously operated by SIM2. During the dormant period of CDRX, SIM1 4-way switching is performed, which ensures the optimal Tx performance of SIM1 and the normal operation of Volte during the wake-up period.

[0130] Optionally, the following steps may also be included:

[0131] When the second SIM card exits the Volte mode, all the N antennas are switched to the first SIM card to provide corresponding working links for the first SIM card to work.

[0132] In a specific implementation, when the second SIM card exits the Volte mode, all N antennas can be switched to the first SIM card, and the N antennas can provide corresponding working links for the first SIM card to work.

[0133] For example, Figure 4CAs shown in the figure, there will be a CDRX stage during the Volte call. At this time, the 2 Rx channels of B3 can be transferred to SIM1 B41 for use in a short time, the 4-channel RSRP can be measured, and a B41 Tx antenna selection is performed to complete a reconfiguration; after the CDRX is completed, the selected new link is used for communication; the specific implementation process is as follows: monitor the SIM2 volte work, and when Volte enters the Opportunity for DRX stage of CDRX mode, trigger the reselection mechanism 1; among them, the reselection mechanism 1: reallocate SIM2 2-channel Rx signals to SIM1 B41, restore the SIM1 B41 4-channel switching selection mechanism, measure the 4-channel RSRP at this time, select the best one as SIM1 B41 Tx and PRX, and the original front-end B41 Tx and PRX link is reallocated to B3, replacing the link logic occupied by B41. In addition, for example, when the RSRP of the four channels is measured and it is found that the RSRP of the third antenna is the best, the TX and PRX of B41 are switched to the third antenna, and the original first antenna is reallocated to SIM2 B3 TX / PRX; finally, the SIM1 B41 switching mechanism is exited, and the reallocated logical link can be used for dual-card operation during the On Duration phase; wait for the next time that SIM2 Volte enters Opportunity for DRX (sleep period); otherwise, when SIM1 and SIM2 cards are working at the same time, the reselection mechanism 1 can be executed cyclically.

[0134] It can be seen from this that in the embodiment of the present application, the CDRX mechanism of Volte can be cleverly utilized to allow SIM1 4-way switching to continue, thereby improving the gaming experience, and the use of SIM2 Volte is not affected during the switching process.

[0135] In the specific implementation, this mechanism can still be used in the scenario where SIM1 card is used for data transmission and SIM2 card is used for Volte call. To illustrate, in the LTE same-frequency scenario, for example, SIM1 B41 is used for data transmission and SIM2 B41 is used for Volte; Figure 4D shown.

[0136] Let's take an example. Figure 4E As shown, the trigger mechanism of the same frequency scenario is the same as the principle of different frequencies, but there are two options at this time. One is that the power amplifiers (PA) of SIM1 and SIM2 remain unchanged, and only the front-end switch is used to complete the switching reconfiguration. Figure 4FAs shown, in the embodiment of the present application, two PAs are swapped, and the same-frequency PAs of SIM1 and SIM2 are swapped. If the RSRP measurement finds that the third antenna or the fourth antenna is better, and the third antenna or the fourth link is closer to the SIM2 PA, the SIM2 PA is reconfigured to the SIM1 PA, and the original SIM1 PA is configured to the SIM2 PA, which is more loss-optimized for the link.

[0137] In the embodiment of the present application, the CDRX function of Volte is cleverly used so that the working frequency band of SIM1 will not reduce the gaming experience of SIM1 even if SIM2 is working at the same time. SIM1 4-way switching is performed during the CDRX sleep period, which ensures the optimal performance of SIM1Tx and the normal operation of Volte wake-up period.

[0138] It can be seen that the communication control method described in the embodiment of the present application is applied to an electronic device, and the electronic device includes a first SIM card and a second SIM card. When the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, and each antenna corresponds to a working link, and M is an integer greater than 1. When the second SIM card is in a working state of discontinuous reception CDRX in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, and the N antennas are N antennas among the M antennas, and each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M. In the second SIM card When the SIM card is in the dormant state of CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work. In this way, the CDRX function of Volte can be cleverly utilized, so that even if the working frequency band of the first SIM card is affected by the simultaneous operation of the second SIM card, the resources occupied by the first SIM card will be returned to the first SIM card when the second SIM card is in the dormant period of CDRX, thereby ensuring the optimal performance of the first SIM card and ensuring the normal operation of the second SIM card in the Volte wake-up period (that is, the working state of CDRX). That is, in the case of dual-card dual-communication, the influence of the Volte call mode on the resources of another SIM card can be reduced.

[0139] With the above Figure 4A Consistently, this application provides reference to Figure 5 , applied to an electronic device, the electronic device comprising a first SIM card and a second SIM card, Figure 5 1 is a flow chart of a communication control method provided in an embodiment of the present application, the method comprising:

[0140] 501. When the first SIM card is in a preset working mode, the first SIM card works through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1.

[0141] 502. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M.

[0142] 503. When the second SIM card is in the dormant state of the CDRX, switch at least one antenna of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work.

[0143] 504. When the second SIM card exits the Volte mode, all the N antennas are switched to the first SIM card to provide corresponding working links for the first SIM card to work.

[0144] The detailed description of the above steps 501-504 can be found in Figure 4A The relevant description of the communication control method described is not repeated here.

[0145] It can be seen that the communication control method described in the embodiment of the present application is applied to an electronic device, and the electronic device includes a first SIM card and a second SIM card. When the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, and each antenna corresponds to a working link, and M is an integer greater than 1. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, and the N antennas are N antennas among the M antennas, and each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M. When the second SIM card is in a dormant state of CDRX, at least one antenna among the N antennas is used. The first SIM card is switched to the first SIM card to provide a corresponding working link for the first SIM card to work. When the second SIM card exits the Volte mode, all N antennas are switched to the first SIM card to provide a corresponding working link for the first SIM card to work. In this way, the CDRX function of Volte can be cleverly utilized, so that even if the working frequency band of the first SIM card is affected by the simultaneous operation of the second SIM card, the resources occupied by the first SIM card will be returned to the first SIM card when the second SIM card is in the dormant period of CDRX, thereby ensuring the optimal performance of the first SIM card and ensuring the normal operation of the second SIM card in the Volte wake-up period (that is, the working state of CDRX). That is, in the case of dual-card dual-communication, the influence of the Volte call mode on the resources of another SIM card can be reduced.

[0146] In accordance with the above embodiment, please refer to Figure 6 , Figure 6 : is a structural schematic diagram of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the electronic device includes a first SIM card and a second SIM card, and the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:

[0147] When the first SIM card is in a preset working mode, the first SIM card works through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1;

[0148] When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M;

[0149] When the second SIM card is in the dormant state of the CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work.

[0150] Optionally, in terms of providing the N working links provided by the N antennas to the second SIM card to work, the program includes instructions for performing the following steps:

[0151] Detecting a channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters;

[0152] Determining N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters;

[0153] N antennas corresponding to the N first channel evaluation parameters are determined, and the second SIM card works through N working links provided by the N antennas.

[0154] Optionally, in the aspect of detecting the channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters, the program includes instructions for executing the following steps:

[0155] Acquire a channel evaluation parameter corresponding to a working link i to obtain at least one channel evaluation parameter, wherein the working link i is any working link among the M working links;

[0156] Determine a weight parameter corresponding to the working link i to obtain at least one target weight parameter corresponding to the at least one channel evaluation parameter;

[0157] A weighted operation is performed according to the at least one channel evaluation parameter and the at least one target weight parameter to obtain a first channel evaluation parameter corresponding to the working link i.

[0158] Optionally, in determining the weight parameter corresponding to the working link i to obtain at least one weight parameter corresponding to the at least one channel evaluation parameter, the program includes instructions for performing the following steps:

[0159] According to the mapping relationship between the preset working mode and the weight parameter set, determine the target weight parameter set corresponding to the preset working mode, the weight parameter set includes a plurality of weight parameters, each weight parameter corresponds to a channel evaluation parameter identifier;

[0160] Determining a weight parameter corresponding to each channel evaluation parameter in the at least one channel evaluation parameter according to the target weight parameter set to obtain at least one weight parameter;

[0161] The at least one weight parameter is adjusted to obtain the at least one target weight parameter, and the sum of the at least one target weight parameter is 1.

[0162] Optionally, in the aspect of switching at least one of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work, the program includes instructions for performing the following steps:

[0163] Detecting a channel evaluation parameter of each of the N working links to obtain N second channel evaluation parameters;

[0164] Determine at least one second channel evaluation parameter with the best channel quality among the N second channel evaluation parameters;

[0165] At least one antenna corresponding to the at least one second channel evaluation parameter is determined, and at least one working link provided by the at least one antenna is used to operate the first SIM card.

[0166] Optionally, the program further includes instructions for executing the following steps:

[0167] When the second SIM card exits the Volte mode, all the N antennas are switched to the first SIM card to provide corresponding working links for the first SIM card to work.

[0168] It can be seen that in the electronic device described in the embodiment of the present application, the electronic device includes a first SIM card and a second SIM card. When the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, and each antenna corresponds to a working link, and M is an integer greater than 1. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, and the N antennas are N antennas among the M antennas, and each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M. When the second SIM card is in a When the second SIM card is in the dormant state of CDRX, at least one of the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work. In this way, the CDRX function of Volte can be cleverly utilized, so that even if the working frequency band of the first SIM card is affected by the simultaneous operation of the second SIM card, the resources occupied by the first SIM card will be returned to the first SIM card when the second SIM card is in the dormant period of CDRX, thereby ensuring the optimal performance of the first SIM card and ensuring the normal operation of the second SIM card in the Volte wake-up period (that is, the working state of CDRX). That is, in the case of dual-card dual-communication, the influence of the Volte call mode on the resources of another SIM card can be reduced.

[0169] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0170] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0171] Figure 7700 is a functional unit block diagram of a communication control device 700 involved in an embodiment of the present application. The communication control device 700 is applied to an electronic device, the electronic device includes a first SIM card and a second SIM card, the device 700 includes: a control unit 701 and a switching unit 702, wherein:

[0172] The control unit 701 is configured to, when the first SIM card is in a preset working mode, use M working links provided by M antennas to work for the first SIM card, where each antenna corresponds to one working link, and M is an integer greater than 1; and when the second SIM card is in a working state of discontinuous reception CDRX in a connected state in a long-term evolution voice bearer Volte mode, use N working links provided by N antennas to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to one working link, and N is an integer greater than or equal to 1 and less than M;

[0173] The switching unit 702 is configured to switch at least one of the N antennas to the first SIM card when the second SIM card is in the dormant state of the CDRX, so as to provide a corresponding working link for the first SIM card to work.

[0174] Optionally, in terms of providing the N working links provided by the N antennas to the second SIM card to work, the control unit 701 is specifically configured to:

[0175] Detecting a channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters;

[0176] Determining N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters;

[0177] N antennas corresponding to the N first channel evaluation parameters are determined, and the second SIM card works through N working links provided by the N antennas.

[0178] Optionally, in the aspect of detecting the channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters, the control unit 701 is specifically used to:

[0179] Acquire a channel evaluation parameter corresponding to a working link i to obtain at least one channel evaluation parameter, wherein the working link i is any working link among the M working links;

[0180] Determine a weight parameter corresponding to the working link i to obtain at least one target weight parameter corresponding to the at least one channel evaluation parameter;

[0181] A weighted operation is performed according to the at least one channel evaluation parameter and the at least one target weight parameter to obtain a first channel evaluation parameter corresponding to the working link i.

[0182] Optionally, in determining the weight parameter corresponding to the working link i to obtain at least one weight parameter corresponding to the at least one channel evaluation parameter, the control unit 701 is specifically configured to:

[0183] According to the mapping relationship between the preset working mode and the weight parameter set, determine the target weight parameter set corresponding to the preset working mode, the weight parameter set includes a plurality of weight parameters, each weight parameter corresponds to a channel evaluation parameter identifier;

[0184] Determining a weight parameter corresponding to each channel evaluation parameter in the at least one channel evaluation parameter according to the target weight parameter set to obtain at least one weight parameter;

[0185] The at least one weight parameter is adjusted to obtain the at least one target weight parameter, and the sum of the at least one target weight parameter is 1.

[0186] Optionally, in the aspect of switching at least one of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work, the switching unit 702 is specifically configured to:

[0187] Detecting a channel evaluation parameter of each of the N working links to obtain N second channel evaluation parameters;

[0188] Determine at least one second channel evaluation parameter with the best channel quality among the N second channel evaluation parameters;

[0189] At least one antenna corresponding to the at least one second channel evaluation parameter is determined, and at least one working link provided by the at least one antenna is used to operate the first SIM card.

[0190] Optionally, the device 700 is further specifically used for:

[0191] When the second SIM card exits the Volte mode, all the N antennas are switched to the first SIM card to provide corresponding working links for the first SIM card to work.

[0192] It can be seen that the communication control device described in the embodiment of the present application is applied to an electronic device, and the electronic device includes a first SIM card and a second SIM card. When the first SIM card is in a preset working mode, M working links provided by M antennas are used to work for the first SIM card, and each antenna corresponds to a working link, and M is an integer greater than 1. When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long-term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, and the N antennas are N antennas among the M antennas, and each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M. In the second SIM card When the SIM card is in the dormant state of CDRX, at least one antenna among the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work. In this way, the CDRX function of Volte can be cleverly utilized, so that even if the working frequency band of the first SIM card is affected by the simultaneous operation of the second SIM card, the resources occupied by the first SIM card will be returned to the first SIM card when the second SIM card is in the dormant period of CDRX, thereby ensuring the optimal performance of the first SIM card and ensuring the normal operation of the second SIM card in the Volte wake-up period (that is, the working state of CDRX). That is, in the case of dual-card dual-communication, the influence of the Volte call mode on the resources of another SIM card can be reduced.

[0193] The control unit 701 and the switching unit 702 may be a processor, which may be an artificial intelligence chip, NPU, CPU, GPU, etc., which is not limited here. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.

[0194] This embodiment also provides an artificial intelligence chip, wherein the artificial intelligence chip can be used to implement any method in the above embodiments.

[0195] This embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute the embodiments of the present application to implement any method in the above-mentioned embodiments.

[0196] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement any method in the above-mentioned embodiments.

[0197] In addition, an embodiment of the present application also provides a communication control device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes any one of the methods in the above-mentioned method embodiments.

[0198] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0199] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0200] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0201] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0202] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0203] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0204] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication control method, characterized in that: Applied to an electronic device, the electronic device includes a first SIM card and a second SIM card, the method includes: When the first SIM card is in a preset working mode, the first SIM card works through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1; When the second SIM card is in a discontinuous reception CDRX working state in a connected state in a long term evolution voice bearer Volte mode, N working links provided by N antennas are used to work for the second SIM card, where the N antennas are N antennas among the M antennas, each antenna corresponds to a working link, and N is an integer greater than or equal to 1 and less than M; When the second SIM card is in the dormant state of the CDRX, at least one of the N antennas is switched to the first SIM card to provide a corresponding working link for the first SIM card to work; The N working links provided by the N antennas for the second SIM card to work include: Detecting a channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters; Determining N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters; Determine N antennas corresponding to the N first channel evaluation parameters, and operate the second SIM card through N working links provided by the N antennas; The detecting of the channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters includes: Acquire a channel evaluation parameter corresponding to a working link i to obtain at least one channel evaluation parameter, wherein the working link i is any working link among the M working links; Determine a weight parameter corresponding to the working link i to obtain at least one target weight parameter corresponding to the at least one channel evaluation parameter; A weighted operation is performed according to the at least one channel evaluation parameter and the at least one target weight parameter to obtain a first channel evaluation parameter corresponding to the working link i.

2. The method according to claim 1, characterized in that The determining the weight parameter corresponding to the working link i to obtain at least one weight parameter corresponding to the at least one channel evaluation parameter includes: According to the mapping relationship between the preset working mode and the weight parameter set, determine the target weight parameter set corresponding to the preset working mode, the weight parameter set includes a plurality of weight parameters, each weight parameter corresponds to a channel evaluation parameter identifier; Determining a weight parameter corresponding to each channel evaluation parameter in the at least one channel evaluation parameter according to the target weight parameter set to obtain at least one weight parameter; The at least one weight parameter is adjusted to obtain the at least one target weight parameter, and the sum of the at least one target weight parameter is 1.

3. The method according to claim 1 or 2, characterized in that: The step of switching at least one of the N antennas to the first SIM card to provide a corresponding working link for the first SIM card to work includes: Detecting a channel evaluation parameter of each of the N working links to obtain N second channel evaluation parameters; Determine at least one second channel evaluation parameter with the best channel quality among the N second channel evaluation parameters; At least one antenna corresponding to the at least one second channel evaluation parameter is determined, and at least one working link provided by the at least one antenna is used to operate the first SIM card.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: When the second SIM card exits the Volte mode, all the N antennas are switched to the first SIM card to provide corresponding working links for the first SIM card to work.

5. A communication control device, characterized in that: Applied to an electronic device, the electronic device comprises a first SIM card and a second SIM card, the device comprises: a control unit and a switching unit, wherein: The control unit is configured to, when the first SIM card is in a preset working mode, operate the first SIM card through M working links provided by M antennas, each antenna corresponds to one working link, and M is an integer greater than 1; and when the second SIM card is in a working state of discontinuous reception CDRX in a connected state in a long-term evolution voice bearer Volte mode, operate the second SIM card through N working links provided by N antennas, the N antennas are N antennas among the M antennas, each antenna corresponds to one working link, and N is an integer greater than or equal to 1 and less than M; The switching unit is configured to switch at least one of the N antennas to the first SIM card when the second SIM card is in a dormant state of the CDRX, so as to provide a corresponding working link for the first SIM card to work; Wherein, in terms of the N working links provided by the N antennas providing the second SIM card with work, the control unit is specifically used for: Detecting a channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters; Determining N first channel evaluation parameters with the worst channel quality among the M first channel evaluation parameters; Determine N antennas corresponding to the N first channel evaluation parameters, and operate the second SIM card through N working links provided by the N antennas; The detecting of the channel evaluation parameter of each of the M working links to obtain M first channel evaluation parameters includes: Acquire a channel evaluation parameter corresponding to a working link i to obtain at least one channel evaluation parameter, wherein the working link i is any working link among the M working links; Determine a weight parameter corresponding to the working link i to obtain at least one target weight parameter corresponding to the at least one channel evaluation parameter; A weighted operation is performed according to the at least one channel evaluation parameter and the at least one target weight parameter to obtain a first channel evaluation parameter corresponding to the working link i.

6. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program includes instructions for executing the steps in the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • User equipment, wireless communication method, terminal and network node

    CN105491683A

  • Tx antenna selection for LTE in multiple radio devices

    CN105493411A