WO2021244175A1 - Radio-frequency switching method and apparatus - Google Patents

Radio-frequency switching method and apparatus Download PDF

Info

Publication number
WO2021244175A1
WO2021244175A1 PCT/CN2021/088780 CN2021088780W WO2021244175A1 WO 2021244175 A1 WO2021244175 A1 WO 2021244175A1 CN 2021088780 W CN2021088780 W CN 2021088780W WO 2021244175 A1 WO2021244175 A1 WO 2021244175A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
protocol stack
protocol
radio frequency
tmsi
Prior art date
Application number
PCT/CN2021/088780
Other languages
French (fr)
Chinese (zh)
Inventor
陈智颖
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021244175A1 publication Critical patent/WO2021244175A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • H04W68/005Transmission of information for alerting of incoming communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the field of electronic technology, and in particular to a radio frequency switching method and device.
  • SIM subscriber identity module
  • the embodiments of the present application provide a radio frequency switching method and device.
  • an embodiment of the present application provides a radio frequency switching method, which is applied to an electronic device, the electronic device includes a first SIM card, a second SIM card, and a mobile radio frequency module; the method includes:
  • a first protocol stack receives a paging message of the second SIM card, where the first protocol stack is a protocol stack of the first SIM card;
  • the first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
  • the second protocol stack performs a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the first SIM card to a communication connection with the second SIM card.
  • an embodiment of the present application provides a radio frequency switching device, which is applied to an electronic device.
  • the electronic device includes a first SIM card, a second SIM card, a first protocol stack of the first SIM card, and a second SIM card.
  • the second protocol stack of the card and the mobile radio frequency module; the device includes:
  • a first protocol stack configured to receive a paging message of the second SIM card, and the first protocol stack is a protocol stack of the first SIM card;
  • the first protocol stack is configured to notify a second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
  • the second protocol stack is used to perform a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from communicating with the first SIM card to communicating with the second SIM card Communication connection.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
  • the above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, part or all of the steps described in any method.
  • the embodiments of the present application provide a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application.
  • the computer program product may be a software installation package.
  • the current mobile radio frequency module is in communication with the first SIM card, and the first protocol stack of the first SIM card informs the second SIM card when it receives a paging message from the second SIM card
  • the second protocol stack has an incoming call from the second SIM card, and the second protocol stack performs radio frequency switching, so that the mobile radio frequency module switches from the communication connection with the first SIM card to the communication connection with the second SIM card.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of a modem provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a radio frequency switching method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a radio frequency switching device provided by an embodiment of the present application.
  • the electronic device may be a portable electronic device that also contains other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), and so on.
  • portable electronic devices include, but are not limited to, portable electronic devices equipped with IOS system, Android system, Microsoft system or other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • FIG. 1 shows a schematic structural diagram of an electronic device.
  • the electronic device may include a processor 110, an electronic switch 120, two SIM card slots 130, a sensor module 140, an audio module 150, a speaker 150A, a receiver 150B, a microphone 150C, a headphone interface 150D, a display screen 160, an internal memory 170, and an external memory Interface 180, universal serial bus (USB) interface 190, charging management module 200, power management module 200A, battery 200B, camera 210, modem 220, mobile radio frequency module 230, and radio frequency module 240, etc.
  • USB universal serial bus
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • different processing units may be independent components, or may be integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 may be a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. In this way, repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 101 in processing data or executing instructions is improved.
  • the electronic switch 120 is used to determine which SIM card is in communication with the radio frequency unit.
  • the SIM card slot 130 is used to place a SIM card.
  • the sensor module 140 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
  • the pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor may be provided on the display screen 160.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 160, the electronic device detects the intensity of the touch operation according to the pressure sensor. The electronic device can also calculate the touched position based on the detection signal of the pressure sensor.
  • touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to 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.
  • the gyroscope sensor can be used to determine the movement posture of the electronic device.
  • the angular velocity of the electronic device around three axes can be determined by the gyroscope sensor.
  • the gyroscope sensor can be used for shooting anti-shake. Exemplarily, when the shutter is pressed, the gyroscope sensor detects the angle of the shake of the electronic device, and calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device through a reverse movement to achieve anti-shake.
  • the gyroscope sensor can also be used for navigation and somatosensory game scenes.
  • the acceleration sensor can detect the magnitude of the acceleration of the electronic device in various directions (usually three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the ambient light sensor is used to sense the brightness of the ambient light.
  • the electronic device can adaptively adjust the brightness of the display screen 160 according to the perceived brightness of the ambient light.
  • the ambient light sensor can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor can also cooperate with the proximity light sensor to detect whether the electronic device is in the pocket to prevent accidental touch.
  • the fingerprint sensor is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
  • the temperature sensor is used to detect temperature.
  • the electronic device uses the temperature detected by the temperature sensor to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold value, the electronic device performs a reduction in the performance of a processor located near the temperature sensor, so as to reduce power consumption and implement thermal protection.
  • the electronic device when the temperature is lower than another threshold, the electronic device heats the battery 200B to avoid abnormal shutdown of the electronic device due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 200B to avoid abnormal shutdown caused by low temperature.
  • the touch sensor also called “touch panel”.
  • the touch sensor may be arranged on the display screen 160, and the touch screen is composed of the touch sensor and the display screen 160, which is also called a “touch screen”.
  • the touch sensor 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.
  • the visual output related to the touch operation can be provided through the display screen 160.
  • the touch sensor may also be disposed on the surface of the electronic device, which is different from the position of the display screen 160.
  • the display screen 160 is used to display images, videos, and the like.
  • the display screen 160 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode
  • FLED flexible light-emitting diode
  • mini light-emitting diode miniled
  • MicroLed Micro-oLed
  • quantum dot light emitting diode QLED
  • the electronic device may include one or more display screens 160.
  • the internal memory 170 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can execute the above-mentioned instructions stored in the internal memory 170 to enable the electronic device to execute the radio frequency switching method provided in some embodiments of the present application, as well as various applications and data processing.
  • the internal memory 170 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more applications (such as photo galleries, contacts, etc.).
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device.
  • the internal memory 170 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), and the like.
  • the processor 110 may execute the instructions stored in the internal memory 170 and/or the instructions stored in the memory provided in the processor 110 to cause the electronic device to execute the radio frequency provided in the embodiments of the present application. Switching method, and other applications and data processing.
  • the external memory interface 180 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 180 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the USB interface 190 is an interface that complies with the USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 190 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device.
  • the USB interface 190 can also be used to connect earphones and play audio through the earphones.
  • the charging management module 200 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 200 may receive the charging input of the wired charger through the USB interface 190.
  • the charging management module 200 may receive the wireless charging input through the wireless charging coil of the electronic device. While the charging management module 200 charges the battery 200B, it can also supply power to the electronic device through the power management module 200A.
  • the power management module 200A is used to connect the battery 200B, the charging management module 200A and the processor 110.
  • the power management module 200A receives input from the battery 200B and/or the charging management module 200, and supplies power to the processor 110, the internal memory 170, the display screen 160, the camera 210, and the like.
  • the power management module 200A can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 200A may also be provided in the processor 110.
  • the power management module 200A and the charging management module 200 may also be provided in the same device.
  • the camera 210 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • the electronic device may include one or more cameras 210.
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile radio frequency module 230, the radio frequency module 240, the modem 220, the processor 110, and the like.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile radio frequency module 230 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile radio module 230 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and so on.
  • the mobile radio module 230 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, transmit them to the modem for demodulation, and finally send the processed signals to the processor 110.
  • the mobile radio module 230 can also receive the signal to be sent from the processor 110, transmit it to the modem for modulation, and finally amplify the modem modulated signal, and convert it into electromagnetic waves through the antenna 1 and radiate it out.
  • At least part of the functional modules of the mobile radio frequency module 230 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile radio frequency module 230 and at least part of the modules of the processor 110 may be provided in the same device.
  • the radio frequency module 240 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation. Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the radio frequency module 240 may be one or more devices integrating at least one communication processing module.
  • the radio frequency module 240 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the radio frequency module 240 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • Figure 2 shows a schematic structural diagram of a modem.
  • the modem includes a first protocol stack of a first SIM card set in a SIM card slot and a second protocol stack of a second SIM card set in another SIM card slot. Both the first protocol stack and the second protocol stack are modem protocol stacks.
  • the first protocol stack supports 5G new radio (NR) protocol, Long Term Evolution (LTE) protocol, wideband code division multiple access (WSDMA) protocol, and time division synchronized code division multiple access (time One of the division-synchronous code division multiple access (TD-SCDMA) protocol, code division multiple access (CDMA) protocol, and the global system for mobile communications (GSM).
  • the second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
  • FIG. 3 shows a block diagram of the software structure of the electronic device.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify that the download is complete, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text information in the status bar sound a prompt sound, electronic device vibration, flashing indicator light, etc.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and 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.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • 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.
  • FIG. 4 is a schematic flowchart of a radio frequency switching method provided by an embodiment of the present application, which is applied to the above-mentioned electronic device. As shown in the figure, the radio frequency switching method includes the following operations.
  • Step 401 The first protocol stack receives the paging message of the second SIM card, and the first protocol stack is the protocol stack of the first SIM card.
  • Step 402 The first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card.
  • Step 403 The second protocol stack performs a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from the communication connection with the first SIM card to the communication connection with the second SIM card .
  • the first SIM card is the main SIM card
  • the second SIM card is the secondary SIM card
  • the first SIM card is the secondary SIM card
  • the second SIM card is the main SIM card
  • the second protocol stack performing the first radio frequency switching operation includes: the second protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the second SIM card through the electronic switch, and disconnects from the second SIM card through the electronic switch.
  • the connection of a SIM card can switch the mobile radio frequency module from the communication connection with the first SIM card to the communication connection with the second SIM card.
  • the operators of the first SIM card and the second SIM card are the same.
  • the first SIM card and the second SIM card belong to the same cell.
  • the first protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM;
  • the second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
  • the method before the first protocol stack receives the paging message of the second SIM card, the method further includes:
  • the second protocol stack notifies the first protocol stack of the temporary mobile subscriber identity (Temporary Mobile Subscriber Identity, TMSI) of the second SIM card;
  • TMSI Temporal Mobile Subscriber Identity
  • the first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack monitors the paging based on the TMSI of the first SIM card and the TMSI of the second SIM card to receive Paging message to the second SIM card.
  • both the first SIM card and the second SIM card are in an idle state.
  • the states of the first SIM card and the second SIM card are recognized by the modem.
  • the specific identification methods are as follows: the modem reads the value of the first state variable associated with the first SIM card and the value of the second state variable associated with the second SIM card; if the value of the first state variable is the set value, it determines the value of the first SIM card The state is connected. If the value of the first state variable is not the set value, it is determined that the state of the first SIM card is idle; if the value of the second state variable is the set value, the state of the second SIM card is determined to be connected If the value of the second state variable is not the set value, it is determined that the state of the second SIM card is the idle state.
  • the setting value is, for example, 0, 1, or other values.
  • the first protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card, including: the first protocol stack is based on the TMSI of the first SIM card, The TMSI of the second SIM card, the first paging occasion of the first SIM card, and the second paging occasion of the second SIM card monitor paging.
  • the second protocol stack when the second protocol stack notifies the first protocol stack of the TMSI of the second SIM card, it also notifies the first protocol stack of the second paging occasion of the second SIM card; or, the second paging occasion of the second SIM card
  • the paging occasion is determined by the first protocol stack.
  • the logical channel (paging control channel, PCCH), the transmission channel (paging channel, PCH) and the physical downlink link shared channel (PDSCH) carrying paging messages are defined, and the paging message It is carried by the PCCH, and the data blocks of the PCH are carried by the PDSCH channel.
  • the PDSCH is a downlink shared physical channel, in addition to carrying the PCH, it can also carry the downlink shared channel (DL-SCH) Therefore, before receiving the paging message, the electronic device needs to monitor the physical downlink control channel (PDCCH) to determine whether the paging message is sent to itself.
  • DRX discontinuous reception
  • the paging occasion includes the paging frame and the paging moment.
  • the repetition period of the frame number of the radio frame is 1024, so the value range of each radio frame is 0-1023, and each radio frame It is divided into 10 subframes.
  • the value range of the subframes is 0-9.
  • the electronic device needs to calculate the paging frame in the monitored PDCCH first, and then calculate the paging moment on the paging frame to be accurate Know the specific location of the monitored PDCCH.
  • PF is the paging frame
  • SFN is the system frame number (that is, the frame number of the current electronic device)
  • T min(T1, T2)
  • T1 is the paging cycle set by the core network
  • T2 is the paging cycle set by the wireless side (ie, wireless access network, such as base station, etc.).
  • the paging cycle set by the wireless side is less than the paging cycle set by the core network, so T is equal to the paging cycle set by the wireless side by default.
  • the paging cycle set by the wireless side is read from the system message 2 (SIB2), and T1 is obtained from the paging message of the system message 1 (SIB1).
  • N min(T, nB), nB is read from SIB2, UE_ID is included in the paging message of SIB1, and is calculated by the International Mobile Subscriber Identity (IMSI) modulo 1024.
  • IMSI International Mobile Subscriber Identity
  • the corresponding relationship is shown in Table 1 and Table 2.
  • Table 1 is the corresponding relationship of the FDD mode
  • Table 2 is the corresponding relationship of the TDD mode.
  • the TMSI of the second SIM card of the second protocol stack is notified to the first protocol stack, and the first protocol stack monitors the paging messages of the first SIM card and the second SIM card at the same time, which reduces The mobile radio frequency module switches the frequency, thereby improving the communication performance.
  • the method further includes:
  • the first protocol stack When the first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, the first protocol stack also notifies the second protocol stack of the TMSI of the first SIM card.
  • the method further includes:
  • the first protocol stack notifies the second protocol stack of the TMSI of the first SIM card.
  • the method further includes:
  • the second protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card;
  • the second protocol stack notifies the first protocol stack that the first SIM card has an incoming call
  • the first protocol stack performs a second radio frequency switching operation, and the second radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the second SIM card to a communication connection with the first SIM card.
  • the first protocol stack performing the second radio frequency switching operation includes: the first protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the first SIM card through the electronic switch, and disconnects from the first SIM card through the electronic switch.
  • the connection of the two SIM cards achieves the switching of the mobile radio frequency module from the communication connection with the second SIM card to the communication connection with the first SIM card.
  • the second protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card, including:
  • the second protocol stack is based on the TMSI of the first SIM card, the TMSI of the second SIM card, the third paging occasion of the first SIM card, and the fourth paging occasion of the second SIM card. call.
  • the first protocol stack when the first protocol stack notifies the second protocol stack of the TMSI of the first SIM card, it also notifies the second protocol stack of the third paging occasion of the first SIM card; or, the third paging occasion of the first SIM card
  • the timing is determined by the second protocol stack.
  • the second protocol stack simultaneously monitors the paging messages of the first SIM card and the second SIM card, which reduces the switching frequency of the mobile radio module, thereby improving the communication performance.
  • the method before the first protocol stack receives the paging message of the second SIM card, the method further includes:
  • the first protocol stack sends first signaling to the network device, the first signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the first signaling is used to notify the two Each TMSI belongs to the same electronic device;
  • the first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack receiving second signaling sent by the network device, the second signaling carrying the second SIM The page message of the card.
  • the method further includes: the second protocol stack notifies the first protocol stack of the TMSI of the second SIM card.
  • the first SIM card is in a connected state
  • the second SIM card is in an idle state
  • the first signaling is newly added signaling, for example, TMSI combination signaling.
  • the second signaling is radio resource control (Radio Resource Control, RRC) connection signaling, that is, when the network device has a paging message for the second SIM card to be sent, the network device can use the first SIM card to send a paging message.
  • RRC connection signaling is issued.
  • a network device is a device deployed on a wireless access network to provide wireless communication functions.
  • the network device may be a Radio Access Network (RAN) device on the access network side of a cellular network.
  • the so-called RAN device is a device that connects terminal devices to the wireless network, including but not limited to: Evolved Node B (evolved Node B, eNB), Radio Network Controller (RNC), Node B (Node B, NB), Base Station Controller (BSC), Base Transceiver (Base Transceiver) Station, BTS), home base station (for example, Home evolved Node B, or Home Node B, HNB), base band unit (BBU), management entity (Mobility Management Entity, MME); for another example, network equipment can also be It is a node device in a wireless local area network (WLAN), such as an access controller (AC), a gateway, or a WIFI access point (Access Point, AP); for another example, the network device can also be The transmission node or
  • the first protocol stack notifies the network device of the TMSI of the first SIM card and the TMSI of the second SIM card, and notifies the network device that the two TMSIs belong to the same electronic device, so that the network device Bind the two TMSIs so that when the first SIM card is in the connected state, if there is a paging message from the second SIM card, the network device can directly send it to the first protocol stack, which reduces the switching frequency of the mobile radio module. In turn, the communication performance is improved.
  • the method further includes:
  • the second protocol stack sends third signaling to the network device, the third signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the third signaling is used to notify the two Each TMSI belongs to the same electronic device;
  • the second protocol stack notifies the first protocol stack that the first SIM card has an incoming call
  • the first protocol stack performs a third radio frequency switching operation, and the third radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the second SIM card to a communication connection with the first SIM card.
  • the method further includes: the first protocol stack notifies the second protocol stack of the TMSI of the first SIM card.
  • the first protocol stack performing the third radio frequency switching operation includes: the first protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the first SIM card through the electronic switch, and disconnects from the first SIM card through the electronic switch.
  • the connection of the two SIM cards achieves the switching of the mobile radio frequency module from the communication connection with the second SIM card to the communication connection with the first SIM card.
  • the third signaling is newly-added signaling, such as TMSI combination signaling.
  • the fourth signaling is radio resource control (Radio Resource Control, RRC) connection signaling, that is, when the network device has a paging message of the first SIM card that needs to be sent, the network device can use the second SIM card to send a paging message.
  • RRC connection signaling is issued.
  • the second protocol stack after the radio frequency switch, notifies the network device of the TMSI of the first SIM card and the TMSI of the second SIM card, and notifies the network device that the two TMSIs belong to the same electronic device , So that the network device binds the two TMSIs, so that when the second SIM card is in the connected state, if there is a paging message from the first SIM card, the network device can directly send to the second protocol stack, which reduces the mobility
  • the radio frequency module switches the frequency, thereby improving the communication performance.
  • an electronic device in order to implement the above-mentioned functions, includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
  • the electronic device can be divided into functional modules according to the foregoing method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 5 shows a schematic diagram of a radio frequency switching device.
  • the radio frequency switching device 500 is applied to electronic equipment.
  • the radio frequency switching device 500 may include: Protocol stack 501 and second protocol stack 502.
  • the first protocol stack 501 may be used to support the electronic device to execute the above steps 401, 402, etc., and/or other processes used in the technology described herein.
  • the second protocol stack 502 may be used to support the electronic device to perform the above-mentioned step 403, etc., and/or other processes used in the technology described herein.
  • the electronic device provided in this embodiment is used to execute the above-mentioned location determination method, and therefore can achieve the same effect as the above-mentioned implementation method.
  • the electronic device may include a processing module, a storage module, and a communication module.
  • the processing module can be used to control and manage the actions of the electronic device, for example, can be used to support the electronic device to execute the steps performed by the first protocol stack 501 and the second protocol stack 502 described above.
  • the storage module can be used to support the electronic device to execute the storage program code and data.
  • the communication module can be used to support the communication between electronic devices and other devices.
  • the processing module can be a processor, a controller, or a modem. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on.
  • the storage module may be a memory.
  • the communication module may specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
  • the processing module is a processor or a modem
  • the storage module is a memory
  • the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1.
  • This embodiment also provides a computer storage medium that stores computer instructions that, when the computer instructions run on an electronic device, cause the electronic device to execute the above-mentioned related method steps to implement the radio frequency switching method in the above-mentioned embodiment.
  • This embodiment also provides a computer program product.
  • the computer program product runs on a computer, the computer is caused to execute the above-mentioned related steps to realize the radio frequency switching method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component, or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the position determination method in the foregoing method embodiments.
  • the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components can be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate, and the parts displayed as a unit may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • 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.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

