CN114364024A - 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
CN114364024A
CN114364024A CN202210072780.5A CN202210072780A CN114364024A CN 114364024 A CN114364024 A CN 114364024A CN 202210072780 A CN202210072780 A CN 202210072780A CN 114364024 A CN114364024 A CN 114364024A
Authority
CN
China
Prior art keywords
card
data network
public data
timer
identity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210072780.5A
Other languages
Chinese (zh)
Inventor
陈龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210072780.5A priority Critical patent/CN114364024A/en
Publication of CN114364024A publication Critical patent/CN114364024A/en
Pending legal-status Critical Current

Links

Images

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: monitoring that terminal equipment receives invalid packet switching paging including an identifier of a second identity identification card in the process of using a first identity identification card to execute data service, and determining the state of a first timer; in response to the first timer being in a timed state, incrementing a number of times an invalid packet-switched page has been currently received by one; and responding to the updated invalid packet paging times larger than a first threshold value, and sending a data disconnection request to the public data network based on the identifier of the second identification card so as to disconnect the data connection between the public data network and the second identification card. Therefore, if the second identity identification card frequently receives the invalid packet switching paging, the data connection between the second identity identification card and the public data network is disconnected, the second identity identification card is prevented from frequently occupying radio frequency resources, and therefore the abnormal service of the terminal equipment is avoided.

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 device, two cards share a set of Radio Frequency (RF) resources when the Dual cards are inserted. In the process that the terminal device uses the connection between the first identity card and the public data network to execute the data service, if the data network frequently sends an invalid packet switching page to the second identity card, the second identity card may frequently occupy the radio frequency resource, thereby causing the service abnormality of the terminal device.
Disclosure of Invention
The present disclosure is directed to solving, at least to some extent, 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 terminal equipment receives an invalid packet switching paging in the process of using a connection between a first identity card and a public data network to execute data service, determining the state of a first timer in the terminal equipment, wherein the invalid packet switching paging comprises an identifier of a second identity card;
in response to the first timer being in a timed state, incrementing a number of invalid packet-switched pages currently received by one;
and in response to the updated number of times of the invalid packet paging being greater than a first threshold, sending a data disconnection request to the public data network based on the identifier of the second identification card, so that the public data network is disconnected from the public data network connected with the second identification card.
An embodiment of a second aspect of the present disclosure provides a communication apparatus of a dual-card terminal device, including:
a first determining module, configured to determine a state of a first timer in a terminal device when monitoring that the terminal device receives an invalid packet switching page in a process of performing a data service using a connection between a first identity card and a public data network, where the invalid packet switching page includes an identifier of a second identity card;
a second determining module, configured to add one to the number of times of the currently received invalid packet-switched paging when the first timer is in a timing state;
and the first sending module is used for sending a data disconnection request to the public data network based on the identifier of the second identity recognition card under the condition that the updated invalid packet paging frequency is greater than a first threshold value, so that the public data network is disconnected from the public data network connected with the second identity recognition 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.
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 first aspect of the present disclosure.
A fifth aspect of the present disclosure provides a computer program product, which when executed by an instruction processor in the computer program product, implements 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, in the process of monitoring that the terminal device performs a data service by using the connection between the first identification card and the public data network, an invalid packet-switched page including an identifier of the second identification card is received, the state of a first timer in the terminal device is determined, then, under the condition that the first timer is in a timing state, the number of times of the invalid packet-switched page which is currently received is increased by one, and finally, a data disconnection request is sent to the public data network based on the identifier of the second identification card when the updated number of times of the invalid packet-switched page is greater than a first threshold value, so that the public data network is disconnected from the public data network connected with the second identification card. Therefore, in the process that the terminal equipment uses the connection between the first identity identification card and the PDN to execute the data service, if the second identity identification card frequently receives invalid packet switching paging sent by the PDN, the PDN connection between the second identity identification card and the PDN is disconnected, the second identity identification card is prevented from frequently occupying radio frequency resources, and the abnormal service of the terminal equipment is avoided.
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 a schematic signaling interaction diagram of a communication method of a dual-card terminal device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a communication apparatus of a dual-card terminal device according to another 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 drawings are exemplary and intended to be illustrative of 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 receives an invalid packet switching page in the process of performing a data service by using a connection between a first identity card and a public data network, determining a state of a first timer in the terminal device, wherein the invalid packet switching page includes an identifier of a second identity card.
It should be noted that, in the case that the first identity card is a Default Data card (DDS), a Data link connection between the first identity card and a Public Data Network (PDN) and a Data link connection between the second identity card and the PDN in the terminal device can be always ensured. Thus, during a data service performed by the terminal device using the connection between the first identification card and the public data network, the PDN may send an invalid packet-switched page to the second identification card over the PDN link with the second identification card. If the second identification card frequently receives the invalid packet switching paging, the second identification card may frequently occupy radio frequency resources, thereby causing service abnormality of the terminal device.
For example, in the process of playing a game based on the direct connection between the first identification card and the PDN, the second identification card frequently receives invalid packet switched paging, and thus the radio frequency resources are heavily occupied, which leads to frequent jamming in the game process.
In the embodiment of the disclosure, if the number of times of the invalid packet switching paging received by the second identity card within the preset time is greater than the preset threshold, the PDN connection between the second identity card and the PDN is disconnected, thereby avoiding that the data service performed by the terminal device is abnormal based on the connection between the first identity card and the PDN.
It should be noted that the terminal device in the present disclosure may support 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.
Wherein, the data traffic executed by the terminal device using the connection between the first identity card and the PDN may be a low latency class of traffic. Such as: game, live broadcast, video call, etc. The present disclosure is not limited thereto.
The invalid Packet Switch (PS) paging may be a Packet sent by the PDN through the PDN connection with the second identity card.
Wherein the state of the first timer may include: timing state and closing state.
Step 102, in response to the first timer being in a timed state, incrementing the number of invalid packet-switched pages currently received by one.
It will be appreciated that if the first timer is in the timed state, this indicates that the second identification card has received an invalid packet-switched page before this time receiving the invalid packet-switched page, and the first timer is started, thereby incrementing the number of invalid packet-switched pages received after the first timer is started by 1.
Optionally, in a case that the first timer is not started, the first timer may be started, and the number of times of currently received invalid packet-switched pages is determined to be 1.
It is understood that if the first timer is not started, it indicates that the second identification card does not receive the invalid packet page before receiving the invalid packet page this time. Thus, the first timer is started and the number of invalid packet-switched pages to receive is 1. And then, continuously monitoring whether the number of times of invalid packet paging received by the second identity recognition card within the time length corresponding to the first timer exceeds a preset threshold value.
And 103, responding to the updated times of the invalid packet paging being larger than the first threshold, and sending a data disconnection request to the public data network based on the identifier of the second identity card so as to disconnect the public data network from the second identity card.
It can be understood that if the updated number of times of the invalid packet paging is greater than the first threshold, it indicates that the second identification card frequently receives the invalid packet paging within a time period preset by the first timer, and the number of times of receiving the invalid packet paging is greater than the preset first threshold, which may cause an abnormality in the ongoing data service of the terminal device, and therefore, the PDN connection between the second identification card and the PDN needs to be disconnected.
Alternatively, the value of the first threshold may be determined according to the time period corresponding to the first timer. For example, if the first timer corresponds to a time period of 2 minutes, the first threshold may be 2 or 3. The present disclosure is not limited thereto.
Optionally, after the first timer finishes timing, the first timer is closed. If the number of times of receiving the invalid packet paging in the time period corresponding to the first timer is less than or equal to the threshold value, resetting the number of times of receiving the invalid packet paging, namely setting the number of times of receiving the invalid packet paging to 0.
It should be noted that, after the second identification card disconnects the PDN connection with the public data network, if the data card is frequently switched in a short time or the number of calls is poor in a short time, the second identification card needs to frequently initiate a PDN connection request and a PDN disconnection request to the PDN, which may trigger a signaling storm protection mechanism of the PDN, and the PDN rejects some services of the network device, thereby causing some services of the terminal device to be abnormal. Therefore, after the second identification card disconnects the PDN connection with the public data network, the data connection request needs to be sent to the PDN again to ensure the connection between the second identification card and the PDN.
Optionally, when it is monitored that the data service executed by the terminal device using the connection between the first identity card and the public data network is ended, a data connection request is sent to the public data network based on the identifier of the second identity card.
For example, when the terminal device uses the connection between the first identification card and the public data network to perform a game service, the second identification card frequently receives an invalid packet paging sent by the PDN in a short time, so that the second identification card is disconnected from the PDN, and then, after the game service is monitored to be ended, the terminal device may send a data connection request to the PDN again based on the identifier of the second identification card.
Or, the data connection request may be sent to the public data network based on the identifier of the second identification card when it is monitored that the data connection control in the display interface of the terminal device is touched.
The data connection control can be a flight mode control in the display interface, and can also be a data switching control in the display interface. The present disclosure is not limited thereto.
In the embodiment of the disclosure, first, in the process of monitoring that a terminal device executes a data service by using a connection between a first identity card and a public data network, an identification invalid packet switching page including a second identity card is received, the state of a first timer in the terminal device is determined, then, under the condition that the first timer is in a timing state, the number of times of the currently received invalid packet switching page is increased by one, and finally, a data disconnection request is sent to the public data network based on the identification of the second identity card when the updated number of times of the invalid packet switching page is greater than a first threshold value, so that the public data network is disconnected from the public data network between the second identity card and the public data network. Therefore, in the process that the terminal equipment uses the connection between the first identity identification card and the PDN to execute the data service, if the second identity identification card frequently receives invalid packet switching paging sent by the PDN, the PDN connection between the second identity identification card and the PDN is disconnected, the second identity identification card is prevented from frequently occupying radio frequency resources, and the abnormal service of the terminal equipment is avoided.
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, monitoring that the terminal device receives an invalid packet switching page in the process of using the connection between the first identity card and the public data network to execute the data service, wherein the invalid packet paging comprises the identifier of the second identity card.
The specific implementation form of step 201 may refer to detailed steps in other embodiments in the present disclosure, and is not described in detail here.
Step 202, a second timer is started.
The second timer is configured to determine whether the second identity card releases Radio Resource Control (RRC) with the PDN within a preset time period corresponding to the second timer, that is, whether the second identity card releases Radio Resource in time.
For example, the preset time period corresponding to the first timer may be 10s or 15 s. The present disclosure is not limited thereto.
Step 203, sending a Radio Resource Control (RRC) connection request to the public data network based on the identifier of the second identification card.
It will be appreciated that the terminal device may need to occupy radio frequency resources to process the invalid packet switched page after receiving the invalid packet switched page. Therefore, after receiving the invalid packet switched page, an RRC connection request needs to be sent to the PDN to establish an RRC connection with the PDN, thereby occupying radio frequency resources.
And step 204, acquiring the RRC connection state parameters after the second timer finishes timing.
Wherein the RRC connection state parameter may characterize an RRC connection state between the second identification card and the PDN. The RRC connected state may include a connected state, a disconnected state, etc., which is not limited by the present disclosure.
It can be understood that after the second id card establishes RRC connection with the PDN to handle the invalid packet switched paging, the RRC connection needs to be released in time so that the first id card can retrieve the radio frequency resource in time for data traffic. Therefore, in the embodiment of the present disclosure, after the second timer finishes timing, the RRC connection state parameter may be obtained in time, so as to determine whether the second identification card releases the radio frequency resource in time.
Step 205, determining whether the second identification card has disconnected the RRC connection with the public data network within a preset time period corresponding to the second timer according to the RRC connection state parameter.
It can be understood that, if it is determined that the second identification card has disconnected the RRC connection with the public data network within the preset time period corresponding to the second timer according to the RRC connection state parameter, it indicates that the second identification card has released the radio frequency resource in time, and the first identification card may continue to perform the data service based on the radio frequency resource.
Or, if it is determined that the second identification card does not disconnect the RRC connection with the public data network within the preset time period corresponding to the second timer according to the RRC connection state parameter, it indicates that the second identification card does not release the radio frequency resource in time, which may result in that the first identification card cannot timely take back the radio frequency resource, and further cause an abnormality such as a card pause in an ongoing data service.
And step 206, in response to that the second identification card does not disconnect the RRC connection within the preset time period, sending an RRC connection disconnection request to the public data network based on the identifier of the second identification card to trigger the public data network to disconnect the RRC connection.
Optionally, the terminal device may send an RRC connection disconnection request to the public data network through a Tracking Area update request (Tracking Area update tau).
It can be understood that, if the second identification card does not disconnect the RRC connection within the preset time period, it indicates that the public data network does not release the RRC connection with the second identification card in time, and the second identification card still occupies the radio frequency resource. At this time, the terminal device may send an RRC connection disconnection request to the public data network based on the identifier of the second identification card, so as to trigger the public data network to disconnect the RRC connection with the second identification card, and then the first identification card takes the radio frequency resource to continue the data service.
In the embodiment of the disclosure, it is monitored that the terminal device receives the invalid packet switched paging including the identifier of the second identity card in the process of executing the data service by using the connection between the first identity card and the public data network, and then the second timer is started, and sends a radio resource control RRC connection request to the public data network based on the identity of the second identification card, after the second timer finishes timing, acquiring a Radio Resource Control (RRC) connection state parameter, determining whether the second identity recognition card has disconnected RRC connection with the public data network within a preset time period corresponding to the second timer according to the RRC connection state parameter, and finally under the condition that the second identity recognition card has not disconnected RRC connection within the preset time period, and sending an RRC connection disconnection request to the public data network based on the identifier of the second identity identification card so as to trigger the public data network to disconnect the RRC connection. Therefore, under the condition of receiving the invalid packet switching paging including the identifier of the second identity card, if the RRC connection between the second identity card and the PDN is not released in the preset time period corresponding to the second timer, the RRC connection disconnection request is sent to the PDN, so that the second identity card can timely release the radio frequency resource, the second identity card is prevented from occupying the radio frequency resource for a long time, and the normal operation of the data service of the terminal equipment is ensured.
Fig. 3 is a schematic signaling interaction diagram of a communication method of a dual-card terminal device according to an 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, the terminal device performs a data service using the connection between the first identity card and the public data network.
In step 302, the second identification card receives an invalid packet-switched page for the first time.
Step 303, start the first timer and the second timer.
And step 304, sending an RRC connection request to the PDN based on the identification of the second identification card.
And 305, after the timing of the second timer is finished, determining that the RRC connection between the second identity card and the PDN is not disconnected.
And step 306, sending an RRC connection disconnection request to the PDN based on the identification of the second identification card so as to disconnect the RRC connection between the public data network and the second identification card.
Step 307, determining that the number of times that the second identity card receives the invalid packet switched paging is greater than a first threshold in a time period corresponding to the first timer.
And 308, sending a data disconnection request to the PDN based on the identifier of the second identification card so as to disconnect the PDN connection between the public data network and the second identification card.
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 a state of a first timer in a terminal device when monitoring that the terminal device receives an invalid packet switching page in a process of performing a data service by using a connection between a first identity card and a public data network, where the invalid packet switching page includes an identifier of a second identity card;
a second determining module 420, configured to, if the first timer is in a timing state, increment a number of times of a currently received invalid packet-switched page by one;
a first sending module 430, configured to send a data disconnection request to the public data network based on the identifier of the second identity card when the updated number of times of the invalid packet paging is greater than a first threshold, so that the public data network is disconnected from the public data network connected to the second identity card.
Optionally, the method further includes:
the starting module is used for starting the second timer;
a second sending module, configured to send a radio resource control RRC connection request to the public data network based on an identifier of a second identity card;
the first acquisition module is used for acquiring the RRC connection state parameters after the second timer finishes timing;
a third determining module, configured to determine, according to the RRC connection state parameter, whether the second identity card has disconnected the RRC connection with the public data network within a preset time period corresponding to the second timer;
a third sending module, configured to send, to the public data network, an RRC connection disconnection request based on the identifier of the second identity card, when the second identity card does not disconnect the RRC connection within the preset time period, so as to trigger the public data network to disconnect the RRC connection.
Optionally, the system further includes a fourth determining module, specifically configured to:
starting the first timer when the first timer is not started;
the number of currently received invalid packet switched pages is determined to be 1.
Optionally, the method further includes:
and the fourth sending module is used for sending a data connection request to the public data network based on the identifier of the second identity card under the condition that the data service executed by the terminal device by using the connection between the first identity card and the public data network is monitored to be ended.
Optionally, the method further includes:
and the fourth sending module is used for sending a data connection request to the public data network based on the identifier of the second identity card under the condition that the data connection control in the display interface of the terminal equipment is monitored to be touched.
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 present disclosure, first, in a process of monitoring that the terminal device performs a data service using a connection between a first identification card and a public data network, receives an invalid packet-switched paging including an identifier of a second identification card, determines a state of a first timer in the terminal device, and then adds one to a number of times of the invalid packet-switched paging that has been currently received when the first timer is in a timing state, and finally, sends a data disconnection request to the public data network based on the identifier of the second identification card so as to disconnect the public data network from the public data network connected to the second identification card when the updated number of times of the invalid packet-switched paging is greater than a first threshold. Therefore, in the process that the terminal equipment uses the connection between the first identity identification card and the PDN to execute the data service, if the second identity identification card frequently receives invalid packet switching paging sent by the PDN, the PDN connection between the second identity identification card and the PDN is disconnected, the second identity identification card is prevented from frequently occupying radio frequency resources, and the abnormal service of the terminal equipment is avoided.
In order to implement the above embodiments, the present disclosure also provides an electronic device, including: the communication method of the dual-card terminal device is provided by the embodiment of the disclosure.
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 provides a computer program product, which when executed by an instruction processor in the computer program product, 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 embodiments of the present disclosure.
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 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, firstly, in the process of monitoring that the terminal equipment executes data service by using connection between a first identity card and a public data network, receiving invalid packet switching paging including an identifier of a second identity card, determining the state of a first timer in the terminal equipment, then adding one to the number of the invalid packet switching paging which is currently received under the condition that the first timer is in a timing state, and finally sending a data disconnection request to the public data network based on the identifier of the second identity card so as to disconnect the public data network from the public data network between the second identity card when the updated number of the invalid packet switching paging is greater than a first threshold. Therefore, in the process that the terminal equipment uses the connection between the first identity identification card and the PDN to execute the data service, if the second identity identification card frequently receives invalid packet switching paging sent by the PDN, the PDN connection between the second identity identification card and the PDN is disconnected, the second identity identification card is prevented from frequently occupying radio frequency resources, and the abnormal service of the terminal equipment is avoided.
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 stand-alone 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 (13)

