CN114867005A - Service processing method and dual-card dual-standby electronic equipment - Google Patents

Service processing method and dual-card dual-standby electronic equipment Download PDF

Info

Publication number
CN114867005A
CN114867005A CN202110075950.0A CN202110075950A CN114867005A CN 114867005 A CN114867005 A CN 114867005A CN 202110075950 A CN202110075950 A CN 202110075950A CN 114867005 A CN114867005 A CN 114867005A
Authority
CN
China
Prior art keywords
bandwidth
service
card
user card
sim card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110075950.0A
Other languages
Chinese (zh)
Inventor
石帅
郭浩平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110075950.0A priority Critical patent/CN114867005A/en
Priority to PCT/CN2021/142489 priority patent/WO2022156501A1/en
Publication of CN114867005A publication Critical patent/CN114867005A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The application discloses a service processing method, which is applied to dual-card dual-standby electronic equipment, wherein the dual-card dual-standby electronic equipment comprises a first user card and a second user card which are used for internet surfing services, and the method comprises the following steps: performing internet surfing service through the first user card; acquiring a first bandwidth of a first user card and a second bandwidth of a second user card; and selecting at least one of the first user card and the second user card according to the sizes of the first bandwidth and the second bandwidth to carry out internet surfing service. Therefore, the dual-card dual-standby electronic equipment can select a proper user card to surf the internet according to the bandwidth sizes of the first user card and the second user card, so that the internet surfing requirement is met, and the experience of a user is improved. And the dual-card dual-standby electronic equipment can simultaneously use the first user card and the second user card to carry out internet surfing service, can more fully and accurately utilize the service carrying capacity of the dual cards, and provides higher service quality so as to improve the experience of users. The application also discloses a dual-card dual-standby electronic device.

Description