Provided are a radio-frequency switching method and apparatus, which are applied to an electronic device. The electronic device comprises a first SIM card, a second SIM card, and a mobile radio-frequency module. The method comprises: a first protocol stack receiving a paging message from a second SIM card (401), wherein the first protocol stack is a protocol stack for the first SIM card; the first protocol stack informing a second protocol stack that there is an incoming call in the second SIM card (402), wherein the second protocol stack is a protocol stack for the second SIM card; and the second protocol stack executing a first radio-frequency switching operation (403), wherein the first radio-frequency switching operation is used to switch a mobile radio-frequency module from being in communication connection with the first SIM card to being in communication connection with the second SIM card. Therefore, the electronic device can reduce the switching frequency of the mobile radio-frequency module.

Description

射频切换方法及装置Radio frequency switching method and device 技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种射频切换方法及装置。This application relates to the field of electronic technology, and in particular to a radio frequency switching method and device.
背景技术Background technique
随着智能手机等电子设备的大量普及应用,越来越多的智能手机为双卡双待智能手机。目前,两张用户身份识别(subscriber identity module,SIM)卡使用同一移动射频模块分时切换,在各自的寻呼时机监听各自的寻呼,移动射频模块频繁切换会影响通信性能。With the widespread application of smart phones and other electronic devices, more and more smart phones are dual-card dual-standby smart phones. Currently, two subscriber identity module (SIM) cards use the same mobile radio frequency module for time-sharing switching, and monitor their paging at their respective paging occasions. Frequent switching of the mobile radio module will affect communication performance.
发明内容Summary of the invention
本申请实施例提供一种射频切换方法及装置。The embodiments of the present application provide a radio frequency switching method and device.
第一方面,本申请实施例提供一种射频切换方法,应用于电子设备,所述电子设备包括第一SIM卡、第二SIM卡和移动射频模块;所述方法包括:In the first aspect, an embodiment of the present application provides a radio frequency switching method, which is applied to an electronic device, the electronic device includes a first SIM card, a second SIM card, and a mobile radio frequency module; the method includes:
第一协议栈接收所述第二SIM卡的寻呼消息,所述第一协议栈为所述第一SIM卡的协议栈;A first protocol stack receives a paging message of the second SIM card, where the first protocol stack is a protocol stack of the first SIM card;
所述第一协议栈向第二协议栈通知所述第二SIM卡有来电,所述第二协议栈为所述第二SIM卡的协议栈;The first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
所述第二协议栈执行第一射频切换操作,所述第一射频切换操作用于将所述移动射频模块从与所述第一SIM卡通信连接切换至与所述第二SIM卡通信连接。The second protocol stack performs a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the first SIM card to a communication connection with the second SIM card.
第二方面,本申请实施例提供一种射频切换装置,应用于电子设备,所述电子设备包括第一SIM卡、第二SIM卡、所述第一SIM卡的第一协议栈、第二SIM卡的第二协议栈和移动射频模块;所述装置包括:In the second aspect, an embodiment of the present application provides a radio frequency switching device, which is applied to an electronic device. The electronic device includes a first SIM card, a second SIM card, a first protocol stack of the first SIM card, and a second SIM card. The second protocol stack of the card and the mobile radio frequency module; the device includes:
第一协议栈,用于接收所述第二SIM卡的寻呼消息,所述第一协议栈为所述第一SIM卡的协议栈;A first protocol stack, configured to receive a paging message of the second SIM card, and the first protocol stack is a protocol stack of the first SIM card;
所述第一协议栈,用于向第二协议栈通知所述第二SIM卡有来电,所述第二协议栈为所述第二SIM卡的协议栈;The first protocol stack is configured to notify a second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
所述第二协议栈,用于执行第一射频切换操作,所述第一射频切换操作用于将所述移动射频模块从与所述第一SIM卡通信连接切换至与所述第二SIM卡通信连接。The second protocol stack is used to perform a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from communicating with the first SIM card to communicating with the second SIM card Communication connection.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above The above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, part or all of the steps described in any method.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiments of the present application provide a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application. For example, part or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.
可以看出,在本申请实施例中,当前移动射频模块与第一SIM卡通信连接,第一SIM 卡的第一协议栈在接收到第二SIM卡的寻呼消息时,通知第二SIM卡的第二协议栈有第二SIM卡的来电,第二协议栈执行射频切换,以使移动射频模块从与第一SIM卡通信连接切换至与第二SIM卡通信连接。It can be seen that in this embodiment of the application, the current mobile radio frequency module is in communication with the first SIM card, and the first protocol stack of the first SIM card informs the second SIM card when it receives a paging message from the second SIM card The second protocol stack has an incoming call from the second SIM card, and the second protocol stack performs radio frequency switching, so that the mobile radio frequency module switches from the communication connection with the first SIM card to the communication connection with the second SIM card.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1是本申请实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种modem的结构示意图;Figure 2 is a schematic structural diagram of a modem provided by an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的软件结构示意图;FIG. 3 is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的一种射频切换方法的流程示意图;FIG. 4 is a schematic flowchart of a radio frequency switching method provided by an embodiment of the present application;
图5是本申请实施例提供的一种射频切换装置的结构示意图。FIG. 5 is a schematic structural diagram of a radio frequency switching device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
为了更好地理解本申请实施例的方案,下面先对本申请实施例可能涉及的相关术语和概念进行介绍。In order to better understand the solutions of the embodiments of the present application, the following first introduces related terms and concepts that may be involved in the embodiments of the present application.
电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载IOS系统、Android系统、Microsoft系统或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。The electronic device may be a portable electronic device that also contains other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), and so on. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices equipped with IOS system, Android system, Microsoft system or other operating systems. The aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
第一部分,本申请所公开的技术方案的软硬件运行环境介绍如下。In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.
示例性的,图1示出了电子设备的结构示意图。电子设备可以包括处理器110、电子开关120、两个SIM卡槽130、传感器模块140、音频模块150、扬声器150A、受话器150B、麦克风150C、耳机接口150D、显示屏160、内部存储器170、外部存储器接口180、通用串行总线(universal serial bus,USB)接口190、充电管理模块200、电源管理模块200A、电池200B、摄像头210、调制解调器(modem)220、移动射频模块230和无线射频模块240等。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device. The electronic device may include a processor 110, an electronic switch 120, two SIM card slots 130, a sensor module 140, an audio module 150, a speaker 150A, a receiver 150B, a microphone 150C, a headphone interface 150D, a display screen 160, an internal memory 170, and an external memory Interface 180, universal serial bus (USB) interface 190, charging management module 200, power management module 200A, battery 200B, camera 210, modem 220, mobile radio frequency module 230, and radio frequency module 240, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can 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, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit, GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。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 processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, different processing units may be independent components, or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. Among them, the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions. In some other embodiments, a memory may be provided in the processor 110 to store instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. In this way, repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 101 in processing data or executing instructions is improved.
电子开关120用于决定哪个SIM卡与射频单元通信连接。The electronic switch 120 is used to determine which SIM card is in communication with the radio frequency unit.
SIM卡槽130用于放置SIM卡。The SIM card slot 130 is used to place a SIM card.
传感器模块140可以包括压力传感器、陀螺仪传感器、气压传感器、磁传感器、加速度传感器、距离传感器、接近光传感器、指纹传感器、温度传感器、触摸传感器、环境光传感器、骨传导传感器等。The sensor module 140 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
其中,压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于显示屏160。压力传感器的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏160,电子设备根据压力传感器检测所述触摸操作强度。电子设备也可以根据压力传感器的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。Among them, the pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor may be provided on the display screen 160. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 160, the electronic device detects the intensity of the touch operation according to the pressure sensor. The electronic device can also calculate the touched position based on the detection signal of the pressure sensor. In some embodiments, touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to 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.
陀螺仪传感器可以用于确定电子设备的运动姿态。在一些实施例中,可以通过陀螺仪传感器确定电子设备围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器检测电子设备抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备的抖动,实现防抖。陀螺仪传感器还可以用于导航,体感游戏场景。The gyroscope sensor can be used to determine the movement posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (that is, the X, Y, and Z axes) can be determined by the gyroscope sensor. The gyroscope sensor can be used for shooting anti-shake. Exemplarily, when the shutter is pressed, the gyroscope sensor detects the angle of the shake of the electronic device, and calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device through a reverse movement to achieve anti-shake. The gyroscope sensor can also be used for navigation and somatosensory game scenes.
加速度传感器可检测电子设备在各个方向上(一般为三轴)加速度的大小。当电子设备静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor can detect the magnitude of the acceleration of the electronic device in various directions (usually three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
环境光传感器用于感知环境光亮度。电子设备可以根据感知的环境光亮度自适应调节显示屏160亮度。环境光传感器也可用于拍照时自动调节白平衡。环境光传感器还可以与接近光传感器配合,检测电子设备是否在口袋里,以防误触。The ambient light sensor is used to sense the brightness of the ambient light. The electronic device can adaptively adjust the brightness of the display screen 160 according to the perceived brightness of the ambient light. The ambient light sensor can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor can also cooperate with the proximity light sensor to detect whether the electronic device is in the pocket to prevent accidental touch.
指纹传感器用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
温度传感器用于检测温度。在一些实施例中,电子设备利用温度传感器检测的温度,执行温度处理策略。例如,当温度传感器上报的温度超过阈值,电子设备执行降低位于温度传感器附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备对电池200B加热,以避免低温导致电子设备异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池200B的输出电压执行升压,以 避免低温导致的异常关机。The temperature sensor is used to detect temperature. In some embodiments, the electronic device uses the temperature detected by the temperature sensor to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold value, the electronic device performs a reduction in the performance of a processor located near the temperature sensor, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device heats the battery 200B to avoid abnormal shutdown of the electronic device due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 200B to avoid abnormal shutdown caused by low temperature.
触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏160,由触摸传感器与显示屏160组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏160提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备的表面,与显示屏160所处的位置不同。Touch sensor, also called "touch panel". The touch sensor may be arranged on the display screen 160, and the touch screen is composed of the touch sensor and the display screen 160, which is also called a “touch screen”. The touch sensor 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. The visual output related to the touch operation can be provided through the display screen 160. In other embodiments, the touch sensor may also be disposed on the surface of the electronic device, which is different from the position of the display screen 160.
显示屏160用于显示图像、视频等。显示屏160包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或多个显示屏160。The display screen 160 is used to display images, videos, and the like. The display screen 160 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED), flexible light-emitting diode (FLED), mini light-emitting diode (miniled), MicroLed, Micro-oLed, quantum dot light emitting diode, QLED) etc. In some embodiments, the electronic device may include one or more display screens 160.
内部存储器170可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器170的上述指令,从而使得电子设备执行本申请一些实施例中所提供的射频切换方法,以及各种应用以及数据处理等。内部存储器170可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器170可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器170的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备执行本申请实施例中所提供的射频切换方法,以及其他应用及数据处理。The internal memory 170 may be used to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 can execute the above-mentioned instructions stored in the internal memory 170 to enable the electronic device to execute the radio frequency switching method provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 170 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more applications (such as photo galleries, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device. In addition, the internal memory 170 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), and the like. In some embodiments, the processor 110 may execute the instructions stored in the internal memory 170 and/or the instructions stored in the memory provided in the processor 110 to cause the electronic device to execute the radio frequency provided in the embodiments of the present application. Switching method, and other applications and data processing.
外部存储器接口180可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口180与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 180 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 180 to realize the data storage function. For example, save music, video and other files in an external memory card.
USB接口190是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口190可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。该USB接口190也可以用于连接耳机,通过耳机播放音频。The USB interface 190 is an interface that complies with the USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 190 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device. The USB interface 190 can also be used to connect earphones and play audio through the earphones.
充电管理模块200用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块200可以通过USB接口190接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块200可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块200为电池200B充电的同时,还可以通过电源管理模块200A为电子设备供电。The charging management module 200 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 200 may receive the charging input of the wired charger through the USB interface 190. In some embodiments of wireless charging, the charging management module 200 may receive the wireless charging input through the wireless charging coil of the electronic device. While the charging management module 200 charges the battery 200B, it can also supply power to the electronic device through the power management module 200A.
电源管理模块200A用于连接电池200B,充电管理模块200A与处理器110。电源管理模块200A接收电池200B和/或充电管理模块200的输入,为处理器110、内部存储器170、显示屏160、摄像头210等供电。电源管理模块200A还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块200A也可以设置于处理器110中。在另一些实施例中,电源管理模块200A和充电管理模块200也可以设置于同一个器件中。The power management module 200A is used to connect the battery 200B, the charging management module 200A and the processor 110. The power management module 200A receives input from the battery 200B and/or the charging management module 200, and supplies power to the processor 110, the internal memory 170, the display screen 160, the camera 210, and the like. The power management module 200A can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 200A may also be provided in the processor 110. In other embodiments, the power management module 200A and the charging management module 200 may also be provided in the same device.
摄像头210用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。 感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。在一些实施例中,电子设备可以包括1个或多个摄像头210。The camera 210 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. In some embodiments, the electronic device may include one or more cameras 210.
电子设备的无线通信功能可以通过天线1、天线2、移动射频模块230、无线射频模块240、modem220以及处理器110等实现。The wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile radio frequency module 230, the radio frequency module 240, the modem 220, the processor 110, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动射频模块230可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动射频模块230可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动射频模块230可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至modem进行解调,最后将处理后的信号发送到处理器110。移动射频模块230还可以从处理器110接收待发送的信号,传送至modem调制,最后对经modem调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动射频模块230的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动射频模块230的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile radio frequency module 230 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile radio module 230 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and so on. The mobile radio module 230 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, transmit them to the modem for demodulation, and finally send the processed signals to the processor 110. The mobile radio module 230 can also receive the signal to be sent from the processor 110, transmit it to the modem for modulation, and finally amplify the modem modulated signal, and convert it into electromagnetic waves through the antenna 1 and radiate it out. In some embodiments, at least part of the functional modules of the mobile radio frequency module 230 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile radio frequency module 230 and at least part of the modules of the processor 110 may be provided in the same device.
无线射频模块240可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。无线射频模块240可以是集成至少一个通信处理模块的一个或多个器件。无线射频模块240经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线射频模块240还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The radio frequency module 240 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation. Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The radio frequency module 240 may be one or more devices integrating at least one communication processing module. The radio frequency module 240 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The radio frequency module 240 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
示例性的,图2示出了modem的结构示意图。modem包括一个SIM卡槽设置的第一SIM卡的第一协议栈和另一个SIM卡槽设置的第二SIM卡的第二协议栈。第一协议栈和第二协议栈均为modem协议栈。第一协议栈支持5G新空口(new radio,NR)协议、长期演进(LongTermEvolution,LTE)协议、带宽码分多址(wideband code division multiple access,WSDMA)协议、时分同步的码分多址(time division-synchronous code division multiple access,TD-SCDMA)协议、码分多址(code division multiple access,CDMA)协议、全球移动通信系统(global system for mobile communications,GSM)中的其中一种。第二协议栈支持5G NR协议、LTE协议、WSDMA协议、TD-SCDMA协议、CDMA协议、GSM中的其中一种。Exemplarily, Figure 2 shows a schematic structural diagram of a modem. The modem includes a first protocol stack of a first SIM card set in a SIM card slot and a second protocol stack of a second SIM card set in another SIM card slot. Both the first protocol stack and the second protocol stack are modem protocol stacks. The first protocol stack supports 5G new radio (NR) protocol, Long Term Evolution (LTE) protocol, wideband code division multiple access (WSDMA) protocol, and time division synchronized code division multiple access (time One of the division-synchronous code division multiple access (TD-SCDMA) protocol, code division multiple access (CDMA) protocol, and the global system for mobile communications (GSM). The second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
示例性的,图3示出了电子设备的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。Exemplarily, FIG. 3 shows a block diagram of the software structure of the electronic device. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer. The application layer can include a series of application packages.
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 3, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管 理器,资源管理器,通知管理器等。As shown in Figure 3, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供电子设备的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify that the download is complete, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompt text information in the status bar, sound a prompt sound, electronic device vibration, flashing indicator light, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and 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.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。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.
第二部分,本申请实施例所公开的权要保护范围介绍如下。In the second part, the scope of protection of the rights disclosed in the embodiments of this application is introduced as follows.
请参阅图4,图4是本申请实施例提供了一种射频切换方法的流程示意图,应用于上述电子设备,如图所示,本射频切换方法包括以下操作。Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a radio frequency switching method provided by an embodiment of the present application, which is applied to the above-mentioned electronic device. As shown in the figure, the radio frequency switching method includes the following operations.
步骤401:第一协议栈接收所述第二SIM卡的寻呼消息,第一协议栈为所述第一SIM卡的协议栈。Step 401: The first protocol stack receives the paging message of the second SIM card, and the first protocol stack is the protocol stack of the first SIM card.
步骤402:第一协议栈向第二协议栈通知所述第二SIM卡有来电,第二协议栈为所述第二SIM卡的协议栈。Step 402: The first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card.
步骤403:第二协议栈执行第一射频切换操作,所述第一射频切换操作用于将所述移动射频模块从与所述第一SIM卡通信连接切换至与所述第二SIM卡通信连接。Step 403: The second protocol stack performs a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from the communication connection with the first SIM card to the communication connection with the second SIM card .
其中,第一SIM卡为主SIM卡,第二SIM卡为副SIM卡;或者,第一SIM卡为副SIM卡,第二SIM卡为主SIM卡。Among them, the first SIM card is the main SIM card, and the second SIM card is the secondary SIM card; or, the first SIM card is the secondary SIM card, and the second SIM card is the main SIM card.
其中,第二协议栈执行第一射频切换操作,包括:第二协议栈通过modem通知处理器执行射频切换操作,以使得处理器通过电子开关连接第二SIM卡,以及通过电子开关断开与第一SIM卡的连接,达到将移动射频模块从与第一SIM卡通信连接切换至与第二SIM卡通信连接。Wherein, the second protocol stack performing the first radio frequency switching operation includes: the second protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the second SIM card through the electronic switch, and disconnects from the second SIM card through the electronic switch. The connection of a SIM card can switch the mobile radio frequency module from the communication connection with the first SIM card to the communication connection with the second SIM card.
在本申请的一实现方式中,所述第一SIM卡和所述第二SIM卡的运营商相同。In an implementation manner of the present application, the operators of the first SIM card and the second SIM card are the same.
其中,所述第一SIM卡和所述第二SIM卡属于同一小区。Wherein, the first SIM card and the second SIM card belong to the same cell.
在本申请的一实现方式中,所述第一协议栈支持5G NR协议、LTE协议、WSDMA协议、TD-SCDMA协议、CDMA协议、GSM中的其中一种;In an implementation manner of the present application, the first protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM;
所述第二协议栈支持5G NR协议、LTE协议、WSDMA协议、TD-SCDMA协议、CDMA协议、GSM中的其中一种。The second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
在本申请的一实现方式中,所述第一协议栈接收所述第二SIM卡的寻呼消息之前,所述方法还包括:In an implementation manner of the present application, before the first protocol stack receives the paging message of the second SIM card, the method further includes:
所述第二协议栈向所述第一协议栈通知所述第二SIM卡的临时移动用户识别码(Temporary Mobile Subscriber Identity,TMSI);The second protocol stack notifies the first protocol stack of the temporary mobile subscriber identity (Temporary Mobile Subscriber Identity, TMSI) of the second SIM card;
所述第一协议栈接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼,以接收到所述第二SIM卡的寻呼消息。The first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack monitors the paging based on the TMSI of the first SIM card and the TMSI of the second SIM card to receive Paging message to the second SIM card.
可选地,所述第一SIM卡和所述第二SIM卡均处于空闲态。Optionally, both the first SIM card and the second SIM card are in an idle state.
其中,第一SIM卡和第二SIM卡的状态是modem识别的。具体识别方式有:modem读取第一SIM卡关联的第一状态变量值和第二SIM卡关联的第二状态变量值;若第一状态变量值为设定值,则确定第一SIM卡的状态为连接态,若第一状态变量值不为设定值,则确定第一SIM卡的状态为空闲态,若第二状态变量值为设定值,则确定第二SIM卡的状态为连接态,若第二状态变量值不为设定值,则确定第二SIM卡的状态为空闲态。Among them, the states of the first SIM card and the second SIM card are recognized by the modem. The specific identification methods are as follows: the modem reads the value of the first state variable associated with the first SIM card and the value of the second state variable associated with the second SIM card; if the value of the first state variable is the set value, it determines the value of the first SIM card The state is connected. If the value of the first state variable is not the set value, it is determined that the state of the first SIM card is idle; if the value of the second state variable is the set value, the state of the second SIM card is determined to be connected If the value of the second state variable is not the set value, it is determined that the state of the second SIM card is the idle state.
其中,设定值例如有0、1或是其他值。Among them, the setting value is, for example, 0, 1, or other values.
可选地,所述第一协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼,包括:所述第一协议栈基于所述第一SIM卡的TMSI、所述第二SIM卡的TMSI、所述第一SIM卡的第一寻呼时机和所述第二SIM卡的第二寻呼时机监听寻呼。Optionally, the first protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card, including: the first protocol stack is based on the TMSI of the first SIM card, The TMSI of the second SIM card, the first paging occasion of the first SIM card, and the second paging occasion of the second SIM card monitor paging.
可选地,第二协议栈在向第一协议栈通知第二SIM卡的TMSI时,还向第一协议栈通知第二SIM卡的第二寻呼时机;或者,第二SIM卡的第二寻呼时机是第一协议栈确定的。Optionally, when the second protocol stack notifies the first protocol stack of the TMSI of the second SIM card, it also notifies the first protocol stack of the second paging occasion of the second SIM card; or, the second paging occasion of the second SIM card The paging occasion is determined by the first protocol stack.
其中,在LTE协议中,定义了承载寻呼消息的逻辑信道(paging control channel,PCCH)、传输信道(paging channel,PCH)和物理下行共享信道(physical down link shared channel,PDSCH),寻呼消息是由PCCH承载的,PCH的数据块又是由PDSCH信道来承载的,由于PDSCH是下行共享物理信道,所以除了可以承载PCH之外还可以承载下行共享信道(down link shared channel,DL-SCH),因此在接收寻呼消息之前,电子设备需要去监听物理下行控制信道(physical down link control channel,PDCCH),从而判断寻呼消息是否是发送给自己的。在一个不连续接收(discontinuous reception,DRX)周期内,电子设备可以只在寻呼时刻出现的时间位置上去接收PDCCH,然后在根据需要去接收PDSCH,而在其他时间可以睡眠,以达到省电的目的。Among them, in the LTE protocol, the logical channel (paging control channel, PCCH), the transmission channel (paging channel, PCH) and the physical downlink link shared channel (PDSCH) carrying paging messages are defined, and the paging message It is carried by the PCCH, and the data blocks of the PCH are carried by the PDSCH channel. Since the PDSCH is a downlink shared physical channel, in addition to carrying the PCH, it can also carry the downlink shared channel (DL-SCH) Therefore, before receiving the paging message, the electronic device needs to monitor the physical downlink control channel (PDCCH) to determine whether the paging message is sent to itself. In a discontinuous reception (DRX) cycle, the electronic device can only receive the PDCCH at the time position where the paging moment appears, and then receive the PDSCH as needed, and sleep at other times to achieve power saving Purpose.
其中,寻呼时机包括寻呼帧和寻呼时刻,在LTE的物理层协议中,无线帧帧号的重复周期是1024,因此每个无线帧的取值范围是0-1023,每个无线帧又被分为10个子帧,子帧的取值范围是0-9,电子设备需要先计算出所监听的PDCCH出现的寻呼帧,然后在计算出寻呼帧上的寻呼时刻,就可以精确地知道所监听的PDCCH的具体位置。Among them, the paging occasion includes the paging frame and the paging moment. In the LTE physical layer protocol, the repetition period of the frame number of the radio frame is 1024, so the value range of each radio frame is 0-1023, and each radio frame It is divided into 10 subframes. The value range of the subframes is 0-9. The electronic device needs to calculate the paging frame in the monitored PDCCH first, and then calculate the paging moment on the paging frame to be accurate Know the specific location of the monitored PDCCH.
其中,PF=SFN mod T=(T div N)*(UE_ID mod N),PF为寻呼帧,SFN为系统帧 号(即当前电子设备所在帧号),T=min(T1,T2),T1为核心网设置的寻呼周期,T2为无线侧(即无线接入网,如基站等)设置的寻呼周期,一般情况无线侧设置的寻呼周期小于核心网设置的寻呼周期,因此T默认等于无线侧设置的寻呼周期,无线侧设置的寻呼周期从系统消息2(SIB2)中读取,而T1从系统消息1(SIB1)的寻呼消息中获取。N=min(T,nB),nB从SIB2中读取,UE_ID为包含在SIB1的寻呼消息中,通过国际移动用户识别码(International Mobile Subscriber Identity,IMSI)模1024计算得到。Among them, PF=SFN mod T=(T div N)*(UE_ID mod N), PF is the paging frame, SFN is the system frame number (that is, the frame number of the current electronic device), T=min(T1, T2), T1 is the paging cycle set by the core network, and T2 is the paging cycle set by the wireless side (ie, wireless access network, such as base station, etc.). Generally, the paging cycle set by the wireless side is less than the paging cycle set by the core network, so T is equal to the paging cycle set by the wireless side by default. The paging cycle set by the wireless side is read from the system message 2 (SIB2), and T1 is obtained from the paging message of the system message 1 (SIB1). N=min(T, nB), nB is read from SIB2, UE_ID is included in the paging message of SIB1, and is calculated by the International Mobile Subscriber Identity (IMSI) modulo 1024.
其中,寻呼时刻为寻呼帧所在位置对应的子帧号,该时刻是通过Ns与i-s的对应关系确定的,Ns=max(1,nB/T)。i_s=floor(UE_ID/N)mod Ns。对应关系如表1和表2所示,表1为FDD模式对应的对应关系,表2为TDD模式对应的对应关系。The paging moment is the subframe number corresponding to the position of the paging frame, and the moment is determined by the correspondence relationship between Ns and i-s, Ns=max(1, nB/T). i_s=floor(UE_ID/N) mod Ns. The corresponding relationship is shown in Table 1 and Table 2. Table 1 is the corresponding relationship of the FDD mode, and Table 2 is the corresponding relationship of the TDD mode.
表1Table 1
Figure PCTCN2021088780-appb-000001
Figure PCTCN2021088780-appb-000001
表2Table 2
Figure PCTCN2021088780-appb-000002
Figure PCTCN2021088780-appb-000002
可以看出,在本申请实施例中,第二协议栈第二SIM卡的TMSI告诉给第一协议栈,第一协议栈同时监听第一SIM卡和第二SIM卡的寻呼消息,降低了移动射频模块切换频率,进而提升了通信性能。It can be seen that in the embodiment of this application, the TMSI of the second SIM card of the second protocol stack is notified to the first protocol stack, and the first protocol stack monitors the paging messages of the first SIM card and the second SIM card at the same time, which reduces The mobile radio frequency module switches the frequency, thereby improving the communication performance.
在本申请的一实现方式中,所述方法还包括:In an implementation manner of the present application, the method further includes:
在第一协议栈向第二协议栈通知第二SIM卡有来电时,所述第一协议栈还向第二协议栈通知所述第一SIM卡的TMSI。When the first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, the first protocol stack also notifies the second protocol stack of the TMSI of the first SIM card.
或者,所述第二协议栈执行第一射频切换操作之后,所述方法还包括:Alternatively, after the second protocol stack performs the first radio frequency switching operation, the method further includes:
所述第一协议栈向第二协议栈通知所述第一SIM卡的TMSI。The first protocol stack notifies the second protocol stack of the TMSI of the first SIM card.
可选地,所述第二协议栈执行第一射频切换操作之后,所述方法还包括:Optionally, after the second protocol stack performs the first radio frequency switching operation, the method further includes:
第二协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼;The second protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card;
若监听到所述第一SIM卡的寻呼消息,则所述第二协议栈向所述第一协议栈通知所述第一SIM卡有来电;If the paging message of the first SIM card is monitored, the second protocol stack notifies the first protocol stack that the first SIM card has an incoming call;
所述第一协议栈执行第二射频切换操作,所述第二射频切换操作用于将所述移动射频模块从与所述第二SIM卡通信连接切换至与所述第一SIM卡通信连接。The first protocol stack performs a second radio frequency switching operation, and the second radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the second SIM card to a communication connection with the first SIM card.
其中,第一协议栈执行第二射频切换操作,包括:第一协议栈通过modem通知处理器执行射频切换操作,以使得处理器通过电子开关连接第一SIM卡,以及通过电子开关断开与第二SIM卡的连接,达到将移动射频模块从与第二SIM卡通信连接切换至与第一SIM卡通信连接。Wherein, the first protocol stack performing the second radio frequency switching operation includes: the first protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the first SIM card through the electronic switch, and disconnects from the first SIM card through the electronic switch. The connection of the two SIM cards achieves the switching of the mobile radio frequency module from the communication connection with the second SIM card to the communication connection with the first SIM card.
其中,所述第二协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼,包括:Wherein, the second protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card, including:
第二协议栈基于所述第一SIM卡的TMSI、所述第二SIM卡的TMSI、所述第一SIM卡的第三寻呼时机和所述第二SIM卡的第四寻呼时机监听寻呼。The second protocol stack is based on the TMSI of the first SIM card, the TMSI of the second SIM card, the third paging occasion of the first SIM card, and the fourth paging occasion of the second SIM card. call.
其中,第一协议栈在向第二协议栈通知第一SIM卡的TMSI时,还向第二协议栈通知第一SIM卡的第三寻呼时机;或者,第一SIM卡的第三寻呼时机是第二协议栈确定的。Wherein, when the first protocol stack notifies the second protocol stack of the TMSI of the first SIM card, it also notifies the second protocol stack of the third paging occasion of the first SIM card; or, the third paging occasion of the first SIM card The timing is determined by the second protocol stack.
可以看出,在本申请实施例中,在射频切换之后,第二协议栈同时监听第一SIM卡和第二SIM卡的寻呼消息,降低了移动射频模块切换频率,进而提升了通信性能。It can be seen that, in the embodiment of the present application, after the radio frequency switch, the second protocol stack simultaneously monitors the paging messages of the first SIM card and the second SIM card, which reduces the switching frequency of the mobile radio module, thereby improving the communication performance.
在本申请的一实现方式中,所述第一协议栈接收所述第二SIM卡的寻呼消息之前,所述方法还包括:In an implementation manner of the present application, before the first protocol stack receives the paging message of the second SIM card, the method further includes:
所述第一协议栈向网络设备发送第一信令,所述第一信令携带所述第一SIM卡的TMSI和所述第二SIM卡的TMSI,所述第一信令用于通知两个TMSI属于同一电子设备;The first protocol stack sends first signaling to the network device, the first signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the first signaling is used to notify the two Each TMSI belongs to the same electronic device;
所述第一协议栈接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈接收所述网络设备发送的第二信令,所述第二信令携带所述第二SIM卡的寻呼消息。The first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack receiving second signaling sent by the network device, the second signaling carrying the second SIM The page message of the card.
可选地,所述第一协议栈向网络设备发送第一信令之前,所述方法还包括:所述第二协议栈向所述第一协议栈通知所述第二SIM卡的TMSI。Optionally, before the first protocol stack sends the first signaling to the network device, the method further includes: the second protocol stack notifies the first protocol stack of the TMSI of the second SIM card.
可选地,所述第一SIM卡处于连接态,所述第二SIM卡处于空闲态。Optionally, the first SIM card is in a connected state, and the second SIM card is in an idle state.
其中,第一信令为新增信令,例如是TMSI组合(combination)信令。Among them, the first signaling is newly added signaling, for example, TMSI combination signaling.
其中,第二信令为无线资源控制(Radio Resource Control,RRC)连接信令,也就是说,网络设备有第二SIM卡的寻呼消息需要下发时,网络设备可通过第一SIM卡的RRC连接信令下发。Among them, the second signaling is radio resource control (Radio Resource Control, RRC) connection signaling, that is, when the network device has a paging message for the second SIM card to be sent, the network device can use the first SIM card to send a paging message. RRC connection signaling is issued.
其中,网络设备是一种部署在无线接入网用以提供无线通信功能的设备。例如,网络设备可以是蜂窝网络中接入网侧的无线接入网(Radio Access Network,RAN)设备,所谓RAN设备即是一种将终端设备接入到无线网络的设备,包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(Base Station Controller,BSC)、基站收发台(Base Transceiver Station,BTS)、家庭基站(例如,Home evolved Node B,或Home Node B,HNB)、基带单元(Base Band Unit,BBU)、管理实体(Mobility Management Entity,MME);再例如,网络设备也可以是无线局域网(Wireless Local Area Network,WLAN)中的节点设备,例如接入控制器(access controller,AC),网关,或WIFI接入点(Access Point,AP);再例如,网络设备也可以是NR系统中的传输节点或收发点(transmission reception point,TRP或TP)等。Among them, a network device is a device deployed on a wireless access network to provide wireless communication functions. For example, the network device may be a Radio Access Network (RAN) device on the access network side of a cellular network. The so-called RAN device is a device that connects terminal devices to the wireless network, including but not limited to: Evolved Node B (evolved Node B, eNB), Radio Network Controller (RNC), Node B (Node B, NB), Base Station Controller (BSC), Base Transceiver (Base Transceiver) Station, BTS), home base station (for example, Home evolved Node B, or Home Node B, HNB), base band unit (BBU), management entity (Mobility Management Entity, MME); for another example, network equipment can also be It is a node device in a wireless local area network (WLAN), such as an access controller (AC), a gateway, or a WIFI access point (Access Point, AP); for another example, the network device can also be The transmission node or the receiving and dispatching point (TRP or TP) in the NR system.
可以看出,在本申请实施例中,第一协议栈向网络设备通知第一SIM卡的TMSI和第二SIM卡的TMSI,以及通知网络设备这两个TMSI属于同一电子设备,以使得网络设备将两个TMSI作绑定,这样在第一SIM卡处于连接态下,如果有第二SIM卡的寻呼消息,网络设备可直接下发给第一协议栈,降低了移动射频模块切换频率,进而提升了通信性能。It can be seen that in this embodiment of the application, the first protocol stack notifies the network device of the TMSI of the first SIM card and the TMSI of the second SIM card, and notifies the network device that the two TMSIs belong to the same electronic device, so that the network device Bind the two TMSIs so that when the first SIM card is in the connected state, if there is a paging message from the second SIM card, the network device can directly send it to the first protocol stack, which reduces the switching frequency of the mobile radio module. In turn, the communication performance is improved.
在本申请的一实现方式中,所述第二协议栈执行第一射频切换操作之后,所述方法还包括:In an implementation manner of the present application, after the second protocol stack performs the first radio frequency switching operation, the method further includes:
所述第二协议栈向网络设备发送第三信令,所述第三信令携带所述第一SIM卡的TMSI和所述第二SIM卡的TMSI,所述第三信令用于通知两个TMSI属于同一电子设备;The second protocol stack sends third signaling to the network device, the third signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the third signaling is used to notify the two Each TMSI belongs to the same electronic device;
所述第二协议栈接收所述网络设备发送的第四信令,所述第四信令携带所述第一SIM卡的寻呼消息;Receiving, by the second protocol stack, fourth signaling sent by the network device, where the fourth signaling carries a paging message of the first SIM card;
所述第二协议栈向所述第一协议栈通知所述第一SIM卡有来电;The second protocol stack notifies the first protocol stack that the first SIM card has an incoming call;
所述第一协议栈执行第三射频切换操作,所述第三射频切换操作用于将所述移动射频模块从与所述第二SIM卡通信连接切换至与所述第一SIM卡通信连接。The first protocol stack performs a third radio frequency switching operation, and the third radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the second SIM card to a communication connection with the first SIM card.
可选地,所述第二协议栈向网络设备发送第三信令之前,所述方法还包括:所述第一协议栈向所述第二协议栈通知所述第一SIM卡的TMSI。Optionally, before the second protocol stack sends the third signaling to the network device, the method further includes: the first protocol stack notifies the second protocol stack of the TMSI of the first SIM card.
其中,第一协议栈执行第三射频切换操作,包括:第一协议栈通过modem通知处理器执行射频切换操作,以使得处理器通过电子开关连接第一SIM卡,以及通过电子开关断开与第二SIM卡的连接,达到将移动射频模块从与第二SIM卡通信连接切换至与第一SIM卡通信连接。Wherein, the first protocol stack performing the third radio frequency switching operation includes: the first protocol stack notifies the processor to perform the radio frequency switching operation through the modem, so that the processor connects to the first SIM card through the electronic switch, and disconnects from the first SIM card through the electronic switch. The connection of the two SIM cards achieves the switching of the mobile radio frequency module from the communication connection with the second SIM card to the communication connection with the first SIM card.
其中,第三信令为新增信令,例如是TMSI组合(combination)信令。Among them, the third signaling is newly-added signaling, such as TMSI combination signaling.
其中,第四信令为无线资源控制(Radio Resource Control,RRC)连接信令,也就是说,网络设备有第一SIM卡的寻呼消息需要下发时,网络设备可通过第二SIM卡的RRC连接信令下发。Among them, the fourth signaling is radio resource control (Radio Resource Control, RRC) connection signaling, that is, when the network device has a paging message of the first SIM card that needs to be sent, the network device can use the second SIM card to send a paging message. RRC connection signaling is issued.
可以看出,在本申请实施例中,在射频切换之后,第二协议栈向网络设备通知第一SIM卡的TMSI和第二SIM卡的TMSI,以及通知网络设备这两个TMSI属于同一电子设备,以使得网络设备将两个TMSI作绑定,这样在第二SIM卡处于连接态下,如果有第一SIM卡的寻呼消息,网络设备可直接下发给第二协议栈,降低了移动射频模块切换频率,进而提升了通信性能。It can be seen that in this embodiment of the application, after the radio frequency switch, the second protocol stack notifies the network device of the TMSI of the first SIM card and the TMSI of the second SIM card, and notifies the network device that the two TMSIs belong to the same electronic device , So that the network device binds the two TMSIs, so that when the second SIM card is in the connected state, if there is a paging message from the first SIM card, the network device can directly send to the second protocol stack, which reduces the mobility The radio frequency module switches the frequency, thereby improving the communication performance.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the above-mentioned functions, an electronic device includes hardware and/or software modules corresponding to each function. In combination with the algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the electronic device can be divided into functional modules according to the foregoing method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图5示出了射频切换装置的示意图,如图5所示,该射频切换装置500应用于电子设备,该射频切换装置500可以包括:第一协议栈501和第二协议栈502。In the case of dividing each functional module corresponding to each function, FIG. 5 shows a schematic diagram of a radio frequency switching device. As shown in FIG. 5, the radio frequency switching device 500 is applied to electronic equipment. The radio frequency switching device 500 may include: Protocol stack 501 and second protocol stack 502.
其中,第一协议栈501可以用于支持电子设备执行上述步骤401、步骤402等,和/或用于本文所描述的技术的其他过程。Wherein, the first protocol stack 501 may be used to support the electronic device to execute the above steps 401, 402, etc., and/or other processes used in the technology described herein.
第二协议栈502可以用于支持电子设备执行上述步骤403等,和/或用于本文所描述的技术的其他过程。The second protocol stack 502 may be used to support the electronic device to perform the above-mentioned step 403, etc., and/or other processes used in the technology described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
本实施例提供的电子设备,用于执行上述位置确定方法,因此可以达到与上述实现方法相同的效果。The electronic device provided in this embodiment is used to execute the above-mentioned location determination method, and therefore can achieve the same effect as the above-mentioned implementation method.
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述第一协议栈501和第二协议栈502执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。In the case of an integrated unit, the electronic device may include a processing module, a storage module, and a communication module. The processing module can be used to control and manage the actions of the electronic device, for example, can be used to support the electronic device to execute the steps performed by the first protocol stack 501 and the second protocol stack 502 described above. The storage module can be used to support the electronic device to execute the storage program code and data. The communication module can be used to support the communication between electronic devices and other devices.
其中,处理模块可以是处理器、控制器或modem。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。Among them, the processing module can be a processor, a controller, or a modem. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
在一个实施例中,当处理模块为处理器或modem,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。In an embodiment, when the processing module is a processor or a modem, and the storage module is a memory, the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1.
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的射频切换方法。This embodiment also provides a computer storage medium that stores computer instructions that, when the computer instructions run on an electronic device, cause the electronic device to execute the above-mentioned related method steps to implement the radio frequency switching method in the above-mentioned embodiment.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的射频切换方法This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the above-mentioned related steps to realize the radio frequency switching method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的位置确定方法。In addition, the embodiments of the present application also provide a device. The device may specifically be a chip, component, or module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the position determination method in the foregoing method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated to different functions as required. The function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components can be combined or It can be integrated into another device, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate, and the parts displayed as a unit may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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 solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation manners of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Covered in the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种射频切换方法,应用于电子设备,其特征在于,所述电子设备包括第一用户身份识别SIM卡、第二用户身份识别SIM卡和移动射频模块;所述方法包括:A radio frequency switching method applied to an electronic device, characterized in that the electronic device includes a first user identification SIM card, a second user identification SIM card, and a mobile radio frequency module; the method includes:
    第一协议栈接收所述第二SIM卡的寻呼消息,所述第一协议栈为所述第一SIM卡的协议栈;A first protocol stack receives a paging message of the second SIM card, where the first protocol stack is a protocol stack of the first SIM card;
    所述第一协议栈向第二协议栈通知所述第二SIM卡有来电,所述第二协议栈为所述第二SIM卡的协议栈;The first protocol stack notifies the second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
    所述第二协议栈执行第一射频切换操作,所述第一射频切换操作用于将所述移动射频模块从与所述第一SIM卡通信连接切换至与所述第二SIM卡通信连接。The second protocol stack performs a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the first SIM card to a communication connection with the second SIM card.
  2. 根据权利要求1所述的方法,其特征在于,所述第一协议栈接收所述第二SIM卡的寻呼消息之前,所述方法还包括:The method according to claim 1, wherein before the first protocol stack receives the paging message of the second SIM card, the method further comprises:
    所述第二协议栈向所述第一协议栈通知所述第二SIM卡的临时移动用户识别码TMSI;The second protocol stack notifies the first protocol stack of the temporary mobile subscriber identification code TMSI of the second SIM card;
    所述第一协议栈接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼,以接收到所述第二SIM卡的寻呼消息。The first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack monitors the paging based on the TMSI of the first SIM card and the TMSI of the second SIM card to receive Paging message to the second SIM card.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一SIM卡和所述第二SIM卡均处于空闲态。The method according to claim 1 or 2, wherein the first SIM card and the second SIM card are both in an idle state.
  4. 根据权利要求1所述的方法,其特征在于,所述第一协议栈接收所述第二SIM卡的寻呼消息之前,所述方法还包括:The method according to claim 1, wherein before the first protocol stack receives the paging message of the second SIM card, the method further comprises:
    所述第一协议栈向网络设备发送第一信令,所述第一信令携带所述第一SIM卡的TMSI和所述第二SIM卡的TMSI,所述第一信令用于通知两个TMSI属于同一电子设备;The first protocol stack sends first signaling to the network device, the first signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the first signaling is used to notify the two Each TMSI belongs to the same electronic device;
    所述第一协议栈接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈接收所述网络设备发送的第二信令,所述第二信令携带所述第二SIM卡的寻呼消息。The first protocol stack receiving the paging message of the second SIM card includes: the first protocol stack receiving second signaling sent by the network device, the second signaling carrying the second SIM The page message of the card.
  5. 根据权利要求1或4所述的方法,其特征在于,所述第一SIM卡处于连接态,所述第二SIM卡处于空闲态。The method according to claim 1 or 4, wherein the first SIM card is in a connected state, and the second SIM card is in an idle state.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述第一SIM卡和所述第二SIM卡的运营商相同。The method according to any one of claims 1-5, wherein the operators of the first SIM card and the second SIM card are the same.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一协议栈支持5G新空口NR协议、长期演进LTE协议、带宽码分多址WSDMA协议、时分同步的码分多址TD-SCDMA协议、码分多址CDMA协议、全球移动通信系统GSM中的其中一种;The method according to any one of claims 1-6, wherein the first protocol stack supports 5G new air interface NR protocol, long-term evolution LTE protocol, bandwidth code division multiple access WSDMA protocol, time division synchronization code division multiple One of the TD-SCDMA protocol, code division multiple access CDMA protocol, and global system for mobile communication GSM;
    所述第二协议栈支持5G NR协议、LTE协议、WSDMA协议、TD-SCDMA协议、CDMA协议、GSM中的其中一种。The second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
  8. 根据权利要求1所述的方法,其特征在于,在所述第二协议栈执行第一射频切换操作之后,所述方法还包括:The method according to claim 1, wherein after the second protocol stack performs the first radio frequency switching operation, the method further comprises:
    所述第一协议栈向所述第二协议栈通知所述第一SIM卡的TMSI。The first protocol stack notifies the second protocol stack of the TMSI of the first SIM card.
  9. 根据权利要求1所述的方法,其特征在于,所述第二协议栈执行第一射频切换操作之后,所述方法还包括:The method according to claim 1, wherein after the second protocol stack performs the first radio frequency switching operation, the method further comprises:
    所述第二协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼;The second protocol stack monitors paging based on the TMSI of the first SIM card and the TMSI of the second SIM card;
    若监听到所述第一SIM卡的寻呼消息,则所述第二协议栈向所述第一协议栈通知所述第一SIM卡有来电;If the paging message of the first SIM card is monitored, the second protocol stack notifies the first protocol stack that the first SIM card has an incoming call;
    所述第一协议栈执行第二射频切换操作,所述第二射频切换操作用于将所述移动射频模块从与所述第二SIM卡通信连接切换至与所述第一SIM卡通信连接。The first protocol stack performs a second radio frequency switching operation, and the second radio frequency switching operation is used to switch the mobile radio frequency module from a communication connection with the second SIM card to a communication connection with the first SIM card.
  10. 一种射频切换装置,应用于电子设备,其特征在于,所述电子设备包括第一用户身份识别SIM卡、第二用户身份识别SIM卡和移动射频模块;所述装置包括:A radio frequency switching device applied to electronic equipment, wherein the electronic equipment includes a first user identification SIM card, a second user identification SIM card, and a mobile radio frequency module; the device includes:
    第一协议栈,用于接收所述第二SIM卡的寻呼消息,所述第一协议栈为所述第一SIM卡的协议栈;A first protocol stack, configured to receive a paging message of the second SIM card, and the first protocol stack is a protocol stack of the first SIM card;
    所述第一协议栈,还用于向第二协议栈通知所述第二SIM卡有来电,所述第二协议栈为所述第二SIM卡的协议栈;The first protocol stack is further configured to notify a second protocol stack that the second SIM card has an incoming call, and the second protocol stack is the protocol stack of the second SIM card;
    所述第二协议栈,用于执行第一射频切换操作,所述第一射频切换操作用于将所述移动射频模块从与所述第一SIM卡通信连接切换至与所述第二SIM卡通信连接。The second protocol stack is used to perform a first radio frequency switching operation, and the first radio frequency switching operation is used to switch the mobile radio frequency module from communicating with the first SIM card to communicating with the second SIM card Communication connection.
  11. 根据权利要求10所述的装置,其特征在于,所述第一协议栈接收所述第二SIM卡的寻呼消息之前;The apparatus according to claim 10, wherein before the first protocol stack receives the paging message of the second SIM card;
    所述第二协议栈,还用于向所述第一协议栈通知所述第二SIM卡的临时移动用户识别码TMSI;The second protocol stack is further configured to notify the first protocol stack of the temporary mobile subscriber identification code TMSI of the second SIM card;
    所述第一协议栈,还用于接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼,以接收到所述第二SIM卡的寻呼消息。The first protocol stack is further configured to receive the paging message of the second SIM card, including: the first protocol stack monitors the paging message based on the TMSI of the first SIM card and the TMSI of the second SIM card. Call to receive the paging message of the second SIM card.
  12. 根据权利要求10或11所述的装置,其特征在于,所述第一SIM卡和所述第二SIM卡均处于空闲态。The device according to claim 10 or 11, wherein the first SIM card and the second SIM card are both in an idle state.
  13. 根据权利要求10所述的装置,其特征在于,所述第一协议栈接收所述第二SIM卡的寻呼消息之前;The apparatus according to claim 10, wherein before the first protocol stack receives the paging message of the second SIM card;
    所述第一协议栈,用于向网络设备发送第一信令,所述第一信令携带所述第一SIM卡的TMSI和所述第二SIM卡的TMSI,所述第一信令用于通知两个TMSI属于同一电子设备;The first protocol stack is configured to send first signaling to a network device, where the first signaling carries the TMSI of the first SIM card and the TMSI of the second SIM card, and the first signaling uses To notify that the two TMSIs belong to the same electronic device;
    所述第一协议栈,用于接收所述第二SIM卡的寻呼消息,包括:所述第一协议栈接收所述网络设备发送的第二信令,所述第二信令携带所述第二SIM卡的寻呼消息。The first protocol stack, configured to receive the paging message of the second SIM card, includes: the first protocol stack receives second signaling sent by the network device, and the second signaling carries the Paging message of the second SIM card.
  14. 根据权利要求10或13所述的装置,其特征在于,所述第一SIM卡处于连接态,所述第二SIM卡处于空闲态。The device according to claim 10 or 13, wherein the first SIM card is in a connected state, and the second SIM card is in an idle state.
  15. 根据权利要求10-14任一项所述的装置,其特征在于,所述第一SIM卡和所述第二SIM卡的运营商相同。The device according to any one of claims 10-14, wherein the operators of the first SIM card and the second SIM card are the same.
  16. 根据权利要求10-15任一项所述的装置,其特征在于,所述第一协议栈支持5G新空口NR协议、长期演进LTE协议、带宽码分多址WSDMA协议、时分同步的码分多址TD-SCDMA协议、码分多址CDMA协议、全球移动通信系统GSM中的其中一种;The device according to any one of claims 10-15, wherein the first protocol stack supports 5G new air interface NR protocol, long-term evolution LTE protocol, bandwidth code division multiple access WSDMA protocol, time division synchronization code division multiple One of the TD-SCDMA protocol, code division multiple access CDMA protocol, and global system for mobile communication GSM;
    所述第二协议栈支持5G NR协议、LTE协议、WSDMA协议、TD-SCDMA协议、CDMA协议、GSM中的其中一种。The second protocol stack supports one of 5G NR protocol, LTE protocol, WSDMA protocol, TD-SCDMA protocol, CDMA protocol, and GSM.
  17. 根据权利要求10所述的装置,其特征在于,在所述第二协议栈执行第一射频切换操作之后;The apparatus according to claim 10, wherein after the second protocol stack performs the first radio frequency switching operation;
    所述第一协议栈,还用于向所述第二协议栈通知所述第一SIM卡的TMSI。The first protocol stack is also used to notify the second protocol stack of the TMSI of the first SIM card.
  18. 根据权利要求10所述的装置,其特征在于,所述第二协议栈执行第一射频切换操作之后;The apparatus according to claim 10, wherein after the second protocol stack performs the first radio frequency switching operation;
    所述第二协议栈,还用于基于所述第一SIM卡的TMSI和所述第二SIM卡的TMSI监听寻呼;The second protocol stack is also used to monitor paging based on the TMSI of the first SIM card and the TMSI of the second SIM card;
    若监听到所述第一SIM卡的寻呼消息,则所述第二协议栈还用于向所述第一协议栈通知所述第一SIM卡有来电;If the paging message of the first SIM card is monitored, the second protocol stack is also used to notify the first protocol stack that the first SIM card has an incoming call;
    所述第一协议栈,用于执行第二射频切换操作,所述第二射频切换操作用于将所述移 动射频模块从与所述第二SIM卡通信连接切换至与所述第一SIM卡通信连接。The first protocol stack is used to perform a second radio frequency switching operation, and the second radio frequency switching operation is used to switch the mobile radio frequency module from communicating with the second SIM card to communicating with the first SIM card Communication connection.
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, characterized by comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method according to any one of claims 1-9.
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
PCT/CN2021/088780 2020-06-02 2021-04-21 Radio-frequency switching method and apparatus WO2021244175A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010489928.6A CN111698741B (en) 2020-06-02 2020-06-02 Radio frequency switching method and device
CN202010489928.6 2020-06-02