1. A communication method of a dual-card terminal device is characterized by comprising the following steps:
in response to monitoring that terminal equipment receives an invalid packet switching paging in the process of using a connection between a first identity card and a public data network to execute data service, determining the state of a first timer in the terminal equipment, wherein the invalid packet switching paging comprises an identifier of a second identity card;
in response to the first timer being in a timed state, incrementing a number of invalid packet-switched pages currently received by one;
and in response to the updated number of times of the invalid packet paging being greater than a first threshold, sending a data disconnection request to the public data network based on the identifier of the second identification card, so that the public data network is disconnected from the public data network connected with the second identification card.
2. The method of claim 1, wherein after the receiving an invalid packet-switched page, further comprising:
starting a second timer;
sending a Radio Resource Control (RRC) connection request to the public data network based on the identifier of the second identity card;
acquiring a Radio Resource Control (RRC) connection state parameter after the second timer finishes timing;
determining whether the second identity recognition card is disconnected with the RRC between the second identity recognition card and the public data network within a preset time period corresponding to the second timer according to the RRC connection state parameter;
and responding to the situation that the second identity identification card does not disconnect the RRC connection within the preset time period, and sending an RRC connection disconnection request to the public data network based on the identification of the second identity identification card so as to trigger the public data network to disconnect the RRC connection.
3. The method of claim 1, wherein after said determining the state of the first timer in the terminal device, further comprising:
starting the first timer when the first timer is not started;
the number of currently received invalid packet switched pages is determined to be 1.
4. A method according to any of claims 1-3, further comprising, after said sending a data disconnect request to said public data network:
and in response to monitoring that the data service executed by the terminal device using the connection between the first identity card and the public data network is finished, sending a data connection request to the public data network based on the identifier of the second identity card.
5. A method according to any of claims 1-3, further comprising, after said sending a data disconnect request to said public data network:
and in response to monitoring that the data connection control in the display interface of the terminal equipment is touched, sending a data connection request to the public data network based on the identifier of the second identity recognition card.
6. A communication apparatus of a dual card terminal device, the apparatus comprising:
a first determining module, configured to determine a state of a first timer in a terminal device when monitoring that the terminal device receives an invalid packet switching page in a process of performing a data service using a connection between a first identity card and a public data network, where the invalid packet switching page includes an identifier of a second identity card;
a second determining module, configured to add one to the number of times of the currently received invalid packet-switched paging when the first timer is in a timing state;
and the first sending module is used for sending a data disconnection request to the public data network based on the identifier of the second identity recognition card under the condition that the updated invalid packet paging frequency is greater than a first threshold value, so that the public data network is disconnected from the public data network connected with the second identity recognition card.
7. The apparatus of claim 6, further comprising:
the starting module is used for starting the second timer;
a second sending module, configured to send a radio resource control RRC connection request to the public data network based on an identifier of a second identity card;
the first acquisition module is used for acquiring the RRC connection state parameters after the second timer finishes timing;
a third determining module, configured to determine, according to the RRC connection state parameter, whether the second identity card has disconnected the RRC connection with the public data network within a preset time period corresponding to the second timer;
a third sending module, configured to send, to the public data network, an RRC connection disconnection request based on the identifier of the second identity card, when the second identity card does not disconnect the RRC connection within the preset time period, so as to trigger the public data network to disconnect the RRC connection.
8. The apparatus of claim 6, further comprising a fourth determination module specifically configured to:
starting the first timer when the first timer is not started;
the number of currently received invalid packet switched pages is determined to be 1.
9. The apparatus of any of claims 6-8, further comprising:
and the fourth sending module is used for sending a data connection request to the public data network based on the identifier of the second identity card under the condition that the data service executed by the terminal device by using the connection between the first identity card and the public data network is monitored to be ended.
10. The apparatus of any of claims 6-8, further comprising:
and the fourth sending module is used for sending a data connection request to the public data network based on the identifier of the second identity card under the condition that the data connection control in the display interface of the terminal equipment is monitored to be touched.
11. 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 5.
12. 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 5.
13. 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 5.
CN202210072780.5A 2022-01-21 2022-01-21 Communication method and device of dual-card terminal equipment, electronic equipment and storage medium Pending CN114364024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210072780.5A CN114364024A (en) 2022-01-21 2022-01-21 Communication method and device of dual-card terminal equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210072780.5A CN114364024A (en) 2022-01-21 2022-01-21 Communication method and device of dual-card terminal equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114364024A true CN114364024A (en) 2022-04-15

