Communication processing methods and devices, storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-06
- Publication Date
- 2026-08-14
AI Technical Summary
在进行用户识别卡切换的过程中,则可能会由于网络连接的切换导致数据断流或者恢复数据慢等情况
[0045]本公开的实施例提供的技术方案可以包括以下有益效果:通过本公开实施例的技术方案,在由第一用户识别卡切换至第二用户识别卡时,仅断开第一用户识别卡与终端内部通信模块的第一数据通道,维持第一通信模块与第一网络设备之间的第一网络连接,这样,在由第二用户识别卡切换回第一用户识别卡时无需重新建立第一网络连接,只需要建立第一数据通道,基于所维持的第一网络连接和重新建立的第一数据通道进行数据通信,从而减少了终端与网络设备之间的信令开销,能够快速完成用户识别卡的切换并恢复数据通信。
Smart Images

Figure CN115580947B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to information processing technology, and more particularly to a communication processing method and apparatus, and a storage medium. Background Technology
[0002] When a terminal communicates with a network, it can establish a network connection with network devices through its communication module. The terminal's SIM card can establish a data channel with the terminal's communication module, enabling data interaction with the network through this data channel. During the power-on process, the terminal typically automatically activates its communication module and establishes a network connection. However, for DSDS (Dual SIMD Dual Standby) terminals, there are scenarios where the SIM card needs to be switched. During this switching process, data interruption or slow data recovery may occur due to the change in network connection. Summary of the Invention
[0003] This disclosure provides a communication processing method, apparatus, and storage medium.
[0004] According to a first aspect of the present disclosure, a communication processing method is provided, the method being applied to a terminal with a multi-user identification card, comprising:
[0005] When a trigger message for switching from the first user identification card to the second user identification card is detected, the first data channel between the first user identification card and the communication module of the terminal is disconnected, while the first network connection between the communication module and the first network device is maintained.
[0006] When the second user identification card switches back to the first user identification card, the first data channel is rebuilt so that the first user identification card can communicate over the network through the first network connection and the rebuilt first data channel.
[0007] In some embodiments, the triggering information includes: a communication request for the second user identification card; when the triggering information indicating a switch from using the first user identification card to using the second user identification card is detected, disconnecting the first data channel between the first user identification card and the communication module of the terminal, and maintaining the first network connection between the communication module and the first network device, includes:
[0008] When the communication request for the second user identification card is detected, the first data channel is disconnected;
[0009] Establish a second data channel between the second user identification card and the communication module, and maintain the first network connection.
[0010] In some embodiments, the communication module further establishes a second network connection with a second network device; the method further includes:
[0011] During the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection, the second network connection is maintained.
[0012] After completing the communication process with the second user identification card, disconnect the second network connection.
[0013] In some embodiments, the method further includes:
[0014] In response to the completion of the communication process for the second user identification card, a first data channel is established between the first user identification card and the communication module; the first user identification card performs network communication through the first data channel and the first network connection.
[0015] In some embodiments, the triggering information includes: an operation instruction to switch user identification cards; when the triggering information indicating a switch from using a first user identification card to using a second user identification card is detected, disconnecting the first data channel between the first user identification card and the communication module of the terminal, and maintaining the first network connection between the communication module and the first network device, includes:
[0016] In response to detecting the operation command to switch user identification cards, the first data channel of the first user identification card is disconnected, and the first network connection between the communication module and the first network device is maintained.
[0017] In some embodiments, the method further includes:
[0018] The IP address reassigned by the first network device to the first user identification card is obtained through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
[0019] In some embodiments, obtaining the IP address reassigned by the first network device to the first user identification card via the first network connection includes:
[0020] Disconnect the first network connection;
[0021] Re-establish the first network connection between the first user identification card and the first network device corresponding to the communication module;
[0022] The reassigned IP address is obtained through the re-established first network connection.
[0023] According to a second aspect of the present disclosure, a communication processing apparatus is provided, the apparatus being applied to a terminal with a multi-user identification card, comprising:
[0024] The connection module is used to disconnect the first data channel between the first user identification card and the communication module of the terminal when a trigger information for switching the first user identification card to the second user identification card is detected, and to maintain the first network connection between the communication module and the first network device.
[0025] The reconstruction module is used to reconstruct the first data channel when the second user identification card switches back to the first user identification card, so that the first user identification card can communicate through the first network connection and the reconstructed first data channel.
[0026] In some embodiments, the triggering information includes: a communication request for the second user identification card; the connection module includes:
[0027] The first disconnect submodule is used to disconnect the first data channel when a communication request for the second user identification card is detected.
[0028] A submodule is established to establish a second data channel between the second user identification card and the communication module, and to maintain the first network connection.
[0029] In some embodiments, the communication module further establishes a second network connection with a second network device; the apparatus further includes:
[0030] The maintenance module is used to maintain the second network connection during the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection;
[0031] The disconnect module is used to disconnect the second network connection after the communication process with the second user identification card is completed.
[0032] In some embodiments, the apparatus further includes:
[0033] The module is configured to establish a first data channel between the first user identification card and the communication module in response to the completion of the communication process for the second user identification card; the first user identification card performs network communication through the first data channel and the first network connection.
[0034] In some embodiments, the triggering information includes: an operation command to switch user identification cards; the connection module includes:
[0035] The second disconnect submodule is configured to disconnect the first data channel of the first user identification card in response to the detection of the operation command for switching user identification cards, and maintain the first network connection between the communication module and the first network device.
[0036] In some embodiments, the apparatus further includes:
[0037] The acquisition module is used to acquire the IP address reassigned by the first network device to the first user identification card through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
[0038] In some embodiments, the acquisition module includes:
[0039] The third disconnection submodule is used to disconnect the first network connection;
[0040] The reconstruction submodule is used to re-establish the first network connection between the communication module and the first user identification card and the first network device.
[0041] The acquisition submodule is used to acquire the reassigned IP address through the re-established first network connection.
[0042] According to a third aspect of the present disclosure, a communication processing apparatus is provided, the apparatus comprising at least: a processor and a memory for storing executable instructions capable of running on the processor, wherein:
[0043] When the processor runs the executable instructions, the executable instructions perform the steps in any of the above-described communication processing methods.
[0044] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein computer-executable instructions are stored therein, which, when executed by a processor, implement the steps in any of the above-described communication processing methods.
[0045] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: When switching from a first user identification card to a second user identification card, only the first data channel between the first user identification card and the internal communication module of the terminal is disconnected, while the first network connection between the first communication module and the first network device is maintained. In this way, when switching back from the second user identification card to the first user identification card, it is not necessary to re-establish the first network connection. Only the first data channel needs to be established, and data communication is carried out based on the maintained first network connection and the re-established first data channel. This reduces the signaling overhead between the terminal and the network device, and enables the user identification card to be switched quickly and data communication to be restored.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0048] Figure 1 This is a communication processing method flow illustrated according to an exemplary embodiment. Figure 1 ;
[0049] Figure 2 This is a communication processing method flow illustrated according to an exemplary embodiment. Figure 2 ;
[0050] Figure 3 This is a communication processing method flow illustrated according to an exemplary embodiment. Figure 4 ;
[0051] Figure 4 This is a communication processing method flow illustrated according to an exemplary embodiment. Figure 5 ;
[0052] Figure 5 This is a structural block diagram of a communication processing apparatus according to an exemplary embodiment;
[0053] Figure 6 This is a block diagram illustrating the physical structure of a terminal according to an exemplary embodiment. Detailed Implementation
[0054] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0055] Figure 1 This is a flowchart illustrating a communication processing method according to an exemplary embodiment, the method being applied to a multi-user identification card terminal, such as... Figure 1 As shown, the method includes:
[0056] Step S101: When a trigger message for switching the first user identification card to the second user identification card is detected, the first data channel between the first user identification card and the communication module of the terminal is disconnected, and the first network connection between the communication module and the first network device is maintained.
[0057] Step S102: When the second user identification card switches back to the first user identification card, the first data channel is rebuilt so that the first user identification card can communicate with the network through the first network connection and the rebuilt first data channel.
[0058] Here, the first user identification card can be the terminal's default primary card or a user identification card configured by the user to use network data. The terminal can use the data traffic of the first user identification card for network communication by default. Therefore, the communication link between the communication module corresponding to the first user identification card and the first network device can be a network connection automatically established when the terminal is powered on, and this network connection can always be maintained by default. The first network device can be a base station or core network equipment, etc., that provides network data communication services for the first user identification card.
[0059] Since the terminal is equipped with multiple user identification cards (SIM cards), at least two of these SIM cards can be powered on simultaneously, enabling data communication services such as telephone calls and sending / receiving messages. Furthermore, at least one SIM card can be used for network communication, such as internet access or voice calls.
[0060] In this embodiment of the disclosure, the first user identification card can be used by default for network communication, that is, to use Internet access services and at the same time be able to make calls, send and receive messages and other data communication services, while the second user identification card can be used only for data communication services such as making calls and sending and receiving messages, and responding to paging messages for data communication.
[0061] The trigger information used to switch from the first user identification card to the second user identification card can be generated based on the user's SIM card switching operation, or it can be generated based on communication requests or application operations. For example, if the terminal is using the first user identification card by default, and an incoming call or received SMS message is detected targeting the second user identification card, the data channel needs to be temporarily switched to the second user identification card for the call or SMS message. In this case, trigger information can be generated based on the signaling related to these detected calls or SMS messages to trigger the terminal to switch the user identification card, that is, to switch the currently used first user identification card to the second user identification card.
[0062] The process of switching user identification cards (SIM cards) involves disconnecting the data channel between the first SIM card and the communication module, and establishing a data channel between the second SIM card and the communication module. Here, the communication module can be the terminal's modem or other module used to establish communication connections with external network devices, enabling network communication, such as establishing a PDN (Packet Data Network) link with a base station. Internally, the terminal contains a data channel between the SIM card and the communication module, which can be established through the interface between the SIM card and the communication module.
[0063] It should be noted that during network communication after the switch, the second user identification card can utilize the second data channel between the second user identification card and the communication module to achieve network communication with the aforementioned first network connection, or it can utilize the second network connection (the connection between the base station or other second network equipment providing data communication services to the second user identification card and the communication module) which is already in a connected state. During network communication using the second user card, if a switchover command to switch back to the first user identification card is detected, or if network communication has been completed through the second user card, the second data channel is disconnected, and the first data channel between the first user identification card and the terminal's communication module is re-established, allowing the first user identification card to conduct network communication through the first network connection and the re-established first data channel.
[0064] Since the first network connection and the second network connection can be automatically established when the terminal is powered on, it is not necessary to disconnect or establish the network connection between the communication module and the network device when switching user identification cards, thus enabling fast switching.
[0065] In this embodiment of the disclosure, when switching from the first user identification card to the second user identification card, only the first data channel between the first user identification card and the internal communication module of the terminal is disconnected, while the first network connection between the first communication module and the first network device is maintained. In this way, when switching back from the second user identification card to the first user identification card, it is not necessary to re-establish the first network connection; only the first data channel needs to be established. Data communication is carried out based on the maintained first network connection and the re-established first data channel, thereby reducing the signaling overhead between the terminal and the network device and enabling the user identification card to be switched quickly and data communication to be restored.
[0066] In some embodiments, the triggering information includes: a communication request for the second user identification card; when the triggering information indicating a switch from using the first user identification card to using the second user identification card is detected, disconnecting the first data channel between the first user identification card and the communication module of the terminal, and maintaining the first network connection between the communication module and the first network device, includes:
[0067] When the communication request for the second user identification card is detected, the first data channel is disconnected;
[0068] Establish a second data channel between the second user identification card and the communication module, and maintain the first network connection.
[0069] Here, with the first user identification card (SIM card) in use as the default, the second SIM card cannot be used for network communication. However, the terminal can detect communication requests for the second SIM card, including incoming phone calls or SMS messages, by periodically receiving paging messages. These communication requests for the second SIM card require the terminal to temporarily switch the data channel from the first SIM card to the second SIM card, and automatically switch back to the first SIM card after the second SIM card completes these temporary communications, so that the user can continue to use the internet service provided by the first SIM card.
[0070] Therefore, upon detecting a communication request for the second user identification card, the first data channel is disconnected, a second data channel is established between the second user identification card and the communication module, and the first network connection corresponding to the first user identification card is maintained, so that when it is necessary to switch back to the first user identification card from the second user identification card, the user can quickly switch back to the first user identification card.
[0071] In this embodiment, when switching user identification cards (SIM cards), the data interface between the SIM card and the terminal's communication module can be switched from the first SIM card to the second SIM card. Therefore, during SIM card switching, only the data channel between the first SIM card and the communication module can be disconnected, while a data channel between the second SIM card and the communication module can be established. Simultaneously, the first network connection between the communication module corresponding to the first SIM card and the first network device is maintained. In this way, data packets generated during network communication by the first SIM card will still be sent to the terminal through the first network connection, preventing data interruption and reducing data loss or service interruptions caused by SIM card switching. When the second SIM card completes data communication and switches back to the first SIM card, the data on the first SIM card can be quickly restored, and network communication can continue.
[0072] In this way, when the terminal needs the second user identification card for temporary data communication, it can quickly switch the first user identification card to the second user identification card without disconnecting the network connection of the first user identification card, thereby reducing the occurrence of data interruption of the first user identification card and facilitating the rapid recovery of the network data of the first user identification card, thus improving the user experience.
[0073] In some embodiments, the communication module further establishes a second network connection with a second network device; the method further includes:
[0074] During the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection, the second network connection is maintained.
[0075] After completing the communication process with the second user identification card, disconnect the second network connection.
[0076] Here, the second network device can be a base station or core network equipment that provides network communication services for the second user identification card. This second network device can be the same as the first network device, or it can be a different device. For example, if the first and second user identification cards use services provided by the same operator, then the first and second network devices can be the same network device from that operator. However, if the first and second user identification cards use services provided by different operators, then the first network device is the equipment of the operator of the first user identification card, and the second network device is the equipment of the operator of the second user identification card; that is, the first and second network devices are not the same device.
[0077] Here, during temporary communication via the second user identification card, communication can be conducted using the second data channel between the second user identification card and the communication module, and the second network connection between the communication module and the second network device. Since the first user identification card defaults to using traffic data, while the second user identification card may only be used temporarily, the second network connection is maintained during the communication request process via the second data channel and the second network connection. After the communication process with the second user identification card is completed, the second network connection is automatically disconnected. In other words, after the communication process with the second user identification card ends, it can automatically switch back to the first user identification card without requiring a user identification card switching command or other operations. Thus, after the second network connection corresponding to the second user identification card is disconnected, it will not receive PS paging messages (Packet Switched-paging) sent by the network device, thereby reducing the possibility of the second user identification card preempting terminal radio frequency resources and allowing the network communication data of the first user identification card to be quickly restored.
[0078] In some embodiments, the method further includes:
[0079] In response to the completion of the communication process for the second user identification card, a first data channel is established between the first user identification card and the communication module; the first user identification card performs network communication through the first data channel and the first network connection.
[0080] Here, after the temporary communication of the second user identification card ends, the first user identification card can be automatically restored as the terminal for network communication. Therefore, the second data channel between the second user identification card and the communication module can be automatically disconnected, and the first data channel between the first user identification card and the communication module can be re-established, so that the first user identification card can conduct network communication through the first data channel and the first network connection.
[0081] Since the first network connection of the first user identification card remains connected, after establishing the first data channel between the first user identification card and the communication module, network communication can be directly conducted through the first network connection without needing to rebuild the communication module's first network connection to external network devices. Therefore, during the switchback to the first user identification card using this method, no network signaling interaction is required; only the switching of the terminal's internal interface is needed to quickly restore data, thereby saving signaling overhead and reducing data interruptions.
[0082] In some embodiments, such as Figure 2 As shown, the triggering information includes: an operation command to switch user identification cards;
[0083] When the trigger information indicating a switch from using a first user identification card to using a second user identification card is detected, the first data channel between the first user identification card and the communication module of the terminal is disconnected, while maintaining the first network connection between the communication module and the first network device, including:
[0084] Step S201: In response to detecting the operation command to switch user identification cards, disconnect the first data channel of the first user identification card and maintain the first network connection between the communication module and the first network device.
[0085] When the terminal detects an operation command to switch user identification cards (BICs), meaning the user manually selects to use a second BIC for network communication, unlike the automatic switching based on temporary communication requests, switching to the second BIC based on the operation command does not require an automatic switch back to the first BIC. In other embodiments, this operation command may also be sent to the terminal by another device connected to it. Therefore, the first data channel of the first BIC can be disconnected, and a second data channel of the second BIC can be established to enable communication using the second data channel and the corresponding second network connection.
[0086] At this time, since both the first network connection corresponding to the first user identification card and the second network connection corresponding to the second user identification card are in a connected state, the user can quickly switch to the second user identification card to realize network communication of the second user identification card.
[0087] Since the first user identification card may still be used again—that is, it can be switched back to the first user identification card based on the trigger information for switching to the first user identification card—in this embodiment of the disclosure, even if the user switches to the second user identification card via an operation command, the first network connection of the communication module is still maintained. This facilitates a quick switchback when switching back to the first user identification card based on the trigger information, and eliminates the need for additional communication signaling to disconnect the first network connection, thus saving signaling overhead costs.
[0088] In some embodiments, detecting trigger information for triggering the use of the second user identification card while the first user identification card is used for data communication includes:
[0089] During network communication with the first user identification card, the operation command for switching user identification cards is detected.
[0090] In this embodiment, the triggering information can be based on user actions to determine detected operation commands. Furthermore, operation commands can be detected during network communication by the first user identification card. For example, the user clicking a control to switch user identification cards, or triggering a shortcut gesture for switching user identification cards (such as double-tapping the touchscreen or swiping in a specified direction), etc., confirms the detection of a user identification card switching operation command. In this case, the user identification card switching process described in the above embodiment can be executed.
[0091] It should be noted that since the timing of detecting the switching request may be when the first user identification card is in the process of network communication (for example, in scenarios where real-time network data is obtained, such as watching online videos and live broadcasts), and the user needs to continue using the network communication after switching user identification cards, or does not want to pause the use of the current application, the terminal can quickly establish the network communication corresponding to the second user identification card after switching to the second user identification card and continue to use the aforementioned live broadcast and other services.
[0092] In this way, the terminal can quickly switch the user identification card using data traffic based on user instructions without having to restart the application or business scenario it is currently using, thereby improving the user experience.
[0093] In some embodiments, the method further includes:
[0094] The IP address reassigned by the first network device to the first user identification card is obtained through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
[0095] If the terminal receives a handover command to switch user identification cards while the first user identification card is engaged in network communication, the terminal needs to disconnect the first data channel between the first user identification card and the communication module locally. At this time, the upper-layer application continues to acquire network communication data through the first network connection, causing data interruption for the user. This is because the upper-layer application may not have obtained the IP address of the second user identification card in time during network data transmission using the first user identification card, resulting in some data packets still being sent to the first user identification card. This causes the first user identification card to continue occupying radio frequency resources after the handover, leading to communication errors or connection failures for the second user identification card. Consequently, the second user identification card cannot receive data normally, resulting in data interruption.
[0096] Since the upper-layer application on the terminal may be conducting network communication based on the IP address of the user identification card, if the upper-layer application fails to update the IP address for network communication in a timely manner after switching user identification cards, that is, fails to update the IP address for network communication from the IP address of the first user identification card to the IP address of the second user identification card in a timely manner, the data packets sent by the server may still be sent to the terminal through the first network connection corresponding to the first user identification card, while the terminal has already switched to using the second user identification card. Therefore, this may lead to data transmission errors.
[0097] Therefore, in this embodiment, after switching user identification cards (SIM cards), the second data channel and second network connection of the second SIM card can be used for network communication; simultaneously, the IP address of the first SIM card is reacquired. For example, an updated IP address can be obtained from the first network device by sending an update request; or, the IP address can be reacquired by disconnecting and reconnecting the first network connection. In this way, the IP address of the first SIM card is updated, and the upper-layer application will not continue to obtain data using the original IP address, causing the first SIM card to preempt resources. Furthermore, the upper-layer application does not need to know the updated IP address of the first SIM card, but instead uses the IP address of the switched second SIM card to continue network communication. This maintains the first network connection, and the updated IP address can be easily used when switching back to the first SIM card. The continued use of the second SIM card will not be affected by the first network connection not being disconnected, and service interruption or data loss will not occur due to the first SIM card preempting radio frequency resources.
[0098] In some embodiments, obtaining the IP address reassigned to the first user identification card by the first network device through the first network connection includes:
[0099] Disconnect the first network connection;
[0100] Re-establish the first network connection between the first user identification card and the first network device corresponding to the communication module;
[0101] The reassigned IP address is obtained through the re-established first network connection.
[0102] In this embodiment of the disclosure, when it is necessary to switch from the first user identification card used for network communication to the second user identification card, the problem of the first user identification card occupying radio frequency resources due to the upper layer application continuously sending and receiving data using the IP address of the first user identification card can be reduced by obtaining a reassigned IP address, so that the terminal can smoothly switch to the second user identification card during network communication.
[0103] Here, the terminal can obtain a new IP address for the first user identification card by disconnecting and re-establishing the first network connection corresponding to the first user identification card. Since the network device configures an IP address for the user identification card during the process of establishing a network connection between the terminal and the first network device via the communication module, re-establishing the network connection corresponding to the first user identification card prevents upper-layer applications from communicating via the original IP address, thus allowing network data to be exchanged via the switched second user identification card.
[0104] This disclosure also provides the following examples:
[0105] To facilitate quick internet access after power-on, the terminal can establish a communication connection with network devices via a modem, such as the default PDN link. However, for DSDS terminals, two SIM cards may preempt TRM (Transceiver Resource Manager) resources (i.e., terminal RF (Radio Frequency) resources) due to PS paging messages, affecting the data services of the other SIM card.
[0106] After the terminal is powered on, the modem establishes a PDN connection with the network device, which then assigns a corresponding IP address. When the user's status bar shows the data switch enabled, this IP address can be returned to the upper layer of the terminal for faster internet access.
[0107] In a dual-SIM scenario, when the second SIM card needs to make calls or transmit data, the terminal will temporarily switch from the first SIM card to the second SIM card. If the call on the second SIM card ends, the communication interface between the second SIM card and the communication module will be disconnected. However, the PDN of the second SIM card will not be disconnected from the network device. Therefore, after switching back to the primary SIM card, the network device may still send PS paging messages to the second SIM card, causing the primary SIM card to lose connection.
[0108] Therefore, in this embodiment, the default PDN link connection of the first user identification card can always be maintained, while the second user identification card can be disconnected. This avoids the problem of the second user identification card preempting radio frequency resources and causing the data flow of the first user identification card to be interrupted.
[0109] In some embodiments, such as during a call on the second user identification card (SIM card) or in scenarios involving temporary data switching like sending and receiving MMS messages, if the default PDN link of the first SIM card is disconnected when switching from the first SIM card to the second SIM card, and the call or MMS message ends on the second SIM card, a PDN connection request needs to be sent again to rebuild the PDN link corresponding to the first SIM card when switching data back to the first SIM card. If the network device does not respond or responds slowly, or if network connection needs to be rebuilt due to dual-SIM RF resource occupation, this can lead to a problem where the first SIM card experiences slow data recovery after the call or MMS message message ends on the second SIM card.
[0110] In this embodiment, when the data card needs to be temporarily switched to the second user identification card for services such as making calls or sending / receiving MMS, the PDN link between the first user identification card and the network device can be maintained without disconnecting the PDN link through a PDN disconnect request signaling. Thus, after the second user identification card finishes the aforementioned call or other services, the first user identification card can directly re-establish the data connection without needing to re-establish the network connection between the communication module and the network device, thereby enabling rapid data recovery.
[0111] In related technologies, the process of switching user identification cards (SIM cards) is as follows: In response to a communication request from the second SIM card for a call or MMS transmission, the DDS (Data Default Sub) is temporarily switched, i.e., from the first SIM card to the second SIM card in this embodiment; the first SIM card sends a PDN disconnection request to the network device to disconnect the default PDN link; after the second SIM card finishes communication, it switches the data back to the first SIM card; the first SIM card then sends a PDN connection request to the network device again to establish the default PDN link. In this case, if the network device does not respond or responds slowly, it will result in slow data recovery for the first SIM card.
[0112] Therefore, in the embodiments disclosed herein, such as Figure 3 As shown, by using the method of not disconnecting the first user identification card (PDN), the data of the first user identification card can be quickly recovered without relying on interaction with network devices, including the following steps:
[0113] Step S401: In response to a communication request from the second user identification card for a call or MMS message, temporarily switch the DDS to the second user identification card;
[0114] Step S402: The first user identification card disconnects the connection between the upper layer and the communication module (disconnects the first data channel), while maintaining the PDN link between the communication module and the network device (maintains the first network connection);
[0115] Step S403: After the communication with the second user identification card is completed, switch the data back to the first user identification card;
[0116] Step S404: The first user identification card re-establishes the connection between the upper layer and the communication module without needing to interact with the network device using signaling.
[0117] In related technologies, the terminal is in a state of using a first user identification card (SIM) to obtain network data in real time (such as watching live broadcasts or online videos). If a SIM switching request is detected, the TCP session of the first SIM is cleared, and the connection is switched to a second SIM. However, since live broadcasts use UDP (User Datagram Protocol) packets, the network device will still send UDP packets to the first SIM when switching to the second SIM. Downlink packets will cause ICMP (Internet Control Message Protocol) errors. If the second SIM preempts resources before the ICMP error is sent, the first SIM will still experience ICMP errors and reclaim the TRM (Transaction Management Message), causing service interruption for the current first SIM, i.e., the second SIM.
[0118] Therefore, it is assumed that the default data card corresponds to the first user identification card (SIM card), and the non-data card corresponds to the second user identification card (SIM card). When switching the data card from the first SIM card to the second SIM card, the upper layer disconnects the data link between the first SIM card and the communication module, and establishes a data link between the second SIM card and the communication module. Since there is no signaling interaction involving PDN disconnection requests with network devices, the data can be switched quickly.
[0119] After both cards complete their services, the first SIM card can resend the PDN disconnection request and PDN connection request via its communication module to rebuild the PDN link. At this time, the network device can reallocate IP addresses to the first SIM card's PDN link. Since the second SIM card's PS paging messages largely result from data packet interactions between the terminal's upper-layer (e.g., application layer) application and the network, the change in IP address means the application may not obtain the first SIM card's latest IP address. This reduces the likelihood of the network sending data packets to the first SIM card, thus reducing PS paging messages and minimizing the impact of the second SIM card preempting the TRM on its services. This solution is as follows: Figure 4 As shown, it includes the following steps:
[0120] Step S501: The first user identification card switches the data card to the second user identification card;
[0121] Step S502: The first user identification card disconnects the link between the upper-layer communication modules, and no signaling or network interaction is required;
[0122] Step S503: The second user identification card establishes a link between the upper layer and the communication module, without the need for signaling and network interaction;
[0123] Step S504: The first user identification card sends a PDN disconnection request to the network device;
[0124] Step S505: The first user identification card sends a PDN connection request to the network device, obtains the IP address reassigned by the network device, and establishes a PDN link.
[0125] Figure 5 This is a structural block diagram of a communication processing apparatus according to an exemplary embodiment, such as... Figure 6 As shown, the device is applied to a multi-user identification card terminal, and the device 600 includes:
[0126] The connection module 601 is used to disconnect the first data channel between the first user identification card and the communication module of the terminal when a trigger information for switching the first user identification card to the second user identification card is detected, and to maintain the first network connection between the communication module and the first network device.
[0127] The reconstruction module 602 is used to reconstruct the first data channel when the second user identification card switches back to the first user identification card, so that the first user identification card can communicate with the network through the first network connection and the reconstructed first data channel.
[0128] In some embodiments, the triggering information includes: a communication request for the second user identification card; the connection module includes:
[0129] The first disconnect submodule is used to disconnect the first data channel when a communication request for the second user identification card is detected.
[0130] A submodule is established to establish a second data channel between the second user identification card and the communication module, and to maintain the first network connection.
[0131] In some embodiments, the communication module further establishes a second network connection with a second network device; the apparatus further includes:
[0132] The maintenance module is used to maintain the second network connection during the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection;
[0133] The disconnect module is used to disconnect the second network connection after the communication process with the second user identification card is completed.
[0134] In some embodiments, the apparatus further includes:
[0135] The module is configured to establish a first data channel between the first user identification card and the communication module in response to the completion of the communication process for the second user identification card; the first user identification card performs network communication through the first data channel and the first network connection.
[0136] In some embodiments, the triggering information includes: an operation command to switch user identification cards; the connection module includes:
[0137] The second disconnect submodule is configured to disconnect the first data channel of the first user identification card in response to the detection of the operation command for switching user identification cards, and maintain the first network connection between the communication module and the first network device.
[0138] In some embodiments, the apparatus further includes:
[0139] The acquisition module is used to acquire the IP address reassigned by the first network device to the first user identification card through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
[0140] In some embodiments, the acquisition module includes:
[0141] The third disconnection submodule is used to disconnect the first network connection;
[0142] The reconstruction submodule is used to re-establish the first network connection between the communication module and the first user identification card and the first network device.
[0143] The acquisition submodule is used to acquire the reassigned IP address through the re-established first network connection.
[0144] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0145] Figure 6 This is a block diagram illustrating a terminal 700 according to an exemplary embodiment. For example, terminal 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0146] Reference Figure 6 The terminal 700 may include one or more of the following components: processing component 701, memory 702, power supply component 703, multimedia component 704, audio component 705, input / output (I / O) interface 706, sensor component 707, and communication component 708.
[0147] Processing component 701 typically controls the overall operation of terminal 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 701 may include one or more processors 710 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 701 may include one or more modules to facilitate interaction between processing component 701 and other components. For example, processing component 701 may include a multimedia module to facilitate interaction between multimedia component 704 and processing component 701.
[0148] Memory 710 is configured to store various types of data to support operation on terminal 700. Examples of this data include instructions for any application or method operating on terminal 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0149] Power supply component 703 provides power to various components of terminal 700. Power supply component 703 may include: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 700.
[0150] Multimedia component 704 includes a screen that provides an output interface between the terminal 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 704 includes a front-facing camera and / or a rear-facing camera. When the terminal 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and / or rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0151] Audio component 705 is configured to output and / or input audio signals. For example, audio component 705 includes a microphone (MIC) configured to receive external audio signals when terminal 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 710 or transmitted via communication component 708. In some embodiments, audio component 705 also includes a speaker for outputting audio signals.
[0152] I / O interface 706 provides an interface between processing component 701 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.
[0153] Sensor assembly 707 includes one or more sensors for providing state assessments of various aspects of terminal 700. For example, sensor assembly 707 can detect the on / off state of terminal 700, the relative positioning of components such as the display and keypad of terminal 700, changes in position of terminal 700 or a component of terminal 700, the presence or absence of user contact with terminal 700, orientation or acceleration / deceleration of terminal 700, and temperature changes of terminal 700. Sensor assembly 707 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 707 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 707 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0154] Communication component 708 is configured to facilitate wired or wireless communication between terminal 700 and other devices. Terminal 700 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 708 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 708 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
[0155] In an exemplary embodiment, terminal 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0156] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 702 including instructions, which can be executed by a processor 710 of a terminal 700 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0157] This disclosure also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of a mobile terminal, enables the mobile terminal to perform the methods provided in any of the above embodiments.
[0158] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0159] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A communication processing method, characterized in that, The method is applied to a multi-user identification card terminal, including: When a trigger message for switching from a first user identification card to a second user identification card is detected, the first data channel of the communication module between the first user identification card and the terminal is disconnected, and the first network connection between the communication module and the first network device is maintained; wherein, the first network connection is a packet data network (PDN) link established for the first user identification card when the terminal is powered on; maintaining the first network connection between the communication module and the first network device includes: refusing to disconnect the PDN link via PDN disconnection request signaling, so as to maintain the PDN link between the communication module and the first network device; When the second user identification card switches back to the first user identification card, the first data channel is rebuilt so that the first user identification card can communicate through the first network connection and the rebuilt first data channel; wherein, when the second user identification card switches back to the first user identification card, no PDN connection request for rebuilding the PDN link corresponding to the first user identification card is sent.
2. The method according to claim 1, characterized in that, The triggering information includes: a communication request for the second user identification card; when the triggering information indicating a switch from using the first user identification card to using the second user identification card is detected, disconnecting the first data channel between the first user identification card and the terminal's communication module, and maintaining the first network connection between the communication module and the first network device, includes: When the communication request for the second user identification card is detected, the first data channel is disconnected; Establish a second data channel between the second user identification card and the communication module, and maintain the first network connection.
3. The method according to claim 2, characterized in that, The communication module also establishes a second network connection with the second network device; the method further includes: During the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection, the second network connection is maintained. After completing the communication process with the second user identification card, disconnect the second network connection.
4. The method according to claim 3, characterized in that, The method further includes: In response to the completion of the communication process for the second user identification card, a first data channel is established between the first user identification card and the communication module; the first user identification card performs network communication through the first data channel and the first network connection.
5. The method according to claim 1, characterized in that, The triggering information includes: an operation command to switch user identification cards; when the triggering information indicating a switch from using a first user identification card to using a second user identification card is detected, disconnecting the first data channel between the first user identification card and the terminal's communication module, and maintaining the first network connection between the communication module and the first network device, includes: In response to detecting the operation command to switch user identification cards, the first data channel of the first user identification card is disconnected, and the first network connection between the communication module and the first network device is maintained.
6. The method according to claim 5, characterized in that, The method further includes: The IP address reassigned by the first network device to the first user identification card is obtained through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
7. The method according to claim 6, characterized in that, The step of obtaining the IP address reassigned to the first user identification card by the first network device through the first network connection includes: Disconnect the first network connection; Re-establish the first network connection between the communication module and the first user identification card and the first network device; The reassigned IP address is obtained through the re-established first network connection.
8. A communication processing device, characterized in that, The device is applied to a multi-user identification card terminal and includes: A connection module is configured to, when detecting a trigger information indicating a switch from a first user identification card to a second user identification card, disconnect the first data channel between the communication module of the first user identification card and the terminal, and maintain the first network connection between the communication module and the first network device; wherein, the first network connection is a packet data network (PDN) link established for the first user identification card when the terminal is powered on; maintaining the first network connection between the communication module and the first network device includes: refusing to disconnect the PDN link via a PDN disconnection request signaling, thereby maintaining the PDN link between the communication module and the first network device; The reconstruction module is configured to reconstruct the first data channel when the second user identification card switches back to the first user identification card, so that the first user identification card can perform network communication through the first network connection and the reconstructed first data channel; wherein, when the second user identification card switches back to the first user identification card, no PDN connection request for reconstructing the PDN link corresponding to the first user identification card is sent.
9. The apparatus according to claim 8, characterized in that, The triggering information includes: a communication request for the second user identification card; the connection module includes: The first disconnect submodule is used to disconnect the first data channel when a communication request for the second user identification card is detected. A submodule is established to establish a second data channel between the second user identification card and the communication module, and to maintain the first network connection.
10. The apparatus according to claim 9, characterized in that, The communication module also establishes a second network connection with the second network device; the device further includes: The maintenance module is used to maintain the second network connection during the communication process corresponding to the communication request conducted by the second user identification card through the second data channel and the second network connection; The disconnect module is used to disconnect the second network connection after the communication process with the second user identification card is completed.
11. The apparatus according to claim 10, characterized in that, The device further includes: The module is configured to establish a first data channel between the first user identification card and the communication module in response to the completion of the communication process for the second user identification card; the first user identification card performs network communication through the first data channel and the first network connection.
12. The apparatus according to claim 8, characterized in that, The triggering information includes: an operation command to switch user identification cards; the connection module includes: The second disconnect submodule is configured to disconnect the first data channel of the first user identification card in response to the detection of the operation command for switching user identification cards, and maintain the first network connection between the communication module and the first network device.
13. The apparatus according to claim 12, characterized in that, The device further includes: The acquisition module is used to acquire the IP address reassigned by the first network device to the first user identification card through the first network connection; the reassigned IP address is different from the IP address used by the terminal's application for data transmission.
14. The apparatus according to claim 13, characterized in that, The acquisition module includes: The third disconnect submodule is used to disconnect the first network connection; The reconstruction submodule is used to re-establish the first network connection between the communication module and the first user identification card and the first network device. The acquisition submodule is used to acquire the reassigned IP address through the re-established first network connection.
15. A communication processing device, characterized in that, The device includes at least: a processor and a memory for storing executable instructions capable of running on the processor, wherein: When the processor runs the executable instructions, the executable instructions perform the steps in the communication processing method provided by any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the steps of the communication processing method provided in any one of claims 1 to 7.
Citation Information
Patent Citations
Double-card interface fast switch apparatus and switch method
CN101257674A