CN114567873A - Communication method and device of dual-card terminal equipment, electronic equipment and storage medium - Google Patents

Communication method and device of dual-card terminal equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN114567873A
CN114567873A CN202210153138.XA CN202210153138A CN114567873A CN 114567873 A CN114567873 A CN 114567873A CN 202210153138 A CN202210153138 A CN 202210153138A CN 114567873 A CN114567873 A CN 114567873A
Authority
CN
China
Prior art keywords
data network
public data
type
card
determining
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.)
Granted
Application number
CN202210153138.XA
Other languages
Chinese (zh)
Other versions
CN114567873B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210153138.XA priority Critical patent/CN114567873B/en
Publication of CN114567873A publication Critical patent/CN114567873A/en
Application granted granted Critical
Publication of CN114567873B publication Critical patent/CN114567873B/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/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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

Abstract

The disclosure provides a communication method and device of a dual-card terminal device, an electronic device and a storage medium, and relates to the technical field of communication. The method comprises the following steps: in response to monitoring that the terminal equipment switches the connection with the public data network from the first identity card to the second identity card, determining the type of an event triggering the connection switching; determining a first moment for sending a public data network disconnection request to a public data network according to the type of the event; and sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises the identifier of the second identity card. Therefore, under the condition of continuous cross dialing in a short time, the radio frequency resource can be released by the identification card connected with the PDN in time, the dialing failure of another identification card is avoided, and the call completing rate of the terminal equipment is further improved.

Description