Service processing method and dual-card dual-standby electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a service processing method and a dual-card dual-standby electronic device.
Background
With The development and popularization of The internet, more and more ott (over The top) merchants provide internet services, and more electronic devices access to The internet. Electronic devices accessing the internet include mobile terminals, such as mobile phones and tablet computers, which have been explosively increased in recent years, in addition to conventional Personal Computers (PCs). In addition, as more electronic devices access to the internet and the frequency of accessing the internet by the electronic devices are higher, the user has higher requirements on the network connection speed, the internet access delay and the like when the electronic devices access the internet in the process of using the electronic devices.
An electronic device (e.g., a mobile phone) may access the internet through a Subscriber card installed in the electronic device to implement an internet service, where the Subscriber card may be, for example, a Subscriber Identity Module (SIM) card. For electronic equipment, at present, many electronic equipment are dual-card dual-standby electronic equipment, and in the use process of the dual-card dual-standby electronic equipment, the dual-card dual-standby electronic equipment has the problem that the service bearing capacity of the dual card cannot be fully utilized.
Disclosure of Invention
The service processing method can be applied to the dual-card dual-standby electronic equipment, so that the dual-card dual-standby electronic equipment can select a more appropriate user card to carry out internet surfing service, the service bearing capacity of the dual card can be more fully and reasonably utilized, higher service quality is provided, and the internet surfing experience of a user is improved.
In order to solve the foregoing technical problem, in a first aspect, an embodiment of the present application provides a service processing method applied to a dual-card dual-standby electronic device, where the dual-card dual-standby electronic device includes a first user card and a second user card, and the method includes: performing internet surfing service through the first user card; acquiring a first bandwidth of a first user card and a second bandwidth of a second user card; and selecting at least one user card from the first user card and the second user card according to the first bandwidth and the second bandwidth to carry out internet surfing service.
The dual-card dual-standby electronic equipment obtains a first bandwidth of a first user card and a second bandwidth of a second user card, selects a proper user card to surf the internet according to the bandwidth sizes of the first user card and the second user card so as to meet the internet surfing requirement, can avoid the problem that the user card cannot meet the internet surfing requirement due to insufficient bandwidth, and can improve the experience of a user. And the dual-card dual-standby electronic equipment can simultaneously use the first user card and the second user card to carry out internet surfing service, thereby achieving the effect of a DSDA mode, more fully and accurately utilizing the service bearing capacity of the dual cards, providing higher service quality and improving the experience of users. The application also discloses a dual-card dual-standby electronic device.
In a possible implementation of the first aspect, the first user card and the second user card may be SIM cards, eSIM cards, or other data cards used for internet access services.
In a possible implementation of the first aspect, selecting at least one of the first user card and the second user card according to the sizes of the first bandwidth and the second bandwidth to perform the internet access service includes: if the BW1 is more than or equal to NxBW 2, selecting a first user card to carry out Internet surfing service, wherein BW1 is a first bandwidth, BW2 is a second bandwidth, and N is any number more than 1; if BW2 is not less than NxBW 1, selecting a second user card to carry out internet surfing service; and if the K (BW1) xBW 1+ K (BW2) xBW 2 is more than or equal to NxBW 1, selecting the first user card and the second user card to simultaneously carry out internet surfing service, wherein the K () is a scaling factor function which is inversely related to the bandwidth of the user cards and is caused by the switching of the user cards of the dual-card dual-standby electronic equipment.
Through the user card selection mode, the user card for carrying out the internet surfing service can be conveniently and quickly determined, and the internet surfing experience of the user is improved.
In one possible implementation of the first aspect, the obtaining the second bandwidth of the second user card includes: creating probe service data for probing the second bandwidth; and performing wireless resource scheduling according to the detection service data, and determining a second bandwidth according to the wireless resource scheduling information.
In a possible implementation of the first aspect, the dual-card dual-standby electronic device may detect the second bandwidth of the second user card at the Modem layer, and perform the radio resource scheduling through the created detection service data, so as to conveniently and quickly implement the detection of the second bandwidth of the second user card. And determining the second bandwidth according to the wireless resource scheduling information, so that the detection time overhead of the second bandwidth is very small, usually less than 1s, and the second bandwidth of the second user card can be quickly and accurately detected.
In one possible implementation of the first aspect, the method further comprises calculating the bandwidth by: BW ═ r (tr) × F (TBS, rp, d), where tr is scheduling request response time, TBS is scheduling data block size, rp is scheduling padding fraction, and d is scheduling time density; r () is an inverse correlation function and F () is a positive correlation function.
In a possible implementation of the first aspect, the method further includes: the method comprises the steps that a first bandwidth of a first user card is obtained in real time in the process of carrying out internet surfing business through the first user card; and if the preset bandwidth detection condition is met, acquiring a second bandwidth of the second user card.
In a possible implementation of the first aspect, the method further includes: acquiring service quality information of a first user card; and determining the service quality according to the service quality information to judge whether the bandwidth detection condition is met.
In the process of the internet surfing service through the first user card, the first bandwidth of the first user card can be determined according to the wireless resource scheduling information of the service data of the internet surfing service performed by the first user card, if the service quality of the first user card is poor, the bandwidth detection condition can be considered to be met, namely the detection time of the bandwidth of the second user card is the moment, the second bandwidth of the second user card is obtained, and the user card performing the internet surfing service is selected. In addition, because the service of the first user card serving as the default data account is idle or the service quality is poor, the detection service data serving as the radio frequency resource is switched to the second user card for short-time detection, and the influence on the internet access service of the first user card is not great. In addition, the detection service data can be sent to the local IP of the second user card, and the flow charging of the second user card cannot be increased.
In one possible implementation of the first aspect, the service quality information of the first user card includes at least one of the following information: service data transmission information; signal strength information; network access technology information. The service data transmission information is transmission information of uplink service data and/or transmission information of downlink service data in the process of performing the internet access service, and the network access technology information may refer to, for example, 3G, 4G, 5G, and the like.
In a possible implementation of the first aspect, if the service data transmission information includes an uplink service data transmission parameter and a downlink service data transmission parameter, the method further includes: and if the uplink service data transmission parameter is greater than a preset first threshold value within preset statistical time and the downlink service data transmission parameter is less than a preset second threshold value, determining that the bandwidth detection condition is met.
In a possible implementation of the first aspect, the uplink service data transmission parameter includes at least one of a retransmission idle window, a retransmission session number, and a retransmission session proportion of uplink service data retransmission; the downlink service data transmission parameter includes at least one of a density rate and a quantity of the downlink service data.
In a possible implementation of the first aspect, the method further includes: and acquiring a first bandwidth of the first user card and a second bandwidth of the second user card according to a preset bandwidth detection period. The bandwidth sounding period may be set as required, and may be, for example, 0.5h or 1 h.
In a possible implementation of the first aspect, the method further includes: starting up the dual-card dual-standby electronic equipment, establishing a first data channel for a first user card to perform service data transmission between the first user card and the Internet, and establishing a second data channel for a second user card to perform service data transmission between the second user card and the Internet; or the dual-card dual-standby electronic equipment is started, and a first data channel for service data transmission between the first user card and the Internet is established for the first user card; and if the preset bandwidth detection condition is met, establishing a second data channel for the second user card for service data transmission between the second user card and the Internet.
The dual-card dual-standby electronic equipment can create data channels for the second user card of the first user card when the electronic equipment is started, and can meet the requirements of the user cards on the data channels when the user cards are switched. Or the dual-card dual-standby electronic device may also create a data channel for the user card performing the internet access service according to the user card performing the internet access service.
In a second aspect, an embodiment of the present application provides a dual-card dual-standby electronic device, including: a first user card used for internet access service; a second user card for the internet access service; a memory for storing program instructions; and the processor is used for acquiring a first bandwidth of the first user card, acquiring a second bandwidth of the second user card, and selecting at least one user card from the first user card and the second user card to carry out internet surfing service according to the first bandwidth and the second bandwidth.
The dual-card dual-standby electronic device provided by the present application is configured to execute the service processing method provided by the first aspect and/or any one of the possible implementation manners of the first aspect, so that the beneficial effects (or advantages) of the service processing method provided by the first aspect can also be achieved.
In a third aspect, embodiments of the present application provide a chip, including: a memory for storing program instructions; a processor, coupled to the memory, for executing the program instructions to cause the chip to perform the service processing method as provided by the first aspect and/or any one of the possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program includes program instructions that are executed by a computer to cause the computer to execute the service processing method provided in the first aspect and/or any one of the possible implementation manners of the first aspect.
It is understood that the beneficial effects of the second to fourth aspects can be seen from the description of the first aspect, and are not described herein again.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
Fig. 1 shows a schematic structural diagram of a dual SIM card handset;
fig. 2 is a schematic diagram illustrating a structure of a handset provided by the present application, according to some embodiments of the present application;
fig. 3 is a schematic diagram illustrating a communication system provided herein, according to some embodiments of the present application;
FIG. 4A is a flow diagram illustrating a business process methodology provided herein, in accordance with some embodiments of the present application;
fig. 4B is a schematic diagram illustrating a process of determining a SIM card for performing an internet access service by the mobile phone 100 according to some embodiments of the present application;
fig. 4C is a schematic diagram illustrating another process of determining a SIM card for performing an internet access service by the mobile phone 100 according to some embodiments of the present application;
FIG. 5 is a schematic diagram illustrating cellular download rates for different types of handsets in different card usage states, according to some embodiments of the present application;
6A-6C are schematic diagrams illustrating display interfaces of some cell phones 100, according to some embodiments of the present application;
fig. 7 is a schematic diagram illustrating another communication system provided herein, according to some embodiments of the present application;
FIG. 8 is a flow diagram illustrating another business process methodology provided herein, in accordance with some embodiments of the present application;
FIG. 9 is a schematic diagram illustrating an electronic device, according to some embodiments of the present application;
fig. 10 is a schematic diagram illustrating a structure of a system on a chip (SoC), according to some embodiments of the present application.
Detailed Description
The technical solution of the present application will be further clearly and completely described below with reference to the accompanying drawings.
The electronic equipment can access the internet through a user card installed in the electronic equipment to realize internet surfing services. The electronic device may be a mobile terminal device such as a mobile phone, a personal computer, a tablet computer, a notebook computer, a handheld computer, and a netbook, or may be a device such as a television, an ultra-mobile personal computer (UMPC), a Personal Digital Assistant (PDA), a wearable device, a virtual reality device, and a Customer Premises Equipment (CPE). The user card may be a SIM card, or may also be another type of user card such as a Universal Subscriber Identity Module (USIM), an Embedded SIM card (eSIM), and the like.
In the following, a plurality of implementation manners and specific embodiments of the present application are described by taking an electronic device as a mobile phone and a user card as an SIM card as an example.
Referring to fig. 1, fig. 1 shows a dual SIM mobile phone with a first SIM card and a second SIM card. At present, the number of the mobile phones with the double SIM cards in the market already accounts for more than 80% of the total number of the mobile phones, and the number of users using the mobile phones with the double SIM cards is also close to 40% of the number of users using the mobile phones. Dual SIM card handsets usually support a Dual SIM Dual Active (DSDA) mode or a Dual SIM Dual Standby (DSDS) mode, wherein most of the Dual SIM card handsets support the DSDS mode, and the support rate of the DSDA mode is less than 10%.
Compared with a DSDA mode mobile phone, the DSDS mode mobile phone can only use one of the SIM cards to perform an internet access service (the internet access service may also be referred to as an internet access data service or a data service) at the same time, and cannot implement a concurrent function of a dual-card internet access service, so that the mobile phone cannot provide higher service quality.
Although the mobile phone in the DSDS mode cannot perform concurrence of dual-card internet access services, the implementation of rigid protocol flows related to network searching registration, location area update, and the like of the dual cards, and signaling messages of the dual cards may still be transmitted and received on the dual cards. For example, the mobile phone performs double-card switching through a single radio frequency channel similar to a single-pole double-throw mechanism to realize the signaling sending and receiving of the double cards, and the time division concurrency effect can be achieved.
In recent years, for a mobile phone in a DSDS mode, some chipmakers have realized "dual-card concurrency" of different kinds of services through a time division mechanism of a single radio frequency channel. For example, a first SIM card in a mobile phone is used as a default data account to perform internet access service, and a second SIM card is used for volte (voice over lte) call service. In this way, the internet access rate and the internet access delay of the first SIM card are greatly discounted, that is, the internet access rate of the first SIM card is reduced, and the internet access delay is increased. In addition, the dual-card service scheme is still a scheme for switching a default data account under a single radio frequency channel model, and at the same time, the same Application program (APP) in the mobile phone can only perform service on the first SIM card or the second SIM card, and the mobile phone does not realize real concurrent dual-card internet access service. The mobile phone cannot fully utilize the service carrying capacity of the dual cards and cannot provide higher service quality.
In addition, when the mobile phone performs internet access switching between the first SIM card and the second SIM card, default data account switching needs to be performed. The default data account can be switched by the manual operation of the mobile phone of the user or the automatic operation of the mobile phone. The switching of the default data account needs several seconds to tens of seconds, the internet access service of the application program is interrupted in the period of time, and the waiting time for recovering the internet access service on the newly determined default data account is long, which affects the use experience of the user.
Further, the default data account is automatically switched (i.e., not manually switched by the user) for the cell phone. Before switching the default data account, the mobile phone determines the service quality of the first SIM card through the signal strength of the first SIM card as the default data account, Round-trip time (RTT) of the service data, and rate information (i.e. rate information of the service data transmitted in the kernel layer). The quality of service for the second SIM card can only be roughly determined by the network access technology (the network access technology may be, for example, based on the third Generation mobile communication technology (3rd-Generation, 3G), based on the fourth Generation mobile communication technology (4rd-Generation, 4G), etc.) and the signal strength of the second SIM card. In this case, because the internet access service is performed only on the first SIM card, and the second SIM card has no service data (the service data may also be referred to as service data or a service data packet) sampling information, the mobile phone cannot accurately know the bandwidth capability of the second SIM card. The mobile phone cannot accurately know the bandwidth capability of the second SIM card, and thus cannot ensure the quality of the service of using the second SIM card to perform the internet access service. If the mobile phone determines that the service quality of the currently used first SIM card for performing the internet access service is poor, and the second SIM card is switched to the default data account, the situation that the service quality provided by the second SIM card is worse due to the smaller bandwidth exists, so that the mobile phone cannot provide better service quality, the user experience is affected, and the user experience may also be worse.
In summary, the current DSDS mode mobile phone has a problem that the service carrying capability of the dual cards cannot be fully utilized, and a problem that better service quality cannot be provided and user experience is affected.
The application provides a service processing method applied to a mobile phone in a DSDS mode, wherein the mobile phone comprises a first SIM card and a second SIM card. After the mobile phone is powered on, the mobile phone activates Data connection of each SIM card, for example, the mobile phone activates Packet Data Protocol (PDP) connection of each SIM card in 2G and 3G networks, or the mobile phone activates Public Data Network (PDN) connection of each SIM card in 4G networks, or the mobile phone activates Protocol Data Unit (PDU) session connection of each SIM card in 5G networks, and so on. And the mobile phone creates a data channel for each SIM card to transmit the service data (service data may also be referred to as service packet) of the internet service between the SIM card and the internet, for example, a first data channel is created for the first SIM card, and a second data channel is created for the second SIM card, so as to form a dual data channel. The first data channel and the second data channel may be Internet Protocol (IP) data channels, respectively. The service data can be an IP data packet transmitted between an application in the mobile phone and an application server for supporting the application in the Internet.
In addition, the mobile phone may use the first SIM card as a default data account for performing internet access services, and use the second SIM card as a non-default data account. For a user layer of the mobile phone, the default data account is still only one first SIM card, and Modem radio frequency resources in the mobile phone are also mainly supplied to the first SIM card, that is, after the mobile phone is started, the mobile phone defaults to transmit service data of the internet access service through a first data channel corresponding to the first SIM card.
In the process that the mobile phone carries out internet surfing service through the first SIM card, the mobile phone can determine whether the service quality of the first SIM card meets the current internet surfing requirement. If the service quality of the first SIM card cannot meet the current internet access requirement, the mobile phone may select a suitable SIM card from the first SIM card and the second SIM card to perform the internet access service according to the acquired first bandwidth of the first SIM card and the acquired second bandwidth of the second SIM card.
For example, if the mobile phone determines that the first bandwidth of the first SIM card is much greater than the second bandwidth of the second SIM card according to the first bandwidth of the first SIM card and the second bandwidth of the second SIM card, the mobile phone determines to continue to use the first SIM card for the internet access service, that is, to use the first data channel corresponding to the first SIM card for the transmission of the service data. If the mobile phone determines that the second bandwidth of the second SIM card is much larger than the first bandwidth of the first SIM card, the mobile phone determines to use the second SIM card for the internet access service, i.e. to use the second data channel corresponding to the second SIM card for the transmission of the service data. Otherwise, if the synthesized bandwidth of the first SIM card and the second bandwidth of the second SIM card is much larger than the first bandwidth of the first SIM card, the mobile phone determines to use the first SIM card and the second SIM card to perform the internet access service at the same time, that is, to use the first data channel and the second data channel to perform the service data transmission at the same time.
According to the service processing method applied to the mobile phone in the DSDS mode, after the mobile phone is started, the first data channel is established for the first SIM card, the second data channel is established for the second SIM card, and the requirement for double-card switching can be well met. And the mobile phone can select the SIM card for carrying out the internet surfing service from the first SIM card and the second SIM card according to the first bandwidth of the first SIM card and the second bandwidth of the second SIM card, so that the mobile phone can select a proper SIM card according to the internet surfing requirement and the bandwidths of the first SIM card and the second SIM card, thereby meeting the current internet surfing requirement and improving the experience of the user.
In addition, the mobile phone simultaneously uses the first SIM card and the second SIM card to carry out the internet access service, so that the dual-channel service data transmission of the mobile phone in the DSDS mode can be realized, the mobile phone can more fully and accurately utilize the service bearing capacity of the dual cards, namely, the mobile phone can more fully and accurately utilize the bandwidth capacity of the dual cards, higher service quality is provided, and the experience of a user is improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an exemplary mobile phone provided in the embodiment of the present application.
The mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a SIM card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiments of the present application is not limited to a mobile phone. In other embodiments of the present application, the handset may include more or fewer components than illustrated, or combine certain components, or split certain components, or arrange different components.
Processor 110 may include one or more processing units, such as: the Processor 110 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The processor 110 may generate operation control signals according to the instruction operation code and the timing signals, and perform control of reading and executing instructions.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The Interface may include an integrated Circuit (I2C) Interface, an Inter-integrated Circuit built-in audio source (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, and a Subscriber Identity Module (SIM) Interface.
The USB connector 130 is a connector conforming to the USB standard specification, and can be used to connect a mobile phone and a peripheral device, and specifically can be a standard USB connector (e.g., Type C connector), a Mini USB connector, a Micro USB connector, and the like. The USB connector 130 may be used to connect a charger to charge the mobile phone, and may also be used to transmit data between the mobile phone and a peripheral device. In some embodiments, the processor 110 may support USB, which may be USB standard specification USB1.x, USB2.0, USB3.x, USB 4.
The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to a mobile phone. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless Communication module 160 may provide solutions for wireless Communication applied to the mobile phone, including WLAN (e.g., Wi-Fi), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the handset antenna 1 is coupled to the mobile communication module 150 and the handset antenna 2 is coupled to the wireless communication module 160 so that the handset can communicate with the network and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, a phone book and the like) created in the use process of the mobile phone. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the cellular phone and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor. For example, the service processing method provided by the present application is executed.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The mobile phone can also calculate the touched position according to the detection signal of the pressure sensor 180A.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the mobile phone at a different position than the display screen 194.
Referring to fig. 3, in one implementation of the present application, a communication system is provided, which includes a Mobile phone 100, a Mobile network (Mobile net)200, and an Internet 300. The handset 100 is a DSDS mode handset.
The mobile phone 100 includes an Application Processor (AP) layer and a Modem layer. The application layer processing layer includes a plurality of applications such as APP1, APP2, APP3, a Kernel layer (e.g., Kernel net)101, a first Network Interface Card (NIC) 102A corresponding to a first SIM Card (not shown in the figure), and a second Network Interface Card 102B corresponding to a second SIM Card (not shown in the figure).
The kernel layer 101 is responsible for monitoring service data of the internet access service performed by the application in the mobile phone 100, so that the kernel layer 101 can obtain the transmission condition of the service data, where the transmission condition includes a retransmission condition. The kernel layer 101 also includes a retransmission timer 1011 and a retransmission collector 1012.
For example, for a foreground APP1 in the mobile phone 100, in the process of accessing the internet 300 by the APP1 for the internet access service, if the service quality of the first SIM card used by the mobile phone 100 currently as a default data account for the internet access service does not meet the service data transmission requirement of the current internet access service, that is, does not meet the current internet access requirement, an uplink retransmission behavior of the service data may occur in the mobile phone 100. The service quality of the first SIM card does not meet the service data transmission requirement of the current internet access service, which may be the case that the signal quality of the first SIM card is not good, or the service data volume of the current internet access service is large, and the bandwidth of the first SIM card cannot meet the transmission requirement of the service data.
When the service data uplink retransmission occurs in the mobile phone 100, the mobile phone 100 may exhibit a page stuck phenomenon. For example, the video playing application in the mobile phone 100 may pause playing video, the music playing application may pause playing music, and the browser application may not update the interface.
The uplink retransmission of the service data in the mobile phone 100 is performed by the retransmission timer 1011 according to the preset retransmission time. The retransmission collector 1012 records the start and stop times of the retransmission timer 1011 as a retransmission idle window. In addition, the handset 100 does not retransmit the service data during the retransmission idle window period. If there is a multi-service session in the handset 100, the retransmission collector 1012 may record a plurality of uplink retransmission start-stop times, resulting in a plurality of retransmission idle windows.
In addition, the retransmission collector 1012 may also obtain the number of retransmission sessions according to the number of retransmission Socket (Socket) packets created by the application, where one retransmission Socket packet corresponds to one retransmission session.
The retransmission collector 1012 may send a retransmission idle window and a number of retransmission sessions for uplink retransmission of the traffic data to the modem layer.
The modem layer of the mobile phone 100 includes a first Packet Data Convergence Protocol (PDCP) layer 103A, a first Radio Link Control (RLC) layer 104A, and a first Media Access Control (MAC) layer 105A, which correspond to the first SIM card and are used to implement the mobile communication function of the first SIM card. The modem layer further includes a second packet data convergence protocol layer 103B, a second radio link control layer 104B, and a second medium access control layer 105B corresponding to the second SIM card for implementing a mobile communication function of the second SIM card.
The modem layer also includes a Radio Frequency (RF) module 106 and an Antenna (Antenna, Ant) module 107. The antenna module 107 includes the antenna 1 and/or the antenna 2 of fig. 2 described above. The radio frequency module 106 and the antenna module 107 are used to implement the transmitting and receiving functions of electromagnetic waves in the mobile phone 100, so as to implement the transmitting and receiving functions of service data.
In addition, if the application in the mobile phone 100 accesses the internet 300 through the first SIM card, the service data of the application performing the internet access service is transmitted between the application and the antenna module 107 sequentially through the kernel layer 101, the first network interface card 102A, the first packet data convergence protocol layer 103A, the first radio link control layer 104A, the first media access control layer 105A, and the radio frequency module 106. If the application in the mobile phone 100 accesses the internet 300 through the second SIM card, the service data of the application performing the internet access service is transmitted between the application and the antenna module 107 sequentially through the kernel layer 101, the second network interface card 102B, the second packet data convergence protocol layer 103B, the second radio link control layer 104B, the second media access control layer 105B, and the radio frequency module 106.
Further, the modem layer includes a first Bandwidth (BW) Detector 108A corresponding to the first SIM card, and a second bandwidth Detector 108B corresponding to the second SIM card. For example, the first bandwidth detector 108A corresponding to the first SIM card serving as the default data account may detect the first bandwidth of the first SIM card in real time along with the internet access service of the first SIM card. The second bandwidth detector 108B corresponding to the second SIM card as the non-default data account may detect the second bandwidth of the second SIM card through the detection service data as the radio frequency resource when the preset bandwidth detection condition is satisfied. The bandwidth detection condition may mean that the service quality of the first SIM card cannot meet the service data transmission requirement of the current internet access service.
The first bandwidth finder 108A may obtain the first bandwidth determination information sequentially through the first packet data convergence protocol layer 103A, the first radio link control layer 104A, the first media access control layer 105A, and the radio frequency module 106, and determine the first bandwidth of the first SIM card according to the first bandwidth determination information. The second bandwidth finder 108B may obtain the second bandwidth determination information sequentially through the second packet data convergence protocol layer 103B, the second radio link control layer 104B, the second media access control layer 105B, and the radio frequency module 106, and determine the second bandwidth of the second SIM card according to the second bandwidth determination information. The first bandwidth determination information and the second bandwidth determination information may be radio resource scheduling information during transmission of the traffic data. The process of determining the bandwidth of the corresponding SIM card by the first bandwidth finder 108A and the second bandwidth finder 108B will be described in detail later.
The modem layer further comprises a first processing module 109. The first processing module 109 is configured to receive a retransmission idle window and a number of retransmission sessions (as an example of an uplink service data transmission parameter, that is, as an example of service quality information) sent by the kernel layer 101, and determine whether a preset bandwidth detection condition is currently met according to the retransmission idle window and the number of retransmission sessions. If the first bandwidth and the second bandwidth of the first SIM card are met, the first processing module 109 obtains the first bandwidth of the first SIM card from the first bandwidth detector 108A and obtains the second bandwidth of the second SIM card from the second bandwidth detector 108B, and determines the SIM card for performing the internet access service according to the first bandwidth and the second bandwidth. The mobile phone 100 transmits service data according to the determined data channel corresponding to the SIM card for performing the internet access service.
In this implementation, the modem layer may also be referred to as a hardware layer.
It should be noted that, in another implementation manner of the present application, the aforementioned function of the first processing module 109 may be implemented by the aforementioned processor 110.
The Mobile network (Mobile Net)200 includes a first Cell (Cell)201A included in an access network corresponding to the first SIM card, and a first Core Network (CN) 202A corresponding to the first Cell 201A, where the first Cell 201A and the first Core network 202A are configured to provide a wireless network for the Mobile phone 100 to access the internet 300 through the first SIM card. The mobile network 200 further includes a second cell 201B included in the access network corresponding to the second SIM card, and a second core network 202B corresponding to the second cell 201B, where the second cell 201B and the second core network 202B are configured to provide a wireless network for the mobile phone 100 to access the internet 300 through the second SIM card. In addition, the access network corresponding to the first SIM card further includes a first Base Station (BS) (not shown), and the access network corresponding to the second SIM card further includes a second Base Station (not shown).
Internet 300 includes a plurality of servers such as server (server) 301, server 302, and server 303. The servers such as the server 301, the server 302, and the server 303 may be application servers providing application support corresponding to the applications such as APP1, APP2, APP3 in the mobile phone 100.
Referring to fig. 4A, in combination with the above fig. 3, the service processing method applied to the mobile phone 100 provided by the present application includes the following steps:
s100, the mobile phone 100 is powered on and activated to respectively activate data connections of the first SIM card and the second SIM card, for example, activate PDP connections of the first SIM card and the second SIM card in 2G and 3G networks, or activate PDN connections of the first SIM card and the second SIM card in 4G networks. And the mobile phone 100 creates a first data channel for the first SIM card and a second data channel for the second SIM card, where the first data channel and the second data channel may be IP data channels, respectively. The mobile phone 100 defaults to the first SIM card as a default data account for performing the internet access service.
S200, the mobile phone 100 uses the first SIM card to perform an internet access service, i.e. uses the first data channel corresponding to the first SIM card to transmit service data. The retransmission collector 1012 in the mobile phone 100 obtains the retransmission idle window and the number of retransmission sessions (as an example of the uplink service data transmission parameter, that is, as an example of the service quality information) of the uplink retransmission of the service data in the process of performing the internet access service by the first SIM card, and sends the retransmission idle window and the number of retransmission sessions to the first processing module 109. The first bandwidth detector 108A in the handset 100 detects the first bandwidth BW1 of the first SIM card in real time.
The acquiring, by the retransmission collector 1012 in the mobile phone 100, the retransmission idle window and the retransmission session number of the uplink retransmission of the service data in the process of the internet service performed by the first SIM card includes: for foreground applications in the mobile phone 100, such as APP1, APP1, during the process of accessing the internet 300, when the APP1 accesses the internet service data of the internet service of the internet 300 and performs uplink retransmission, the retransmission collector 1012 in the mobile phone 100 records the uplink retransmission start-stop time of the retransmission timer 1011 as a retransmission idle window. The retransmission idle window is a period of time information.
If there is a multi-service session, the retransmission collector 1012 may record a plurality of uplink retransmission start-stop times, resulting in a plurality of retransmission idle windows.
In addition, the retransmission collector 1012 may obtain the number of retransmission sessions according to the number of retransmission Socket (Socket) packets created by the APP1, where one retransmission Socket packet corresponds to one retransmission session.
The retransmission collector 1012 sends the recorded retransmission idle window and the number of retransmission sessions to the first processing module 109 in the handset 100 in real time or according to a preset sending period. The transmission period may range from 1s to 5s, and may be, for example, 1s, 2.5s, 4s, 5s, or the like. Of course, the transmission period may have other values.
The calculation of the bandwidth can be determined according to the uplink and downlink newly-transmitted scheduling condition when the SIM card performs the internet access service, where the uplink and downlink newly-transmitted scheduling condition is the wireless resource scheduling information in the uplink service data transmission and downlink service data transmission processes. The radio resource scheduling information includes information such as a scheduling request response time tr, a Transport Block Size (TBS), a scheduling padding (padding) ratio rp, and a scheduling time density d. The scheduling request response time tr refers to the time from the time when the SIM card sends the scheduling request to the time when the SIM card receives the response of the access network, and the access network refers to the network including the cell and the core network provided by the base station corresponding to the SIM card. Scheduling TBS refers to the size of a data block that the access network allows the SIM card to transmit this time. The scheduled padding ratio rp is a ratio of the data amount applied by the SIM card to the data amount allowed to be transmitted by the SIM card by the access network, for example, the data amount applied by the SIM card is 10 bytes (bytes), the data amount allowed to be transmitted by the SIM card by the access network is 100bytes, and the scheduled padding ratio rp is 10%. The scheduling time density d refers to the number of times of access network replies received within a preset reply time after the scheduling request is sent from the SIM card. The radio resource scheduling information may also include other information. The bandwidth calculation process monopolizes the radio frequency resource of the SIM card, and the calculated bandwidth is prevented from being interfered by radio frequency switching, so that the bandwidth calculation is accurate.
In the process that the mobile phone 100 uses the first SIM card to perform the internet access service, the process that the first bandwidth detector 108A in the mobile phone 100 detects the first bandwidth BW1 in real time along with the transmission of the service data includes: the first bandwidth finder 108A acquires service data as a radio frequency resource and sends a scheduling request to the access network. The first bandwidth finder 108A then calculates a first bandwidth BW1 from the radio resource scheduling information for the traffic data transmission.
Exemplary, the first bandwidth BW1 is calculated as follows:
BW1=R(tr1)×F(TBS1,rp1,d1)
where tr1 is the first scheduling request response time, TBS1 is the first scheduling TBS, rp1 is the first scheduling padding fraction, and d1 is the first scheduling time density.
In addition, R (tr1) is an inverse correlation function and F (TBS1, rp1, d1) is a positive correlation function. Wherein the shorter the first scheduling request response time tr1, the larger the scheduling TBS1, the larger the scheduling filler fraction rp1, the higher the scheduling time density d1, and the larger the first bandwidth BW 1.
In one implementation of the present application, R (tr1) ═ 1/(Q × tr1+ T), where Q is a constant coefficient, which may be set according to the scheduling request response time tr of different SIM cards. The value range of Q is more than or equal to 0.9 and less than 1. Of course, the value of Q may be set as needed. T is an offset constant, the value of which can be specifically set as required.
In one implementation of the present application, F (TBS1, rp1, d1) ═ H × TBS1 × rp1 × d 1. Wherein H is a constant coefficient, and can be determined according to the scheduling TBS, the scheduling padding ratio rp, and the scheduling time density d of different SIM cards. The value range of H can be that H is more than or equal to 0.9 and less than 1. Of course, the value of H may be set according to other needs.
Of course, in other implementations of the present application, R (tr1) and F (TBS1, rp1, d1) may be other forms of functions.
In this implementation, the detection of the first bandwidth BW1 by the first bandwidth detector 108A is performed at the modem layer, and the first bandwidth detector 108A may calculate the first bandwidth BW1 according to the above radio resource scheduling information in the first medium access control layer 105A, so that the detection time overhead of the first bandwidth BW1 is very small, usually lower than 1 s.
S300, after receiving the idle retransmission window and the number of retransmission sessions sent by the retransmission collector 1012, the first processing module 109 in the mobile phone 100 determines the service quality of the first SIM card according to the idle retransmission window and the number of retransmission sessions, and determines whether the current service quality meets the preset bandwidth detection condition. If the bandwidth detection condition is satisfied, the mobile phone 100 performs S400, and if the bandwidth detection condition is not satisfied, the mobile phone 100 performs S200.
In an implementation manner of the present application, the first processing module 109 may determine the detection window according to the received retransmission idle window. For example, if the number of the retransmission idle windows received by the first processing module 109 within the preset statistical time is only 1, the first processing module 109 determines that the retransmission idle window is the probing window. If there are multiple idle retransmission windows received by the first processing module 109 within the preset statistical time, the first processing module 109 determines an intersection of the idle retransmission windows as a detection window.
In addition, if there is no common intersection between the multiple retransmission idle windows, it is considered that the network congestion of the first SIM card is severe at this time, and the first processing module 109 may select a smallest retransmission idle window from the multiple retransmission idle windows as the detection window, or select a smallest intersection as the detection window, or may also arbitrarily select a retransmission idle window as the detection window.
The preset statistical time can be 1 s-30 s, for example, 1s, 8.5s, 10s, 30s, etc.; of course, the statistical time may be other values.
If the first processing module 109 determines that the detection window is greater than the detection window threshold, the first processing module 109 obtains, from the first packet data convergence protocol layer 103A of the first SIM card, a density rate of downlink service data in the first packet data convergence protocol layer 103A (as an example of a downlink service data transmission parameter, that is, as an example of service quality information), where the density rate of the downlink service data refers to a size of the downlink service data, which is received by the first packet data convergence protocol layer 103A, sent by the internet 300 in a unit time, and a unit of the downlink service data is Bytes/s. The lower the density rate of the downlink service data is, the slower the transmission rate of the downlink service data packet is, that is, the insufficient downlink bandwidth of the first SIM card is indicated, which cannot meet the internet access requirement of the application.
If the first processing module 109 determines that the density rate of the downlink service data in the first packet data convergence protocol layer 103A is lower than the density rate threshold, the first processing module 109 determines that the service quality of the current first SIM card is not good, and the bandwidth detection condition is satisfied. The handset 100 executes S400.
The value range of the detection window threshold value can be 0.3 s-0.6 s, for example, 0.3s, 0.45s, 0.5s, 0.6s, and the like; of course, the detection window threshold may be other values.
The value range of the density rate threshold value can be 800 Bytes/s-1100 Bytes/s, such as 800Bytes/s, 900Bytes/s, 1050Bytes/s, 1100Bytes/s, and the like; of course, the density rate threshold may be other values.
In another implementation manner of the present application, if it is determined that the number of retransmission sessions received within the preset statistical time is greater than the retransmission session number threshold, the first processing module 109 obtains the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card. If the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card is lower than the density rate threshold, the first processing module 109 considers that the data account adjustment condition is currently satisfied. The handset 100 performs S400.
The value range of the retransmission session number threshold value can be 3-10, for example, 3, 5, 8, 10, etc.; of course, the retransmission session number threshold may be other values.
In another implementation manner of the present application, if it is determined that the ratio of the number of retransmission sessions received within the preset statistical time is greater than the threshold value of the ratio of the number of retransmission sessions, the first processing module 109 obtains the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card. If the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card is lower than the density rate threshold, the first processing module 109 considers that the data account adjustment condition is currently satisfied. The cellular phone 100 executes S14.
The retransmission session number ratio is the ratio of the number of received retransmission sessions in a preset counting time and the total number of sessions occurring in the counting time. The value range of the retransmission session number ratio threshold may be 40% to 100%, for example, 40%, 50%, 66%, 100%, and the like; of course, the retransmission session number ratio threshold may be other values.
S400, the second bandwidth detector 108B in the handset 100 detects the second bandwidth BW2 of the second SIM card.
The process of second bandwidth finder 108B detecting the second bandwidth of the second SIM card includes second bandwidth finder 108B constructing one or more probe traffic data based on a local destination IP of the mobile network of the second SIM card. The destination IP may be, for example, an IP of a local Domain Name System (DNS) server, an IP of a local Secure User Plane Location (SUPL) server, an IP of the aforementioned second core network 202B, or other virtual IP that does not correspond to a specific server.
Illustratively, the probe traffic data includes the IP of the second core network 202B. The second bandwidth detector 108B sends the detection service data, which is used as the radio frequency resource, through the second data channel of the second SIM card in the detection window period. Further, the second bandwidth finder 108B determines the second bandwidth BW2 of the second SIM card according to the uplink and downlink new transmission scheduling of the second media access control layer 105B.
The calculation of the second bandwidth BW2 is similar to the calculation of the first bandwidth BW1, and is specifically as follows:
BW2=R(tr2)×F(TBS2,rp2,d2)
where tr2 is the second scheduling request response time, TBS2 is the second scheduling TBS, rp2 is the second scheduling padding fraction, and d2 is the second scheduling time density.
In one implementation of the present application, R (tr2) ═ 1/(Q × tr2+ T), where Q is a constant coefficient, which may be set according to the scheduling request response time tr of different SIM cards. The value range of Q is more than or equal to 0.9 and less than 1. Of course, the value of Q may be set as needed. T is an offset constant, the value of which can be specifically set as required.
In one implementation of the present application, F (TBS2, rp2, d2) ═ H × TBS2 × rp2 × d 2. Wherein H is a constant coefficient, and can be determined according to the scheduling TBS, the scheduling padding ratio rp, and the scheduling time density d of different SIM cards. The value range of R can be more than or equal to 0.9 and less than 1. Of course, the value of H may be set according to other needs.
Of course, in other implementations of the present application, R (tr2) and F (TBS2, rp2, d2) may be other forms of functions.
In this implementation, the detection of the second bandwidth BW2 by the second bandwidth detector 108B is performed at the modem layer, and the second bandwidth BW2 is calculated according to the radio resource scheduling information in the second media access control layer 105B, so that the detection time overhead of the second bandwidth BW2 is very small, usually lower than 1s, and the bandwidth of the second SIM card can be quickly and accurately detected.
In addition, the second SIM card sends the probe service data to probe the second bandwidth BW2 in the probe window period determined according to the retransmission idle window, and since the service of the first SIM card serving as the default data account is idle or has poor service quality, the probe service data serving as the radio frequency resource is switched to the second SIM card for short-term probing, so that the influence on the internet access service of the first SIM card is not large. In addition, the detection service data is sent to the local IP of the second SIM card, so that the flow charging of the second SIM card cannot be increased.
S500, the first processing module 109 in the mobile phone 100 obtains the first bandwidth BW1 of the first SIM card from the first bandwidth probe 108A, obtains the second bandwidth BW2 of the second SIM card from the second bandwidth probe 108B, and determines the SIM card for performing the internet surfing service according to the first bandwidth BW1 and the second bandwidth BW 2.
Referring to fig. 4B, in an implementation manner of the present application, the process of determining, by the first processing module 109, a SIM card for performing internet access service according to the first bandwidth BW1 and the second bandwidth BW2 includes the following steps:
s501, the handset 100 determines whether the first bandwidth BW1 and the second bandwidth BW2 satisfy BW1 ≧ nxbw 2. If so, the mobile phone 100 performs S504, otherwise, the mobile phone performs S502. Wherein N is an arbitrary number greater than 1, for example, the value range of N may be 2 to 15, for example, 2, 5, 10, 12.5, 15, and the like; of course, the value of N may be other values.
The first processing module 109 in the mobile phone 100 performs bandwidth calculation, and if the BW1 is greater than or equal to nxbw 2, it is considered that the first bandwidth BW1 of the first SIM card is much greater than the second bandwidth BW2 of the second SIM card, the first SIM card can provide better service quality compared with the second SIM card, and the first processing module 109 determines to continue to use the first SIM card for the internet access service, i.e., to use the first data channel of the first SIM card for the transmission of the service data.
S502, the handset 100 determines whether the first bandwidth BW1 and the second bandwidth BW2 satisfy BW2 ≧ nxbw 1. If so, the mobile phone 100 performs S505, and if not, the mobile phone performs S503.
If the BW2 is greater than or equal to nxbw 1, the first processing module 109 determines that the second bandwidth BW2 of the second SIM card is much greater than the first bandwidth BW1 of the first SIM card, the second SIM card can provide better service quality compared with the first SIM card, and the first processing module 109 determines to use the second SIM card for the internet access service, that is, to use the second data channel of the second SIM card for the transmission of the service data.
S503, the mobile phone 100 calculates the synthesized bandwidth to obtain the synthesized bandwidth K (BW1) × BW1+ K (BW2) × BW 2. The mobile phone 100 determines whether or not K (BW1) × BW1+ K (BW2) × BW2 ≧ N × BW 1. If so, the mobile phone 100 performs S506, otherwise, the mobile phone performs S504.
If K (BW1) × BW1+ K (BW2) × BW2 is greater than or equal to nxbw 1, the first processing module 109 determines that the internet surfing service performed by using the first SIM card and the second SIM card simultaneously can provide a larger internet surfing bandwidth, improve the internet surfing speed, that is, improve the internet surfing service quality, and improve the internet surfing experience of the user, compared with the case of performing the internet surfing service by using only the first SIM card or only the second SIM card. The first processing module 109 determines that the first SIM card and the second SIM card are used simultaneously for performing the internet access service, and the first data channel and the second data channel are used simultaneously for transmitting the service data, so that the two data channels are used simultaneously for transmitting the service data, and the effect of the DSDA mode can be achieved.
S504, the mobile phone 100 determines to continue to use the first SIM card for the internet access service, that is, to use the first data channel corresponding to the first SIM card for transmitting the service data.
S505, the mobile phone 100 determines to use the second SIM card to perform the internet access service, i.e., to use the second data channel corresponding to the second SIM card to perform service data transmission.
S506, the mobile phone 100 determines to use the first SIM card and the second SIM card to perform the internet access service, that is, to use the first data channel and the second data channel to perform service data transmission.
In this implementation, k (bw) is a scaling factor function inversely related to the bandwidth of the user card due to DSDS user card switching (e.g., rf switching overhead during user card switching). When the bandwidth is close to the peak bandwidth, the value of k (bw) is about 0.3, and as the bandwidth decreases, the value of k (bw) gradually increases, and the switching overhead influence of the cell phone 100 on receiving and sending the service data decreases after the data density per unit time decreases.
In one implementation of the present application, k (BW) ═ 2^ (-BW) + P × BW/(BW +1), BW is the bandwidth evaluated by each SIM card individually, P is the convergence coefficient, and P may be 0.3 as described above.
Then K (BW1) ═ 2^ (-BW1) + P × BW1/(BW1+1), K (BW2) ═ 2^ (-BW2) + P × BW2/(BW2+ 1).
Of course, in other implementations of the present application, k (bw) may be other forms of functions.
When the mobile phone 100 uses the first SIM card and the second SIM card to perform the internet access service, the current service data in the mobile phone 100 may be continuously transmitted through the first data channel corresponding to the first SIM card. The new service data in the mobile phone 100 may be transmitted through the second data channel corresponding to the second SIM card.
Or, the mobile phone 100 may select a part of the current service data to continue to be transmitted through the first data channel corresponding to the first SIM card, and another part of the current service data to be transmitted through the second data channel corresponding to the second SIM card. For example, the size of the service data may be determined according to the bandwidth sizes of the first SIM card and the second SIM card, where the SIM card with a larger bandwidth undertakes more transmission of the service data, and the SIM card with a smaller bandwidth undertakes less transmission of the service data.
Of course, the mobile phone 100 may also use the first SIM card and the second SIM card simultaneously to transmit service data in other manners, such as sorting according to applications.
In this implementation, since the mobile phone 100 includes two data channels, the dual card switching is faster and more convenient, which can effectively avoid service interruption and improve the internet experience of the user. In addition, in the implementation manner, the selected SIM card for performing the internet access service is an SIM card with a larger bandwidth, which can provide a larger internet access bandwidth, i.e., provide a better internet access quality.
In some implementation manners of the present application, for S510, after the mobile phone 100 determines the SIM card for performing the internet surfing service, the mobile phone 100 may further display a prompt message on a display interface of the mobile phone 100 for prompting the user to perform the switching of the SIM card for the internet surfing service. For example, when switching from the first SIM card to the second SIM card for internet access, the display interface of the mobile phone 100 displays "switched to the second SIM card for internet access". When the first SIM card is switched to the second SIM card for internet access, a prompt message "switched to dual-card internet access" is displayed on the display interface of the mobile phone 100.
Referring to fig. 4C, in an implementation manner of the present application, a process of determining, by the mobile phone 100, a SIM card for performing internet access service according to the first bandwidth BW1 and the second bandwidth BW2 includes the following steps:
s501', the handset 100 determines whether the first bandwidth BW1 and the second bandwidth BW2 satisfy BW1 ≧ N1 × BW 2. If so, the mobile phone 100 performs S504, otherwise, the mobile phone performs S502'.
The value range of N1 can be 2-15, for example, 2, 5, 10, 12.5, 15, etc.; of course, the value of N1 may be other values.
S502', the handset 100 determines whether the first bandwidth BW1 and the second bandwidth BW2 satisfy BW2 ≧ N2 × BW 1. If so, the mobile phone 100 performs S505, otherwise, the mobile phone performs S503'.
The value range of N2 can be 3-16, for example, 3, 6, 11, 13, 16, etc.; of course, the value of N2 may be other values.
S503', the mobile phone 100 performs the calculation of the synthesized bandwidth to obtain the synthesized bandwidth K (BW1) × BW1+ K (BW2) × BW 2. The mobile phone 100 determines whether or not K (BW 1). times.BW 1+ K (BW 2). times.BW 2 is N3. times.BW 1. If so, the mobile phone 100 performs S506, otherwise, the mobile phone performs S504.
The value range of N3 can be 4-17, for example, 4, 7, 12, 15.5, 17, etc.; of course, the value of N3 may be other values.
S504, the mobile phone 100 determines to continue to use the first SIM card for the internet access service, i.e., to use the first data channel of the first SIM card for transmitting the service data.
S505, the mobile phone 100 determines to use the second SIM card to perform the internet access service, i.e., to use the second data channel of the second SIM card to perform the service data transmission.
S506, the mobile phone 100 determines to use the first SIM card and the second SIM card to perform the internet access service, that is, to use the first data channel and the second data channel to perform service data transmission.
In this implementation, N1 < N2 < N3. Of course, N1, N2, and N3 may be any other number different from 1.
In the service processing method applied to the mobile phone 100 in the DSDS mode provided by this implementation manner, after the mobile phone 100 is started up, the mobile phone 100 creates a first data channel for a first SIM card in the mobile phone 100 and a second data channel for a second SIM card, which may facilitate the mobile phone 100 to perform SIM card switching. In the process of performing the internet access service by the mobile phone 100, the mobile phone 100 may quickly and accurately detect the first bandwidth BW1 of the first SIM card and the second bandwidth BW2 of the second SIM card, and may conveniently and accurately determine the SIM card performing the internet access service according to the first bandwidth BW1 and the second bandwidth BW2, and transmit service data by using the data channel corresponding to the SIM card determining the internet access service. The SIM card for the internet access service is determined or decided more quickly, and the SIM card for the internet access service determined according to the bandwidth can provide better bandwidth for a user, namely better service quality. In addition, the mobile phone 100 in the DSDS mode can also implement the concurrent dual-card internet access service, and the service quality of the mobile phone 100 in the DSDS mode can be effectively improved.
In the service processing method applied to the mobile phone 100 in the DSDS mode provided by this implementation manner, even if the default data account selected by the user is the first SIM card, the mobile phone 100 can use the second SIM card to perform the internet access service.
In another implementation manner of the application, for the aforementioned S200, if the retransmission collector 1012 determines that the service quality of the current first SIM card is not good according to the number of retransmission sessions, the retransmission collector 1012 may also send only a retransmission idle window for uplink service data retransmission to the first processing module 109 in the modem layer.
In another implementation of the application, for the foregoing S200, in the process that the mobile phone 100 uses the first SIM card to perform the internet access service, the first bandwidth detector 108A in the mobile phone 100 may not detect the first bandwidth BW1 of the first SIM card in real time. If the handset 100 executes S300 to determine that the bandwidth detection condition is satisfied, for S400, the first bandwidth detector 108A in the handset 100 may first detect the first bandwidth BW1 of the first SIM card, and then the second bandwidth detector 108B in the handset 100 detects the second bandwidth BW2 of the second SIM card.
In another implementation manner of the application, for the aforementioned S100, after the mobile phone 100 is powered on and started, only the PDN connection or the PDP connection of the first SIM card may be activated, and a first data channel is created for the first SIM card. After the mobile phone 100 executes S300, and it is determined that the bandwidth detection condition is satisfied, the mobile phone 100 reactivates the PDN connection or the PDP connection of the first SIM card, and creates a second data channel for the second SIM card. The handset 100 then executes S400.
Referring to fig. 5, fig. 5 is a schematic diagram showing the cellular download rate of different types of mobile phones under different card-using states, wherein the abscissa is the detection time (T); the ordinate is the cellular download rate in Bytes/s. For a single-card mobile phone with only one SIM card, when the single-card mobile phone downloads the service data in the internet service, the single-card mobile phone downloads the service data by using the single card, and the single-cell download rate of the single-card mobile phone is shown as line L1. For the mobile phone 100 provided in the present application, when the mobile phone 100 uses the first SIM card as the default data account and only uses the first SIM card for downloading service data, the single-cell download rate of the mobile phone 100 is shown as the line L2. When the mobile phone 100 only uses the second SIM card for internet access service, i.e. only uses the second SIM card for downloading the service data, the single-cell download rate of the mobile phone 100 is shown as line L3. The mobile phone 100 simultaneously uses the first SIM card and the second SIM card to perform the internet access service, and when the first SIM card and the second SIM card are used to perform the downloading of the service data, the dual-cellular download rate is as shown by line L4 under the condition that the dual-card air interface of the mobile phone 100 is limited, so that the mobile phone 100 in the DSDS mode simultaneously performs the internet access service on the first SIM card and the second SIM card, and the dual-card integrated cellular download rate is significantly higher than the cellular download rate of a single card, so that the service carrying capacity of the dual cards can be effectively utilized, the cellular download rate is improved, a higher service quality is provided, and the user experience can be effectively improved. In addition, line L4 is the measured dual-card converged cellular download rate under the ideal situation of analog dual-card air interface limitation.
In another implementation manner of the present application, if the mobile phone 100 is stuck during the process of using the second SIM card to perform the internet access service, the mobile phone 100 may further obtain the current bandwidth of the second SIM card and the current bandwidth of the first SIM card, and re-determine the SIM card for performing the internet access service according to the bandwidths.
In addition, in another implementation manner of the present application, after the SIM card for performing the internet access service is switched from the first SIM card to the second SIM card, the SIM card for performing the internet access service may also be directly switched to the first SIM card again after a preset switching time. The range of the switching time can be 20s to 60s, for example, 20s, 30s, 45.5s, 60s, and the like; of course, the switching time may be other values.
It should be noted that, in the present application, the mobile phone 100 may detect the bandwidth of the SIM card performing the internet access service in real time during the process of performing the internet access service by the SIM card. The mobile phone 100 may obtain the bandwidth of the SIM card not performing the internet access service by sending the detection service data when the SIM card currently performing the internet access service is stuck. In the whole internet access process, the mobile phone 100 may switch the SIM card for performing the internet access service according to the real-time bandwidths of the first SIM card and the second SIM card.
In other implementation manners of the present application, the density rate of the downlink traffic data may also be other downlink traffic data transmission parameters used for indicating a downlink traffic transmission condition, such as the number of downlink traffic data in a preset time (for example, a downlink traffic data packet of 100Bytes is received in 2s), or the number of downlink traffic data packets transmitted in a unit time (for example, the number of downlink traffic data packets transmitted in a unit time is 5), and may be selected as needed. The above-mentioned retransmission idle window, number of retransmission sessions, and ratio of retransmission sessions may be other uplink traffic data transmission parameters indicating the uplink traffic transmission situation. Which can be set as desired.
In another implementation manner of the application, for the foregoing S200, in the process that the mobile phone 100 uses the first SIM card to perform the internet access service, the mobile phone 100 may also obtain the signal quality of the first SIM card (as an example of the service quality information). As for the foregoing S300, it may be determined by the handset 100 whether the bandwidth detection condition is satisfied according to the signal quality information of the first SIM card. For example, if the signal quality of the first SIM card is lower than 40% of the normal signal quality, the signal quality is considered to be poor, and the bandwidth detection condition is satisfied. If the bandwidth detection condition is satisfied, the mobile phone 100 executes S400 to detect the second bandwidth of the second SIM card. Otherwise, the signal quality is considered to be better, the bandwidth detection condition is not met, the second bandwidth of the second SIM card does not need to be detected, and the first SIM card is continuously used for the internet access service.
In other implementations of the application, for the foregoing S200 and S300, the mobile phone 100 may also determine the service quality condition according to one or more of the network access technology of the first SIM card, the service data volume information of the internet access service performed by the first SIM card, and the bandwidth of the first SIM card (as an example of the service quality information), so as to determine whether the foregoing bandwidth detection condition is satisfied, that is, determine whether the current service quality satisfies the internet access requirement. For example, if the network access technology of the first SIM card is 2G or 3G, the service quality is considered to be poor, and the bandwidth detection condition is satisfied, the mobile phone 100 executes S400 to detect the second bandwidth of the second SIM card, and needs to perform SIM card adjustment. If the bandwidth is 4G or 5G, the service is considered to be better, the bandwidth detection condition is not met, the second bandwidth does not need to be detected, and the first SIM card is continuously used for the internet access service.
In other implementation manners of the application, the mobile phone 100 may further determine whether the service quality of the first SIM card meets the current internet access requirement according to one or more of other information such as the currently running application type and the number of applications in the mobile phone 100. And when the current internet access requirement is not met, the mobile phone 100 executes S400 to detect the second bandwidth of the second SIM card. When the current internet access requirement is met, the mobile phone 100 continues to use the first SIM card for internet access service.
In other implementation manners of the application, the mobile phone 100 may also determine, according to the service quality information, that a bandwidth detection condition is satisfied, then respectively obtain a first bandwidth of the first SIM card and a second bandwidth of the second SIM card, and determine whether to switch the SIM cards according to sizes of the first bandwidth and the second bandwidth.
In other implementations of the application, the mobile phone 100 may also detect a first bandwidth of the first SIM card and a second bandwidth of the second SIM card according to a preset bandwidth detection period, and determine whether to adjust the SIM card according to the sizes of the first bandwidth and the second bandwidth. The value range of the bandwidth detection period may be 0.5h to 2h, for example, 0.5h, 1h, 1.4h, 2h, and the like. Of course, the bandwidth sounding period may be any other value.
In another implementation manner of the present application, when the mobile phone 100 switches the SIM card for performing the internet access service, the display interface of the mobile phone 100 may not display any prompt information related to the SIM card switching, so that the user is insensitive to the SIM card switching.
In another implementation manner of the present application, when the mobile phone 100 switches the SIM card for performing the internet access service, the display interface of the mobile phone 100 may also display the user card identification information for reminding the user of the currently used user card.
Referring to fig. 6A, the mobile phone 100 displays identification information M1 of the first SIM card and identification information M2 of the second SIM card, wherein the identification information M1 of the first SIM card includes an internet access identifier (e.g., an up-down arrow). The user may determine that the SIM card currently performing the internet access service of the mobile phone 100 is the first SIM card through the identification information M1.
Referring to fig. 6B, if the mobile phone 100 switches the SIM card for performing the internet access service to the second SIM card, the mobile phone 100 may display a prompt message M3 indicating that "the mobile phone has switched to using the second SIM card for internet access". In addition, the identification information M2 of the second SIM card includes an internet access identification (e.g., up and down arrows).
Referring to fig. 6C, if the mobile phone 100 uses the first SIM card and the second SIM card to perform the internet access service, the mobile phone 100 may display a prompt message M4 indicating that "the mobile phone has switched to using the dual cards to access the internet". In addition, the identification information M1 of the first SIM card and the identification information M2 of the second SIM card both include an internet access identifier (e.g., up and down arrows).
In other implementations of the present application, the mobile phone 100 may also display other types of identification information M1 of the first SIM card and identification information M2 of the second SIM card, and other types of prompt information, which may be selected as needed.
In an implementation manner of the present application, after the mobile phone 100 is powered on and started, the mobile phone 100 executes the service processing method provided in the present application, that is, when the quality of the first SIM card is not good, the mobile phone 100 performs the automatic switching of the SIM card for performing the internet access service.
In another implementation manner of the present application, if the mobile phone 100 detects that the user starts the smart switching internet access card control under the SIM card management control, the mobile phone 100 executes the service processing method provided in the present application to perform the automatic switching of the SIM card for performing the internet access service.
Referring to fig. 7, the present application also provides a communication system including a mobile phone 400, a mobile network (mobilene) 200 and the Internet (Internet) 300. In contrast to the handset 100 shown in fig. 3, the core layer 101 of the handset 400 further comprises a second processing module 1013. In addition, the modem layer of the handset 400 does not include the aforementioned first processing module 109.
The retransmission collector 1012 of the handset 400 may send the aforementioned retransmission idle window and retransmission session number of the uplink service data retransmission to the second processing module 1013. The second processing module 1013 determines whether the current bandwidth detection condition is met according to the retransmission idle window and the number of retransmission sessions. If the bandwidth detection condition is met, the second processing module 1013 acquires a first bandwidth of the first SIM card from the first bandwidth detector 108A and a second bandwidth of the second SIM card from the second bandwidth detector 108B, respectively, and determines the SIM card for performing the internet access service according to the first bandwidth and the second bandwidth. The mobile phone 400 transmits service data according to the determined data channel corresponding to the SIM card for performing the internet access service.
It should be noted that, in another implementation manner of the present application, the function of the second processing module 1013 may be implemented by the aforementioned processor 110.
Referring to fig. 8, in combination with the above fig. 7, the service processing method applied to the mobile phone 400 provided by the present application includes the following steps:
s110, the mobile phone 400 is powered on and started, and the data session functions of the first SIM card and the second SIM card are respectively activated, for example, the PDP connection of the first SIM card and the second SIM card is activated in the 2G network and the 3G network, or the PDN connection network of the first SIM card and the second SIM card is activated in the 4G network. And the mobile phone 400 creates a first data channel for the first SIM card and a second data channel for the second SIM card, where the first data channel and the second data channel may be IP data channels, respectively. The mobile phone 400 defaults to the first SIM card as a default data account for performing the internet access service, and transmits service data using the first data channel corresponding to the first SIM card.
S210, the mobile phone 400 uses the first SIM card to perform the internet access service, and the retransmission collector 1012 in the mobile phone 400 obtains a retransmission idle window and a retransmission session number of uplink service data retransmission during the internet access service performed by the first SIM card, and detects the first bandwidth BW1 of the first SIM card in real time.
For S210, different from the foregoing S200, the retransmission collector 1012 in the handset 400 sends the retransmission idle window and the number of retransmission sessions of the uplink service data retransmission to the second processing module 1013. Other contents of S210 are the same as or similar to S200, and are not described herein again.
S310, after the second processing module 1013 in the mobile phone 400 receives the retransmission idle window and the number of retransmission sessions sent by the retransmission collector 1012, determines a service quality condition of the first SIM card to determine whether the first SIM card currently satisfies a bandwidth detection condition.
For example, the second processing module 1013 determines the detection window according to the retransmission idle window within the preset statistical time. The second processing module 1013 determines the ratio of the number of retransmission sessions according to the number of retransmission sessions and the number of all sessions within a preset statistical time.
If the second processing module 1013 determines that the ratio of the number of retransmission sessions is greater than the threshold value of the ratio of the number of retransmission sessions, the second processing module 1013 acquires the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card. If the density rate of the downlink service data in the first packet data convergence protocol layer 103A of the first SIM card is lower than the density rate threshold, the second processing module 1013 determines that the data account adjustment condition is currently satisfied. The handset 400 performs S410. The values of the retransmission session number ratio threshold and the density rate threshold are as described above, and are not described herein again.
S410, the second bandwidth detector 108B in the handset 400 detects the second bandwidth BW2 of the second SIM card.
The specific implementation of S410 is the same as S400 described above, and is not described herein again.
S510, the second processing module 1013 in the cell phone 400 acquires the first bandwidth BW1 of the first SIM card from the first bandwidth probe 108A, acquires the second bandwidth BW2 of the second SIM card from the second bandwidth probe 108B, and determines the SIM card for performing the internet access service according to the first BW1 and the second BW 2.
The process of determining the SIM card for performing the internet access service by the second processing module 1013 is the same as the process of determining the SIM card for performing the internet access service by the first processing module 109, and is not described herein again.
The service processing method applied to the mobile phone 400 in the DSDA mode provided by the application can determine the SIM card for performing the internet access service by the second processing module 1013, can also implement the concurrence of the dual-card internet access service for the mobile phone 400 in the DSDA mode, and can effectively improve the service quality of the mobile phone 400 in the DSDA mode.
The service processing method provided by the application can be applied to electronic equipment based on communication technologies such as 3G, 4G, and fifth Generation mobile communication technology (5rd-Generation, 5G) and future new communication technologies.
In addition, the service processing method provided by the present application may also be applied to electronic devices based on a 3rd Generation Partnership Project (3 GPP) network, such as Long Term Evolution (LTE) of the universal Mobile telecommunications technology, Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (Time-Synchronous Code Division Multiple Access, TD-SCDMA), Global System for Mobile Communications (GSM), 5G, and the like. In addition, the service processing method can also be applied to electronic devices based on non-3GPP Networks such as Wireless Local Area Networks (WLAN) and Wireless internet access (WiFi), or other types of Networks.
In another implementation manner of the present application, the SIM card may also be another type of subscriber card such as USIM or eSIM.
In another implementation manner of the present application, the mobile phone 100 may also be an electronic device such as a tablet computer, a television, a notebook computer, a UMPC, a handheld computer, a netbook, a PDA, a wearable device, a virtual reality device, and a CPE.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device 900 according to an implementation manner of an embodiment of the present application. The electronic device 900 may include one or more processors 901 coupled to a controller hub 904. For at least one embodiment, the controller hub 904 communicates with the processors 901 via a multi-drop Bus such as a Front Side Bus (FSB), a point-to-point interface such as a QuickPath Interconnect (QPI), or similar connection. Processor 901 executes instructions that control general types of data processing operations. In one embodiment, controller hub 904 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an input/output hub (IOH) (which may be on a separate chip) (not shown), where the GMCH includes a Memory and a Graphics controller and is coupled to the IOH.
The electronic device 900 may also include a coprocessor 906 and memory 902 coupled to the controller hub 904. Alternatively, one or both of the memory 902 and GMCH may be integrated within the processor 901 (as described in embodiments herein), with the memory 902 and coprocessor 906 coupled directly to the processor 901 and to the controller hub 904, with the controller hub 904 and IOH in a single chip.
In one embodiment, coprocessor 906 is a special-Purpose processor, such as, for example, a high-throughput Many Core (MIC) processor, a network or communication processor, compression engine, Graphics processor, General Purpose Graphics Processing Unit (GPGPU), embedded processor, or the like. The optional nature of coprocessor 906 is represented in FIG. 9 by dashed lines.
In one embodiment, electronic device 900 may further include a Network Interface Card (NIC) 903. The network interface 903 may include a transceiver to provide a radio interface for the electronic device 900 to communicate with any other suitable device (e.g., front end module, antenna, etc.). In various embodiments, the network interface 903 may be integrated with other components of the electronic device 900. The network interface 903 may implement the functions of the communication unit in the above-described embodiments.
The electronic device 900 may further include input/output (I/O) devices 905.
It is noted that fig. 9 is merely exemplary. That is, although fig. 9 shows that the electronic device 900 includes a plurality of components, such as a processor 901, a controller hub 904, a memory 902, etc., in a practical application, a device using the methods according to the embodiments of the present application may include only a part of the components of the electronic device 900, for example, may include only the processor 901 and the NIC 903. The nature of the alternative device in fig. 9 is shown in dashed lines.
One or more tangible, non-transitory computer-readable media for storing data and/or instructions may be included in the memory of the electronic device 900. A computer-readable storage medium has stored therein instructions, and in particular, temporary and permanent copies of the instructions.
In this embodiment, the electronic device 900 may be a mobile phone, and the instructions stored in the memory of the electronic device may include: instructions which, when executed by at least one unit in the processor, cause the handset to implement the service processing method as mentioned above.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an SoC (System on Chip) 1000 according to an embodiment of the present disclosure. In fig. 10, like parts have the same reference numerals. In addition, the dashed box is an optional feature of the more advanced SoC 1000. The SoC1000 may be used for any electronic device according to the present application, and may implement corresponding functions according to different devices in which the electronic device is located and different instructions stored in the electronic device.
In fig. 10, the SoC1000 includes: an interconnect unit 1002 coupled to the processor 1001; a system agent unit 1006; a bus controller unit 1005; an integrated memory controller unit 1003; a set or one or more coprocessors 1007 which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a Static Random-Access Memory (SRAM) unit 1008; a Direct Memory Access (DMA) unit 1004. In one embodiment, the coprocessor 1007 comprises a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, a high-throughput MIC processor, embedded processor, or the like.
Included in SRAM cell 1008 may be one or more computer-readable media for storing data and/or instructions. A computer-readable storage medium may have stored therein instructions, in particular, temporary and permanent copies of the instructions. The instructions may include: instructions which, when executed by at least one unit in a processor, cause an electronic device to implement a business processing method as mentioned above.
Embodiments of the mechanisms disclosed herein may be implemented in software, hardware, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems including at least one processor, memory (or storage systems including volatile and non-volatile memory and/or storage units).
It should be noted that the terms "first," "second," and the like are used merely to distinguish one description from another, and are not intended to indicate or imply relative importance.
It should be noted that in the accompanying drawings, some features of the structure or method may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some implementations, the features may be arranged in a manner and/or order different from that shown in the illustrative figures. Additionally, the inclusion of structural or methodical features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing is a more detailed description of the present application, and the present application is not intended to be limited to these details. Various changes in form and detail, including simple deductions or substitutions, may be made by those skilled in the art without departing from the spirit and scope of the present application.

