Dual SIM dual active control method, electronic device, readable storage medium, and chip
By implementing dual -card dual -pass control methods in electronic devices, only the DSDA function is activated in the preset geographical fence, which solves the problem of traffic resources caused by dual -card dual -pass functions in high -speed communication scenarios. Comprehensive use effect.
Patent Information
- Application Number
- PCT/CN2024/101317
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2024-06-25
- Publication Date
- 2025-01-23
AI Technical Summary
In the prior art, dual-station dual-pass (DSDA) function is prone to waste of traffic resources in high-speed communication scenarios and poor user experience.
By implementing a dual-card dual-pass control method in electronic devices, the DSDA function is only activated within the preset geofence, and two business flows are established using the first SIM card and the second SIM card to simultaneously transmit business data, satisfying users' needs quickly While handling business needs, avoid wasting traffic caused by turning on the DSDA function for a long time.
Effectively reduce the waste of traffic resources of electronic equipment, improve the user experience, provide a better comprehensive experience, and at the same time avoid excessive consumption of traffic resources while meeting the demand for high -speed communication.
Smart Images

Figure CN2024101317_23012025_PF_FP_ABST
Abstract
Description
Dual-SIM dual-pass control method, electronic device, readable storage medium, and chip
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on July 19, 2023, with application number 202310889783.2 and application name “Dual-SIM dual-pass control method, electronic device, readable storage medium and chip”, and claims priority to the Chinese patent application filed with the State Intellectual Property Office on June 20, 2024, with application number 202410801098.4 and application name “Dual-SIM dual-pass control method, electronic device, readable storage medium and chip”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of wireless communication technology, and in particular to a dual-SIM dual-communication control method, electronic device, readable storage medium, and chip. Background Art
[0003] Dual SIM dual active (DSDA) refers to a technology that allows electronic devices to communicate simultaneously using two subscriber identity modules (SIM) cards. For example, while an electronic device is using SIM card 1 to access the Internet or make a call, it can also use SIM card 2 to perform services such as making calls, being called, or accessing the Internet. Currently, in high-speed communication scenarios such as large file downloads and live broadcasts, electronic devices can use two SIM cards based on DSDA technology to establish two service flows and transmit service data simultaneously, thereby increasing the communication rate. However, the DSDA function consumes a lot of SIM card traffic, which can easily lead to a waste of traffic resources.
[0004] Summary of the Invention
[0005] The present application provides a dual-SIM dual-channel control method, electronic device, readable storage medium and chip, which are used to solve the problem in the prior art that the DSDA function easily causes waste of traffic resources of electronic devices.
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a dual-SIM dual-pass control method, which is applied to an electronic device that supports setting a first SIM card and a second SIM card. The method includes: determining the location of the electronic device; when the location of the electronic device is within a preset geographic fence and when processing a target service, starting the DSDA function to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit service data of the target service.
[0008] In this embodiment, the electronic device configures the DSDA function to take effect within a preset geographic fence, and establishes two business flows based on the DSDA function to process the target business. This can not only meet the user's needs for quickly processing the target business to a certain extent, but also avoid the waste of traffic resources caused by long-term activation of the DSDA function, improve the user experience, and provide a better overall usage experience.
[0009] In some embodiments, when the location of the electronic device is within a preset geofence and when processing the target service, the DSDA function is activated to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit the service data of the target service, including: when the location of the electronic device is within a preset geofence and when executing the target service, obtaining the wireless network information within the geofence, the wireless network information is used to represent the historical communication status of multiple other electronic devices; and, when the wireless network information meets the preset network conditions, activating the DSDA function to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit the service data of the target service.
[0010] In this embodiment, the electronic device uses the wireless network information within the geographic fence as a prerequisite for starting the DSDA function. The DSDA function is only started when the wireless network information meets the preset network conditions to ensure the communication quality of the electronic device in the DSDA mode.
[0011] In some embodiments, the wireless network information includes at least one of: operator information, frequency band number, signal strength, uplink and downlink congestion, delay, jitter, and packet loss rate.
[0012] In some embodiments, the preset network condition includes: the frequency band number in the wireless network information includes a frequency band number in a DSDA frequency band combination supported by the electronic device.
[0013] In some embodiments, the preset network conditions also include: signal strength greater than a signal strength threshold; and / or, delay less than a delay threshold; and / or, jitter time less than a jitter time threshold; and / or, packet loss rate less than a packet loss rate threshold.
[0014] In some embodiments, a geofence includes multiple sub-areas. Accordingly, obtaining wireless network information within the geofence includes: sending location information of the electronic device's current location to a network device; and receiving wireless network information of a first sub-area within the geofence from the network device, where the first sub-area is located. The first sub-area is determined within the geofence by the network device based on the location information. Based on the communication map, the wireless network information determined by the electronic device is more accurate.
[0015] In some embodiments, the sub-area is a grid of a preset shape, or a cell, etc. It should be noted that the smaller the sub-area, the higher the accuracy of the communication map.
[0016] In some embodiments, initiating the DSDA function includes: determining the device status of an electronic device; and initiating the DSDA function when the device status satisfies a device status condition. Exemplary device status conditions include: the temperature of the electronic device being less than a temperature threshold; and / or the remaining battery power of the electronic device being greater than a battery threshold. This method can prevent device overheating, ensuring safe device operation; or it can prevent excessive power consumption in the electronic device, which could cause the electronic device to shut down.
[0017] In some embodiments, enabling the DSDA function includes: determining the volume of service data for a target service; and enabling the DSDA function when the data volume exceeds a data volume threshold. Through the method provided in this embodiment, an electronic device can enable the DSDA function when transferring large files to accelerate transfer rates and improve user experience. When transferring smaller files, the default SIM card's data capacity is used to reduce data consumption on the other SIM card.
[0018] In some embodiments, activating the DSDA function includes: determining a data transmission rate of the electronic device when currently transmitting service data of a target service; and activating the DSDA function when the data transmission rate is less than a rate threshold. This method can reduce device power consumption.
[0019] In some embodiments, the setting interface of the electronic device includes a first control, and the first control is used to control turning on or off the DSDA function.
[0020] In some embodiments, when the location of the electronic device is within a preset geofence and when processing a target service, the DSDA function is started to use the first SIM card and the second SIM card to establish two service streams and simultaneously transmit the service data of the target service, including: when the location of the electronic device is within a preset geofence and when processing the target service, a first prompt box is displayed, the first prompt box includes an inquiry message and a confirmation control, the inquiry message is used to ask the user whether to enable the dual-card dual-pass function; and, in response to a selection operation of the confirmation control, the electronic device starts the DSDA function to use the first SIM card and the second SIM card to establish two service streams and simultaneously transmit the service data of the target service.
[0021] In some embodiments, the method further includes: displaying a second control for controlling the DSDA function of the electronic device while establishing two service flows using the first SIM card and the second SIM card to simultaneously transmit service data of the target service.
[0022] In some embodiments, after starting the DSDA function, when the frequency band numbers of the current communication between the first SIM card and the second SIM card cannot form a DSDA combination supported by the electronic device, the method further includes: when the first SIM card is in a radio resource control RRC connected state and the second SIM card is in an RRC idle state, performing cell reselection on the cell where the second SIM card resides; wherein, the frequency band number of the target cell where the reselection is performed can form a DSDA combination with the frequency band number of the current communication between the first SIM card and the target cell.
[0023] In some embodiments, after enabling the DSDA mode, when the frequency band numbers of the current communication of the first SIM card and the second SIM card cannot form a DSDA combination supported by the electronic device, the method further includes: when both the first SIM card and the second SIM card are in an RRC connected state, if the first SIM card is disconnected from the current serving cell, controlling the second SIM card to determine and establish an RRC connection with the target cell through the RRC reestablishment process; wherein the frequency band number of the target cell can form a DSDA combination with the frequency band number of the current communication of the second SIM card.
[0024] In some embodiments, the method further includes: after detecting that the electronic device leaves a preset geo-fence, turning off the DSDA function.
[0025] In a second aspect, an embodiment of the present application provides an electronic device that supports the setting of a first user identification module SIM card and a second SIM card, and includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, it implements the dual-card dual-pass control method as shown in the first aspect above.
[0026] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the dual-SIM dual-pass control method as shown in the first aspect above.
[0027] In a fourth aspect, an embodiment of the present application provides a chip, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the dual-card dual-pass control method as shown in the first aspect above is implemented.
[0028] In a fifth aspect, an embodiment of the present application provides a computer program product, which stores a computer program. When the computer program is executed by a processor, it can implement the dual-SIM dual-pass control method as shown in the first aspect above.
[0029] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] FIG1 is a schematic structural diagram of a DSDA communication system provided in an embodiment of the present application;
[0031] FIG2 is a schematic diagram of a DSDA communication scenario provided by an embodiment of the present application;
[0032] FIG3 is a schematic flow chart of a dual-SIM dual-pass control method provided by an embodiment of the present application;
[0033] FIG4 is a schematic diagram of a geo-fence provided by one embodiment of the present application;
[0034] FIG5 is a schematic flow chart of a DSDA control method provided in another embodiment of the present application;
[0035] FIG6 is a schematic diagram of a communication map provided in an embodiment of the present application;
[0036] FIG7 is a schematic diagram of a communication map determination process provided by an embodiment of the present application;
[0037] FIG8 is a schematic flowchart of an electronic device acquiring wireless network information according to an embodiment of the present application;
[0038] FIG9 is a schematic diagram showing a display of a first control provided in an embodiment of the present application;
[0039] FIG10 is a schematic diagram showing a first prompt box according to an embodiment of the present application;
[0040] FIG11A is a schematic diagram of a second prompt box provided in an embodiment of the present application;
[0041] FIG11B is a schematic diagram of a third prompt box provided in an embodiment of the present application;
[0042] FIG12 is a schematic flowchart of cell reselection performed by an electronic device according to an embodiment of the present application;
[0043] FIG13 is a schematic diagram of the structure of the chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions provided in the embodiments of the present application are described below with reference to the accompanying drawings.
[0045] It should be understood that in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0046] In this embodiment, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0047] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR), new radio (NR), global system for mobile communications (GSM), code division multiple access (CDMA) communication system, time division-synchronous CDMA (TD-SCDMA) communication system, etc.
[0048] With the advancement of communication technology, many electronic devices now support dual SIM Dual Active (DSDA) technology, which allows for simultaneous communication using two subscriber identity modules (SIMs), enabling dual-SIM services. For example, while using SIM card 1 for internet access or a call, an electronic device can also use SIM card 2 for making or receiving calls, or for internet access, providing a better user experience.
[0049] Figure 1 is a schematic diagram of the structure of the DSDA communication system provided in an embodiment of the present application. As shown in Figure 1, the communication system includes an electronic device and one or more network-side devices, and each network-side device and the electronic device support communication via cellular communication technologies such as LTE and NR. LTE can be replaced by 4G, and NR can be replaced by 5G.
[0050] The network side device may be a device capable of providing a random access function for an electronic device or a chip that can be set in the device. The device includes but is not limited to: an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved NodeB, or a home Node B, HNB), a baseband unit (BBU), and can also be a gNB in a 5G, such as NR, system, or a transmission point (TRP or TP), one or a group (including multiple) of antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DU), a network side device in a future 5G network, or a network side device in a future evolved public land mobile network (PLMN) network, etc. The embodiments of the present application are not limited.
[0051] The electronic device may be a mobile phone, a tablet computer, a wearable device (such as a smart watch), an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or other electronic device. The embodiments of the present application do not limit the specific type of the electronic device.
[0052] In this embodiment, the electronic device supports two SIM cards and includes two radio frequency modules. In this embodiment, the two SIM cards are referred to as a first SIM card and a second SIM card, and the two radio frequency modules are referred to as a first radio frequency module and a second radio frequency module. Of course, in other embodiments, the electronic device may further include more SIM cards or more radio frequency modules.
[0053] A SIM card can be a physical SIM card, an embedded SIM card (e-SIM card), or a virtual SIM card. Physical SIM cards can come in various sizes, including regular SIM cards, Micro SIM cards, and Nano SIM cards. Electronic devices can interact with network devices through SIM cards to enable functions such as cellular calls and Internet access. The SIM card stores the International Mobile Subscriber Identification Number (IMSI), which is the unique identifier for user devices accessing cellular networks. When a user device accesses a network device, it must authenticate using the IMSI so that the network device can identify the user device.
[0054] It should be noted that the first SIM card and the second SIM card of the electronic device can be SIM cards of the same operator or SIM cards of different operators, and this embodiment does not limit this. Since different operators usually support different communication frequency bands, the communication frequency bands of SIM cards of different operators are usually different.
[0055] In addition, the network types supported by the first SIM card and the second SIM card of the electronic device may be the same or different, and the network type may be an LTE network, a NR network, or the like. For example, the first SIM card supports the LTE network but not the NR network, while the second SIM card supports both the LTE network and the NR network. For another example, the first SIM card and the second SIM card both support the LTE network and the NR network. The communication frequency bands supported by different types of networks are generally different.
[0056] In this embodiment, the frequency band refers to the frequency range of the wireless signal, such as 1920MHz to 1980MHz, 2110MHz to 2170MHz, etc. The frequency band of the wireless signal includes but is not limited to the frequency band of the LTE signal and the frequency band of the NR signal. Different frequency bands can be represented by different frequency band numbers. For example, different frequency bands of the LTE signal can be represented by LTE frequency band numbers such as B1, B2, B3, ... B41; the frequency bands of the NR signal can be represented by NR frequency band numbers such as n1, n2, n3 ... n87.
[0057] The RF module is used to transmit uplink signals and receive downlink signals during communication. Specifically, during uplink communication, the RF module converts binary signals into radio electromagnetic wave signals and sends them to the network-side device. During downlink communication, the RF module receives electromagnetic wave signals sent by the network-side device and converts them into binary signals.
[0058] In some embodiments, the RF module includes an RF front end and an antenna. The RF front end includes a transmitting path and a receiving path, and the antenna includes a transmitting antenna (i.e., a Tx antenna) and a receiving antenna (i.e., an Rx antenna). The transmitting path is arranged between the baseband processor and the transmitting antenna, and it generally includes a mixer, an RF transceiver, a power amplifier, a filter and other devices along the signal transmission path. The receiving path is arranged between the baseband processor and the receiving antenna, and it generally includes a filter, a low-noise amplifier, a demodulator and other devices along the signal reception path. The RF module transmits signals through the transmitting path and the transmitting antenna, and receives signals through the receiving path and the receiving antenna.
[0059] It should be noted that, depending on the specific hardware settings of the RF modules, such as the operating frequency band of the antenna, the filtering frequency band of the filter, etc., the frequency bands supported by the first RF module and the second RF module may be the same or different. In one example, the first RF module supports some LTE bands but does not support the NR band; the second RF module supports some NR bands and LTE bands. Alternatively, the first RF module and the second RF module both support some LTE bands and some NR bands.
[0060] It can be understood that for electronic devices equipped with SIM cards, since the frequency bands supported by their radio frequency modules and SIM cards are determined, the frequency bands supported by the electronic device are also determined. When accessing a cellular network, electronic devices can only reside on the frequency bands they support. Similarly, due to the hardware settings of the network-side devices, the frequency bands supported by the network-side devices are usually also determined. For example, LTE base stations usually only support operation on some or all LTE frequency bands, and NR base stations usually only support operation on some or all NR frequency bands. When an electronic device connects to a network-side device, it needs to establish a connection through the frequency bands that it and the network-side device jointly support.
[0061] For electronic devices with two SIM cards installed, during communication, both the first and second SIM cards can typically search for a cell with a suitable frequency band and reside on it, thus entering dual SIM dual standby (DSDS) mode. Unlike DSDA mode, DSDS mode does not support concurrent dual-SIM services. For example, while the first SIM card is handling a call, the second SIM card cannot handle cellular data services. Alternatively, if the second SIM card receives an incoming call while the first SIM card is handling cellular data services, the first SIM card's data service will be interrupted.
[0062] To switch to DSDA mode, on the one hand, the electronic device needs to activate the DSDA function, and on the other hand, the frequency bands of the cells where the first SIM card and the second SIM card currently reside need to constitute a DSDA combination supported by the electronic device.
[0063] During cellular communication, electronic devices generally support one or more DSDA combinations, and the supported DSDA combinations are determined. For ease of description, this embodiment uses "band number 1 + band number 2" to represent a DSDA combination, where band number 1 is the band number of the communication band of the first SIM card, and band number 2 is the band number of the communication band of the second SIM card. For example, the DSDA combination "n41+B1" is used to indicate that the first SIM card resides in the n41 band of the NR network, and the second SIM card resides in the B1 band of the LTE network. Alternatively, the DSDA combination "n1+n41" is used to indicate that the first SIM card resides in the n1 band of the NR network, and the second SIM card resides in the n41 band of the NR network.
[0064] When an electronic device enters a certain area, if the DSDA function is enabled and the wireless network in that area meets any of the electronic device's DSDA combinations, the electronic device can enter DSDA mode in that area. A wireless network in an area meeting a DSDA combination means that the frequency bands of the wireless network in that area include all frequency bands in that DSDA combination. For example, using DSDA combination n1+B41, if the frequency bands of the wireless network in area A include both bands n1 and B41, the wireless network in area A meets DSDA combination n1+B41.
[0065] It should be noted that although the network types that currently support the DSDA mode include LTE networks and NR networks, other network types that may be included in the future (such as 6G networks) are also within the scope of the embodiments of this application, as long as the DSDA mode can be formed between the two cards.
[0066] FIG2 is a schematic diagram of a DSDA communication scenario provided by an embodiment of the present application. Referring to FIG2 , an electronic device employing DSDA technology for communication includes: utilizing a first SIM card to access a cellular network via a first radio frequency module, and establishing a first socket connection (i.e., Socket 1) with a service server for a first service to transmit a first service flow of the first service; and utilizing a second SIM card to access a cellular network via a second radio frequency module, and establishing a second socket connection (i.e., Socket 2) with a service server for a second service to transmit a second service flow of the second service, thereby achieving dual-card service concurrency, improving the transmission rate of service data, and thereby enhancing user experience.
[0067] It should be noted that the first service and the second service can be the same service or different services. For example, when the first service is a call service, the second service is a data service; or when both the first service and the second service are data services, the data service may be a video download service, a web browsing service, etc. In addition, when the first service and the second service are the same service, they generally correspond to the same service server; when the first service and the second service are different services, they generally correspond to different service servers.
[0068] In some embodiments, in high-speed communication scenarios such as large file downloads and live broadcasts, electronic devices can use two SIM cards simultaneously based on DSDA technology to establish two service flows to simultaneously transmit service data to increase communication speeds. However, the DSDA function consumes a large amount of SIM card traffic, which can easily lead to a waste of traffic resources. In addition, when the traffic of the two SIM cards is unbalanced, and the primary card (such as the first SIM card) has more traffic, but the secondary card (such as the second SIM card) has less traffic, the DSDA function can easily quickly exhaust the traffic of the secondary card, resulting in a poor user experience.
[0069] To this end, an embodiment of the present application provides a dual-SIM dual-communication control method. Based on this method, an electronic device uses the DSDA function to transmit service data of a target service only within a preset geographic fence, which can reduce the waste of electronic device traffic resources.
[0070] FIG3 is a schematic flow chart of a dual-SIM dual-pass control method provided by an embodiment of the present application. Referring to FIG3 , the method includes the following steps S301 to S302 .
[0071] S301, the electronic device determines its own location.
[0072] In some embodiments, the electronic device may determine its location using a global positioning system (GPS) or a Beidou navigation satellite system (BDS). The location may be determined or represented by location information, such as latitude and longitude information.
[0073] In other embodiments, electronic devices can determine their own location through cellular positioning. For example, due to the high density of base stations and their wide coverage, electronic devices can usually receive signals from multiple base stations at the same location. Based on this, when an electronic device needs cellular positioning, it can broadcast a cellular positioning request to a base station and receive positioning information sent by each base station in response to the request. This positioning information may include the base station's own location information, the electronic device's location feature information, etc. The electronic device can determine its location based on the positioning information sent by each base station.
[0074] S302, when the electronic device is located within a preset geographic fence and is processing a target service, the DSDA function is activated to establish two service flows using the first SIM card and the second SIM card to simultaneously transmit service data of the target service.
[0075] A geofence is a virtual geographic boundary, which can be understood as a virtual fence that can be used to define a geographic area in real physical space (such as airport A and live broadcast area B in Figure 4). Geofencing can be applied to various location-based service (LBS) applications, such as entertainment applications, office applications, drone control applications, terminal positioning applications, etc. Geofencing can be of various shapes, such as circular, elliptical, square, or other regular or irregular shapes, and this embodiment does not limit them.
[0076] In this embodiment, the coverage area of the geo-fence is the effective range of the DSDA function of the electronic device, such as airports, live broadcast areas, train stations, stadiums and other areas where high-speed communication scenarios usually exist. For example, in order to ensure the safety of aircraft flight, electronic devices are usually not allowed to turn on the cellular communication function during the flight. Therefore, users may quickly download some video resources in advance at the airport so that they can watch them during the flight. Therefore, the airport is an area where high-speed communication scenarios exist. For another example, in a live broadcast gathering place, in order to ensure that the live broadcast picture is clear and not stuck, the electronic device has a higher requirement for the communication rate. Therefore, the live broadcast gathering place is also an area where high-speed communication scenarios exist. Of course, the preset area can also be other areas, and this embodiment does not impose specific restrictions on this.
[0077] The target service refers to a service that supports the use of DSDA technology. For example, the target service may be the audio and video download service of some audio and video playback applications (such as Huawei Video, Huawei Education, and Huawei Music), the data upload / download service of some backup storage applications, and some live broadcast services. This embodiment does not specifically limit the type of target service.
[0078] In S302, the electronic device can determine whether it is within a preset geofence based on its location's latitude and longitude information. If the electronic device is within the preset geofence, the electronic device uses DSDA technology to transmit the target service's service data while processing the target service. Specifically, the electronic device uses a first SIM card to establish a first service flow with the service server via a first radio frequency module, and uses a second SIM card to establish a second service flow with the service server via a second radio frequency module. The service data of the target service is simultaneously transmitted via the first and second service flows to increase communication speed and, thereby, enhance user experience.
[0079] Through the method provided in the embodiment of the present application, the electronic device configures the DSDA function to be effective within a preset geographic fence, which not only avoids the waste of traffic resources caused by long-term activation of the DSDA function, but also improves the user experience and provides a better overall usage experience.
[0080] In this embodiment, the geo-fence can be a default geo-fence, or a geo-fence set by the electronic device according to user operation. For example, the electronic device can select one or more target areas on the electronic map according to the user's touch control, and generate corresponding geo-fences according to these target areas. When selecting the target area, the user can draw the boundary of the target area on the electronic map through touch operation to determine the target area; or the user can first determine the center point of the target area, and then draw a circle with a target radius based on the center to determine a circular target area. Alternatively, the electronic device can recommend some alternative areas to the user (such as nearby airports, hospitals, stadiums, etc.) according to the user's location, and the user can select a target area from these alternative areas so that the electronic device generates a geo-fence according to the target area. The embodiment of the present application does not limit the process of determining the geo-fence.
[0081] The DSDA control method provided in the embodiments of the present application will be further described below with reference to specific embodiments.
[0082] FIG5 is a schematic flow chart of a DSDA control method provided in another embodiment of the present application, which includes the following steps S501 to S505 .
[0083] S501: The electronic device determines the location information of its current location. Please refer to S301, which will not be described in detail in this embodiment.
[0084] S502: The electronic device determines whether the electronic device is within a preset geographic fence based on the location information.
[0085] In one example, the geo-fence is a latitude and longitude range, and the location information of the electronic device is the latitude and longitude information. Based on this, if the latitude and longitude information is within the latitude and longitude range corresponding to the geo-fence, the electronic device is considered to be located inside the geo-fence.
[0086] S503: When the electronic device is within a preset geographic fence and is processing a target service, wireless network information of the coverage area of the geographic fence is obtained.
[0087] In this embodiment, the wireless network information of a region is used to represent the historical communication status of each electronic device in the region. Exemplarily, the wireless network information includes at least one of operator information, frequency band number, signal strength, uplink and downlink congestion, latency, jitter, and packet loss rate.
[0088] In some embodiments, the management server may establish a communication map for the coverage area of the geo-fence, so that electronic devices located within the geo-fence may determine the wireless network information of their location based on the communication map.
[0089] A communication map is used to display the communication status of various locations within a geographic area. In this embodiment, as shown in FIG6 , the communication map includes multiple sub-areas and wireless network information for each sub-area. The sub-area can be a grid of a preset shape or a cell. This embodiment of the application does not restrict the shape and type of the sub-area. The size of the sub-area reflects the area of the corresponding geographic area. The smaller the sub-area, the better the accuracy of the communication map; conversely, the larger the sub-area, the worse the accuracy of the communication map.
[0090] The communication map is usually determined based on the map information and communication crowdsourcing data of the target area. For example, as shown in Figure 7, during daily communication, each electronic device (such as electronic device 1 to electronic device n, etc.) within a certain geographic fence can report its location information and communication crowdsourcing data to the management server during cellular communication. The communication crowdsourcing data includes the operator information and frequency band number used by the electronic device during the current communication process, as well as the signal strength, uplink and downlink congestion, delay, jitter and packet loss rate detected during the current communication process. The management server can generate a communication map based on the communication crowdsourcing data reported by each of the above electronic devices at each location.
[0091] In the communication map, the wireless network information of each sub-area is used to represent the wireless communication situation in the sub-area. It can be understood that due to the different distribution of base stations and the different hardware and software settings of base stations, the wireless network information of different sub-areas is usually different. In addition, since there may be multiple base stations of different operators covering the same sub-area, the wireless network information of a sub-area may include information of multiple operators. In addition, since a base station usually supports multiple frequency bands, there are usually multiple frequency band numbers in the wireless network information of a sub-area. The signal strength in the wireless network information of a sub-area can be the average signal strength of each electronic device in the sub-area during the communication process, the uplink and downlink congestion situation can be the average uplink and downlink congestion situation of each electronic device in the sub-area during the communication process, and the delay, jitter and packet loss rate can also be the average delay, average jitter and average packet loss rate of each electronic device in the sub-area during the communication process.
[0092] In this embodiment, the electronic device obtains wireless network information in the following manners: manner 1 and manner 2.
[0093] Method 1: Obtain wireless network information from the management server.
[0094] In some embodiments, as shown in Figure 8, if an electronic device is within a preset geofence and processing a target service, it sends an information acquisition request to a management server, including its location information. Upon receiving the information acquisition request, the management server searches for wireless network information in the corresponding sub-area based on the location information and returns the wireless network information to the electronic device. It can be appreciated that the wireless network information acquired by the electronic device through this method is highly real-time and accurate.
[0095] Method 2: Get wireless network information locally.
[0096] In some embodiments, the electronic device can pre-download or update a communication map for each geofence from a management server and store the map locally on the electronic device. Based on this, when the electronic device determines it is within a preset geofence, it can directly search the local communication map for wireless network information at that location. This method allows the electronic device to quickly obtain wireless network information at its location, providing a better user experience.
[0097] Optionally, the electronic device can also detect the amount of data to be transmitted for the target service. If the amount of data to be transmitted is greater than the data volume threshold, S503 is executed, otherwise the DSDA control process is terminated. Exemplarily, the amount of data to be transmitted can be the size of the file to be downloaded (such as a video file), or the size of the file to be uploaded, etc. In addition, the data volume threshold can be 300M, 500M, 1G, etc., and this embodiment does not specifically limit this. It can be understood that at the same transmission speed, the transmission process of large files usually takes a longer time, while the transmission process of small files usually takes a shorter time. Therefore, through the method provided in this embodiment, the electronic device can turn on the DSDA function when it needs to transmit larger files to speed up the transmission rate and improve the user experience; when transmitting smaller files, the data traffic of the default SIM card is used to reduce the consumption of the traffic of another SIM card.
[0098] Optionally, the electronic device can also determine its own device status. When the device status meets the device status condition, S503 is executed, otherwise the DSDA control process ends. Exemplarily, the device status includes: device temperature, device remaining power, etc. Correspondingly, the device status condition includes: the device temperature is less than the temperature threshold, and / or the device remaining power is greater than the power threshold. The temperature threshold can be 37°C, 40°C, etc., and the remaining power can be 20%, 30%, 40% or 50% of the full charge of the electronic device, etc. This embodiment does not limit this.
[0099] Optionally, the electronic device may also detect the current transmission speed of the target service's service data. If the current transmission speed is less than a speed threshold, it indicates that the electronic device is processing the target service slowly. The electronic device then executes S503 to subsequently enable the DSDA function and increase the processing rate of the target service. If the current transmission speed is greater than or equal to the speed threshold, it indicates that the electronic device is processing the target service quickly. Therefore, there is no need to obtain wireless network information within the geofence to enable the DSDA function.
[0100] S504: The electronic device determines whether the wireless network information meets a preset network condition.
[0101] In this embodiment, the preset network condition includes at least one of the following:
[0102] (1) The operator information in the wireless network information includes operator information corresponding to the SIM card used by the electronic device, and the SIM card includes a first SIM card and a second SIM card.
[0103] (2) The frequency band numbers in the wireless network information include all frequency band numbers in any DSDA combination supported by the electronic device.
[0104] (3) The signal strength of the cell corresponding to the DSDA combination is greater than a signal strength threshold. For example, the signal strength threshold may be -90dBm, -95dBm, or -100dBm, etc., which is not limited in this embodiment.
[0105] (4) The uplink and downlink congestion of the cell corresponding to the DSDA combination meets the conditions. For example, the uplink and downlink retransmission rate is less than the retransmission rate threshold, the round-trip time (RTT) is less than the RTT threshold, the average buffer time is less than the buffer time threshold, and the signal-to-noise ratio is greater than the signal-to-noise ratio threshold.
[0106] (5) The latency of the cell corresponding to the DSDA combination is less than the latency threshold. Latency refers to the time required for data to be transmitted from one end of the network to the other. As can be understood, the smaller the latency, the higher the data transmission rate. In this embodiment, the latency threshold can be 100ms, 120ms, etc., and this embodiment does not limit this.
[0107] (6) The jitter time of the cell corresponding to the DSDA combination is less than the jitter time threshold. Jitter time represents the time difference between the maximum delay and the minimum delay during communication. It is understood that the smaller the jitter time, the more stable the delay during data transmission. In this embodiment, the jitter time threshold can be 15ms, 20ms, etc., and this embodiment does not limit this.
[0108] (7) The packet loss rate of the cell corresponding to the DSDA combination is less than the packet loss rate threshold. The packet loss rate refers to the ratio of the number of lost data packets to the total number of sent data packets. It is understood that the higher the packet loss rate, the worse the communication quality. In this embodiment, the packet loss rate threshold may be 0.01%, 0.05%, or 0.1%, etc., and this embodiment does not limit this.
[0109] S505: If the wireless network information meets the preset network conditions, the DSDA technology is used to access the cellular network to transmit the service data of the target service.
[0110] In this embodiment, the electronic device uses DSDA technology to communicate, including using a first SIM card to access a cellular network via a first radio frequency module and establishing a first socket connection (i.e., Socket 1) with a service server for a target service to transmit a first service flow of the target service; and using a second SIM card to access the cellular network via a second radio frequency module and establishing a second socket connection (i.e., Socket 2) with the service server for the target service to transmit a second service flow of the target service. In other words, the electronic device uses two SIM cards to establish two service flows and simultaneously transmit service data of the target service, thereby improving the transmission rate.
[0111] Optionally, when the electronic device leaves the geo-fence coverage area, the DSDA function is automatically disabled to reduce data usage. In one example, the electronic device typically sets the card with the highest data usage as the default data card, such as the first SIM card. Therefore, when disabling the DSDA function, the electronic device typically maintains the first service flow of the first SIM card and disconnects the second service flow of the second SIM card, prioritizing the data usage of the data card and reducing data usage on the other SIM card.
[0112] In order to enhance the user's control experience of the DSDA function, the electronic device can display relevant controls and further turn on / off the DSDA function in conjunction with the user's control operations.
[0113] In some embodiments, as shown in Figure 9, the mobile data setting interface of the electronic device includes a first control, which is used to control the DSDA function of the electronic device to be turned on or off. Based on this, the user can manually turn on / off the DSDA function of the electronic device through the first control. When the DSDA function is turned on, the electronic device communicates through the method provided in the above embodiment (such as S301~S302 or S501~S505). When the DSDA function is turned off, the electronic device does not execute the method provided in the above embodiment.
[0114] In other embodiments, when the electronic device is in a preset geographic fence and processing a target service, a first prompt box is displayed, and the first prompt box includes an inquiry message, a confirmation control, and a cancel control. The inquiry message is used to ask the user whether to enable the dual-SIM dual-pass function. For example, as shown in FIG10 , the inquiry message may be: the DSDA dual-SIM function will be turned on, and after turning it on, Card 1 and Card 2 will use mobile data at the same time. The confirmation control is used to confirm the activation of the DSDA function, and the cancel control is used to cancel the display of the first prompt box. In response to the user's selection operation on the confirmation control, the electronic device enables the DSDA function when processing the target service, establishes two service streams through two SIM cards, and transmits the service data of the target service at the same time, thereby increasing the transmission rate. Through the first prompt box, when the electronic device is in the effective range of DSDA, the user can independently choose whether to enable the DSDA function according to needs.
[0115] In yet other embodiments, as shown in FIG11A , while the electronic device is processing a target service using the DSDA function, a second prompt box may be displayed. The second prompt box includes a prompt message and a function-disable control. The prompt message is used to inform the user that the electronic device is currently using the DSDA function to process the target service, and the function-disable control is used to disable the DSDA function. The user can disable the DSDA function by operating the disable control.
[0116] After the DSDA function is turned off, as shown in FIG11B , the electronic device cancels the second prompt box and displays a third prompt box. The third prompt box includes a prompt message and a function activation control. The prompt message informs the user that the electronic device has turned off the DSDA function. The function activation control is used to control the activation of the DSDA function. The user can restart the DSDA function of the electronic device to process the target service by operating the function activation control.
[0117] Alternatively, when the electronic device is within a preset geographic fence and meets the preset network conditions and device status conditions, the electronic device may automatically display the above-mentioned third prompt box while processing the target business, so that the user can independently operate in the third prompt box whether to use the DSDA function to process the target business.
[0118] It can be seen that through the method provided in this embodiment, the user can independently control whether the electronic device uses the DSDA function to process the target service, which provides a high user control experience.
[0119] Based on the above description, before the DSDA function is enabled on an electronic device, its first and second SIM cards are typically stationed in suitable cells in DSDS mode. However, after the DSDA function is enabled on an electronic device, the two cells where the first and second SIM cards were originally stationed in DSDS mode may not support the electronic device entering DSDA mode. In other words, the frequency bands of the cells where the first and second SIM cards are stationed in DSDS mode may not meet the DSDA combination supported by the electronic device. In this case, the electronic device needs to optimize the connection to enable the first and second SIM cards to enter DSDA mode.
[0120] In some embodiments, when the frequency bands in which the first SIM card and the second SIM card reside cannot form a DSDA combination, the electronic device can optimize the wireless network connection based on the service status of the two cards, thereby causing the electronic device to enter DSDA mode. The service status specifically refers to the status of the radio resource control (RRC) layer of the control plane protocol stack of the electronic device and the network-side device. The RRC layer is used to control the connection between the electronic device and the network-side device. The RRC layer states include an RRC idle state (i.e., RRC_IDLE) and an RRC connected state (i.e., RRC_CONNECTED). Specifically, if the electronic device has not established an RRC connection with the network device, the electronic device is in the RRC idle state. In the RRC idle state, the electronic device can select a public land mobile network (PLMN), receive system messages broadcast by the network device, perform cell reselection, receive paging messages, or receive indication information for the electronic device to be paged. In addition, if the electronic device has established an RRC connection with the network device, the electronic device is in the RRC connected state. In the RRC connected state, the electronic device can establish user plane and control plane connections with the network device to transmit user plane data and control plane signaling.
[0121] The optimized connection method provided in the embodiment of the present application is exemplarily described below for the cases where the first SIM card and the second SIM card are in different service states.
[0122] (1) The first SIM card is in the RRC connected state, and the second SIM card is in the RRC idle state.
[0123] It will be understood that when the first SIM card is in the RRC connected state while the electronic device is processing the target service, it indicates that it is transmitting service data for the target service. At this point, to avoid interrupting the processing of the target service, the electronic device can reselect the second SIM card and select a target cell that supports the electronic device entering DSDA mode. Specifically, the target cell's communication frequency band must have a frequency band number that can form a DSDA combination with the frequency band number of the first SIM card's current communication frequency band.
[0124] FIG12 is a schematic flow chart of cell reselection performed by an electronic device according to an embodiment of the present application. Referring to FIG12 , the process includes the following steps S1201 to S1203 .
[0125] S1201: The electronic device starts neighboring cell measurement.
[0126] In a mobile communication system, the signal coverage area of a network-side device or a portion of a network-side device (such as a sector antenna) is called a cell. In this embodiment, the cell in which the electronic device is currently located is referred to as the primary cell or serving cell, and the cells that the electronic device can currently search for but is not currently located in are referred to as neighboring cells, adjacent cells, or neighboring cells.
[0127] Normally, in order to ensure that electronic devices at the edge of a cell can search for the cell, the cells are usually distributed in an overlapping manner. Therefore, electronic devices can search for multiple cells in some locations. At present, after searching for multiple cells, the electronic device selects a cell with the highest priority from the multiple cells by default to reside in. After successfully residing in the cell, the electronic device can communicate with the network side device corresponding to the cell. Exemplarily, the electronic device can determine its priority based on the reference signal receiving power (RSRP) or the reference signal receiving quality (RSRP) of the cell. The larger the RSRP or RSRQ, the higher the priority.
[0128] After the electronic device resides in a suitable cell and stays there for a suitable time (such as 1 second), the cell reselection can be performed to ensure that the electronic device in the RRC idle state resides in the most suitable cell to the greatest extent.
[0129] Taking the electronic device residing in an NR cell as an example, the electronic device can start neighboring cell measurement in case 1 or case 2 as shown below to perform cell reselection.
[0130] Case 1:
[0131] 1) The neighboring cell with a higher priority NR frequency point meets the following conditions during the NR cell reselection timer (i.e. TreselectionNR): qual >Thresh X,HighQ Among them, S qual is the RSRQ value of the neighboring cell, Thresh X,HighP High-priority reselection RSRQ threshold.
[0132] 2) The electronic device stays in the current serving cell for more than 1 second.
[0133] Case 2:
[0134] 1) The neighboring cell with a higher priority NR frequency point meets the following conditions during the TreselectionNR timing period: S rxlev >Thresh X,HighP Among them, S rxlev is the RSRP value of the neighboring cell, ThreshX,HighP RSRP threshold for high priority reselection.
[0135] It should be noted that NR frequency points are fixed frequency numbers within the NR frequency band. An NR frequency band typically includes multiple NR frequency points. During communication, electronic devices specifically use NR frequency points within the NR frequency band to communicate.
[0136] 2) The electronic device stays in the current serving cell for more than 1 second.
[0137] In this embodiment, since the electronic device usually selects the cell with the highest priority to camp on, the electronic device can start neighboring cell measurement by lowering the priority of the serving cell.
[0138] S1202: The electronic device reselects and evaluates neighboring cells to determine a target cell.
[0139] After searching for multiple neighboring cells, the electronic device first needs to determine, based on the frequency bands of these neighboring cells, some candidate cells whose frequency bands can form a DSDA combination with the frequency band currently communicating with the first SIM card. Then, the electronic device further determines a target cell from these candidate cells for connection.
[0140] Specifically, if there is only one candidate cell, the electronic device determines the candidate cell as the target cell. If there are multiple candidate cells, the electronic device can determine the candidate cell with the highest signal quality level Rn as the target cell. n =Q meas,n -Q offset -Q offsettemp
[0141] Among them, Q meas,n is the RSRP of the candidate cell, Q offset is the neighboring cell reselection bias of the candidate cell, Q offsettemp This is a penalty factor introduced for cells where the timer T300 times out multiple times, that is, a penalty factor when an electronic device sends an RRC setup request message RRCSetupRequest multiple times on the cell but does not receive an RRC setup message RRCSetup.
[0142] S1203: The electronic device uses the second SIM card to connect to the target cell.
[0143] In summary, through the above steps S1201 to S1203, after the electronic device uses the second SIM card to connect to the target cell, it can enter the DSDA mode and establish two service flows through the two SIM cards to simultaneously transmit service data of the target service.
[0144] (2) Both the first SIM card and the second SIM card are in the RRC connected state.
[0145] When the first SIM card and the second SIM card cannot form a DSDA and are both in an RRC connected state, if the first SIM card undergoes RRC reestablishment, the electronic device can re-search for a target cell for the first SIM card through the RRC reestablishment process and establish an RRC connection with the network-side device corresponding to the target cell. The frequency band number of the communication frequency band supported by the target cell can form a DSDA combination with the frequency band number of the communication frequency band currently used by the second SIM card.
[0146] In this embodiment, the process of the electronic device connecting the first SIM card to the target cell through RRC reestablishment includes the following contents (1) to (10):
[0147] (1) If timer T310 is running, stop T310 and start timer T311.
[0148] Among them, timer T310 is a timer for the electronic device to monitor the failure of the wireless link. When the electronic device detects a problem with the physical layer of the serving cell, the timer T310 is started; and the electronic device can stop timer T310 when initiating the RRC connection reconstruction process. Timer T311 is a timer for the waiting time for the electronic device to enter the RRC_IDLE state after monitoring the failure of the wireless link. When the electronic device initiates the initial RRC connection reconstruction, the T311 timer is started; when the electronic device reselects a suitable NR cell, the T311 timer is stopped; when the timer times out, the electronic device enters the RRC_IDLE state.
[0149] (2) Except for the signaling radio bearer SRB0, all other radio bearers (RBs) are controlled to be suspended.
[0150] (3) Reset the medium access control (MAC) layer.
[0151] (4) Configure the default physical channel and semi-persistent scheduling configuration of the physical (PHY) layer.
[0152] (5) Configure the default MAC configuration of the MAC layer.
[0153] (6) Perform cell search process.
[0154] (7) After the target cell is found, stop T311 and start timer T301. The frequency band number of the communication frequency band supported by the target cell can form a DSDA combination with the frequency band number of the communication frequency band currently used by the second SIM card.
[0155] Timer T301 is the timer that the electronic device uses to wait for an RRC reestablishment response. When the electronic device sends an RRC reestablishment request message (RRC Reestablishment Request), timer T301 is started. When the electronic device receives an RRC connection reestablishment message (RRC Reestablishment Request) or an RRC connection reestablishment rejection message (RRC Reestablishment Reject), timer T301 is stopped. When timer T301 expires, the electronic device enters the RRC_IDLE state.
[0156] (8) Send an RRC Reestablishment Request message to the network-side device corresponding to the target cell to trigger the random access process.
[0157] (9) Receive the RRC Reestablishment message RRC Reestablishmnent sent by the network side device.
[0158] (10) Send an RRC Reestablishment Complete message RRC Reestablishment Complete to the network-side device to complete the RRC reestablishment with the network-side device.
[0159] It should be understood that the size of the serial numbers of the steps in the above embodiments 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 this application.
[0160] An embodiment of the present application also provides an electronic device that supports setting a first SIM card and a second SIM card, and includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, it implements the DSDA control method as shown in the above embodiments.
[0161] An embodiment of the present application also provides a chip, as shown in Figure 13, which includes a processor and a memory. The memory stores a computer program, which, when executed by the processor, implements the DSDA control method shown in the above embodiments.
[0162] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the DSDA control method shown in the above embodiments is implemented.
[0163] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by an electronic device, the electronic device implements the DSDA control method shown in the above embodiments.
[0164] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0165] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0166] In the embodiments provided in this application, the division of each framework or module is merely a logical function division. In actual implementation, there may be other division methods, for example, multiple frameworks or modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0167] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0168] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0169] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0170] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A dual-card dual-pass control method, characterized in that: Applied to an electronic device, the electronic device supports setting a first user identification module SIM card and a second SIM card, the method comprising: determining a location of the electronic device; When the electronic device is located within a preset geographic fence and is processing a target service, a dual-card dual-access (DSDA) function is activated to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit service data of the target service.
2. The method according to claim 1, characterized in that When the location of the electronic device is within a preset geographic fence and when processing a target service, starting the DSDA function to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit service data of the target service, including: When the location of the electronic device is within a preset geographic fence and when executing the target service, wireless network information within the geographic fence is obtained, where the wireless network information is used to represent historical communication conditions of multiple other electronic devices; When the wireless network information meets the preset network condition, the DSDA function is started to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit the service data of the target service.
3. The method according to claim 2, characterized in that The wireless network information includes: at least one of: operator information, frequency band number, signal strength, uplink and downlink congestion, delay, jitter and packet loss rate.
4. The method according to claim 3, characterized in that The preset network condition includes: the frequency band number in the wireless network information includes the frequency band number in the DSDA combination supported by the electronic device.
5. The method according to claim 4, characterized in that The preset network conditions also include: The signal strength is greater than a signal strength threshold; and / or, The delay is less than the delay threshold; and / or, The jitter time is less than a jitter time threshold; and / or, The packet loss rate is less than a packet loss rate threshold.
6. The method according to any one of claims 2 to 5, characterized in that: The geo-fence includes a plurality of sub-areas. Accordingly, the step of obtaining the wireless network information within the geo-fence includes: Sending location information of the current location of the electronic device to a network side device; The wireless network information of a first sub-area where the electronic device is located is received, which is returned by the network side device. The first sub-area is determined by the network side device in the geographic fence according to the location information.
7. The method according to claim 6, characterized in that The sub-area is a grid of a preset shape, or a cell.
8. The method according to any one of claims 1 to 7, characterized in that: The starting of the DSDA function includes: determining a device state of the electronic device; When the device state meets the device state condition, starting the DSDA function; and / or, Determine the data volume of the business data of the target business; When the data volume is greater than the data volume threshold, starting the DSDA function; and / or, Determine the data transmission rate when the electronic device is currently transmitting the service data of the target service; When the data transmission rate is less than the rate threshold, the DSDA function is started.
9. The method according to claim 8, characterized in that The device status conditions include: The temperature of the electronic device is less than a temperature threshold; and / or, The remaining power of the electronic device is greater than a power threshold.
10. The method according to any one of claims 1 to 9, characterized in that: The setting interface of the electronic device includes a first control, and the first control is used to control turning on or off the DSDA function.
11. The method according to any one of claims 1 to 10, characterized in that: When the location of the electronic device is within a preset geographic fence and when processing a target service, starting the DSDA function to use the first SIM card and the second SIM card to establish two service flows and simultaneously transmit service data of the target service, including: When the electronic device is located within a preset geographic fence and is processing a target service, a first prompt box is displayed. The prompt box includes an inquiry message and a confirmation control, wherein the inquiry message is used to ask the user whether to enable the dual-SIM dual-pass function; In response to the selection operation of the confirmation control, the electronic device starts the DSDA function to establish two service flows using the first SIM card and the second SIM card to simultaneously transmit the service data of the target service.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In the process of using the first SIM card and the second SIM card to establish two service flows and simultaneously transmit service data of the target service, a second control is displayed, where the second control is used to control the DSDA function of the electronic device to be turned off.
13. The method according to any one of claims 1 to 12, characterized in that: After the DSDA function is started, when the frequency band numbers of the current communication between the first SIM card and the second SIM card cannot form a DSDA combination supported by the electronic device, the method further includes: When the first SIM card is in a radio resource control RRC connected state and the second SIM card is in an RRC idle state, a cell reselection is performed on the cell where the second SIM card resides; wherein the frequency band number of the target cell where the second SIM card resides after the reselection can form the DSDA combination with the frequency band number of the current communication of the first SIM card.
14. The method according to any one of claims 1 to 13, characterized in that: After the DSDA mode is enabled, when the frequency band numbers of the current communication between the first SIM card and the second SIM card cannot form a DSDA combination supported by the electronic device, the method further includes: When both the first SIM card and the second SIM card are in an RRC connection state, if the first SIM card disconnects from the current serving cell, the second SIM card is controlled to determine and establish an RRC connection with the target cell through an RRC reestablishment process; wherein the frequency band number of the target cell can form the DSDA combination with the frequency band number of the current communication of the second SIM card.
15. The method according to any one of claims 1 to 14, characterized in that: The method further comprises: After detecting that the electronic device leaves the preset geo-fence, the DSDA function is turned off.
16. An electronic device, characterized in that: The electronic device supports setting a first user identification module SIM card and a second SIM card, and includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method according to any one of claims 1 to 15 is implemented.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
18. A chip, characterized in that: The chip includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 15 is implemented.
Citation Information
Patent Citations
User equipment service processing method and device, user equipment and storage medium
CN114710838A
Data transmission method, electronic equipment and computer readable storage medium
CN115734288A
Dual-card communication method and terminal equipment
CN116055988A
Methods and apparatuses for preemptive battery voltage management in multi-SIM mobile devices
US20140080459A1