Communication method and device of dual-card terminal equipment, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method and apparatus for a dual-card terminal device, an electronic device, and a storage medium.
Background
For a Dual SIM Dual Standby single access (DSDS) mobile terminal, two cards share a set of Radio Frequency (RF) resources when the Dual cards are inserted. If the dual-card cross-dialing is performed in a short time, the connected id cards may not release the RF resource in time, which may result in a failed dialing of another id card.
Disclosure of Invention
The present disclosure is directed to solving, at least in part, one of the technical problems in the related art.
An embodiment of a first aspect of the present disclosure provides a communication method for a dual-card terminal device, including:
in response to monitoring that the terminal equipment switches the connection with the public data network from the first identity card to the second identity card, determining the type of an event triggering the connection switching;
determining a first moment for sending a public data network disconnection request to the public data network according to the type of the event;
and sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises an identifier of the second identity card.
An embodiment of a second aspect of the present disclosure provides a communication apparatus of a dual-card terminal device, including:
the first determining module is used for determining the type of an event triggering the connection switching under the condition that it is monitored that the terminal equipment switches the connection with the public data network from a first identity identification card to a second identity identification card;
the second determining module is used for determining a first moment of sending a public data network disconnection request to the public data network according to the type of the event;
and the first sending module is used for sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises an identifier of the second identity card.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: the device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the communication method of the dual-card terminal device as set forth in the embodiment of the first aspect of the disclosure.
An embodiment of a fourth aspect of the present disclosure provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the communication method of the dual-card terminal device as set forth in the embodiment of the first aspect of the present disclosure.
A fifth aspect of the present disclosure provides a computer program product, where instructions in the computer program product, when executed by a processor, implement the communication method of the dual-card terminal device provided in the first aspect of the present disclosure.
The communication method and device of the dual-card terminal equipment, the electronic equipment and the storage medium have the following beneficial effects:
in the embodiment of the disclosure, first, under the condition that it is detected that the terminal device switches the connection with the public data network from the first identification card to the second identification card, the type of an event triggering the connection switching is determined, then, according to the type of the event, a first moment of sending a public data network disconnection request to the public data network is determined, and finally, based on the first moment, the public data network disconnection request including the identifier of the second identification card is sent to the public data network, so that the public data network is disconnected from the second identification card. Therefore, under the condition of carrying out continuous cross dialing in a short time, a public data network disconnection request can be sent to a public data network at a corresponding first moment according to the type of a trigger connection switching event, so that the identification card connected with the PDN can timely release radio frequency resources, the dialing failure of another identification card is avoided, and the call completing rate of the terminal equipment is further improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a communication method of a dual-card terminal device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a communication method of a dual-card terminal device according to another embodiment of the present disclosure;
fig. 3 is an interactive signaling diagram of a communication method of a dual-card terminal device according to another embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a communication apparatus of a dual-card terminal device according to an embodiment of the present disclosure;
FIG. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present disclosure, and should not be construed as limiting the present disclosure.
A communication method, an apparatus, an electronic device, and a storage medium of a dual-card terminal device according to embodiments of the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a communication method of a dual-card terminal device according to an embodiment of the present disclosure.
The communication method of the dual-card terminal device is configured in the communication device of the dual-card terminal device, and the communication device of the dual-card terminal device can be applied to any electronic device, so that the electronic device can execute the communication function of the dual-card terminal device.
As shown in fig. 1, the communication method of the dual card terminal device may include the steps of:
step 101, in response to monitoring that the terminal device switches the connection with the public data network from the first identity card to the second identity card, determining the type of the event triggering the connection switching.
It can be understood that, in the embodiment of the present disclosure, in a case where the first identity card is a Default Data card (DDS), it is always ensured that a Data link between the first identity card and a Public Data Network (PDN) in the terminal device is connected, and a Data link between the second identity card and the Public Data Network PDN is disconnected, and in a case where a call is made or a Data-dependent service is executed by using the second identity card, the terminal device needs to temporarily or permanently switch the Default Data card from the first identity card to the second identity card. Therefore, the second identification card needs to establish a connection with the PDN and occupies RF resources.
Under the condition of performing double-card cross dialing in a short time, if an identity identification card occupying an RF resource releases the RF resource in time after a service such as a call is finished, the other identity identification card may not have the RF resource available, so that data disconnection of the other identity identification card is caused, and the call completing rate of a telephone may be reduced.
It should be noted that the terminal device in the present disclosure supports dual cards, that is, the terminal device includes at least two identification cards, for example, a Subscriber Identity Module (SIM card) or a Universal Subscriber Identity Module (USIM card).
It should be noted that, both the first identification card and the second identification card may be default data cards, which is not limited in this disclosure.
Optionally, the event triggering the terminal device to switch the connection with the PDN from the first identity card to the second identity card may include: and temporarily dialing a call or sending a multimedia message by using the second identity recognition card, answering the call by using the second identity recognition card, and touching a control for switching the identity recognition card in a display interface of the terminal equipment. The present disclosure is not limited thereto.
Alternatively, different events may be classified into different types. For example, the answering call and the calling call are divided into one type, the multimedia message sending is divided into one type, and a control for switching the identity recognition card in the display interface of the terminal equipment is divided into one type by touch control. The present disclosure is not limited thereto.
Or, the event triggering the connection switching may be divided into two types according to whether the connection between the terminal device and the PDN is permanently switched from the first identification card to the second identification card. For example, the event that a control for switching the identification card in the display interface of the terminal device is touched is classified into one type, and other events for triggering connection switching are classified into one type.
It should be noted that, in the embodiment of the present disclosure, the connection between the PDN and the first identification card may be switched to the second identification card from the first identification card when the second identification card is used to make a call or send a multimedia message temporarily, or when the second identification card is used to answer the call. Alternatively, the connection between the terminal device and the PDN may be switched from the first identification card to the second identification card while the terminal device temporarily answers the call with the second identification card and performs a data-dependent service. For example, when listening to the call and browsing the web page with the second identification card, the connection between the terminal device and the PDN is switched from the first identification card to the second identification card.
Step 102, according to the type of the event, determining a first moment of sending a public data network disconnection request to a public data network.
The public data network disconnection request can be a message sent to the public data network by the terminal device, and after receiving the public data network disconnection request sent by the terminal device, the public data network disconnects the PDN connection with the second identity card in the terminal device and releases the RF resource.
The first time may be a time when the terminal device sends a public data network disconnection request to the public data network after the event triggering the connection switching is completed.
It can be understood that, determining the first time may enable the terminal device to request the PDN disconnection from the second id card and release the RF resource in time after the event triggering the connection handover is completed, thereby ensuring that the terminal device may send the PDN disconnection request to the PDN at an appropriate time.
It should be noted that, the types of the events are different, and the corresponding first times of sending the public data network disconnection request (PDN disconnect request) to the public data network may be the same or different, which is not limited in this disclosure.
And 103, sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises an identifier of the second identity card.
It can be understood that after the first time is determined, the terminal device may send a PDN disconnection request to the PDN in time based on the first time after the event triggering the connection handover is completed, so that the PDN is disconnected from the second id card in time, and it is prevented that the first id card fails to dial due to the untimely disconnection between the second id card and the PDN in the case of fast cross-dialing, thereby improving the call completing rate of the phone.
In the embodiment of the disclosure, first, under the condition that it is detected that the terminal device switches the connection with the public data network from the first identification card to the second identification card, the type of an event triggering the connection switching is determined, then, according to the type of the event, a first moment of sending a public data network disconnection request to the public data network is determined, and finally, based on the first moment, the public data network disconnection request including the identifier of the second identification card is sent to the public data network, so that the public data network is disconnected from the second identification card. Therefore, under the condition of carrying out continuous cross dialing in a short time, a public data network disconnection request can be sent to a public data network at a corresponding first moment according to the type of a trigger connection switching event, so that the identification card connected with the PDN can timely release radio frequency resources, the dialing failure of another identification card is avoided, and the call completing rate of the terminal equipment is further improved.
Fig. 2 is a schematic flowchart of a communication method of a dual-card terminal device according to an embodiment of the present disclosure, and as shown in fig. 2, the communication method of the dual-card terminal device may include the following steps:
step 201, in response to monitoring that the terminal device switches the connection with the public data network from the first identity card to the second identity card, determining the type of the event triggering the connection switching.
Optionally, in response to the connection handover being triggered by the received service request, the type of the event triggering the connection handover is determined to be the first type.
The service request can be a call service request, a multimedia message service request, and the like. The present disclosure is not limited thereto.
For example, in a case where the first identity card in the terminal device is the default data card, the first identity card of the terminal device is in a connected state with the PDN, and the first identity card is in a disconnected state with the PDN, and if the received service request is a call connection service request including an identifier of the second identity card, the terminal device needs to switch the connection with the PDN from the first identity card to the second identity card.
It should be noted that the foregoing examples are only simple illustrations, and should not be taken as specific limitations of the service request in the embodiments of the present disclosure.
Or, in response to the connection switching being triggered by the acquired switching instruction, determining the type of the event triggering the connection switching to be the second type.
Optionally, the switching instruction may be an instruction obtained when it is detected that a control for switching the identification card in the display interface of the terminal device is touched. Or, after the voice data of the user acquired by the terminal device is recognized, an instruction for switching the first identification card to the second identification card may be acquired from the recognition result. The present disclosure is not limited thereto.
It should be noted that, if the type of the event triggering the connection switching is the first type, the terminal device may temporarily switch the connection with the PDN from the first identification card to the second identification card, and after the event triggering the connection switching is completed, switch the connection with the PDN from the second identification card to the first identification card again. If the type of the event triggering the connection switching is the second type, the terminal device may permanently switch the connection with the PDN from the first identification card to the second identification card, that is, set the second identification card as a default data card, until detecting a switching instruction to switch the connection with the PDN from the second identification card to the first identification card.
Step 202, determining a first time for sending a public data network disconnection request to a public data network according to the type of the event.
Optionally, in response to that the type of the event triggering the connection switching is the first type, determining that the first time is mth second after the service included in the service request is completed.
Wherein, the value of M may be 1 or 2, which is not limited in this disclosure.
In the embodiment of the present disclosure, when the type of the event triggering the connection handover is the first type, the value of M may also be determined according to the event triggering the connection handover. For example, if the event triggering the connection switching is answering a call, the value of M may be 1; if the event triggering the connection switching is sending multimedia messages, the value of M may be 2. The present disclosure is not limited thereto.
Optionally, in response to that the type of the event triggering the connection switching is the second type, the first time is determined to be nth second after the switching instruction is acquired.
Wherein N is a value greater than M. For example, if M is 1, N may be 2 or 3, which is not limited in this disclosure.
Optionally, in this embodiment of the present disclosure, before the terminal device temporarily switches the connection with the PDN from the first identity card to the second identity card, the terminal device needs to deactivate the connection between the first identity card and the PDN first. That is, the terminal device may send a public data network deactivation request (deactivation internet PDN) to the public data network, where the deactivation public data network request includes an identifier of the first identity card.
Alternatively, the terminal device may send a request to a modem (modem) in the public data network to deactivate the public data network.
Optionally, the terminal device may send a request for deactivating the public data network to the public data network at a first time after receiving the event triggering the connection handover. That is, if the type of the event triggering the connection handover is the first type, the terminal device sends a PDN deactivation request to the PDN M seconds after receiving the service request. And if the type of the event triggering the connection switching is the second type, the terminal equipment sends a PDN deactivation request to the PDN at Mth second after the switching instruction is obtained.
In the embodiment of the present disclosure, after the connection between the first identity card and the PDN is deactivated, the terminal device needs to first send a public data network connection request (PDN connection request) to the PDN, where the public data network connection request includes an identifier of the second identity card.
Step 203, based on the first time, sending a public data network disconnection request to the public data network to disconnect the public data network from the second identity card, where the public data network disconnection request includes an identifier of the second identity card.
The specific implementation form of step 203 may refer to detailed descriptions in other embodiments of the present disclosure, and details are not repeated here.
Step 204, obtaining a radio resource control RRC connection state parameter.
It can be understood that, after sending the public data network disconnection request including the identifier of the second identification card to the public data network based on the first time, there may be a case where the second identification card only disconnects the PDN connection with the public data network, but does not disconnect the RRC connection with the public data network, and thus the second identification card still occupies the radio frequency resource. Therefore, after sending the public data network disconnection request including the identifier of the second identification card to the public data network, it needs to further determine whether the second identification card disconnects the RRC connection with the public data network according to the RRC connection state parameter.
Step 205, determining whether the second identity card in the terminal device disconnects the RRC connection with the public data network according to the RRC connection state parameter.
It will be appreciated that the RRC connection between the second identification card and the PRN may be determined to be in a connected state or a disconnected state based on the RRC connection state parameters. If the RRC connection is in the disconnected state, the second identification card releases the radio frequency resource, and the first identification card can execute services such as call connection or call making and the like based on the radio frequency resource. If the RRC connection between the second identification card and the PRN is not disconnected, it indicates that the second identification card does not release the radio frequency resource in time after completing the service.
Step 206, in response to that the second identification card in the terminal device does not disconnect the RRC connection with the public data network, sending an extended service request to the public data network to trigger the public data network to release the RRC connection, where the extended service request includes an identifier of the second identification card.
It should be noted that, if the terminal device detects that the PDN Connection with the PDN has been disconnected but the RRC Connection with the PDN has not been disconnected, an Extended service request (Extended service request) needs to be sent to the PDN to trigger the public data network to initiate RRC Connection Release (RRC Connection Release), so that the second identification card releases radio frequency resources, and the first identification card can take back the radio frequency resources.
Alternatively, the terminal device may be performing a packet switched type service without the second identification card in the terminal device disconnecting the RRC connection with the public data network. Therefore, it is necessary to further determine whether the terminal device is performing a packet-switched service, and if it is determined that there is no ongoing packet-switched service in the terminal device, send an extended service request to the PDN.
The method includes the steps of firstly, determining the type of an event triggering connection switching when it is detected that a terminal device switches the connection between the terminal device and a public data network from a first identity card to a second identity card, then determining a first moment for sending a public data network disconnection request to the public data network according to the type of the event, then sending the public data network disconnection request comprising an identifier of the second identity card to the public data network based on the first moment so as to disconnect the connection between the public data network and the second identity card, and then sending an extended service request comprising the identifier of the second identity card to the public data network to trigger the public data network to release the RRC connection under the condition that the RRC connection between the second identity card and the public data network is determined according to RRC connection state parameters. Therefore, after the terminal equipment sends the public data network disconnection request to the public data network, the second identification card further sends the extended service request to the public data network under the condition that the second identification card only disconnects the PDN connection and does not release radio frequency resources, so that the second identification card in the terminal equipment can be further ensured to release the radio frequency resources in time, the dialing failure of the first identification card is avoided, and the telephone call completing rate of the terminal equipment is further improved.
Fig. 3 is an interactive signaling diagram of a communication method of a dual-card terminal device according to another embodiment of the present disclosure; as shown in fig. 3, the communication method of the dual card terminal device may include the steps of:
step 301, a service request is received, where the service request may include an identifier of the second identification card.
Step 302, sending a public data network deactivation request to a public data network, wherein the public data network deactivation request includes an identifier of the first identity card.
Step 303, sending a public data network connection request to the public data network, wherein the public data network connection request includes the identifier of the second identification card.
Step 304, the terminal device executes the service contained in the service request.
And 305, at a first time after the service is completed, sending a public data network disconnection request to the public data network, wherein the public data network disconnection request includes an identifier of the second identification card.
Step 306, determining that the second identity card is not disconnected from the RRC connection with the public data network according to the RRC connection state parameter.
Step 307, sending an extended service request to the public data network, wherein the extended service request includes an identifier of the second identification card.
Step 308, the second identification card releases the radio frequency resource.
Step 309, the first identity card obtains radio frequency resources.
In order to implement the above embodiment, the present disclosure further provides a communication apparatus of a dual-card terminal device.
Fig. 4 is a schematic structural diagram of a communication apparatus of a dual-card terminal device according to an embodiment of the present disclosure.
As shown in fig. 4, the communication device 400 of the dual card terminal apparatus may include: a first determining module 410, a second determining module 420, and a first transmitting module 430.
The first determining module 410 is configured to determine the type of an event triggering connection switching when it is monitored that the connection between the terminal device and the public data network is switched from the first identity card to the second identity card;
a second determining module 420, configured to determine, according to the type of the event, a first time when the public data network disconnection request is sent to the public data network;
the first sending module 430 is configured to send a public data network disconnection request to the public data network based on the first time, so that the public data network is disconnected from the second identity card, where the public data network disconnection request includes an identifier of the second identity card.
In one possible implementation manner, the apparatus further includes:
a first obtaining module, configured to obtain a radio resource control RRC connection state parameter;
a third determining module, configured to determine, according to the RRC connection state parameter, whether a second identity card in the terminal device disconnects RRC connection with the public data network;
and the second sending module is used for sending an extended service request to the public data network to trigger the public data network to release the RRC connection under the condition that the second identity identification card in the terminal equipment is not disconnected from the RRC connection with the public data network, wherein the extended service request comprises the identifier of the second identity identification card.
In one possible implementation manner, the apparatus further includes:
a fourth determining module, configured to determine that there is no ongoing packet-switched type service in the terminal device.
In a possible implementation manner, the first determining module 410 is specifically configured to:
determining the type of an event triggering connection switching to be a first type in response to the connection switching being triggered by the received service request;
alternatively, the first and second electrodes may be,
and determining the type of the event triggering the connection switching to be a second type in response to the connection switching being triggered by the acquired switching instruction.
In a possible implementation manner, the second determining module 420 is specifically configured to:
responding to the type of the event triggering the connection switching as a first type, and determining that the first moment is Mth second after the service contained in the service request is completed;
alternatively, the first and second electrodes may be,
determining the first moment as the Nth second after the switching instruction is acquired in response to the type of the event triggering the connection switching being the second type;
wherein N is a value greater than M.
In one possible implementation manner, the apparatus further includes:
and the third sending module is used for sending a public data network deactivation request to the public data network, wherein the public data network deactivation request comprises the identifier of the first identity card.
The functions and specific implementation principles of the modules in the embodiments of the present disclosure may refer to the embodiments of the methods, and are not described herein again.
The communication device of the dual-card terminal device according to the embodiment of the disclosure determines the type of an event triggering connection switching when it is detected that the terminal device switches the connection with the public data network from the first identity card to the second identity card, then determines a first time for sending a public data network disconnection request to the public data network according to the type of the event, and finally sends the public data network disconnection request including the identifier of the second identity card to the public data network based on the first time, so as to disconnect the connection between the public data network and the second identity card. Therefore, under the condition of carrying out continuous cross dialing in a short time, a public data network disconnection request can be sent to a public data network at a corresponding first moment according to the type of a trigger connection switching event, so that the identification card connected with the PDN can timely release radio frequency resources, the dialing failure of another identification card is avoided, and the call completing rate of the terminal equipment is further improved.
In order to implement the above embodiment, the present disclosure further provides an electronic device, including: the memory, the processor and the computer program stored in the memory and capable of running on the processor, when the processor executes the program, the communication method of the dual-card terminal device as proposed by the foregoing embodiments of the present disclosure is implemented.
In order to implement the foregoing embodiments, the present disclosure also provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the communication method of the dual-card terminal device as set forth in the foregoing embodiments of the present disclosure.
In order to implement the foregoing embodiments, the present disclosure further proposes a computer program product, which when instructions in the computer program product are executed by a processor, implements the communication method of the dual-card terminal device as proposed by the foregoing embodiments of the present disclosure.
FIG. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the disclosed embodiments.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described in this disclosure.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via the Network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
According to the technical scheme, the method comprises the steps of firstly determining the type of an event triggering connection switching when the fact that the terminal equipment switches the connection between the terminal equipment and the public data network from a first identity identification card to a second identity identification card is detected, then determining the first moment of sending a public data network disconnection request to the public data network according to the type of the event, and finally sending the public data network disconnection request comprising the identification of the second identity identification card to the public data network based on the first moment so as to enable the public data network to be disconnected from the second identity identification card. Therefore, under the condition of carrying out continuous cross dialing in a short time, a public data network disconnection request can be sent to a public data network at a corresponding first moment according to the type of a trigger connection switching event, so that the identification card connected with the PDN can timely release radio frequency resources, the dialing failure of another identification card is avoided, and the call completing rate of the terminal equipment is further improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.