Claims (14)

1. A service processing method is applied to dual-card dual-standby electronic equipment, wherein the dual-card dual-standby electronic equipment comprises a first user card and a second user card which are used for internet access service, and the method comprises the following steps:
performing internet surfing service through the first user card;
acquiring a first bandwidth of the first user card and a second bandwidth of the second user card;
and selecting at least one user card from the first user card and the second user card according to the sizes of the first bandwidth and the second bandwidth to carry out internet surfing service.
2. The method according to claim 1, wherein selecting at least one of the first user card and the second user card according to the sizes of the first bandwidth and the second bandwidth to perform a network access service comprises:
if the BW1 is more than or equal to NxBW 2, selecting the first user card to carry out Internet surfing service, wherein BW1 is the first bandwidth, BW2 is the second bandwidth, and N is any number more than 1;
if BW2 is more than or equal to NxBW 1, selecting the second user card to carry out internet surfing service;
and if K (BW1) xBW 1+ K (BW2) xBW 2 is more than or equal to NxBW 1, selecting the first user card and the second user card to simultaneously carry out internet surfing service, wherein K () is a scaling factor function which is inversely related to the bandwidth of the user cards and is caused by the switching of the user cards of the dual-card dual-standby electronic equipment.
3. The traffic processing method according to claim 1 or 2, wherein obtaining the second bandwidth of the second user card comprises:
creating probe traffic data for probing the second bandwidth;
and performing wireless resource scheduling according to the detection service data, and determining the second bandwidth according to wireless resource scheduling information.
4. A traffic processing method according to any of claims 1-3, characterized in that the method further comprises calculating the bandwidth by:
BW=R(tr)×F(TBS,rp,d)
wherein tr is the response time of the scheduling request, TBS is the size of the scheduling data block, rp is the scheduling filling ratio, and d is the scheduling time density; r () is an inverse correlation function and F () is a positive correlation function.
5. The traffic processing method according to any of claims 1 to 4, wherein obtaining the first bandwidth of the first user card and the second bandwidth of the second user card further comprises:
acquiring the first bandwidth of the first user card in real time in the process of carrying out internet surfing service through the first user card;
and if the preset bandwidth detection condition is met, acquiring the second bandwidth of the second user card.
6. The traffic processing method according to claim 5, wherein the method further comprises:
acquiring the service quality information of the first user card;
and determining the service quality according to the service quality information to judge whether the bandwidth detection condition is met.
7. The traffic processing method according to claim 6, wherein the quality of service information of the first user card comprises at least one of the following information:
service data transmission information;
signal strength information;
network access technology information.
8. The service processing method according to claim 7, wherein if the service data transmission information includes an uplink service data transmission parameter and a downlink service data transmission parameter, the method further comprises:
and if the uplink service data transmission parameter is greater than a preset first threshold value within a preset statistical time and the downlink service data transmission parameter is less than a preset second threshold value, determining that the bandwidth detection condition is met.
9. The traffic processing method according to claim 8, wherein the uplink traffic data transmission parameter includes at least one of a retransmission idle window, a number of retransmission sessions, and a ratio of retransmission sessions for uplink traffic data retransmission; the downlink service data transmission parameter includes at least one of density rate and number of downlink service data.
10. The traffic processing method according to any of claims 1 to 4, wherein obtaining the first bandwidth of the first user card and the second bandwidth of the second user card further comprises:
and acquiring the first bandwidth of the first user card and the second bandwidth of the second user card according to a preset bandwidth detection period.
11. A service handling method according to any of claims 1-10, characterised in that the method further comprises:
the dual-card dual-standby electronic equipment is started, a first data channel used for carrying out service data transmission between the first user card and the Internet is established for the first user card, and a second data channel used for carrying out service data transmission between the second user card and the Internet is established for the second user card; or
Starting the dual-card dual-standby electronic equipment, and establishing a first data channel for the first user card to perform service data transmission between the first user card and the Internet; and if the preset bandwidth detection condition is met, establishing a second data channel for the second user card for service data transmission between the second user card and the Internet.
12. A dual-card dual-standby electronic device, comprising:
a first user card used for internet access service;
a second user card for the internet access service;
a memory for storing program instructions;
and the processor is used for acquiring a first bandwidth of the first user card, acquiring a second bandwidth of the second user card, and selecting at least one user card from the first user card and the second user card to carry out internet surfing service according to the sizes of the first bandwidth and the second bandwidth.
13. A chip, comprising:
a memory for storing program instructions;
a processor coupled to the memory for executing the program instructions to cause the chip to perform the business process method of any of claims 1-11.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that are executed by a computer to cause an electronic device to execute the business process method of any one of claims 1-11.
CN202110075950.0A 2021-01-20 2021-01-20 Service processing method and dual-card dual-standby electronic equipment Pending CN114867005A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110075950.0A CN114867005A (en) 2021-01-20 2021-01-20 Service processing method and dual-card dual-standby electronic equipment
PCT/CN2021/142489 WO2022156501A1 (en) 2021-01-20 2021-12-29 Service processing method and dual-sim dual-standby electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110075950.0A CN114867005A (en) 2021-01-20 2021-01-20 Service processing method and dual-card dual-standby electronic equipment