Publications (1)

Publication Number Publication Date
WO2021244175A1 true WO2021244175A1 (en) 2021-12-09

Family

ID=72479257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/088780 WO2021244175A1 (en) 2020-06-02 2021-04-21 Radio-frequency switching method and apparatus

Country Status (2)

Country Link
CN (1) CN111698741B (en)
WO (1) WO2021244175A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117494746A (en) * 2020-10-21 2024-02-02 华为技术有限公司 Analog card switching method, electronic equipment and communication system
CN114584966B (en) * 2020-11-30 2023-07-28 华为技术有限公司 Sharing method of radio frequency channels and related device
CN117121580A (en) * 2021-04-21 2023-11-24 Oppo广东移动通信有限公司 Multi-card terminal equipment cooperative communication method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219373A (en) * 2013-05-31 2014-12-17 深圳富泰宏精密工业有限公司 Dual-mode cell phone, and system and method for controlling communication of dual-mode cell phone
US20160234782A1 (en) * 2015-02-06 2016-08-11 Apple Inc. Power Reduction Techniques for Dual-SIM Devices
CN108024334A (en) * 2012-11-29 2018-05-11 英特尔德国有限责任公司 mobile wireless device and operating method
US20180220329A1 (en) * 2017-01-28 2018-08-02 Qualcomm Incorporated System and Methods for Improving Performance in a Multi-SIM Wireless Communication Device Using Voice-Over-Wireless Local Area Network Service
CN110677900A (en) * 2019-09-21 2020-01-10 RealMe重庆移动通信有限公司 Paging processing method and related device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731889B (en) * 2012-10-16 2016-12-21 中兴通讯股份有限公司 Realize the method and device of mobile terminal dual-card dual-standby dual-pass
CN105101164A (en) * 2015-07-23 2015-11-25 努比亚技术有限公司 Dual-card dual-standby terminal and data communication method
CN106714140B (en) * 2016-12-09 2020-08-14 宇龙计算机通信科技(深圳)有限公司 Communication method and mobile terminal
CN106535331B (en) * 2016-12-26 2020-07-14 惠州Tcl移动通信有限公司 Communication method and system of dual-card dual-standby mobile phone
JP6935516B2 (en) * 2017-05-17 2021-09-15 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information transmission method and related products

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024334A (en) * 2012-11-29 2018-05-11 英特尔德国有限责任公司 mobile wireless device and operating method
CN104219373A (en) * 2013-05-31 2014-12-17 深圳富泰宏精密工业有限公司 Dual-mode cell phone, and system and method for controlling communication of dual-mode cell phone
US20160234782A1 (en) * 2015-02-06 2016-08-11 Apple Inc. Power Reduction Techniques for Dual-SIM Devices
US20180220329A1 (en) * 2017-01-28 2018-08-02 Qualcomm Incorporated System and Methods for Improving Performance in a Multi-SIM Wireless Communication Device Using Voice-Over-Wireless Local Area Network Service
CN110677900A (en) * 2019-09-21 2020-01-10 RealMe重庆移动通信有限公司 Paging processing method and related device

Also Published As

Publication number Publication date
CN111698741A (en) 2020-09-22
CN111698741B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
US20220191682A1 (en) Network Access Card Switching Method and Electronic Device
EP3872609B1 (en) Application display method and electronic device
WO2021244175A1 (en) Radio-frequency switching method and apparatus
US11683850B2 (en) Bluetooth reconnection method and related apparatus
US11451946B2 (en) Method for establishing wireless communication connection, and device
CN111182614B (en) Method and device for establishing network connection and electronic equipment
WO2021223539A1 (en) Radio frequency resource allocation method and apparatus
JP2021520092A (en) Interception method and terminal for uplink transmission cancellation instruction
EP3902328A1 (en) Network searching method, and terminal device
US20230297414A1 (en) Task Processing Method and Related Apparatus
CN113115439A (en) Positioning method and related equipment
US20220408281A1 (en) Method for Adjusting Quantity of Data Streams, Terminal, and MIMO System
CN113115460B (en) Time slot selection method and related equipment
CN111200557A (en) Connection establishing method and terminal equipment
US20210345432A1 (en) Wireless communication method and terminal device
WO2022100238A1 (en) Positioning method, apparatus and system, and electronic device and storage medium
WO2021073183A1 (en) Always on display method and mobile device
CN111930787A (en) Synchronization method and device
KR102524305B1 (en) Connection establishment method and terminal device
US20150063337A1 (en) Method for controlling transmission speed and electronic device thereof
KR102301895B1 (en) radio communication method and apparatus supporting multiple communication services
US20230087282A1 (en) Dual wi-fi connection method and electronic device
WO2023029983A1 (en) Control content dragging method and system, and electronic device
CN113056037A (en) Network identifier display method, equipment and system
CN114915996A (en) Communication exception handling method and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21817928

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21817928

Country of ref document: EP

Kind code of ref document: A1