Claims (15)

1. A communication method of a dual-card terminal device is applied to the terminal device, and the method comprises the following steps:
in response to monitoring that the terminal equipment switches the connection with the public data network from the first identity card to the second identity card, determining the type of an event triggering the connection switching;
determining a first moment for sending a public data network disconnection request to the public data network according to the type of the event;
and sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises an identifier of the second identity card.
2. The method of claim 1, wherein after said sending a public data network disconnect request to said public data network, further comprising:
acquiring a Radio Resource Control (RRC) connection state parameter;
determining whether the second identity recognition card in the terminal equipment is disconnected with the RRC between the second identity recognition card and the public data network or not according to the RRC connection state parameter;
and in response to that the second identity card in the terminal equipment does not disconnect the RRC connection with the public data network, sending an extended service request to the public data network to trigger the public data network to release the RRC connection, wherein the extended service request comprises an identifier of the second identity card.
3. The method of claim 2, wherein prior to said sending an extended service request to the public data network to trigger the public data network to release the RRC connection, further comprising:
determining that there is no ongoing packet switched type of traffic in the terminal device.
4. The method of claim 1, wherein the determining the type of event that triggers the connection handover comprises:
determining the type of an event triggering the connection switching to be a first type in response to the connection switching being triggered by the received service request;
alternatively, the first and second electrodes may be,
and determining the type of the event triggering the connection switching to be a second type in response to the connection switching being triggered by the acquired switching instruction.
5. The method of claim 4, wherein said determining a first time to send a public data network disconnect request to the public data network based on the type of the event comprises:
in response to that the type of the event triggering the connection switching is a first type, determining that the first moment is Mth second after the service included in the service request is completed;
alternatively, the first and second electrodes may be,
in response to that the type of the event triggering the connection switching is a second type, determining that the first moment is the Nth second after the switching instruction is acquired;
wherein N is a value greater than M.
6. The method of any of claims 1-5, further comprising, after said determining a first time to send a public data network disconnect request to the public data network based on a type of the event:
and sending a public data network deactivation request to the public data network, wherein the public data network deactivation request comprises the identifier of the first identity card.
7. A communication apparatus of a dual card terminal device, the apparatus comprising:
the first determining module is used for determining the type of an event triggering the connection switching under the condition that it is monitored that the terminal equipment switches the connection with the public data network from a first identity identification card to a second identity identification card;
the second determining module is used for determining a first moment of sending a public data network disconnection request to the public data network according to the type of the event;
and the first sending module is used for sending a public data network disconnection request to the public data network based on the first moment so as to disconnect the public data network from the second identity card, wherein the public data network disconnection request comprises an identifier of the second identity card.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a first obtaining module, configured to obtain a radio resource control RRC connection state parameter;
a third determining module, configured to determine, according to the RRC connection state parameter, whether the second identity card in the terminal device disconnects RRC connection with the public data network;
a second sending module, configured to send, to the public data network, an extended service request to trigger the public data network to release the RRC connection when the second identity card in the terminal device does not disconnect the RRC connection with the public data network, where the extended service request includes an identifier of the second identity card.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a fourth determining module, configured to determine that there is no ongoing packet-switched type service in the terminal device.
10. The apparatus of claim 7, wherein the first determining module is specifically configured to:
determining the type of an event triggering the connection switching to be a first type in response to the connection switching being triggered by the received service request;
alternatively, the first and second electrodes may be,
and determining the type of the event triggering the connection switching to be a second type in response to the connection switching being triggered by the acquired switching instruction.
11. The apparatus of claim 10, wherein the second determining module is specifically configured to:
responding to the type of the event triggering the connection switching as a first type, and determining that the first moment is Mth second after the service contained in the service request is completed;
alternatively, the first and second electrodes may be,
in response to that the type of the event triggering the connection switching is a second type, determining that the first moment is the Nth second after the switching instruction is acquired;
wherein N is a value greater than M.
12. The apparatus of any of claims 7-11, further comprising:
a third sending module, configured to send a public data network deactivation request to the public data network, where the public data network deactivation request includes an identifier of the first identity card.
13. An electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the communication method of the dual card terminal device according to any one of claims 1 to 6.
14. A computer-readable storage medium, storing a computer program, characterized in that the computer program, when executed by a processor, implements the communication method of a dual card terminal device according to any one of claims 1 to 6.
15. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the communication method of a dual-card terminal device according to any one of claims 1 to 6.
CN202210153138.XA 2022-02-18 2022-02-18 Communication method and device of double-card terminal equipment, electronic equipment and storage medium Active CN114567873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210153138.XA CN114567873B (en) 2022-02-18 2022-02-18 Communication method and device of double-card terminal equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210153138.XA CN114567873B (en) 2022-02-18 2022-02-18 Communication method and device of double-card terminal equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114567873A true CN114567873A (en) 2022-05-31
CN114567873B CN114567873B (en) 2024-02-23