Publications (1)

Publication Number Publication Date
CN114867005A true CN114867005A (en) 2022-08-05

Family

ID=82548283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110075950.0A Pending CN114867005A (en) 2021-01-20 2021-01-20 Service processing method and dual-card dual-standby electronic equipment

Country Status (2)

Country Link
CN (1) CN114867005A (en)
WO (1) WO2022156501A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915105A (en) * 2022-11-29 2023-04-04 优游宝科技(深圳)有限公司 Intelligent algorithm-based esim card mobile data flow monitoring method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3235301B1 (en) * 2014-12-17 2018-08-01 Telefonaktiebolaget LM Ericsson (publ) Sim selection
CN105764124B (en) * 2016-01-27 2021-06-15 努比亚技术有限公司 Method for reducing power consumption of terminal and terminal
CN106535291A (en) * 2016-11-28 2017-03-22 北京小米移动软件有限公司 SIM card selection method and device
CN111182602A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 SIM card switching method of mobile terminal, mobile terminal and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915105A (en) * 2022-11-29 2023-04-04 优游宝科技(深圳)有限公司 Intelligent algorithm-based esim card mobile data flow monitoring method and system
CN115915105B (en) * 2022-11-29 2023-07-04 优游宝科技(深圳)有限公司 Method and system for monitoring mobile data flow of esim card based on intelligent algorithm