Family

ID=81090604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210072780.5A Pending CN114364024A (en) 2022-01-21 2022-01-21 Communication method and device of dual-card terminal equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114364024A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378120A (en) * 2010-08-24 2012-03-14 中兴通讯股份有限公司 Paging method and system
CN105554884A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and device for paging response
WO2018126377A1 (en) * 2017-01-05 2018-07-12 Qualcomm Incorporated Lowering power consumption in wake-on-wireless mode
CN109314736A (en) * 2017-03-24 2019-02-05 华为技术有限公司 A kind of communication means that realizing dual-card dual-standby dual-pass and terminal
CN110062372A (en) * 2019-03-29 2019-07-26 维沃移动通信(深圳)有限公司 A kind of SIM card control method and terminal device
CN112003984A (en) * 2020-08-27 2020-11-27 努比亚技术有限公司 Game data control method, mobile terminal and computer-readable storage medium
CN112218283A (en) * 2019-07-12 2021-01-12 中国电信股份有限公司 Service suspension and recovery method and system, multi-card terminal and storage medium
CN112804749A (en) * 2020-11-24 2021-05-14 Oppo(重庆)智能科技有限公司 Method for responding paging message and terminal equipment
CN113316133A (en) * 2017-03-25 2021-08-27 华为技术有限公司 Communication method and terminal for realizing dual-card dual-standby dual-channel

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378120A (en) * 2010-08-24 2012-03-14 中兴通讯股份有限公司 Paging method and system
CN105554884A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and device for paging response
WO2018126377A1 (en) * 2017-01-05 2018-07-12 Qualcomm Incorporated Lowering power consumption in wake-on-wireless mode
CN109314736A (en) * 2017-03-24 2019-02-05 华为技术有限公司 A kind of communication means that realizing dual-card dual-standby dual-pass and terminal
CN113316133A (en) * 2017-03-25 2021-08-27 华为技术有限公司 Communication method and terminal for realizing dual-card dual-standby dual-channel
JP2021145351A (en) * 2017-03-25 2021-09-24 華為技術有限公司Huawei Technologies Co., Ltd. Communication method for implementing dual sim dual active, and terminal
CN110062372A (en) * 2019-03-29 2019-07-26 维沃移动通信(深圳)有限公司 A kind of SIM card control method and terminal device
CN112218283A (en) * 2019-07-12 2021-01-12 中国电信股份有限公司 Service suspension and recovery method and system, multi-card terminal and storage medium
CN112003984A (en) * 2020-08-27 2020-11-27 努比亚技术有限公司 Game data control method, mobile terminal and computer-readable storage medium
CN112804749A (en) * 2020-11-24 2021-05-14 Oppo(重庆)智能科技有限公司 Method for responding paging message and terminal equipment