Family

ID=81713242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210153138.XA Active CN114567873B (en) 2022-02-18 2022-02-18 Communication method and device of double-card terminal equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114567873B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168387A (en) * 2014-08-25 2014-11-26 深圳市中兴移动通信有限公司 Mobile terminal user identity recognition card switching method and system
US20160142998A1 (en) * 2014-11-19 2016-05-19 Mediatek Inc. Multi-sim user equipment and wireless communication method thereof
WO2017143609A1 (en) * 2016-02-27 2017-08-31 Qualcomm Incorporated Dual sim dual standby mobile communication device releases rrc connection on one subscription based on activities on other subscription
CN108924817A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 A kind of SIM card state switching method and mobile terminal
US20200128391A1 (en) * 2018-10-17 2020-04-23 Samsung Electronics Co., Ltd. Device and method for multi-sim wireless communication
CN111818593A (en) * 2019-07-31 2020-10-23 维沃移动通信有限公司 Network switching method and terminal
WO2021013130A1 (en) * 2019-07-25 2021-01-28 华为技术有限公司 Communication method and terminal device
WO2021042310A1 (en) * 2019-09-04 2021-03-11 华为技术有限公司 Method for switching communication system, and communication apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168387A (en) * 2014-08-25 2014-11-26 深圳市中兴移动通信有限公司 Mobile terminal user identity recognition card switching method and system
US20160142998A1 (en) * 2014-11-19 2016-05-19 Mediatek Inc. Multi-sim user equipment and wireless communication method thereof
WO2017143609A1 (en) * 2016-02-27 2017-08-31 Qualcomm Incorporated Dual sim dual standby mobile communication device releases rrc connection on one subscription based on activities on other subscription
CN108924817A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 A kind of SIM card state switching method and mobile terminal
US20200128391A1 (en) * 2018-10-17 2020-04-23 Samsung Electronics Co., Ltd. Device and method for multi-sim wireless communication
WO2021013130A1 (en) * 2019-07-25 2021-01-28 华为技术有限公司 Communication method and terminal device
CN111818593A (en) * 2019-07-31 2020-10-23 维沃移动通信有限公司 Network switching method and terminal
WO2021042310A1 (en) * 2019-09-04 2021-03-11 华为技术有限公司 Method for switching communication system, and communication apparatus

Also Published As

Publication number Publication date
CN114567873B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
KR20090068457A (en) Apparatus and method for service connecting in a portable terminal
WO2020063773A1 (en) Radio frequency resource allocation method, user equipment, and device having storage function
AU2017398782A1 (en) Network connection method and apparatus
JP2020537436A (en) How to select cells and terminals, as well as programs and computer-readable storage media
CN106941671B (en) Communication event processing method based on dual-card dual-system and mobile terminal
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN110519712B (en) Information processing method and device, network element and storage medium
EP3258617B1 (en) Antenna configuration method and terminal
CN112153759B (en) Communication method and device of dual-card terminal
CN104660780A (en) Electronic equipment and control method thereof
CN105337980A (en) Method and device for selecting multi-card terminal communication network
CN106060031B (en) Multimedia communication control method, server and system
CN114567873B (en) Communication method and device of double-card terminal equipment, electronic equipment and storage medium
CN112153215A (en) Call processing method and device, related equipment and storage medium
CN111478817A (en) Network fault processing method and device, storage medium and mobile device
CN105827779A (en) Method and device for controlling number blacklist
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device
CN113676894B (en) Service processing method and equipment
CN114710838A (en) User equipment service processing method, device, user equipment and storage medium
CN115884281A (en) Switching method and device of IMS (IP multimedia subsystem) call network, terminal and readable storage medium
CN108574503B (en) Setting method of interception setting option and related equipment
CN114364024A (en) Communication method and device of dual-card terminal equipment, electronic equipment and storage medium
CN112423287A (en) Control method and device for registration network, computer equipment and storage medium
CN111641987B (en) Method for processing based on service, terminal equipment, network equipment and computer storage medium

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