Also Published As

Publication number Publication date
WO2022156501A1 (en) 2022-07-28

Similar Documents

Publication Publication Date Title
EP3917205A1 (en) Data packet distribution method and apparatus, mobile terminal, and storage medium
US11963043B2 (en) Initial access indication method and device, and storage medium
WO2017128650A1 (en) Terminal and communication method
JP2021516507A (en) How to return from a low-level network to a high-level network and communication equipment
CN110582109A (en) Wireless Local Area Network (WLAN) network access method and device
CN112236977B (en) Parameter configuration method, device, communication equipment and storage medium
CN110913424B (en) Network connection control method and device, terminal and computer storage medium
CN113383603A (en) Indication method and device for transmission data, communication equipment and storage medium
CN114449576A (en) Application data sending method, device and equipment
US20220361212A1 (en) Method for transmitting dci, communication device and storage medium
WO2022156501A1 (en) Service processing method and dual-sim dual-standby electronic device
CN110709801B (en) Method and equipment for reducing power consumption
WO2022151436A1 (en) Information configuration method and apparatus, and communication device and storage medium
CN113316954B (en) Indication method, receiving method, device, communication equipment and storage medium
CN113228763A (en) Paging reason processing method and device, communication equipment and storage medium
CN112243218B (en) Data service transmission method and electronic equipment
CN111466127A (en) Processing method and device for enhancing uplink coverage and storage medium
CN115633340A (en) File transmission method, terminal, electronic device and storage medium
JP2010028416A (en) Portable communication terminal, and wireless communication system including the same
WO2022006759A1 (en) Information transmission method and apparatus, communication device, and storage medium
CN113837338A (en) Detection method, terminal, user identification card, electronic equipment and storage medium
CN113728723A (en) Auxiliary configuration method and device
EP4057551A1 (en) Downlink control information configuration method and apparatus, and communication device and storage medium
US20220386157A1 (en) Channel measurement method and apparatus, and communication device
CN115002797B (en) Network quality detection method and related electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination