CN113225727B - Processing method and device and electronic equipment - Google Patents

Processing method and device and electronic equipment Download PDF

Info

Publication number
CN113225727B
CN113225727B CN202110517438.7A CN202110517438A CN113225727B CN 113225727 B CN113225727 B CN 113225727B CN 202110517438 A CN202110517438 A CN 202110517438A CN 113225727 B CN113225727 B CN 113225727B
Authority
CN
China
Prior art keywords
time
sim card
moment
idle state
time length
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.)
Active
Application number
CN202110517438.7A
Other languages
Chinese (zh)
Other versions
CN113225727A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110517438.7A priority Critical patent/CN113225727B/en
Publication of CN113225727A publication Critical patent/CN113225727A/en
Application granted granted Critical
Publication of CN113225727B publication Critical patent/CN113225727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a processing method, a processing device and electronic equipment, which belong to the technical field of communication, wherein the processing method comprises the following steps: under the condition that the first SIM card is in a data flow using state, if the second SIM card is awakened by a first service at a first moment, determining a third moment when the second SIM card enters an idle state according to a time interval between the first moment and a second moment; the second moment is the moment before the first moment when the second SIM card is awakened by a second service; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively.

Description

Processing method and device and electronic equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a processing method, an apparatus, and an electronic device.
Background
While Dual SIM Dual Standby (DSDS) electronic devices bring convenience to users, they also bring unavoidable major-minor card business competition situations. Because the single-pass dual-card dual-standby electronic equipment only has one antenna and one radio frequency module, when the main card and the auxiliary card conflict with each other, a radio frequency competition situation can be generated. In such a traffic conflict situation, the case where the secondary card receives the RA message periodically is particularly common. Since the electronic device does not feed back whether the RA message is correctly received, the network may send the RA to the secondary card multiple times within a short period to ensure that the secondary card is correctly received, and even after the secondary card is synchronized with the network to an idle state through Tracking Area Update (TAU), the network may wake up the secondary card again for receiving.
There are two transmission strategies for RA:
1. RA short-period transmission: within a period of time after the electronic device sends a Router Solicitation (RS) request, the network issues a plurality of RAs to the electronic device, and the last RA is always transmissive, that is, only the last RA wakes up the secondary card, and the RA must be successfully transmitted.
2. For RA long period transmission: only one RA is transmitted per cycle and the RA still has the "must transmit" characteristic.
Because the last RA message of the short period and the RA message of the long period have certain transmission, if the auxiliary card does not receive the messages in the awakening period, the auxiliary card is awakened frequently, and the main card cannot surf the internet abnormally. At present, aiming at the situation that the network issues the RA to wake up the auxiliary card, in order to avoid that the auxiliary card occupies the radio frequency resource of the main card for a long time, the electronic device selects to set the time for the auxiliary card to enter the idle state as a short fixed time, such as 2 seconds, which means that the auxiliary card can initiate a quick link break and synchronize the idle state to the network side through the TAU within 2 seconds no matter whether the auxiliary card completely receives data or not; under the condition, if the network issues the RA too late due to the network abnormality, the secondary card does not have enough time to complete the reception of the RA within the period of time, and further, the problem that the electronic device is "empty-packed" and frequently awakened by the network occurs.
Disclosure of Invention
An object of the embodiments of the present application is to provide a processing method and apparatus, and an electronic device, which can solve the problem in the prior art that an idle packet is frequently awakened by a network due to an idle state of an auxiliary card of the electronic device being in a fixed time.
In a first aspect, an embodiment of the present application provides a processing method, which is applied to an electronic device supporting dual cards and dual standby, where the electronic device includes: first identity module SIM card and second SIM card include:
under the condition that the first SIM card is in a data flow using state, if the second SIM card is awakened by a first service at a first moment, determining a third moment when the second SIM card enters an idle state according to a time interval between the first moment and a second moment;
the second moment is the moment before the first moment when the second SIM card is awakened by a second service; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively.
In a second aspect, an embodiment of the present application provides a processing apparatus, which is applied to an electronic device supporting dual card and dual standby, where the electronic device includes: a first identity module, SIM, card and a second SIM card, the processing device comprising:
the determining module is configured to, when the first SIM card is in a data traffic using state, determine, if the second SIM card is woken up by a first service at a first time, a third time when the second SIM card enters an idle state according to a time interval between the first time and the second time;
the second moment is a moment when the second SIM card is awakened by a second service before the first moment; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first SIM card is in the data traffic use state, if the second SIM card is awakened by other services except an IP multimedia system service, a short message service, and a call service, the electronic device dynamically adjusts the time when the second SIM card enters the idle state, so that it is effectively ensured that the second SIM card can receive an RA packet sent by a network after being awakened for a limited number of times, and further, it is avoided that the secondary card is frequently awakened to occupy the radio frequency of the primary card to affect the network access of the primary card.
Drawings
FIG. 1 is a schematic diagram illustrating the steps of a processing method provided in an embodiment of the present application;
FIG. 2 is a diagram illustrating an exemplary embodiment of a processing method;
FIG. 3 is a schematic structural diagram of a processing apparatus according to an embodiment of the present disclosure;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 shows a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The processing method, the processing device, and the electronic device for dual-card dual-standby electronic devices provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a processing method, which is applied to an electronic device supporting dual cards and dual standby, where the electronic device includes: a first identity module, SIM, card and a second SIM card, the method comprising:
step 101, under the condition that the first SIM card is in a data traffic use state, if the second SIM card is awakened by a first service at a first time, determining a third time when the second SIM card enters an idle state according to a time interval between the first time and a second time;
the second moment is a moment when the second SIM card is awakened by a second service before the first moment; the first service and the second service are services other than an IP Multimedia System (IMS) service, a short message service and a call service, respectively.
In this embodiment of the application, before step 101, the first SIM card and the second SIM card of the electronic device normally stay on the network, and set a preset time (for example, the preset time is t) for the second SIM card to enter an IDLE state (IDLE state) a =2 s), set wake-up interval time threshold for the second SIM card (e.g. wake-up interval time threshold t) interval =5 s), and emptying the first mapping relation table, wherein the first mapping relation table includes: tracking Area Code (TAC) and the shortest TAU duration of the electronic device in the current TAC cell; further, the first mapping relation table may include at most N TAC mapping relations. For example, N equals 4.
For example, the first SIM card is in a game state, and the second SIM card is awakened by removing the IMS, the short message, and the call, and the second SIM card determines a third time when the second SIM card enters an idle state according to a time interval between the awakening of the second SIM card this time and the awakening of the second SIM card last time. It should be noted that, in this embodiment of the present application, the third time is capable of being dynamically changed, so as to dynamically adjust the time when the second SIM card enters the idle state.
In at least one embodiment of the present application, step 101 comprises:
if the time interval is greater than or equal to the wakeup interval time threshold of the second SIM card, determining a third time when the second SIM card enters the idle state as: the time interval between the first time and the second time is the first time length;
wherein, the first duration is a preset duration for the second SIM card to enter an idle state, such as t a
For example, if the time interval is greater than or equal to the wake-up interval time threshold of the second SIM card, the second SIM card of the electronic device is at t a And initiating chain scission processing after the time length, and updating the idle state of the TAU and the network synchronization second SIM card through the tracking area.
Alternatively, in at least one embodiment of the present application, step 101 comprises:
if the time interval is smaller than the awakening interval time threshold of the second SIM card, determining that the third moment when the second SIM card enters the idle state is as follows: the interval between the first time and the second time is a second duration t b Time of day (c);
if the first mapping relation table comprises a tracking area code TAC of a current resident cell of a second SIM card, the second time length is a TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table;
or if the first mapping relation table does not include the TAC of the current resident cell of the second SIM card, the second duration is the sum of the preset duration when the second SIM card enters the idle state and the target duration;
wherein, the TAU duration corresponding to the TAC is as follows: the electronic device in the cell corresponding to the TAC can receive the shortest TAU time length of the router advertisement RA.
For example, the electronic device determines whether the TAC of the cell where the second SIM card resides is in the first mapping table, and if the TAC of the cell where the second SIM card resides is in the first mapping table, the length of the TAU time (e.g., t) corresponding to the TAC of the cell where the second SIM card resides is in the first mapping table c Value) to t b And at t b After the time, the TAU is initiated, and the IDLE state is synchronized with the network, so that the receiving of RA can be ensured by the optimal TAU time, and multiple iterations are avoided. If the TAC of the cell where the second SIM card resides is not in the first mapping relation table, at t b =t a And initiating a TAU after +1 time, and synchronizing an IDLE state with the network, wherein the target time length is 1.
It should be noted that, the target duration may be preconfigured by a network, or predefined, or agreed by a protocol, or preconfigured by an electronic device, and the like, which is not specifically limited herein. And the specific value of the target duration is not limited to a fixed value, and the specific setting can be carried out according to different application scenes in practical application.
Bearing the above example, after the electronic device determines that the second SIM card enters the idle state at the third time, the method further includes:
and controlling the second SIM card to initiate broken link processing at the third moment, and updating the idle state of the second SIM card with the network through a tracking area and updating the TAU.
In at least one embodiment of the present application, the method further comprises:
and if the second SIM card successfully receives the RA before the third moment, controlling the second SIM card to initiate broken link processing at the fourth moment when the second SIM card receives the RA, and synchronizing the idle state of the second SIM card with the network through the TAU. The third time is the time when the electronic device enters the idle state through the second SIM card determined in step 101.
Further, the method further comprises:
determining a fourth duration between the first time and the fourth time;
and modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into the integral-up time length or the integral-down time length of the fourth time length.
For example, the time length from when the second SIM card is awakened to receive the RA is recorded as the fourth time length t d And the t corresponding to the TAC of the cell where the second SIM card resides in the first mapping relation table c Update to ceil (t) d )。
In at least one embodiment of the present application, the method further comprises:
if the second SIM card does not successfully receive the RA before the third moment, determining a fifth time length according to the second time length;
and modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into a fifth time length.
For example, the electronic device determines a fifth duration according to a first formula;
wherein the first formula is: t is t b1 =min(7,t b +1);
Wherein, t b1 Is the fifth time period, t b For a second duration.
For example, if the TAC of the current cell in which the second SIM card resides is originally stored in the first mapping relationship table, the mapping relationship between the TAC of the cell in which the second SIM card resides and the fifth duration is set as the newly stored mapping relationship, so as to cover the original mapping relationship.
Further, in at least one embodiment of the present application, the method further includes:
according to the updating time of each group of mapping relations in the first mapping relation table, deleting at least one group of mapping relations with the earliest updating time to enable the mapping relations in the first mapping relation table to be smaller than or equal to N groups, wherein N is a positive integer. In other words, if the mapping relationship in the first mapping relationship table exceeds N groups, the mapping relationship between the TAC and the TAU duration that is stored first is removed, so that the first mapping relationship table is dynamically updated during the moving process of the electronic device.
For example, N equals 4. If the mapping relationship exceeds 4 sets (for example, the first mapping relationship table includes 5 sets of mapping relationships), the first stored set of mapping relationships between the TAC and the TAU duration is removed, so that the first mapping relationship table can be dynamically updated during the movement of the electronic device.
According to the embodiment of the application, the TAC of the current resident cell and the shortest TAU time that the current TAC can receive RA are recorded in the first mapping relation table, so that the second SIM card is prevented from being iterated for many times, the time that the second SIM card occupies radio frequency is shortened, and the user card pause perception is reduced as much as possible.
As shown in fig. 2, in a dual-card normal resident network of an electronic device, a preset time period for a secondary card (i.e., a second SIM card) to enter an idle state is set to be t a =2s, wake up interval time threshold t interval The value is generally set to 5s, and a first mapping relation table of the TAC and the TAU duration of the terminal in the current TAC cell is emptied (the maximum time can be 4)Group TAC mapping).
If the main card is in the game state and the auxiliary card is awakened by the IMS, the short message and the call, etc., it will be judged whether the interval between the awakening and the previous awakening is less than t interval . If not, the time is determined to be at the default time t a After the time, the auxiliary card triggers the quick chain breakage, initiates the TAU and network synchronous IDLE state, and waits for entering the awakened state again. If yes, firstly judging whether the TAC of the cell where the current secondary card resides is in the mapping table.
If the corresponding relation is in the mapping table, the t of the corresponding relation of the current TAC in the mapping table is c Value given to t b And at t b After the time, TAU is initiated, and the IDLE state is synchronized with the network, so that the receiving of RA can be ensured by the optimal TAU time, and multiple iterations are avoided. If not, at t b =t a Initiating TAU after +1 time, and synchronizing IDLE state with network.
If the auxiliary card successfully receives the RA before the time of the TAU, the auxiliary card initiates a quick chain break at the moment of receiving the RA, then synchronizes an idle state to a network side through the TAU, and records the time length of the terminal awakened until the terminal receives the RA as t d And will map t in the table c Update to ceil (t) d ). If RA is not successfully received, t will be changed b A value of t b1 =min(7,t b + 1), corresponding time t of TAC in mapping table c =t b1 .
It should be noted that, if the TAC originally exists in the mapping table, the TAC is set as a new storage mapping relationship to further override the original mapping relationship. If the mapping relation exceeds 4 groups, the TAC and the mapping relation thereof are removed from being stored firstly, so that the mapping table can be dynamically updated in the terminal moving process. Waiting for the wakeup state to be entered.
In summary, the embodiment of the present application combines the characteristic of indispensable transmission of the secondary card RA, and dynamically adjusts the time for the secondary card to enter the idle state in an iterative manner to adapt to the settings of different networks, thereby ensuring correct reception of the RA. And because RA has periodicity, the embodiment of the application can also reduce the awakening time of the secondary card to the maximum extent. Furthermore, the formation of a mapping table corresponding to the TAC is convenient for the secondary card to more accurately set the appropriate time for entering the idle state, so that multiple iterations under the same TAC in different cells are avoided, and the service time of the secondary card is further shortened.
In the processing method provided in the embodiment of the present application, the execution main body may be a processing apparatus, or a control module in the processing apparatus for executing the processing method. In the embodiment of the present application, a processing device executing a processing method is taken as an example to describe the processing device provided in the embodiment of the present application.
As shown in fig. 3, an embodiment of the present application further provides a processing apparatus 300, which is applied to an electronic device supporting dual-card dual standby, where the electronic device includes: first identity module SIM card and second SIM card, this processing apparatus includes:
a determining module 301, configured to determine, when the first SIM card is in a data traffic using state, a third time when the second SIM card enters an idle state according to a time interval between the first time and the second time if the second SIM card is awakened by a first service at the first time;
the second moment is a moment when the second SIM card is awakened by a second service before the first moment; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively.
As an alternative embodiment, the determining module comprises:
a first determining submodule, configured to determine that a third time when the second SIM card enters an idle state is: the time interval between the first time and the second time is the first time length;
and the first time length is a preset time length for the second SIM card to enter an idle state.
As an alternative embodiment, the determining module comprises:
a second determining submodule, configured to determine, if the time interval is smaller than a wake-up interval time threshold of the second SIM card, that a third time when the second SIM card enters an idle state is: the time interval between the first time and the second time is the time of a second duration;
if the first mapping relation table comprises a tracking area code TAC of a current resident cell of a second SIM card, the second time length is a TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table;
or, if the first mapping relation table does not include the TAC of the current resident cell of the second SIM card, the second duration is the sum of the preset duration when the second SIM card enters the idle state and the target duration;
wherein, the TAU duration corresponding to the TAC is as follows: the electronic device in the cell corresponding to the TAC can receive the shortest TAU time length of the router advertisement RA.
As an optional embodiment, the first processing module is configured to control the second SIM card to initiate a process of chain scission at the third time, and update an idle state of the second SIM card with the network through a tracking area update TAU.
As an optional embodiment, the apparatus further comprises:
and the second processing module is used for controlling the second SIM card to initiate broken link processing at a fourth moment when the second SIM card receives the RA if the second SIM card successfully receives the RA before the third moment, and synchronizing the idle state of the second SIM card with a network through the TAU.
As an optional embodiment, the apparatus further comprises:
the first time length determining module is used for determining a fourth time length between the first time and the fourth time;
and the first modification module is used for modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into the integral-up time length or the integral-down time length of the fourth time length.
As an alternative embodiment, the apparatus further comprises:
a second duration determining module, configured to determine a fifth duration according to the second duration if the second SIM card does not successfully receive the RA before the third time;
and the second modification module is used for modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into a fifth time length.
As an optional embodiment, the apparatus further comprises:
and the deleting module is used for deleting at least one group of mapping relation with the earliest updating time according to the updating time of each group of mapping relation in the first mapping relation table, so that the mapping relation in the first mapping relation table is smaller than or equal to N groups, and N is a positive integer.
According to the embodiment of the application, the unnecessary transmission characteristic of the auxiliary card RA is combined, in order to adapt to the setting of different networks, the time for the auxiliary card to enter the idle state is dynamically adjusted in an iterative mode, and the correct receiving of the RA is ensured. And because RA has periodicity, the embodiment of the application can also reduce the awakening time of the secondary card to the maximum extent. Furthermore, the formation of a mapping table corresponding to the TAC is convenient for the secondary card to more accurately set the appropriate time for entering the idle state, so that multiple iterations under the same TAC in different cells are avoided, and the service time of the secondary card is further shortened.
The processing device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The processing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the processing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 510 is configured to, when the first SIM card is in a data traffic using state, determine, according to a time interval between a first time and a second time, a third time when the second SIM card enters an idle state if the second SIM card is awakened by a first service at the first time;
the second moment is the moment before the first moment when the second SIM card is awakened by a second service; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively.
In the embodiment of the application, under the condition that the first SIM card is in the data traffic use state, if the second SIM card is awakened by other services except an IP multimedia system service, a short message service, and a call service, the electronic device dynamically adjusts the time for the second SIM card to enter the idle state, so that it is effectively ensured that the second SIM card can receive an RA packet sent by a network after being awakened for a limited number of times, and further, it is avoided that the secondary card is frequently awakened to occupy the radio frequency of the primary card to affect the network access of the primary card.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the processing method for a dual-card dual-standby electronic device, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A processing method is applied to an electronic device supporting dual-card dual standby, and the electronic device comprises: a first identity module, SIM, card and a second SIM card, the method comprising:
under the condition that the first SIM card is in a data flow using state, if the second SIM card is awakened by a first service at a first moment, determining a third moment when the second SIM card enters an idle state according to a time interval between the first moment and a second moment;
the second moment is the moment before the first moment when the second SIM card is awakened by a second service; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively;
determining a third time when the second SIM card enters an idle state according to the time interval between the first time and the second time, including:
if the time interval is greater than or equal to the wakeup interval time threshold of the second SIM card, determining a third time when the second SIM card enters the idle state as: the time interval between the first time and the second time is the first time length;
the first time length is a preset time length for the second SIM card to enter an idle state;
determining a third time when the second SIM card enters an idle state according to a time interval between the first time and the second time, further comprising:
if the time interval is smaller than the awakening interval time threshold of the second SIM card, determining that the third moment when the second SIM card enters the idle state is as follows: the time interval between the first time and the second time is the time of a second duration;
if the first mapping relation table comprises a tracking area code TAC of a current resident cell of a second SIM card, the second time length is a TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table;
or, if the first mapping relation table does not include the TAC of the current resident cell of the second SIM card, the second duration is the sum of the preset duration when the second SIM card enters the idle state and the target duration;
wherein, the TAU duration corresponding to the TAC is as follows: the shortest TAU duration that the electronic equipment in the cell corresponding to the TAC can receive the router advertisement RA.
2. The method of claim 1, further comprising:
and controlling the second SIM card to initiate broken link processing at the third moment, and updating the idle state of the second SIM card with the network through a tracking area and updating the TAU.
3. The method of claim 1, further comprising:
and if the second SIM card successfully receives the RA before the third moment, controlling the second SIM card to initiate broken link processing at the fourth moment when the second SIM card receives the RA, and synchronizing the idle state of the second SIM card with the network through the TAU.
4. The method of claim 3, further comprising:
determining a fourth duration between the first time and the fourth time;
and modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into the integral-up time length or the integral-down time length of the fourth time length.
5. The method of claim 1, further comprising:
if the second SIM card does not successfully receive the RA before the third moment, determining a fifth time length according to the second time length;
and modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into a fifth time length.
6. The method of claim 1, 4 or 5, further comprising:
according to the updating time of each group of mapping relations in the first mapping relation table, deleting at least one group of mapping relations with the earliest updating time to enable the mapping relations in the first mapping relation table to be smaller than or equal to N groups, wherein N is a positive integer.
7. A processing apparatus applied to an electronic device supporting dual card and dual standby, the electronic device comprising: a first identity module, SIM, and a second SIM, wherein the processing device comprises:
a determining module, configured to determine, when the first SIM card is in a data traffic usage state, a third time when the second SIM card enters an idle state according to a time interval between the first time and the second time if the second SIM card is awakened by a first service at the first time;
the second moment is the moment before the first moment when the second SIM card is awakened by a second service; the first service and the second service are other services except an IP multimedia system service, a short message service and a call service respectively;
the determining module comprises:
the first determining submodule is configured to determine that a third time when the second SIM card enters the idle state is: the time interval between the first time and the second time is the first time length;
the first time length is preset time length for the second SIM card to enter an idle state;
a second determining submodule, configured to determine, if the time interval is smaller than a wake-up interval time threshold of the second SIM card, that a third time when the second SIM card enters an idle state is: the time interval between the first time and the second time is the time of a second duration;
if the first mapping relation table comprises a tracking area code TAC of a current resident cell of a second SIM card, the second time length is a TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table;
or, if the first mapping relation table does not include the TAC of the current resident cell of the second SIM card, the second duration is the sum of the preset duration when the second SIM card enters the idle state and the target duration;
wherein, the TAU duration corresponding to the TAC is as follows: the shortest TAU duration that the electronic equipment in the cell corresponding to the TAC can receive the router advertisement RA.
8. The apparatus of claim 7, further comprising:
and the first processing module is used for controlling the second SIM card to initiate chain scission processing at the third moment and synchronizing the idle state of the second SIM card with a network through the tracking area updating TAU.
9. The apparatus of claim 7, further comprising:
and the second processing module is used for controlling the second SIM card to initiate broken link processing at a fourth moment when the second SIM card receives the RA if the second SIM card successfully receives the RA before the third moment, and synchronizing the idle state of the second SIM card with a network through the TAU.
10. The apparatus of claim 9, further comprising:
the first time length determining module is used for determining a fourth time length between the first time and the fourth time;
and the first modification module is used for modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into the integral-up time length or the integral-down time length of the fourth time length.
11. The apparatus of claim 7, further comprising:
a second duration determining module, configured to determine a fifth duration according to the second duration if the second SIM card does not successfully receive the RA before the third time;
and the second modification module is used for modifying the TAU time length corresponding to the TAC of the current resident cell of the second SIM card in the first mapping relation table into a fifth time length.
12. The apparatus of claim 7 or 10 or 11, further comprising:
and the deleting module is used for deleting at least one group of mapping relations with the earliest updating time according to the updating time of each group of mapping relations in the first mapping relation table, so that the mapping relations in the first mapping relation table are smaller than or equal to N groups, and N is a positive integer.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the processing method of any of claims 1-6.
CN202110517438.7A 2021-05-12 2021-05-12 Processing method and device and electronic equipment Active CN113225727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110517438.7A CN113225727B (en) 2021-05-12 2021-05-12 Processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110517438.7A CN113225727B (en) 2021-05-12 2021-05-12 Processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113225727A CN113225727A (en) 2021-08-06
CN113225727B true CN113225727B (en) 2022-12-13

Family

ID=77094996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110517438.7A Active CN113225727B (en) 2021-05-12 2021-05-12 Processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113225727B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915103A (en) * 2022-11-10 2023-04-04 中国联合网络通信集团有限公司 Method, device, equipment and medium for identifying double-card-slot terminal double-card state
CN116489634B (en) * 2023-06-25 2023-10-17 深圳传音控股股份有限公司 Service processing method, intelligent terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924817A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 A kind of SIM card state switching method and mobile terminal
CN112738865A (en) * 2020-12-24 2021-04-30 维沃移动通信有限公司 Service processing method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10568073B2 (en) * 2016-12-07 2020-02-18 Samsung Electronics Co., Ltd. Methods and dual SIM dual standby (DSDS) devices for managing data communication
CN108541013B (en) * 2018-03-29 2022-06-10 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
KR20200045358A (en) * 2018-10-22 2020-05-04 삼성전자주식회사 Multi-sim device scheduling for base station searcher and scheduling method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924817A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 A kind of SIM card state switching method and mobile terminal
CN112738865A (en) * 2020-12-24 2021-04-30 维沃移动通信有限公司 Service processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113225727A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
WO2020034074A1 (en) Wake-up method, wake-up apparatus, electronic device and computer-readable storage medium
EP3547715B1 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
US20120170496A1 (en) Keep-alive packet transmission method and apparatus of mobile terminal
CN113225727B (en) Processing method and device and electronic equipment
KR101828295B1 (en) Terminal and method for managing application thereof
CN112822763B (en) Electronic price tag dynamic awakening method, electronic price tag dynamic awakening equipment and computer storage medium
EP3531676B1 (en) Task processing apparatus, intelligent device, task processing method, and baseband processor
WO2020034073A1 (en) Wake-up method, wake-up apparatus, electronic device, and computer-readable storage medium
US8918123B2 (en) Method and apparatus for reducing standby power
CN112738865B (en) Service processing method and device and electronic equipment
CN113965915B (en) Data processing method and electronic equipment
CN115175375A (en) Network connection method, electronic device, readable storage medium and chip
WO2023185845A1 (en) Communication method and apparatus, and related device
WO2023246584A1 (en) Computing power processing method and apparatus, and communication device
WO2023051609A1 (en) Downlink control channel monitoring method and apparatus, and communication device
WO2022237677A1 (en) Random access processing method and apparatus, and terminal
WO2022247863A1 (en) Policy generation method and apparatus, terminal, device, and session management unit
WO2022268012A1 (en) Resource processing method and apparatus, electronic device, and storage medium
WO2022268077A1 (en) Successful handover report (shr) generation method and apparatus, terminal, and medium
WO2024051539A1 (en) Method and apparatus for determining quasi-co-location parameter, and terminal
WO2023020386A1 (en) Emergency service processing method and device and readable storage medium
CN112689021B (en) Electronic price tag reservation graph brushing method, electronic price tag reservation graph brushing equipment and computer storage medium
WO2023280070A1 (en) Wake-up method and device and terminal
WO2022078281A1 (en) Method and apparatus for generating preamble sequence, and terminal
WO2024037409A1 (en) Positioning message transmission methods, terminal and network side device

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
GR01 Patent grant
GR01 Patent grant