Similar Documents

Publication Publication Date Title
CN109144728B (en) Occupancy control method and device for camera application
EP2464153A1 (en) Switching active subscriber identity of a communication
US20230224992A1 (en) Inter-system ping-pong suppression method, apparatus, terminal and storage medium
EP3349536B1 (en) Method and device for calling in network cell congestion state
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CA3053427C (en) Network connection method and apparatus
KR102510207B1 (en) Method for handling attach reject message with #14 cause at user equipment
CN109429374B (en) RRC state transition method, device and computer readable storage medium
JP2020537436A (en) How to select cells and terminals, as well as programs and computer-readable storage media
CN111263434B (en) Network registration method, device, terminal and storage medium
CN112806073A (en) Communication processing method, communication processing device, mobile terminal and storage medium
CN108337706B (en) Wireless network switching method, mobile terminal and storage medium
CN106231051B (en) Video decoding test method and related equipment
CN114364024A (en) Communication method and device of dual-card terminal equipment, electronic equipment and storage medium
CN108966236B (en) Pseudo base station identification switch control method and device, mobile terminal and storage medium
CN111654899A (en) Wearable device control method and device, electronic device and storage medium
CN111954203B (en) Information receiving method and device
CN114567873B (en) Communication method and device of double-card terminal equipment, electronic equipment and storage medium
CN114710838A (en) User equipment service processing method, device, user equipment and storage medium
CN114786278A (en) Network connection method and device and mobile terminal
CN111641987B (en) Method for processing based on service, terminal equipment, network equipment and computer storage medium
CN110308938B (en) Management method and device for plugging and unplugging peripheral events
CN108401288B (en) Information processing method, communication terminal and computer storage medium
CN112737718B (en) Channel switching method and device, electronic equipment and storage medium
CN108040348B (en) Method and device for detecting network access result 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