Frequency sweeping method and electronic equipment
By dynamically adjusting the number of search frequency points of the second SIM card, the impact on the first SIM card when searching for frequency points is solved, and the search speed and users are improved according to the conflict between the radio frequency resources of the first SIM card and the second SIM card are improved. Experience.
Patent Information
- Application Number
- CN202310876004.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-14
- Publication Date
- 2025-01-14
AI Technical Summary
In electronic devices that support dual-stop storage, dual-receiving and dual-standby storage, the second SIM card may affect the reception rate of the first SIM card when searching for frequency points, resulting in poor user experience on the Internet and the search time is too long or too short.
By dynamically adjusting the number of frequency points of the second SIM card in a single frequency point search period, the number of search frequency points is determined based on whether the radio frequency resources of the first SIM card and the second SIM card conflict, and periodically occupying the radio frequency resource search frequency to shorten the search time or reduce the impact on the first SIM card.
The network search speed of the second SIM card is improved, the impact on the first SIM card receiving downlink signals is reduced, and the user experience is improved.
Smart Images

Figure CN119316822A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a frequency scanning method and electronic equipment. Background Art
[0002] At present, electronic devices supporting dual receive dual SIM dual standby (DRDSDS) include multiple subscriber identification card (subscriber identity module (SIM) card) interfaces. Each SIM card interface can be inserted with a SIM card. In other words, multiple SIM cards can be inserted into the electronic device at the same time.
[0003] Take the example of the electronic device having the first SIM card and the second SIM card inserted at the same time. Among them, the first SIM card is used to occupy the first radio frequency resource to receive the downlink signal, and the second SIM card is used to occupy the second radio frequency resource to search the frequency point. Usually, when the second SIM card occupies the second radio frequency resource to search the frequency point, the number of searched frequencies in each frequency search cycle is fixed. If the number of searched frequencies in a frequency search cycle is small, it will cause the second SIM card to have a long network search time. If the number of searched frequencies in a frequency search cycle is large, the radio frequency resources of the first SIM card may be occupied for a long time, which will affect the receiving rate of the first SIM card and cause the user's Internet experience to be poor. Summary of the invention
[0004] The present application provides a frequency scanning method and an electronic device, which are used to dynamically adjust the number of search frequencies of one SIM card in an electronic device including multiple SIM cards, thereby shortening the network search time of the SIM card, or reducing the impact of the SIM card searching for frequencies on the receiving rates of other SIM cards.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, a frequency scanning method is provided, which is applied to an electronic device supporting dual-SIM dual-receiving and dual-standby. The electronic device includes a first SIM card and a second SIM card. The first SIM card is used to occupy a first radio frequency resource to receive a downlink signal, and the second SIM card is used to occupy a second radio frequency resource to search for a frequency point. The method may include: first, the electronic device determines the number of frequency points searched by the second SIM card in a single frequency point search cycle according to whether the first radio frequency resource conflicts with the second radio frequency resource; then, the electronic device periodically occupies the second radio frequency resource to search for a frequency point according to the number of frequency points searched by the second SIM card in a single frequency point search cycle.
[0007] In the frequency scanning method adopted in the present application, the number of frequency points that the electronic device periodically occupies to search for the second radio frequency resource is determined based on whether the first radio frequency resource occupied by the first SIM card and the second radio frequency resource occupied by the second SIM card conflict. Based on this, the electronic device can dynamically adjust the number of frequency points when occupying different second radio frequency resources to search for frequency points, thereby shortening the network search time of the second SIM card, or reducing the impact of the second SIM card searching for frequency points on the receiving rate of the first SIM card.
[0008] In a possible implementation manner of the first aspect, the determining, according to whether the first radio frequency resource conflicts with the second radio frequency resource, the number of frequency points searched by the second SIM card in a single frequency search period includes: if the first radio frequency resource conflicts with the second radio frequency resource, the electronic device determines that the number of frequency points searched by the second SIM card in the single frequency search period is a first number; if the first radio frequency resource does not conflict with the second radio frequency resource, the electronic device determines that the number of frequency points searched by the second SIM card in the single frequency search period is a second number, and the second number is greater than the first number.
[0009] That is to say, when the first radio frequency resource does not conflict with the second radio frequency resource, the second SIM card will not affect the first SIM card receiving downlink signals when searching for frequencies, so the number of frequencies searched by the second SIM card in a single frequency search cycle can be increased, that is, the second SIM card searches for a larger number of frequencies in a single frequency search cycle. In this way, the network search time of the second SIM card can be shortened, thereby improving the network search speed. When the first radio frequency resource conflicts with the second radio frequency resource, the second SIM card will affect the first SIM card receiving downlink signals when searching for frequencies, so the number of frequencies searched by the second SIM card in a single frequency search cycle can be reduced, that is, the second SIM card searches for a smaller number of frequencies in a single frequency search cycle. In this way, the influence of the second SIM card on the receiving rate of the first SIM card when receiving downlink signals can be reduced.
[0010] In a possible implementation manner of the first aspect, the above-mentioned periodic occupation of the second radio frequency resource to search for frequencies according to the number of search frequencies includes: within a single frequency search period, the electronic device occupies the second radio frequency resource to search for the first number of frequencies or the second number of frequencies.
[0011] In a possible implementation manner of the first aspect, the first SIM card is in a connected state, and the second SIM card is in an idle state.
[0012] The second SIM card searching for a frequency point can also be understood as: the second SIM card is receiving a downlink signal. The first SIM card is in a connected state and can perform data transmission (including sending uplink signals and receiving downlink signals) at any time. Since the second SIM card is in an idle state, when the second SIM card performs data transmission, it needs to switch to a connected state first.
[0013] In a possible implementation of the first aspect, the conflict between the first radio frequency resource and the second radio frequency resource refers to that the first SIM card and the second SIM card are in a radio frequency channel diversity turn away (DTA) mode. The conflict between the first radio frequency resource and the second radio frequency resource refers to that the first SIM card and the second SIM card are in a radio frequency channel full concurrency (FC) mode.
[0014] Specifically, when the first SIM card and the second SIM card are in the full concurrent mode of the radio frequency path, the second SIM card will not occupy the radio frequency path of the first SIM card when searching for the frequency point, so the second SIM card will not affect the first SIM card receiving the downlink signal when searching for the frequency point, so the number of frequency points searched by the second SIM card in a single frequency point search cycle can be increased, that is, the number of frequency points searched by the second SIM card in a single frequency point search cycle is large. In this way, the network search time of the second SIM card can be shortened, thereby improving the network search speed.
[0015] When the first SIM card and the second SIM card are in the RF path diversity preemption mode, the second SIM card will occupy part of the RF path of the first SIM card when searching for frequency points. Therefore, the second SIM card will affect the first SIM card's reception of downlink signals when searching for frequency points, so the number of frequency points searched by the second SIM card in a single frequency point search cycle can be reduced, that is, the number of frequency points searched by the second SIM card in a single frequency point search cycle is small. In this way, the time that the second SIM card occupies part of the RF path of the first SIM card can be shortened in a single frequency point search cycle, so the influence of the second SIM card on the reception rate of the first SIM card when receiving downlink signals can be reduced.
[0016] Exemplarily, the first SIM card receives downlink signals through four RF paths. When the first SIM card and the second SIM card are in RF path diversity preemption mode, the processor of the electronic device can allocate two of the four RF paths to the second SIM card, so that the second SIM card can occupy the second RF resources to search for frequency points.
[0017] In a possible implementation of the first aspect, the first SIM card may support a fifth generation (5th generation, 5G) mobile communication network standard (or network standard) and subsequent versions (such as the future sixth generation (6th generation, 6G)) network standard, and the second SIM card supports any network standard (such as any one of the second generation (2nd generation, 2G) mobile communication network standard, the third generation (3rd generation, 3G) mobile communication network standard, the fourth generation (4th generation, 4G) mobile communication network standard, the 5G network standard and subsequent versions of the network standard). Alternatively, the first SIM card supports any network standard, and the second SIM card supports the 5G network standard and subsequent versions of the network standard.
[0018] Exemplarily, the first SIM card supports the 5G network standard, and the second SIM card supports any one of 2G, 3G, 4G, 5G and subsequent versions of the network standard.
[0019] In a second aspect, an electronic device is provided, comprising: a processor, a memory, a first SIM card interface, and a second SIM card interface. The memory, the first SIM card interface, and the second SIM card interface are coupled to the processor respectively. The first SIM card interface is used to communicate with the first SIM card, the second SIM card interface is used to communicate with the second SIM card, and the memory is used to store instructions. When the processor executes the instructions in the memory, the method described in the first aspect and any one of its embodiments is executed.
[0020] According to a third aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method according to the first aspect and any embodiment thereof.
[0021] In a fourth aspect, a computer program product comprising instructions is provided. When the instructions are executed on the electronic device, the electronic device executes the method as described in the first aspect and any embodiment thereof.
[0022] In a fifth aspect, a chip system is provided, the chip system including a processor for supporting an electronic device to implement the functions involved in the first aspect. In a possible design, the electronic device also includes an interface circuit, which can be used to receive signals from other devices (such as a memory) or send signals to other devices (such as a communication interface). The chip system may include a chip and may also include other discrete devices.
[0023] Among them, the technical effects of the second to fifth aspects can refer to the technical effects of the first aspect and any of its embodiments, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a SIM card management interface in the prior art;
[0027] Figure 4 A schematic diagram of a frequency sweeping method in the prior art;
[0028] Figure 5 A schematic diagram of another frequency sweeping method in the prior art;
[0029] Figure 6 A schematic diagram of a frequency scanning method provided in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of a flow chart of a frequency scanning method provided in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.
[0033] The terms "exemplary" or "for example" and the like in the embodiments of the present application are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the related concepts in a specific way.
[0034] The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense. For example, they may refer to a direct physical connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.
[0035] First, some concepts involved in the embodiments of the present application are introduced.
[0036] Dual receive dual SIM dual standby (DRDSDS) mode, or dual receive dual standby mode: refers to a dual SIM mode supported by an electronic device, which can also be understood as the dual SIM capability of an electronic device. In DRDSDS mode, the two SIM cards in the electronic device can receive downlink signals at the same time. For example, when one SIM card is in a call state, the other SIM card can receive calls and perform data services (i.e. surfing the Internet).
[0037] Connected state: refers to the state in which a radio resource control (RRC) connection is established between the electronic device and the base station, and between the base station and the core network, and the electronic device can transmit data (or send and receive data) at any time.
[0038] Idle state: refers to the state where no RRC connection is established between the electronic device and the base station, or between the base station and the core network. At this time, if there is data to be sent to the electronic device, or the electronic device needs to send data, it needs to switch from the idle state to the connected state. In this way, there will be a delay of more than 100ms.
[0039] The frequency sweeping method provided in the embodiment of the present application can be applied to Figure 1 The communication system shown in FIG. Figure 1 As shown, the communication system may include an electronic device 110 and two base stations (which may be referred to as a first base station 120 and a second base station 130). The electronic device is connected to the first base station 120 and the second base station 130 for communication and reception of signals. The first base station 120 and the second base station 130 may be base stations of different operators or base stations of the same operator. Of course, the communication system may also include a base station, which may be a shared base station of different operators, or the communication system may also include more base stations.
[0040] Among them, the communication system involved in the embodiments of the present application may be: a global system for mobile communications (GSM) system, a general packet radio service (GPRS) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, a time division code division multiple access (TD-SCDMA), a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD), a fifth generation (5G) new radio or future sixth generation (6G) system, etc.
[0041] It should be understood that Figure 1 The communication system shown is only for illustrative purposes and should not be construed as limiting the embodiments of the present application. For example, the communication system may also include core network equipment, more base stations and electronic devices, etc.
[0042] The base station involved in the embodiment of the present application may be a base station supporting a 2G mobile communication network, a base station supporting a 3G mobile communication network, a base station supporting a 4G mobile communication network, a base station supporting a 5G mobile communication network, a base station supporting a future sixth generation (6th generation, 6G) mobile communication network, and any of base stations supporting a subsequent version of a mobile communication network. Among them, at least one of the first base station 120 and the second base station 130 may be a base station supporting a fifth generation (5th generation new radio, 5G) mobile communication network and a subsequent version of a mobile communication network.
[0043] The electronic device involved in the embodiment of the present application may be a device with a communication function and supporting a dual-card dual-receiving dual-standby mode. The electronic device may be mobile or fixed. The electronic device may be deployed on land (e.g., indoors or outdoors, handheld or vehicle-mounted, etc.), on water (e.g., ships, etc.), or in the air (e.g., airplanes, balloons, etc.). The electronic device may be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent or terminal device, etc. For example, the electronic device may be a mobile phone, a tablet computer, a laptop computer, etc. The embodiment of the present application does not limit the specific type and structure of the electronic device. A possible structure of the electronic device is described below.
[0044] Taking a mobile phone as an example, Figure 2 The hardware structure diagram of an electronic device 200 provided in an embodiment of the present application is shown. The electronic device 200 may include: a processor 210, a memory 220, a universal serial bus (USB) interface 230, a power management module 240, an antenna, a communication module 250, a display screen 260, an audio module 270, a camera 280, a SIM card interface 290, etc.
[0045] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0046] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. The controller can be the nerve center and command center of the electronic device 200. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0047] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0048] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface 230, etc.
[0049] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0050] The memory 220 can be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device by running the instructions stored in the memory 220. The memory 220 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an interface display function, etc.). The data storage area may store data (such as notification messages) created during the use of the electronic device, etc. In addition, the memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0051] The power management module 240 is used to connect the battery and the processor 210. The power management module 240 receives the battery and / or power input to power the processor 210, the memory 220, the communication module 250, the display screen 260, the display screen 260 and the camera 280. The power management module 240 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 240 can also be set in the processor 210.
[0052] The communication module 250 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The communication module 250 can be one or more devices integrating at least one communication processing module. The communication module 250 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The communication module 250 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0053] In some embodiments, the antenna of the electronic device 200 is coupled to the communication module 250 so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, global navigation satellite system (GNSS), WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), Beidou navigation satellite system (BDS), global navigation satellite system (GLONASS) and / or Galileo satellite navigation system (GALILEO).
[0054] The electronic device 200 implements the display function through a GPU, a display screen 260, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 260 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0055] The display screen 260 is used to display images, videos, etc. The display screen 260 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-LED, Micro-OLED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc.
[0056] The electronic device 200 can realize the shooting function through the ISP, the camera 280, the video codec, the GPU, the display screen 260 and the application processor.
[0057] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0058] The camera 280 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
[0059] The SIM card interface 290 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 200 by inserting into or removing from the SIM card interface 290. The electronic device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0060] Among them, the SIM card interface 290 can support a Nano SIM card, a Micro SIM card, a SIM card, etc. In some embodiments, the electronic device 200 uses an embedded SIM (eSIM) card, and the eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200. The SIM card can support telephone services and data services (i.e., Internet services).
[0061] Exemplarily, the electronic device 200 in the embodiment of the present application may include two SIM card interfaces, which may be referred to as a first SIM card interface and a second SIM card interface, respectively. That is, the electronic device 200 in the embodiment of the present application may include two SIM cards, which may be referred to as a first SIM card and a second SIM card, respectively. The first SIM card is inserted into the first SIM card interface, and the second SIM card is inserted into the second SIM card interface. The first SIM card is the primary card, and the second SIM card is the secondary card, or the first SIM card is the secondary card, and the second SIM card is the primary card. In the embodiment of the present application, the first SIM card is the primary card, and the second SIM card is the secondary card, for example.
[0062] The first SIM card can support 5G and subsequent versions (such as 6G) of the network standard (or mobile communication network standard), and the second SIM card can support any network standard (such as 2G, 3G, 4G, 5G and any network standard of subsequent versions). Alternatively, the second SIM card can support 5G and subsequent versions of the network standard, and the first SIM card can support any network standard.
[0063] For electronic devices that support dual-SIM dual-standby dual reception, when a first SIM card is inserted into the electronic device, the first SIM card can be in a connected state (or idle state), and the first SIM card occupies the first radio frequency resource to receive downlink signals. At this time, when a second SIM card is inserted into the electronic device, the second SIM card will occupy the second radio frequency resource to receive paging messages, or search for frequencies (or search for networks) until it resides in a certain frequency band. The following is an example of the second SIM card occupying the second radio frequency resource to search for frequencies.
[0064] Among them, the radio frequency resources may include radio frequency bands (or frequency bands) and related antenna configurations. The first radio frequency resource may correspond to the first frequency band, and the second radio frequency resource may correspond to the second frequency band. The first frequency band and the second frequency band may be two types of frequency bands. For example, the first frequency band may be a middle high band (MHB), and the second frequency band may be a low band (LB); or, the first frequency band may be a low band, and the second frequency band may be a middle high band; or, the first frequency band and the second frequency band are both middle high bands; or, the first frequency band and the second frequency band are both low bands, etc.
[0065] The second frequency band may include multiple frequency bands (such as a second frequency band A and a second frequency band B). The second frequency band may be a frequency band of the same type as the first frequency band, or a frequency band of a different type from the first frequency band.
[0066] Alternatively, a first SIM card and a second SIM card are inserted into the electronic device at the same time. The first SIM card is in a connected state or an idle state, and the first SIM card occupies a first radio frequency resource to receive a downlink signal. When the second SIM card is switched from an unactivated state to an activated state, the second SIM card occupies a second radio frequency resource to search for a network until it resides in the second frequency band.
[0067] For example, it is assumed that the electronic device is a mobile phone. Figure 3 As shown in A in FIG, the mobile phone displays the SIM card management interface 301 of the setting application. The SIM card management interface 301 includes relevant information of card 1 (i.e., the first SIM card), relevant information of card 2 (i.e., the second SIM card), and a 5G network control 302. Among them, the relevant information of card 1 may include: a SIM card icon 3031 of card 1, a network icon 3032 of card 1, a phone number 3033 of card 1, and a first enabling switch 3034. The network standards supported by card 1 are 5G and subsequent versions of network standards, and the network icon of card 1 is used to indicate that the network standard currently resident in card 1 is 5G. The first enabling switch is used to control whether card 1 is enabled. The relevant information of card 2 may include: a SIM card icon 3041 of card 2, a network icon 3042 of card 2, a phone number 3043 of card 2, and a second enabling switch 3044. The second enabling switch is in the off state (i.e., card 2 is in the unenabled state), and the network icon of card 2 is used to indicate that card 2 is not currently resident in any network standard. The network standard supported by card 2 is any network standard (such as any network standard among 2G, 3G, 4G, 5G and subsequent versions of network standards), and the second enabling switch 3044 is used to control whether card 2 is enabled.
[0068] In response to the user switching the second enabling switch 3044 from the off state to the on state, the Figure 3 A in Figure 3 As shown in B in FIG. 1 , a search icon 305 is displayed on the network icon 3042 of card 2 to indicate that card 2 is currently in a network search state. When card 2 successfully resides in the second frequency band, as shown in FIG. Figure 3 As shown in C in FIG. 1 , the network icon 3042 of card 2 indicates that the network standard currently resident on card 2 is 4G.
[0069] In response to the user clicking on the 5G network control 302, as shown Figure 3As shown in D in FIG. 1 , the mobile phone displays a 5G network interface 306 of the setting application. The 5G network interface 306 includes: a third enabling switch 3071 for enabling the 5G network of card 1, and a fourth enabling switch 3072 for enabling the 5G network of card 2. The third enabling switch 3071 is in the on state, so the network standard currently resident in card 1 is 5G.
[0070] Combine the following Figure 4 and Figure 5 , the process of the second SIM card occupying the second radio frequency resource and searching for the frequency point in the prior art is introduced:
[0071] In one embodiment, if Figure 4 As shown, the second SIM card searches N (eg, 4) frequencies as much as possible in a single frequency search cycle. Since a large number of frequencies are searched in a single frequency search cycle, the search speed is faster and the search time is shorter. N in the embodiment of the present application is a positive integer.
[0072] In this embodiment, the first frequency band and the second frequency band are frequency bands of the same type. Then, when the second SIM card searches for a frequency point, the first radio frequency resource and the second radio frequency resource will conflict, causing the second SIM card to occupy part of the radio frequency path of the first SIM card. At the same time, since the second SIM card searches for more frequencies in a single frequency point search cycle, the second SIM card will affect the first SIM card's reception of downlink signals for a longer period of time. In other words, in each frequency point search cycle, the second SIM card affects the first SIM card's reception of downlink signals for a longer period of time. In this way, the first SIM card has a poor Internet experience.
[0073] In order to solve the above problem, in another embodiment, Figure 5 As shown, the second SIM card searches for M (eg, 1) frequency points as few as possible in a single frequency point search cycle. M in the embodiment of the present application is a positive integer.
[0074] In this embodiment, since the number of frequencies searched by the second SIM card in a single frequency search cycle is small, when the first frequency band and the second frequency band are frequency bands of the same type, the time for the second SIM card to affect the first SIM card in receiving downlink signals is short. In this way, in each frequency search cycle, the impact on the receiving rate of the first SIM card when receiving downlink signals can be greatly reduced. However, when the same number of frequencies need to be searched, the network search speed of the electronic device is too slow, resulting in a long network search time for the electronic device.
[0075] Based on the above problem, an embodiment of the present application provides a frequency scanning method, according to whether the first radio frequency resource occupied by the first SIM card when receiving a downlink signal and the second radio frequency resource occupied by the second SIM card when searching for a frequency point conflict, the electronic device can dynamically adjust the number of second radio frequency resources occupied by the second SIM card to search for a frequency point. Based on this, the electronic device can shorten the network search time of the second SIM card, or reduce the impact of the second SIM card searching for a frequency point on the receiving rate of the first SIM card.
[0076] For example, Figure 6 As shown, the second frequency band A is a frequency band of the same type as the first frequency band (e.g., the first frequency band is N78, and the second frequency band A is N78), and the second frequency band B (e.g., N5) is a frequency band of a different type from the first frequency band. The second SIM card searches for as many N (e.g., 4) frequency points as possible within a single frequency point search period of the second frequency band A. In this way, the second SIM card searches for frequency points in the second frequency band A at a fast speed, thereby shortening the network search time of the second SIM card in the second frequency band A. The second SIM card searches for as few M (e.g., 1) frequency points as possible within a single frequency point search period of the second frequency band B. In this way, when the second SIM card searches for frequency points in the second frequency band B, the time of influence on the first SIM card receiving the downlink signal is shorter, thereby reducing the influence of the second SIM card searching for frequency points in the second frequency band B on the receiving rate of the first SIM card when receiving the downlink signal.
[0077] In summary, the frequency scanning method provided in the embodiment of the present application can dynamically adjust the number of frequency searches within a single frequency search period in the second frequency band corresponding to the second radio frequency resource occupied by the second SIM card when the first SIM card receives a downlink signal, according to whether there is a conflict between the first radio frequency resource occupied by the first SIM card when the second SIM card searches for a frequency. In this way, during the network search process, the speed at which the second SIM card occupies the second radio frequency resource to search for a frequency can be increased, thereby reducing the search time; or, the influence of the second SIM card on the receiving rate of the first SIM card when receiving a downlink signal can be reduced.
[0078] Specifically, the following is combined Figure 7 , the frequency sweeping method provided in the embodiment of the present application is introduced. The frequency sweeping method may include:
[0079] S701: The electronic device determines the number of frequency points to be searched by the second SIM card in a single frequency point search period according to whether the first radio frequency resource conflicts with the second radio frequency resource.
[0080] During the process of the second SIM card occupying the second radio frequency resource to scan (or search for frequency points), the type of the frequency band corresponding to the second radio frequency resource may change. That is to say, the second frequency band corresponding to the second radio frequency resource does not necessarily refer to a unique type of frequency band. Assume that the second frequency band includes a second frequency band A and a second frequency band B. In the embodiment of the present application, the type of the second frequency band A is the same as the type of the first frequency band, and the type of the second frequency band B is different from the type of the first frequency band.
[0081] In one embodiment, the first radio frequency resource conflicts with the second radio frequency resource (or, the first SIM card and the second SIM card are in the radio frequency path diversity preemption mode), that is, the type of the first frequency band is the same as the type of the second frequency band, then the second SIM card will preempt part of the radio frequency path of the first SIM card when searching for frequency points. In this way, the radio frequency paths of the first SIM card become fewer, which will cause the reception rate of the first SIM card when receiving downlink signals to decrease. In other words, when the first radio frequency resource conflicts with the second radio frequency resource, in order to reduce the impact of the second SIM card on the reception rate of the first SIM card when receiving downlink signals, the number of frequency points searched by the second SIM card in a single frequency search cycle can be reduced as much as possible, that is, the smaller the number of frequency points searched by the second SIM card in a single frequency search cycle.
[0082] For example, Figure 6 As shown in the figure, the second frequency band A and the first frequency band are both N78, and the second SIM card can search one frequency point in a single frequency point search cycle. In this way, when the second SIM card searches for a frequency point in a single frequency point search cycle, the time it occupies part of the radio frequency path of the first SIM card is only the time for searching one frequency point. It can be seen that when the second SIM card searches for a frequency point, the time it occupies part of the radio frequency path of the first SIM card is shorter, so the impact on the receiving rate of the first SIM card when receiving the downlink signal is smaller.
[0083] In another embodiment, the first radio frequency resource does not conflict with the second radio frequency resource (or, the first SIM card and the second SIM card are in full radio frequency path concurrent mode), that is, the type of the first frequency band is different from the type of the second frequency band, then the second SIM card will not occupy the radio frequency path of the first SIM card when searching for frequency points. In this way, the number of radio frequency paths of the first SIM card does not change, so it will not affect the receiving rate of the first SIM card when receiving downlink signals. In other words, when the first radio frequency resource does not conflict with the second radio frequency resource, in order to shorten the search time when the second SIM card searches for frequency points, the number of frequency points searched by the second SIM card in a single frequency point search cycle can be increased as much as possible, that is, the larger the number of frequency points searched by the second SIM card in a single frequency point search cycle, the greater the number of frequency points searched by the second SIM card in a single frequency point search cycle.
[0084] For example, Figure 6As shown, the second frequency band B is N5, and the first frequency band is N78, so the second SIM card can search 4 frequencies in a single frequency search cycle. In this way, the second SIM card searches for more frequencies in a single frequency search cycle, which can shorten the search time.
[0085] S702: The electronic device periodically occupies a second radio frequency resource to search for frequencies according to the number of frequencies searched by the second SIM card in a single frequency search period.
[0086] Specifically, when the first radio frequency resource conflicts with the second radio frequency resource, the electronic device determines that the number of frequency points searched by the second SIM card in a single frequency search cycle is the first number. When the first radio frequency resource does not conflict with the second radio frequency resource, the electronic device determines that the number of frequency points searched by the second SIM card in a single frequency search cycle is the second number. The second number is greater than the first number. For example, Figure 6 As shown, the second number is 4 and the first number is 1.
[0087] In summary, the number of frequency points that the electronic device periodically occupies to search the second radio frequency resource is different. When the first radio frequency resource does not conflict with the second radio frequency resource, the electronic device periodically occupies a larger number of frequency points that the second radio frequency resource searches, which can shorten the network search time. When the first radio frequency resource conflicts with the second radio frequency resource, the electronic device periodically occupies a smaller number of frequency points that the second radio frequency resource searches, so as to reduce the impact on the reception rate when the first SIM card receives the downlink signal.
[0088] like Figure 8 As shown, the embodiment of the present application also provides a chip system. The chip system 80 includes at least one processor 801 and at least one interface circuit 802. The at least one processor 801 and the at least one interface circuit 802 can be interconnected through a line. The processor 801 is used to support the electronic device to implement each step in the above method embodiment, such as Figure 7 In the method shown, at least one interface circuit 802 may be used to receive signals from other devices (eg, memory) or to send signals to other devices (eg, communication interface). The chip system may include a chip and may also include other discrete devices.
[0089] The present application also provides a computer-readable storage medium, which includes instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Figure 7 The method shown.
[0090] The present application also provides a computer program product including instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Figure 7 The method shown.
[0091] Regarding the technical effects of the chip system, computer-readable storage medium, and computer program product, refer to the technical effects of the previous method embodiments.
[0092] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0093] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0094] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0095] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0096] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one device or distributed on multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0097] In addition, each functional module in each embodiment of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.
[0098] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0099] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A frequency sweeping method, characterized in that: Applicable to an electronic device supporting dual-SIM dual-receiving dual-standby, the electronic device comprising a first user identification module card and a second user identification module card, the first user identification module card is used to occupy a first radio frequency resource to receive a downlink signal, and the second user identification module card is used to occupy a second radio frequency resource to search for a frequency point; the method comprises: Determining the number of frequency points that the second user identification module searches within a single frequency point search period according to whether the first radio frequency resource conflicts with the second radio frequency resource; According to the number of the search frequency points, the second radio frequency resources are periodically occupied to search for frequency points.
2. The method according to claim 1, characterized in that The determining, according to whether the first radio frequency resource conflicts with the second radio frequency resource, the number of frequency points that the second user identification module searches for within a single frequency point search period includes: If the first radio frequency resource conflicts with the second radio frequency resource, determining that the number of frequency points searched by the second user identification module in a single frequency point search period is a first number; If the first radio frequency resource does not conflict with the second radio frequency resource, it is determined that the number of frequency points searched by the second user identification module in a single frequency point search period is a second number, and the second number is greater than the first number.
3. The method according to claim 2, characterized in that The periodically occupying the second radio frequency resource to search for frequency points according to the number of search frequency points includes: In a single frequency search period, the second radio frequency resources are occupied to search the first number of frequencies or the second number of frequencies.
4. The method according to any one of claims 1 to 3, characterized in that: The first subscriber identification module card is in a connected state, and the second subscriber identification module card is in an idle state.
5. The method according to any one of claims 1 to 4, characterized in that: The conflict between the first radio frequency resource and the second radio frequency resource means that the first user identification module card and the second user identification module card are in the radio frequency path diversity preemption mode; the non-conflict between the first radio frequency resource and the second radio frequency resource means that the first user identification module card and the second user identification module card are in the radio frequency path full concurrency mode.
6. The method according to any one of claims 1 to 5, characterized in that: The first user identification module card supports 5G and subsequent versions of network standards, and the second user identification module card supports any network standard; or, the first user identification module card supports any network standard, and the second user identification module card supports the 5G and subsequent versions of the network standard.
7. An electronic device, characterized in that: include: Processor, memory, first SIM card interface, second SIM card interface; The memory, the first SIM card interface, and the second SIM card interface are respectively coupled to the processor; The first SIM card interface is used to communicate with a first SIM card, and the second SIM card interface is used to communicate with a second SIM card; the memory is used to store instructions, and when the processor executes the instructions, the method according to any one of claims 1 to 6 is executed.
8. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 6.