WO2017012532A1 - Dual-sim-dual-standby terminal and data communication method - Google Patents

Dual-sim-dual-standby terminal and data communication method Download PDF

Info

Publication number
WO2017012532A1
WO2017012532A1 PCT/CN2016/090454 CN2016090454W WO2017012532A1 WO 2017012532 A1 WO2017012532 A1 WO 2017012532A1 CN 2016090454 W CN2016090454 W CN 2016090454W WO 2017012532 A1 WO2017012532 A1 WO 2017012532A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
data
sim card
link
protocol stack
Prior art date
Application number
PCT/CN2016/090454
Other languages
French (fr)
Chinese (zh)
Inventor
何坚
申世安
王朝
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017012532A1 publication Critical patent/WO2017012532A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • SIM Subscriber Identity Module
  • the DSDS terminal provided by the related art can only use one SIM card to use a 3G/4G (for example, LTE) network and its data service, and the other SIM card can only use 2G service (GSM/1X), therefore,
  • 3G/4G for example, LTE
  • 2G service GSM/1X
  • switching not only the switching of the SIM card data service needs to be completed, but also the switching of the network standard needs to be completed.
  • Such a switching mode requires interaction with the SIM card, for example, an "deactivation"-"activation” interaction process, such that a switch takes a long time to meet real-time data services (eg, VOIP, etc.). demand.
  • the embodiment of the present invention provides a dual-card dual-standby terminal and a data communication method, which at least solves the problem that the communication mode of the DSDS terminal in the prior art limits the use of the user data service, causing waste of radio frequency resources and the like.
  • the technical solution adopted by the present invention to solve the technical problem is: constructing a dual card dual standby terminal, comprising: a first subscriber identity module SIM card, a second SIM card, a first protocol stack, a second protocol stack, and a data service module And the Transmission Control Protocol/Internet Protocol TCP/IP protocol stack;
  • the TCP/IP protocol stack includes a first virtual wide area network WAN transmission interface and a second virtual WAN transmission interface;
  • the first SIM card resides in the packet domain PS domain and the circuit domain CS domain of the network through the first protocol stack;
  • the second SIM card resides in the PS domain and the CS domain of the network through the second protocol stack;
  • the first virtual WAN transmission interface and the second virtual WAN transmission interface are respectively connected to the first protocol stack and the second protocol stack, and configured to transmit data of the first protocol stack and the second protocol stack;
  • the data service module is configured to select a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission.
  • the first protocol stack and the second protocol stack support both the Long Term Evolution (LTE) protocol, and/or the Wideband Code Division Multiple Access (WCDMA) protocol, and/or the Global System for Mobile Communications (GSM) protocol, and/or the time division synchronization code.
  • LTE Long Term Evolution
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System for Mobile Communications
  • the method further includes: an RF transmission module and an RF management module; wherein
  • a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in the wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
  • a radio frequency management module is configured to manage communication exchange signaling associated with the first SIM card and the second SIM card via a radio frequency transmission module.
  • the data service module includes:
  • a detecting unit configured to detect whether a data application needs to establish a data service link
  • a judging unit configured to determine whether a SIM card has established a data service link
  • Selecting a unit configured to select an optimal network to establish a data service link for data transmission if no SIM card establishes a data service link;
  • the determining unit is configured to determine an optimal network according to the data application characteristics of the current request and the network performance of each network if the existing SIM card establishes a data service link, and determine whether the established data service link passes the optimal network. built;
  • the switching unit is configured to perform switching of the data link from one SIM card to another SIM card if the determination result of the determining unit is not established by the optimal network.
  • the switching unit is specifically configured to: send a first MSG message by using a current SIM card, suspend a PDP data link on the current SIM card, and send a second MSG message by using another SIM card to request Establish/restore the current PDP data link network. After the network replies, activate and establish a PDP data link through another SIM card to complete the data link switch.
  • the data service module further includes:
  • a data preference unit configured to switch data links according to network performance to perform data transmission using an optimal network
  • the timing preference unit is configured to switch the data link according to the timing time to perform data transmission using the optimal network.
  • the data preference unit includes:
  • Condition preset subunit set to pre-set reselection conditions and switching conditions
  • the reselection judging unit is configured to detect whether the network state of the network where the SIM card currently transmitting data is located satisfies the reselection condition, and if yes, detect the state parameter of the network where the other SIM card is located;
  • the first handover determining subunit is configured to perform link delay measurement on the current network and start a delay measurement timer if the status parameter satisfies the handover condition; otherwise, continue to use the current network for data transmission;
  • a first switching subunit configured to switch data transmission from a current SIM card to another SIM card
  • the first link delay measurement unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link
  • the first detecting subunit is configured to end the link delay measurement for the new network, and perform data link switching to re-switch back to the original network to establish a data service chain, if the time delay measurement timer expires. Data transmission;
  • the second detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
  • the timing preference unit includes:
  • Measuring subunit configured to measure whether the network status of another network is good when the preferred timer expires
  • the second handover determining subunit is configured to start a delay measurement timer and perform link delay measurement on the current network if the network status of the other network is good; otherwise, continue to use the current network for data transmission;
  • a second switching subunit configured to switch the data link from the current SIM card to another SIM card
  • the second link delay measurement sub-unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link;
  • the third detecting subunit is configured to end the link delay measurement for the new network, and perform the data link switching to re-switch back to the original network to establish a data service link for data transmission if the time delay measurement timer expires.
  • the fourth detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
  • an embodiment of the present invention provides a data communication method, which is applied to a dual-card dual-standby terminal, where the dual-card dual-standby terminal includes: a first SIM card, a second SIM card, a first protocol stack, and a second a protocol stack, a data service module, and a TCP/IP protocol stack; the TCP/IP protocol stack includes a first virtual WAN transmission interface and a second virtual WAN transmission interface; the first virtual WAN transmission interface and the second virtual WAN transmission interface Connected to the first protocol stack and the second protocol stack respectively;
  • the first SIM card performs network registration to reside in the PS of the network through the first protocol stack Domain and CS domain;
  • the second SIM card performs network registration to reside in the PS domain and the CS domain of the network through the second protocol stack;
  • the data service module detects that a data application needs to establish a data service link, and then selects a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission;
  • the first virtual WAN transmission interface and the second virtual WAN transmission interface respectively transmit data of the first protocol stack and the second protocol stack.
  • the first protocol stack and the second protocol stack support both the Long Term Evolution (LTE) protocol, and/or the Wideband Code Division Multiple Access (WCDMA) protocol, and/or the Global System for Mobile Communications (GSM) protocol, and/or the time division synchronization code.
  • LTE Long Term Evolution
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System for Mobile Communications
  • the method further includes:
  • a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in a wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
  • Communication exchange signaling associated with the first SIM card and the second SIM card is managed via a radio frequency transmission module.
  • the method further includes:
  • the data service module detects that the data application needs to establish a data service link, it determines whether the SIM card has established a data service link, and if not, selects an optimal network to establish a data service link for data transmission;
  • the data link switch is performed to switch to the optimal network establishment data service link for data transmission.
  • the method further includes: determining the optimal network according to data application characteristics and network performance.
  • the method further includes:
  • the data transmission is adjusted and switched according to the data preference mode or the timing optimization mode.
  • the data preferred manner includes:
  • the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
  • the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data link is switched. Switch back to the original network for data transmission.
  • the reselection condition is at least one of the following: the received signal strength RSSI is less than A, the block error rate BLER is greater than B, and the packet loss rate is greater than C;
  • the handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the poor network is greater than x1, the BLER is less than j, and the difference between the BRY of the poorer network and the better network is greater than x1, and the packet loss rate is less than k.
  • the difference between the packet loss ratio of the poor network and the better network is greater than x1.
  • the timing optimization manner includes:
  • the delay measurement timer is started and the link delay measurement is performed on the current network
  • the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
  • the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data is executed. Link switching to switch back to the original network for data transmission.
  • the method further includes:
  • the PDP data link is activated and established by another SIM card to complete the switching of the data link.
  • the method further includes:
  • the registration timer is started, and the registration of the SIM card is re-completed after the registration timer expires;
  • the radio resources of the dual-card dual-standby terminal are all used by another SIM card that is successfully registered in the network.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the data communication method of any of the above.
  • the dual card dual standby terminal and the data communication method embodying the invention have the following beneficial effects: the SIM card simultaneously resides in the CS voice service by setting a dual protocol stack (the first protocol stack and the second protocol stack) supporting multiple protocols. And PS data service to improve resource utilization; continuous adjustment during data transmission to avoid transmission interruption caused by abnormality in a certain network, avoid data call drop, improve network utilization and RF Resource utilization, improve user experience; shorten switching time, improve switching efficiency, meet real-time requirements of real-time data services (for example, VOIP, etc.); can realize communication networks such as 3G/4G for both SIM cards (eg LTE, EVDO, etc.).
  • 3G/4G for both SIM cards (eg LTE, EVDO, etc.).
  • FIG. 1 is a topological structural diagram of a communication network according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a communication architecture of a terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a data service module 40 according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a data communication method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a preferred method of data according to an embodiment of the present invention:
  • FIG. 6 is a flow chart of a timing optimization mode according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a process of switching a data service link according to an embodiment of the present invention.
  • the embodiment of the present invention provides a dual card dual standby terminal and a data communication method, so as to avoid single SIM card transmission.
  • the data service is interrupted, and the first SIM card or the second SIM card can be intelligently selected for data service transmission, thereby improving network utilization and radio resource utilization, thereby improving the technical effect of the user experience.
  • the first SIM card, the second SIM card, the first protocol stack, the second protocol stack, the data service module, and the TCP/IP protocol stack are set in the dual card dual standby terminal.
  • the TCP/IP protocol stack includes a first virtual WAN transport interface and a second virtual WAN transport interface.
  • the first protocol stack is set such that the first SIM card resides in the PS domain and the CS domain of the network;
  • the second protocol stack is set such that the second SIM card resides in the PS domain and the CS domain of the network;
  • the first virtual WAN transmission interface And the second virtual WAN transmission interface is respectively connected to the first protocol stack and the second protocol stack, configured to transmit data of the first protocol stack and the second protocol stack;
  • the data service module is configured to select the first SIM card or the second The network where the SIM card is located establishes a PS data service link for data transmission.
  • the terminal 10 of the embodiment of the present invention includes at least two Subscriber Identity Module (SIM) cards, for example, a first SIM card 12 and a second SIM card 14. In some embodiments, the terminal 10 may include more than two SIM cards.
  • SIM Subscriber Identity Module
  • the first SIM card 12 can manage a first user associated with the first technical standard
  • the second SIM card 14 can manage a second user associated with the second technical standard.
  • Each SIM card may have one or more associated telephone numbers, for example, a first telephone number set to the first SIM card 12 and a second telephone number for the second SIM card 14.
  • the terminal 10 can communicate in the first network 30 via the first base station 20 using at least the first SIM card 12.
  • the terminal 10 can communicate in the second network 32 via the first base station 20 or via a different base station (e.g., the second base station 22) using the second SIM card 14.
  • the first network 30 and the second network 32 may use the same or different radio access technologies to facilitate communication with the terminal 10. It should be understood that only the example in which the terminal 10 communicates over different networks through different base stations is shown in FIG. 1.
  • the terminal 10 can also communicate on the same network via the same base station, or communicate on the same network via different base stations. and many more.
  • Terminal 10 may include a radio frequency management module 11 configured to manage communication exchange signaling associated with first SIM card 12 and second SIM card 14 via radio frequency transmission module (RF) 13.
  • the radio frequency management module 11 can include and execute communication protocols and/or manage other protocols using protocols and/or standard proprietary instructions that allow communication with the first network 30 and the second network 32 and/or subscription-specific configuration information. Standard proprietary communication program.
  • radio frequency transmission module 13 is configured to transmit communication exchange signaling to one or more base stations or other devices in a wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices.
  • the radio frequency transmission module 13 can include one or more of a transmitter, a receiver, a transmit chain assembly, and a radio frequency transmission module in a receive chain assembly.
  • FIG. 2 is a schematic diagram of a communication architecture of a terminal according to an embodiment of the present invention.
  • the communication architecture of the terminal 10 of the embodiment of the present invention includes: a radio frequency transmission module 13, a radio frequency management module 11, a first protocol stack 15, a second protocol stack 16, a TCP/IP protocol stack 18, and a data application link.
  • the first protocol stack 15 and the second protocol stack 16 are Modem protocol stacks, and can support multiple protocols such as LTE/WCDMA/GSM/TDSCDMA/CDMA/EVDO.
  • the first technical standard and the second technical standard described above may be any wireless technology standard (eg, LTE, WCDMA, TDS-CDMA, GSM, CDMA, EVDOGPRS, EDGE, TD-LTE, etc.), ie, the implementation of the present invention
  • the terminal 10 of the example can implement dual card simultaneous use, for example, LTE, EVOD, and the like. By storing and utilizing the protocol and communication standard information associated with the first and second technical standards, the terminal 10 can actually communicate using all of the communication technology standards supported by the terminal 10.
  • the first SIM card 12 and the second SIM card 14 respectively establish a connection with the corresponding Modem protocol stack (the first protocol stack 15 and the second protocol stack 16), and follow the respective Modem protocol stack.
  • Modem protocol stack the first protocol stack 15 and the second protocol stack 16
  • Supported network capabilities choose the optimal network.
  • the first SIM card 12 and the second SIM card 14 establish data services and voice services with the network through the protocol stacks of each other, so that each SIM card can simultaneously host data and voice services.
  • first protocol stack 15 and the second protocol stack 16 are respectively connected to the first virtual WAN transmission interface 171 and the second virtual WAN transmission interface 172, and the dual WAN port protocol stack architecture is virtualized, thereby facilitating transmission control of routing data.
  • the first virtual WAN transmission interface 171 and the second virtual WAN transmission interface 172 respectively transmit data of the first protocol stack 15 and the second protocol stack 16.
  • the dual protocol stack (the first protocol stack 15 and the second protocol stack 16) of the embodiment of the present invention can only have one protocol stack as the radio frequency transmitter occupying radio resources at the same time.
  • the radio frequency management module 11 is configured to control the switching of the radio resources. When one protocol stack needs to transmit data, the other protocol stack is in the receiving state.
  • the first SIM card 12 when the terminal 10 operates in the dual card mode, the first SIM card 12 establishes a connection with the first protocol stack 15, and the second SIM card 14 establishes a connection with the second protocol stack 16.
  • the first SIM card 12 resides in the PS (Packet Service) domain and the CS (Circuit Service) domain of the first network 30 through the first protocol stack 15, whereby the first SIM card 12 can pass through the first network 30.
  • Register CS voice and PS data network services The second SIM card 14 resides in the PS domain and the CS domain of the first network 30 through the second protocol stack 16, whereby the first SIM card 12 can register the CS voice and PS data network services through the second network 32.
  • the terminal 10 passes through a dual protocol stack. Two SIM cards can be registered to simultaneously register CS voice and PS data services to improve resource utilization.
  • the first network 30 and the second network 32 may be different networks of different operators, or may be different or the same network of the same carrier.
  • FIG. 3 is a schematic structural diagram of a data service module 40 according to an embodiment of the present invention.
  • the data service module 40 includes:
  • the detecting unit 402 is configured to detect whether there is a data application that needs to establish a data service link.
  • the determining unit 403 is configured to determine whether the SIM card has established a data service link.
  • Data application characteristics may include real-time requirements, packet size, etc., which may be obtained according to specific data applications.
  • different application characteristics may be defined for different data applications, for example, real-time requirements for defining an application are low. Or high, the real-time requirements of VOIP services are high. Data applications with high real-time requirements have high requirements for network performance.
  • the terminal 10 can store the characteristics of different data applications in the format of the table.
  • the switching unit 406 is configured to perform a handover of the data link from one SIM card to another SIM card.
  • the switching unit 406 is configured to send the first MSG message by using the current SIM card, suspend the PDP (Packet Data Protocol) data link on the current SIM card, and send the second through another SIM card. MSG message to request to establish/restore the current PDP data link network. After the network replies, activate and establish a PDP data link through another SIM card. Switching into a data link.
  • PDP Packet Data Protocol
  • the switching unit 406 of the embodiment of the present invention does not need to perform interaction between two SIM cards when performing data service switching. Therefore, when switching, the SIM card standard switching is not required as in the related art, and the switching is shortened. Time, improve switching efficiency, and meet the real-time requirements of real-time data services (for example, VOIP, etc.).
  • the data service module 40 of the embodiment of the present invention further includes: a data preference unit 407 and a timing preference unit 408.
  • the data preference unit 407 is configured to switch the data link according to the network performance to perform data transmission using the optimal network;
  • the timing optimization unit 408 is set to be based on the timing time. Switch the data link to use the optimal network for data transmission.
  • the data preference unit 407 includes:
  • the condition preset subunit is set to preset reselection conditions and switching conditions.
  • the reselection condition is at least one of the following: the RSSI is less than A, the BLER is greater than B, and the packet loss rate is greater than C.
  • the handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the worse network is greater than x1 (eg, RSSI>100 dBm, and RSSISIM1-RSSISIM2>NdBm), BLER is less than j, and the network is poorer.
  • the BLER difference of the excellent network is greater than x2, the packet loss rate is less than k, and the packet loss ratio of the poor network and the better network is greater than x3.
  • i -100dBm
  • x1 10dBm
  • j 10%
  • x2 10%
  • k 10%
  • x3 20%
  • the reselection judging unit is configured to detect whether the network state of the network where the SIM card (for example, the first SIM card) currently performing data transmission satisfies the reselection condition (for example, the BLER is greater than 10%), and if yes, detect another A status parameter of the network in which a SIM card (eg, a second SIM card) is located.
  • the SIM card for example, the first SIM card
  • the reselection condition for example, the BLER is greater than 10%
  • the first handover judging subunit is configured to perform link delay measurement on the current network and start delay measurement if the state parameter satisfies the handover condition (for example, RSSI>100 dBm and another SIM-RSSI current SIM>NdBm of the RSSI) Timer (PING delay measurement timer); otherwise, continue to use the current network for data transmission.
  • the handover condition for example, RSSI>100 dBm and another SIM-RSSI current SIM>NdBm of the RSSI
  • PING delay measurement timer for example, RSSI>100 dBm and another SIM-RSSI current SIM>NdBm of the RSSI Timer
  • the first switching subunit is configured to switch the data link from the current SIM card to another SIM card.
  • the first link delay measurement unit is set to successfully switch and establish a data service link, and then The network performs link delay measurement.
  • the first detecting subunit is configured to, when detecting that the delay measurement timer expires, end link delay measurement for the new network, perform data link switching to re-switch back to the original network to establish a data service link for data transmission.
  • the second detecting subunit is configured to perform the link delay measurement during the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, and the data is transmitted through the new network. Then perform data link switching to switch back to the original network for data transmission.
  • the data preference unit when the network state where the current SIM card is being transmitted is deteriorated, a better network is selected for transmission, which improves network utilization and radio resource utilization, and improves user experience.
  • the timing preference unit is different from the data preference unit in that the timing preference unit performs a data link handover initiation condition based on the preferred timer, so that the terminal 10 can complete the data link preference and handover in a better network environment.
  • the timing optimization unit includes:
  • the measurement subunit is set to measure whether the network state of another network is good when the preferred timer expires.
  • the second handover determining subunit is configured to start a delay measurement timer and perform link delay measurement on the current network when the network state of the other network is good (for example, RSSI>85 dBm); otherwise, continue to use the current network. data transmission.
  • the second switching subunit is configured to switch the data link from the current SIM card to another SIM card.
  • the second link delay measurement sub-unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link.
  • the third detecting subunit is configured to: when detecting that the delay measurement timer expires, end link delay measurement for the new network, perform data link switching to re-switch back to the original network to establish a data service link for data transmission.
  • the fourth detecting subunit is configured to complete the link delay measurement within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network (for example, greater than 500 ms), then pass the new network. Perform data transmission. Otherwise, perform data link switching to switch back to the original network. data transmission.
  • the data preference unit and the timing optimization unit in the embodiment of the present invention implement continuous adjustment during data transmission, avoiding problems such as transmission interruption caused by abnormality in a certain network, and improving network utilization and utilization of radio frequency resources. , improved user experience.
  • the terminal of the embodiment of the present invention implements the dual protocol stack (the first protocol stack and the second protocol stack) supporting multiple protocols, so that the SIM card simultaneously hosts the CS voice service and the PS data service, thereby improving resource utilization;
  • Both SIM cards can use 3G/4G communication networks (for example, LTE, EVDO, etc.); realize continuous adjustment during data transmission, avoiding transmission interruption caused by abnormality in a certain network. It avoids data service dropped calls, improves network utilization and RF resource utilization, improves user experience, shortens switching time, improves switching efficiency, and satisfies real-time data services (eg, VOIP, etc.) for real-time performance.
  • a data communication method includes the following steps:
  • Step 100 The first SIM card 12 performs network registration to reside in the PS domain and the CS domain of the first network 30 through the first protocol stack.
  • the second SIM card 14 performs network registration to reside in the PS domain and the CS domain of the second network 32 through the second protocol stack.
  • the terminal 10 when both the first SIM card 12 and the second SIM card 14 successfully register the network, the terminal 10 enters an idle mode (IDLE).
  • IDLE idle mode
  • the registration timer (Reg Timer) is started, and the registration of the SIM card is re-completed after the registration timer expires.
  • the radio resources transmitting the TX channel and receiving the RX channel of the terminal 10 are all used by the SIM card of another registered network. Thereby, resource utilization is improved and waste of radio frequency resources is avoided.
  • the data transmission function of the first SIM card 12 and the second SIM card 14 may be simultaneously enabled, and the opening mode may be that the registration is successful, that is, the default is enabled or the registration is successful, and then manually opened by the user (through the terminal)
  • the user interface of 10 provides an on/off button, etc., and the like, which is not limited in this embodiment of the present invention.
  • Step 102 Detect whether there is a data application that needs to establish a data service link; if yes, go to step 104.
  • Step 104 If it is detected that the data application needs to establish a data service link, it is determined whether the SIM card has established a data service link (ie, data transmission is in progress). If not, then go to step 106, and if yes, go to step 108.
  • Step 106 If there is no SIM card to establish a data service link, select an optimal network to establish a data service link for data transmission.
  • Step 108 If the existing SIM card establishes a data service link, determine the optimal network according to the currently requested data application characteristics and the network performance of the first network and the second network; and determine whether the established data service link is passed. The optimal network is established, if not, then a data link switch is performed at step 110 (the handover process will be described later) to select the optimal network for data transmission.
  • the network is determined to be an optimal network according to the currently requested data application characteristics and the network performance of each network.
  • Data application characteristics may include real-time requirements, packet size, etc., which may be obtained according to specific data applications.
  • different application characteristics may be defined for different data applications, for example, real-time requirements for defining an application are low. Or high, the real-time requirements of VOIP services are high. Data applications with high real-time requirements have high requirements for network performance.
  • the terminal 10 can store the characteristics of different data applications according to the format of the table, for example, according to the manner of Table 1:
  • the network performance includes at least one of the following: RSSI (Intensity of Received Signal), SNR (Signal to Noise Ratio), Link Delay, BLER (Block Error Rate), Packet Loss Rate, and the like.
  • RSSI Intensity of Received Signal
  • SNR Signal to Noise Ratio
  • Link Delay Link Delay
  • BLER Block Error Rate
  • Packet Loss Rate Packet Loss Rate
  • the RSSI, the SNR, and the BLER may be obtained according to a cell message (for example, a downlink signal from the base station); the link delay and the packet loss rate may be measured by the terminal 10 transmitting a ping packet through each network.
  • the terminal 10 After the terminal 10 establishes a data service link for data transmission according to the above procedure (ie, the first SIM card and the second SIM card have respectively registered the voice and data services of the first network and the second network, and have activated and established a
  • the data service link of the SIM card adjusts and switches the data transmission in the following two ways:
  • the data preferred manner of the embodiment of the present invention includes:
  • Step 200 Set a reselection condition and a switching condition in advance.
  • the reselection condition is at least one of the following: the RSSI is less than A, the BLER is greater than B, and the packet loss rate is greater than C.
  • the handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the worse network is greater than x1 (eg, RSSI>100 dBm, and RSSISIM1-RSSISIM2>NdBm), BLER is less than j, and the network is poorer.
  • the BLER difference of the excellent network is greater than x1
  • the packet loss rate is less than k
  • the packet loss ratio difference between the poor network and the better network is greater than x1.
  • Step 202 Detect whether the network status of the network where the SIM card (for example, the first SIM card) currently performing data transmission meets the reselection condition (for example, the BLER is greater than 10%), and if so, detect another SIM card (for example, , the second SIM card) the status parameter of the network.
  • the SIM card for example, the first SIM card
  • the reselection condition for example, the BLER is greater than 10%
  • Step 204 If the state parameter satisfies the handover condition (for example, RSSI>100 dBm, and the RSSI is another SIM-RSSI current SIM>NdBm), perform link delay measurement on the current network and start a delay measurement timer (PING delay) Measurement timer); otherwise, continue to use the current network for data transmission, the process ends.
  • the handover condition for example, RSSI>100 dBm, and the RSSI is another SIM-RSSI current SIM>NdBm
  • PING delay delay measurement timer
  • Step 206 Switch the data link from the current SIM card to another SIM card.
  • Step 208 After successfully switching and establishing a data service link, perform link delay measurement on the new network.
  • Step 210 If it is detected that the delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission, and the process ends.
  • Step 212 If the delay of the delay measurement timer is completed, the link delay measurement is completed, and If the link delay data of the new network is better than the previous network, the data transmission is performed through the new network. Otherwise, the data link switching is performed to switch back to the original network for data transmission.
  • the preferred method of the data in the embodiment of the present invention when the network state where the SIM card currently transmitting data is degraded, a better network is selected for transmission, network utilization and radio frequency resource utilization are improved, and the user experience is improved.
  • the timing preference mode is different from the data preference mode in that the timing preference mode is based on the preferred timer to perform the data link switching initiation condition, so that the terminal 10 can complete the data link preference and handover in a better network environment.
  • the timing optimization manner includes:
  • Step 300 Set a preferred timer.
  • the first SIM card and the second SIM card respectively register the voice and data services of the first network and the second network, and activate and establish a data service link of the SIM card.
  • Step 302 When the preference timer expires, it is measured whether the network status of another network is good.
  • Step 304 If the network status of the other network is good (for example, RSSI>85 dBm), start the delay measurement timer and perform link delay measurement on the current network; otherwise, continue to use the current network for data transmission, and the process ends.
  • good for example, RSSI>85 dBm
  • Step 306 Switch the data link from the current SIM card to another SIM card.
  • Step 308 After successfully switching and establishing a data service link, perform link delay measurement on the new network.
  • Step 310 If it is detected that the delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission.
  • Step 312 If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network (for example, greater than 500 ms), the data transmission is performed through the new network. Otherwise, data link switching is performed to switch back to the original network for data transmission.
  • the embodiment of the present invention can implement continuous adjustment during data transmission, avoiding problems such as transmission interruption caused by abnormality of a certain network, and improving network utilization. Rate and RF resource utilization to improve user experience.
  • the switching process of the data service link in the above embodiment of the present invention will be described below with reference to FIG.
  • the data link switching process in the embodiment of the present invention includes:
  • Step 400 Send the first MSG message through the current SIM card, and suspend the PDP data link on the current SIM card.
  • the first MSG message here is used to notify the network to suspend sending data.
  • Step 402 Send a second MSG message through another SIM card to request to establish/restore the current PDP data link network.
  • Step 404 After the network is replied, the PDP data link is activated and established by another SIM card, and the switching of the data service link is completed.
  • the MSG message is sent through the first SIM card 12 and the PDP data link on the first SIM card is suspended.
  • the MSG message here (eg, an LTE network terminal ESR message) is used to notify the network to suspend transmission of data.
  • the MSG message is then sent over the second SIM card 14 to request to establish/restore the current PDP data link network.
  • the PDM data link is activated and established by the second SIM card 14, and the switching of the data service link from the first SIM card 12 to the second SIM card 14 is completed.
  • the data communication method of the embodiment of the present invention can implement the SIM card to simultaneously host the CS voice and the PS data service through the dual protocol stack, thereby improving the resource utilization rate; and the two SIM cards can use the communication network such as 3G/4G (for example, LTE, EVDO, etc.; can be continuously adjusted during the data transmission process to avoid transmission interruptions caused by abnormality in a certain network, avoid data call drop, improve network utilization and utilization of radio resources, Improve user experience; shortened switching time In the meantime, the switching efficiency is improved to meet the real-time requirements of real-time data services (for example, VOIP, etc.).
  • 3G/4G for example, LTE, EVDO, etc.
  • Any process or method description in the flowcharts or otherwise described in the embodiments of the invention may be understood to represent code that includes one or more executable instructions for implementing the steps of a particular logical function or process. Modules, segments or portions, and the scope of the embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an inverse order depending on the functions involved, in the order shown or discussed. This should be understood by those skilled in the art of the embodiments of the present invention.
  • the functional units in the various embodiments of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the dual card dual standby terminal and the data communication method provided by the embodiment of the invention realize that the SIM card simultaneously resides in the CS voice service and the PS data service; and avoids problems such as transmission interruption caused by abnormality of a certain network, and improves resource utilization. , thus improving the user experience.

Abstract

A Dual-SIM-Dual-Standby (DSDS) terminal and data communication method. The Dual-SIM-Dual-Standby (DSDS) terminal comprises a first SIM card, a second SIM card, a first protocol stack, a second protocol stack, a data service module, and a TCP/IP protocol stack; the TCP/IP protocol stack comprises a first virtual WAN transmission interface and a second virtual WAN transmission interface; the first SIM card resides in the PS domain and the CS domain of the network by means of the first protocol stack; the second SIM card resides in the PS domain and the CS domain of the network by means of the second protocol stack; the first virtual WAN transmission interface and the second virtual WAN transmission interface are respectively used for transmitting data from the first protocol stack and the second protocol stack; and the data service module is used for selecting the network at which the first SIM card or the second SIM card is located to establish a PS data service link so as to transmit data. The technical solutions provided by the embodiments of the present invention achieve the simultaneous residing of CS voice services and PS data services in the SIM cards, and avoid such problems as an interruption of transmission caused by an abnormality occurring in a certain network, which improves the utilization of resources, thereby improving user experiences.

Description

双卡双待终端及数据通信方法Dual card dual standby terminal and data communication method 技术领域Technical field
本发明实施例涉及但不限于移动通信领域,尤指一种双卡双待终端及数据通信方法。The embodiments of the present invention relate to, but are not limited to, the field of mobile communications, and in particular, to a dual card dual standby terminal and a data communication method.
背景技术Background technique
随着移动网络和数据通信技术的发展,用户对终端数据速率的要求越来越高。另一方面,在提高网络速率和频段利用率的同时,多模终端(例如,DSDS,双卡双待终端)的出现,使得用户在实现双卡语音业务的待机同时,能分别建立双卡各自的数据业务链接。With the development of mobile networks and data communication technologies, users are increasingly demanding data rates for terminals. On the other hand, while increasing the network rate and frequency band utilization, the emergence of multi-mode terminals (for example, DSDS, dual-card dual-standby terminals) enables users to establish dual-cards respectively while performing dual-card voice service standby. Data business link.
但是,在相关技术的DSDS终端中,当两张用户识别模块(SIM)卡中的一者使用数据业务时,另一张SIM卡只能作为语音业务待机。因此,当进行数据业务的SIM卡所处的通信网络发生中断、通信质量变差等异常情况时,会影响数据业务的传输,甚至造成其中断,极大的限制了数据业务的使用,造成了终端射频资源的浪费。However, in the related art DSDS terminal, when one of the two Subscriber Identity Module (SIM) cards uses the data service, the other SIM card can only stand by as a voice service. Therefore, when the communication network in which the SIM card of the data service is located is interrupted or the communication quality is deteriorated, the data service is transmitted or even interrupted, which greatly limits the use of the data service. Waste of terminal RF resources.
另一方面,相关技术提供的DSDS终端只有一张SIM卡能使用3G/4G(例如,LTE)网络及其数据业务,而另一张SIM卡只能使用2G业务(GSM/1X),因此,在切换时,不仅需要完成SIM卡数据业务的切换,而且需要完成网络制式的切换。这样的切换方式,需要与SIM卡进行交互,例如,“去激活”-“激活”的交互过程,这样的处理使得一次切换需要较长的时间,不能满足实时数据业务(例如,VOIP等)的需求。On the other hand, the DSDS terminal provided by the related art can only use one SIM card to use a 3G/4G (for example, LTE) network and its data service, and the other SIM card can only use 2G service (GSM/1X), therefore, When switching, not only the switching of the SIM card data service needs to be completed, but also the switching of the network standard needs to be completed. Such a switching mode requires interaction with the SIM card, for example, an "deactivation"-"activation" interaction process, such that a switch takes a long time to meet real-time data services (eg, VOIP, etc.). demand.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种双卡双待终端及数据通信方法,至少要解决:针对现有技术的上述DSDS终端的通信方式限制了用户数据业务的使用,造成射频资源的浪费等缺陷。 The embodiment of the present invention provides a dual-card dual-standby terminal and a data communication method, which at least solves the problem that the communication mode of the DSDS terminal in the prior art limits the use of the user data service, causing waste of radio frequency resources and the like.
本发明解决其技术问题所采用的技术方案是:构造一种双卡双待终端,包括:第一用户识别模块SIM卡、第二SIM卡、第一协议栈、第二协议栈、数据服务模块和传输控制协议/互联网络协议TCP/IP协议栈;其中,The technical solution adopted by the present invention to solve the technical problem is: constructing a dual card dual standby terminal, comprising: a first subscriber identity module SIM card, a second SIM card, a first protocol stack, a second protocol stack, and a data service module And the Transmission Control Protocol/Internet Protocol TCP/IP protocol stack;
TCP/IP协议栈包括第一虚拟广域网WAN传输接口和第二虚拟WAN传输接口;The TCP/IP protocol stack includes a first virtual wide area network WAN transmission interface and a second virtual WAN transmission interface;
第一SIM卡通过所述第一协议栈驻留在网络的分组域PS域和电路域CS域;The first SIM card resides in the packet domain PS domain and the circuit domain CS domain of the network through the first protocol stack;
第二SIM卡通过所述第二协议栈驻留在网络的PS域和CS域;The second SIM card resides in the PS domain and the CS domain of the network through the second protocol stack;
第一虚拟WAN传输接口和第二虚拟WAN传输接口分别与所述第一协议栈和第二协议栈连接,设置为对第一协议栈和第二协议栈的数据进行传输;The first virtual WAN transmission interface and the second virtual WAN transmission interface are respectively connected to the first protocol stack and the second protocol stack, and configured to transmit data of the first protocol stack and the second protocol stack;
所述数据服务模块设置为选择第一SIM卡或第二SIM卡所在的网络建立PS数据业务链接,以进行数据传输。The data service module is configured to select a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission.
可选的,所述第一协议栈和第二协议栈同时支持长期演进LTE协议、和/或宽带码分多址WCDMA协议、和/或全球移动通信系统GSM协议、和/或时分同步的码分多址TDSCDMA协议、和/或码分多址CDMA协议、和/或EVDO协议。Optionally, the first protocol stack and the second protocol stack support both the Long Term Evolution (LTE) protocol, and/or the Wideband Code Division Multiple Access (WCDMA) protocol, and/or the Global System for Mobile Communications (GSM) protocol, and/or the time division synchronization code. A multiple access TDS CDMA protocol, and/or a code division multiple access CDMA protocol, and/or an EVDO protocol.
可选的,还包括:射频传输模块、射频管理模块;其中,Optionally, the method further includes: an RF transmission module and an RF management module; wherein
射频传输模块,设置为经配置以将通信交换信令发射到无线通信系统中的一个或多个基站或其它装置,或从一个或多个基站或其它装置接收通信交换信令;a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in the wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
射频管理模块,设置为经由射频传输模块来管理与所述第一SIM卡和所述第二SIM卡相关联的通信交换信令。A radio frequency management module is configured to manage communication exchange signaling associated with the first SIM card and the second SIM card via a radio frequency transmission module.
可选的,所述数据服务模块包括:Optionally, the data service module includes:
检测单元,设置为检测是否有数据应用需要建立数据业务链接;a detecting unit configured to detect whether a data application needs to establish a data service link;
判断单元,设置为判断是否已有SIM卡建立了数据业务链接;a judging unit, configured to determine whether a SIM card has established a data service link;
选择单元,设置为若没有SIM卡建立数据业务链接,则选择最优网络建立数据业务链接以进行数据传输; Selecting a unit, configured to select an optimal network to establish a data service link for data transmission if no SIM card establishes a data service link;
确定单元,设置为若已有SIM卡建立了数据业务链接,则根据当前请求的数据应用特点及各网络的网络性能,确定最优网络,并判断已建立的数据业务链接是否为通过最优网络建立的;The determining unit is configured to determine an optimal network according to the data application characteristics of the current request and the network performance of each network if the existing SIM card establishes a data service link, and determine whether the established data service link passes the optimal network. built;
切换单元,设置为若确定单元的判断结果为不是通过最优网络建立,则执行数据链路从一SIM卡到另一SIM卡的切换。The switching unit is configured to perform switching of the data link from one SIM card to another SIM card if the determination result of the determining unit is not established by the optimal network.
可选的,所述切换单元具体设置为:通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP数据链路挂起,以及通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络,待网络回复后,通过另一SIM卡激活并建立PDP数据链路,完成数据链路的切换。Optionally, the switching unit is specifically configured to: send a first MSG message by using a current SIM card, suspend a PDP data link on the current SIM card, and send a second MSG message by using another SIM card to request Establish/restore the current PDP data link network. After the network replies, activate and establish a PDP data link through another SIM card to complete the data link switch.
可选的,所述数据服务模块还包括:Optionally, the data service module further includes:
数据优选单元,设置为根据网络性能切换数据链路,以利用最优网络进行数据传输;a data preference unit configured to switch data links according to network performance to perform data transmission using an optimal network;
定时优选单元,设置为根据定时时间切换数据链路,以利用最优网络进行数据传输。The timing preference unit is configured to switch the data link according to the timing time to perform data transmission using the optimal network.
可选的,所述数据优选单元包括:Optionally, the data preference unit includes:
条件预设子单元,设置为预先设置重选条件和切换条件;Condition preset subunit, set to pre-set reselection conditions and switching conditions;
重选判断子单元,设置为检测当前正在进行数据传输的SIM卡所在网络的网络状态是否满足重选条件,若满足,则检测另一SIM卡所在网络的状态参数;The reselection judging unit is configured to detect whether the network state of the network where the SIM card currently transmitting data is located satisfies the reselection condition, and if yes, detect the state parameter of the network where the other SIM card is located;
第一切换判断子单元,设置为若状态参数满足切换条件,则对当前网络进行链路时延测量并启动时延测量定时器;反之则继续使用当前网络进行数据传输;The first handover determining subunit is configured to perform link delay measurement on the current network and start a delay measurement timer if the status parameter satisfies the handover condition; otherwise, continue to use the current network for data transmission;
第一切换子单元,设置为将数据传输从当前SIM卡切换到另一SIM卡;a first switching subunit configured to switch data transmission from a current SIM card to another SIM card;
第一链路时延测量单元,设置为成功切换并建立数据业务链接后,对新网络进行链路时延测量;The first link delay measurement unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link;
第一检测子单元,设置为若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链 接进行数据传输;The first detecting subunit is configured to end the link delay measurement for the new network, and perform data link switching to re-switch back to the original network to establish a data service chain, if the time delay measurement timer expires. Data transmission;
第二检测子单元,设置为若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。The second detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
可选的,所述定时优选单元包括:Optionally, the timing preference unit includes:
设置子单元,设置为设置优选定时器;Set the subunit, set to set the preferred timer;
测量子单元,设置为当优选定时器超时时,测量另一网络的网络状态是否良好;Measuring subunit, configured to measure whether the network status of another network is good when the preferred timer expires;
第二切换判断子单元,设置为若另一网络的网络状态良好,则启动时延测量定时器并对当前网络进行链路时延测量;反之则继续使用当前网络进行数据传输;The second handover determining subunit is configured to start a delay measurement timer and perform link delay measurement on the current network if the network status of the other network is good; otherwise, continue to use the current network for data transmission;
第二切换子单元,设置为将数据链路从当前SIM卡切换到另一SIM卡;a second switching subunit, configured to switch the data link from the current SIM card to another SIM card;
第二链路时延测量子单元,设置为成功切换并建立数据业务链接后,对新网络进行链路时延测量;The second link delay measurement sub-unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link;
第三检测子单元,设置为若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输;The third detecting subunit is configured to end the link delay measurement for the new network, and perform the data link switching to re-switch back to the original network to establish a data service link for data transmission if the time delay measurement timer expires.
第四检测子单元,设置为若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。The fourth detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
另一方面,本发明实施例提供了一种数据通信方法,应用于双卡双待终端,所述双卡双待终端包括:第一SIM卡、第二SIM卡、第一协议栈、第二协议栈、数据服务模块和TCP/IP协议栈;所述TCP/IP协议栈包括第一虚拟WAN传输接口和第二虚拟WAN传输接口;所述第一虚拟WAN传输接口和第二虚拟WAN传输接口分别与所述第一协议栈和第二协议栈连接;On the other hand, an embodiment of the present invention provides a data communication method, which is applied to a dual-card dual-standby terminal, where the dual-card dual-standby terminal includes: a first SIM card, a second SIM card, a first protocol stack, and a second a protocol stack, a data service module, and a TCP/IP protocol stack; the TCP/IP protocol stack includes a first virtual WAN transmission interface and a second virtual WAN transmission interface; the first virtual WAN transmission interface and the second virtual WAN transmission interface Connected to the first protocol stack and the second protocol stack respectively;
还包括:Also includes:
所述第一SIM卡进行网络注册,以通过所述第一协议栈驻留在网络的PS 域和CS域;The first SIM card performs network registration to reside in the PS of the network through the first protocol stack Domain and CS domain;
所述第二SIM卡进行网络注册,以通过所述第二协议栈驻留在网络的PS域和CS域;The second SIM card performs network registration to reside in the PS domain and the CS domain of the network through the second protocol stack;
所述数据服务模块检测到有数据应用需要建立数据业务链接,则选择第一SIM卡或第二SIM卡所在的网络建立PS数据业务链接,以进行数据传输;The data service module detects that a data application needs to establish a data service link, and then selects a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission;
所述第一虚拟WAN传输接口和第二虚拟WAN传输接口分别对第一协议栈和第二协议栈的数据进行传输。The first virtual WAN transmission interface and the second virtual WAN transmission interface respectively transmit data of the first protocol stack and the second protocol stack.
可选的,所述第一协议栈和第二协议栈同时支持长期演进LTE协议、和/或宽带码分多址WCDMA协议、和/或全球移动通信系统GSM协议、和/或时分同步的码分多址TDSCDMA协议、和/或码分多址CDMA协议、和/或EVDO协议。Optionally, the first protocol stack and the second protocol stack support both the Long Term Evolution (LTE) protocol, and/or the Wideband Code Division Multiple Access (WCDMA) protocol, and/or the Global System for Mobile Communications (GSM) protocol, and/or the time division synchronization code. A multiple access TDS CDMA protocol, and/or a code division multiple access CDMA protocol, and/or an EVDO protocol.
可选的,所述方法还包括:Optionally, the method further includes:
配置以将通信交换信令发射到无线通信系统中的一个或多个基站或其它装置,或从一个或多个基站或其它装置接收通信交换信令的射频传输模块;a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in a wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
经由射频传输模块来管理与所述第一SIM卡和所述第二SIM卡相关联的通信交换信令。Communication exchange signaling associated with the first SIM card and the second SIM card is managed via a radio frequency transmission module.
可选的,所述方法还包括:Optionally, the method further includes:
所述数据服务模块检测到有数据应用需要建立数据业务链接,则判断是否已有SIM卡建立了数据业务链接,若没有,则选择最优网络建立数据业务链接以进行数据传输;If the data service module detects that the data application needs to establish a data service link, it determines whether the SIM card has established a data service link, and if not, selects an optimal network to establish a data service link for data transmission;
若有,则判断已建立的数据业务链接是否为通过最优网络建立,若不是,则执行数据链路切换以切换至最优网络建立数据业务链接以进行数据传输。If so, it is determined whether the established data service link is established through the optimal network, and if not, the data link switch is performed to switch to the optimal network establishment data service link for data transmission.
可选的,所述方法还包括:根据数据应用特点和网络性能,确定所述最优网络。Optionally, the method further includes: determining the optimal network according to data application characteristics and network performance.
可选的,所述方法还包括:Optionally, the method further includes:
根据数据优选方式或定时优选方式对数据传输进行调整切换。The data transmission is adjusted and switched according to the data preference mode or the timing optimization mode.
可选的,所述数据优选方式包括: Optionally, the data preferred manner includes:
预先设置重选条件和切换条件;Pre-selection re-selection conditions and switching conditions;
检测当前正在进行数据传输的SIM卡所在网络的网络状态是否满足重选条件,若满足,则检测另一SIM卡所在网络的状态参数;Detecting whether the network status of the network where the SIM card currently transmitting data is located meets the reselection condition, and if so, detecting the status parameter of the network where the other SIM card is located;
若状态参数满足切换条件,则对当前网络进行链路时延测量并启动时延测量定时器,以及将数据链路从当前SIM卡切换到另一SIM卡;If the state parameter meets the handover condition, perform link delay measurement on the current network and start a delay measurement timer, and switch the data link from the current SIM card to another SIM card;
成功切换并建立数据业务链接后,对新网络进行链路时延测量;After successfully switching and establishing a data service link, perform link delay measurement on the new network;
若检测到时延测量定时器超,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链接进行数据传输;If the delay measurement timer is detected, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data link is switched. Switch back to the original network for data transmission.
可选的,所述重选条件至少为以下其中之一:接收信号的强度RSSI小于A、块差错率BLER大于B、丢包率大于C;Optionally, the reselection condition is at least one of the following: the received signal strength RSSI is less than A, the block error rate BLER is greater than B, and the packet loss rate is greater than C;
切换条件至少为以下其中之一:RSSI大于i且较优网络与较差网络的RSSI差值大于x1、BLER小于j且较差网络与较优网络的BLER差值大于x1、丢包率小于k且较差网络与较优网络的丢包率差值大于x1。The handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the poor network is greater than x1, the BLER is less than j, and the difference between the BRY of the poorer network and the better network is greater than x1, and the packet loss rate is less than k. The difference between the packet loss ratio of the poor network and the better network is greater than x1.
可选的,所述定时优选方式包括:Optionally, the timing optimization manner includes:
设置优选定时器;Set a preferred timer;
当优选定时器超时时,测量另一网络的网络状态是否良好;When the preference timer expires, it is measured whether the network status of another network is good;
若另一网络的网络状态良好,则启动时延测量定时器并对当前网络进行链路时延测量;If the network status of the other network is good, the delay measurement timer is started and the link delay measurement is performed on the current network;
将数据链路从当前SIM卡切换到另一SIM卡;Switching the data link from the current SIM card to another SIM card;
成功切换并建立数据业务链接后,对新网络进行链路时延测量;After successfully switching and establishing a data service link, perform link delay measurement on the new network;
若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输;If the time delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据 链路切换以切换回原网络进行数据传输。If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data is executed. Link switching to switch back to the original network for data transmission.
可选的,所述方法还包括:Optionally, the method further includes:
通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP数据链路挂起;Sending the first MSG message through the current SIM card, and suspending the PDP data link on the current SIM card;
通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络;Sending a second MSG message through another SIM card to request to establish/restore a current PDP data link network;
待网络回复后,通过另一SIM卡激活并建立PDP数据链路,以完成数据链路的切换。After the network replies, the PDP data link is activated and established by another SIM card to complete the switching of the data link.
可选的,所述方法还包括:Optionally, the method further includes:
若任一SIM卡注册网络服务失败,则启动注册定时器,待注册定时器超时后,再重新完成该SIM卡的注册;If any of the SIM card registration network services fails, the registration timer is started, and the registration of the SIM card is re-completed after the registration timer expires;
在注册定时器的定时时间内,所述双卡双待终端的射频资源全部供另一注册网络成功的SIM卡使用。During the timing of the registration timer, the radio resources of the dual-card dual-standby terminal are all used by another SIM card that is successfully registered in the network.
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的数据通信方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the data communication method of any of the above.
实施本发明的双卡双待终端及数据通信方法,具有以下有益效果:通过设置支持多种协议的双协议栈(第一协议栈和第二协议栈),实现SIM卡同时驻留CS语音服务和PS数据服务,提高资源利用率;可实现在数据传输过程中进行不断的调整,避免某一网络出现异常时,造成的传输中断等问题,避免出现数据业务掉话,提高网络利用率和射频资源利用率,提高用户体验;缩短了切换时间,提高了切换效率,可满足实时数据业务(例如,VOIP等)对实时性的要求;可实现两张SIM卡均可使用3G/4G等通信网络(例如,LTE、EVDO等)。The dual card dual standby terminal and the data communication method embodying the invention have the following beneficial effects: the SIM card simultaneously resides in the CS voice service by setting a dual protocol stack (the first protocol stack and the second protocol stack) supporting multiple protocols. And PS data service to improve resource utilization; continuous adjustment during data transmission to avoid transmission interruption caused by abnormality in a certain network, avoid data call drop, improve network utilization and RF Resource utilization, improve user experience; shorten switching time, improve switching efficiency, meet real-time requirements of real-time data services (for example, VOIP, etc.); can realize communication networks such as 3G/4G for both SIM cards (eg LTE, EVDO, etc.).
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的 不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the invention, and are in the Improperly qualified. In the drawing:
图1是本发明实施例的通信网络的拓扑结构图;1 is a topological structural diagram of a communication network according to an embodiment of the present invention;
图2是本发明实施例的终端的通信架构示意图;2 is a schematic diagram of a communication architecture of a terminal according to an embodiment of the present invention;
图3是本发明实施例的数据服务模块40的结构示意图;3 is a schematic structural diagram of a data service module 40 according to an embodiment of the present invention;
图4是本发明实施例的数据通信方法的流程图;4 is a flowchart of a data communication method according to an embodiment of the present invention;
图5是本发明实施例的数据优选方式的流程图:FIG. 5 is a flowchart of a preferred method of data according to an embodiment of the present invention:
图6是本发明实施例的定时优选方式的流程图6 is a flow chart of a timing optimization mode according to an embodiment of the present invention;
图7是本发明实施例的数据业务链接的切换过程的流程图。FIG. 7 is a flowchart of a process of switching a data service link according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The invention will be described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
为了解决相关技术中DSDS终端的通信方式限制了用户数据业务的使用,造成射频资源的浪费的缺陷,本发明实施例提供一种双卡双待终端及数据通信方法,以实现避免单一SIM卡传输时网络状态变差导致的数据业务中断,且能够智能选择第一SIM卡或第二SIM卡进行数据业务传输,提高网络利用率和射频资源利用率,从而提高用户体验的技术效果。In order to solve the problem that the communication mode of the DSDS terminal in the related art limits the use of the user data service and causes the waste of the radio frequency resource, the embodiment of the present invention provides a dual card dual standby terminal and a data communication method, so as to avoid single SIM card transmission. When the network status is deteriorated, the data service is interrupted, and the first SIM card or the second SIM card can be intelligently selected for data service transmission, thereby improving network utilization and radio resource utilization, thereby improving the technical effect of the user experience.
本发明实施例中:在双卡双待终端中设置第一SIM卡、第二SIM卡、第一协议栈、第二协议栈、数据服务模块和TCP/IP协议栈。TCP/IP协议栈包括第一虚拟WAN传输接口和第二虚拟WAN传输接口。第一协议栈设置为使第一SIM卡驻留在网络的PS域和CS域;第二协议栈设置为使第二SIM卡驻留在网络的PS域和CS域;第一虚拟WAN传输接口和第二虚拟WAN传输接口分别与第一协议栈和第二协议栈连接,设置为对第一协议栈和第二协议栈的数据进行传输;数据服务模块用于选择第一SIM卡或第二SIM卡所在的网络建立PS数据业务链接,以进行数据传输。 In the embodiment of the present invention, the first SIM card, the second SIM card, the first protocol stack, the second protocol stack, the data service module, and the TCP/IP protocol stack are set in the dual card dual standby terminal. The TCP/IP protocol stack includes a first virtual WAN transport interface and a second virtual WAN transport interface. The first protocol stack is set such that the first SIM card resides in the PS domain and the CS domain of the network; the second protocol stack is set such that the second SIM card resides in the PS domain and the CS domain of the network; the first virtual WAN transmission interface And the second virtual WAN transmission interface is respectively connected to the first protocol stack and the second protocol stack, configured to transmit data of the first protocol stack and the second protocol stack; the data service module is configured to select the first SIM card or the second The network where the SIM card is located establishes a PS data service link for data transmission.
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。参见图1为本发明实施例的通信网络的拓扑结构图。本发明实施例的终端10,包括至少两个用户识别模块(SIM)卡,例如,第一SIM卡12和第二SIM卡14,在一些实施例中,终端10可包括两个以上SIM卡。For a better understanding of the technical features, objects and effects of the present invention, the embodiments of the present invention are described in detail with reference to the accompanying drawings. 1 is a topological structural diagram of a communication network according to an embodiment of the present invention. The terminal 10 of the embodiment of the present invention includes at least two Subscriber Identity Module (SIM) cards, for example, a first SIM card 12 and a second SIM card 14. In some embodiments, the terminal 10 may include more than two SIM cards.
第一SIM卡12可管理与第一技术标准相关联的第一用户,且第二SIM卡14可管理与第二技术标准相关联的第二用户。The first SIM card 12 can manage a first user associated with the first technical standard, and the second SIM card 14 can manage a second user associated with the second technical standard.
每一SIM卡可具有一个或多个相关的电话号码,例如,设置为第一SIM卡12的第一电话号码及用于第二SIM卡14的第二电话号码。Each SIM card may have one or more associated telephone numbers, for example, a first telephone number set to the first SIM card 12 and a second telephone number for the second SIM card 14.
终端10可至少使用第一SIM卡12经由第一基站20在第一网络30中通信。终端10可使用第二SIM卡14经由第一基站20或经由不同基站(例如,第二基站22)在第二网络32中通信。第一网络30和第二网络32可使用相同或不同的无线电接入技术来促进与终端10的通信。应理解,图1中仅示出了终端10通过不同的基站在不同网络进行通信的示例,此外,终端10还可经由相同的基站在相同网络进行通信,或经由不同的基站在相同网络进行通信等等。The terminal 10 can communicate in the first network 30 via the first base station 20 using at least the first SIM card 12. The terminal 10 can communicate in the second network 32 via the first base station 20 or via a different base station (e.g., the second base station 22) using the second SIM card 14. The first network 30 and the second network 32 may use the same or different radio access technologies to facilitate communication with the terminal 10. It should be understood that only the example in which the terminal 10 communicates over different networks through different base stations is shown in FIG. 1. In addition, the terminal 10 can also communicate on the same network via the same base station, or communicate on the same network via different base stations. and many more.
终端10可包含经配置以经由射频传输模块(RF)13来管理与第一SIM卡12和第二SIM卡14相关联的通信交换信令的射频管理模块11。射频管理模块11可包含并执行通信协议,且/或使用允许与第一网络30及第二网络32的通信的协议和/或标准专有的指令和/或预订专有的配置信息来管理其它标准专有的通信程序。此外,射频传输模块13经配置以将通信交换信令发射到无线通信系统中的一个或多个基站或其它装置,或从一个或多个基站或其它装置接收通信交换信令。例如,射频传输模块13可包括发射器、接收器、发射链组件及接收链组件中的射频传输模块一者或多者。 Terminal 10 may include a radio frequency management module 11 configured to manage communication exchange signaling associated with first SIM card 12 and second SIM card 14 via radio frequency transmission module (RF) 13. The radio frequency management module 11 can include and execute communication protocols and/or manage other protocols using protocols and/or standard proprietary instructions that allow communication with the first network 30 and the second network 32 and/or subscription-specific configuration information. Standard proprietary communication program. In addition, radio frequency transmission module 13 is configured to transmit communication exchange signaling to one or more base stations or other devices in a wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices. For example, the radio frequency transmission module 13 can include one or more of a transmitter, a receiver, a transmit chain assembly, and a radio frequency transmission module in a receive chain assembly.
实施例1Example 1
参见图2为本发明实施例的终端的通信架构示意图。2 is a schematic diagram of a communication architecture of a terminal according to an embodiment of the present invention.
本发明实施例的终端10的通信架构包括:射频传输模块13、射频管理模块11、第一协议栈15、第二协议栈16、TCP/IP协议栈18、数据应用链接 服务19、数据服务模块40、第一虚拟WAN传输接口171、第二虚拟WAN传输接口172、第一SIM卡12和第二SIM卡14。The communication architecture of the terminal 10 of the embodiment of the present invention includes: a radio frequency transmission module 13, a radio frequency management module 11, a first protocol stack 15, a second protocol stack 16, a TCP/IP protocol stack 18, and a data application link. The service 19, the data service module 40, the first virtual WAN transmission interface 171, the second virtual WAN transmission interface 172, the first SIM card 12, and the second SIM card 14.
第一协议栈15和第二协议栈16均为Modem协议栈,可同时支持LTE/WCDMA/GSM/TDSCDMA/CDMA/EVDO等多种协议。由此,上述的第一技术标准和第二技术标准可为任何无线技术标准(例如,LTE、WCDMA、TDS-CDMA、GSM、CDMA、EVDOGPRS、EDGE、TD-LTE等等),即本发明实施例的终端10可实现双卡同时使用,例如,LTE、EVOD,等网络。通过存储并利用与第一技术标准及第二技术标准相关的协议及通信标准信息,终端10可实际上使用终端10支持的所有通信技术标准进行通信。The first protocol stack 15 and the second protocol stack 16 are Modem protocol stacks, and can support multiple protocols such as LTE/WCDMA/GSM/TDSCDMA/CDMA/EVDO. Thus, the first technical standard and the second technical standard described above may be any wireless technology standard (eg, LTE, WCDMA, TDS-CDMA, GSM, CDMA, EVDOGPRS, EDGE, TD-LTE, etc.), ie, the implementation of the present invention The terminal 10 of the example can implement dual card simultaneous use, for example, LTE, EVOD, and the like. By storing and utilizing the protocol and communication standard information associated with the first and second technical standards, the terminal 10 can actually communicate using all of the communication technology standards supported by the terminal 10.
当终端10工作在双卡模式时,第一SIM卡12和第二SIM卡14分别与对应的Modem协议栈(第一协议栈15和第二协议栈16)建立连接,并按照各自Modem协议栈支持的网络能力,选择最优网络。When the terminal 10 works in the dual card mode, the first SIM card 12 and the second SIM card 14 respectively establish a connection with the corresponding Modem protocol stack (the first protocol stack 15 and the second protocol stack 16), and follow the respective Modem protocol stack. Supported network capabilities, choose the optimal network.
同时,第一SIM卡12和第二SIM卡14通过彼此的协议栈建立与网络的数据业务和语音业务,从而实现每一SIM卡均可同时驻留数据和语音业务。At the same time, the first SIM card 12 and the second SIM card 14 establish data services and voice services with the network through the protocol stacks of each other, so that each SIM card can simultaneously host data and voice services.
此外,第一协议栈15和第二协议栈16分别与第一虚拟WAN传输接口171和第二虚拟WAN传输接口172连接,虚拟出双WAN口协议栈架构,从而便于对路由数据的传输控制。第一虚拟WAN传输接口171和第二虚拟WAN传输接口172分别对第一协议栈15和第二协议栈16的数据进行传输。In addition, the first protocol stack 15 and the second protocol stack 16 are respectively connected to the first virtual WAN transmission interface 171 and the second virtual WAN transmission interface 172, and the dual WAN port protocol stack architecture is virtualized, thereby facilitating transmission control of routing data. The first virtual WAN transmission interface 171 and the second virtual WAN transmission interface 172 respectively transmit data of the first protocol stack 15 and the second protocol stack 16.
本发明实施例的双协议栈(第一协议栈15和第二协议栈16)在同一时间只能有一个协议栈作为射频发送者占用射频资源。射频管理模块11设置为控制射频资源的切换,当一个协议栈需要对数据进行传输时,另一个协议栈处于接收状态。The dual protocol stack (the first protocol stack 15 and the second protocol stack 16) of the embodiment of the present invention can only have one protocol stack as the radio frequency transmitter occupying radio resources at the same time. The radio frequency management module 11 is configured to control the switching of the radio resources. When one protocol stack needs to transmit data, the other protocol stack is in the receiving state.
参见图2,在本发明实施例中,当终端10工作在双卡模式时,第一SIM卡12与第一协议栈15建立连接,第二SIM卡14与第二协议栈16建立连接。由此,第一SIM卡12通过第一协议栈15驻留在第一网络30的PS(分组业务)域和CS(电路业务)域,由此,第一SIM卡12可通过第一网络30注册CS语音和PS数据网络服务。第二SIM卡14通过第二协议栈16驻留在第一网络30的PS域和CS域,由此,第一SIM卡12可通过第二网络32注册CS语音和PS数据网络服务。由此,本发明实施例中,终端10通过双协议栈, 可实现两张SIM卡均可同时注册CS语音和PS数据服务,提高资源利用率。Referring to FIG. 2, in the embodiment of the present invention, when the terminal 10 operates in the dual card mode, the first SIM card 12 establishes a connection with the first protocol stack 15, and the second SIM card 14 establishes a connection with the second protocol stack 16. Thus, the first SIM card 12 resides in the PS (Packet Service) domain and the CS (Circuit Service) domain of the first network 30 through the first protocol stack 15, whereby the first SIM card 12 can pass through the first network 30. Register CS voice and PS data network services. The second SIM card 14 resides in the PS domain and the CS domain of the first network 30 through the second protocol stack 16, whereby the first SIM card 12 can register the CS voice and PS data network services through the second network 32. Thus, in the embodiment of the present invention, the terminal 10 passes through a dual protocol stack. Two SIM cards can be registered to simultaneously register CS voice and PS data services to improve resource utilization.
第一网络30和第二网络32可以是不同运营商的不同网络,也可是同一运营商的不同或相同网络。The first network 30 and the second network 32 may be different networks of different operators, or may be different or the same network of the same carrier.
参见图3为本发明实施例的数据服务模块40的结构示意图。数据服务模块40包括:FIG. 3 is a schematic structural diagram of a data service module 40 according to an embodiment of the present invention. The data service module 40 includes:
检测单元402,设置为检测是否有数据应用需要建立数据业务链接。The detecting unit 402 is configured to detect whether there is a data application that needs to establish a data service link.
判断单元403,设置为判断是否已有SIM卡建立了数据业务链接。The determining unit 403 is configured to determine whether the SIM card has established a data service link.
选择单元404,设置为在没有SIM卡建立数据业务链接时,选择最优网络建立数据业务链接以进行数据传输。优选的,可根据当前请求的数据应用特点和各网络的网络性能,判断哪一个网络为最优网络。The selecting unit 404 is configured to select an optimal network to establish a data service link for data transmission when no SIM card establishes a data service link. Preferably, the network is determined to be an optimal network according to the currently requested data application characteristics and the network performance of each network.
数据应用特点可包括实时性要求、数据包大小等,其可根据具体的数据应用得到,在实际中,可为不同的数据应用定义不同的应用特点,例如,定义app应用的实时性要求为低或高,VOIP业务的实时性要求为高等。实时性要求高的数据应用对网络性能的要求高。终端10可将不同数据应用的特点按照表的格式进行存储。Data application characteristics may include real-time requirements, packet size, etc., which may be obtained according to specific data applications. In practice, different application characteristics may be defined for different data applications, for example, real-time requirements for defining an application are low. Or high, the real-time requirements of VOIP services are high. Data applications with high real-time requirements have high requirements for network performance. The terminal 10 can store the characteristics of different data applications in the format of the table.
网络性能至少包括以下其中之一:RSSI(接收信号的强度)、SNR(信噪比)、链路时延、BLER(块差错率)、丢包率等。其中,RSSI、SNR、BLER可根据小区消息(例如,来自基站的下行信号)获取;链路时延、丢包率可通过终端10经各网络发送ping数据包的方式测得。The network performance includes at least one of the following: RSSI (Intensity of Received Signal), SNR (Signal to Noise Ratio), Link Delay, BLER (Block Error Rate), Packet Loss Rate, and the like. The RSSI, the SNR, and the BLER may be obtained according to a cell message (for example, a downlink signal from the base station); the link delay and the packet loss rate may be measured by the terminal 10 transmitting a ping packet through each network.
应理解,在确定最优网络时,也可仅考虑网络性能。It should be understood that only network performance may be considered when determining the optimal network.
确定单元405,设置为在已有SIM卡建立数据业务链接时,根据当前请求的数据应用特点及各网络的网络性能,确定最优网络,并判断已建立的数据业务链接是否为通过最优网络建立的。The determining unit 405 is configured to determine an optimal network according to the currently requested data application characteristics and the network performance of each network when the existing SIM card establishes a data service link, and determine whether the established data service link passes the optimal network. built.
切换单元406,设置为执行数据链路从一SIM卡到另一SIM卡的切换。The switching unit 406 is configured to perform a handover of the data link from one SIM card to another SIM card.
具体的,切换单元406设置为通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP(Packet Data Protocol,分组数据协议)数据链路挂起,以及通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络,待网络回复后,通过另一SIM卡激活并建立PDP数据链路,完 成数据链路的切换。Specifically, the switching unit 406 is configured to send the first MSG message by using the current SIM card, suspend the PDP (Packet Data Protocol) data link on the current SIM card, and send the second through another SIM card. MSG message to request to establish/restore the current PDP data link network. After the network replies, activate and establish a PDP data link through another SIM card. Switching into a data link.
通过本发明实施例的切换单元406,在进行数据业务切换时,不需要两个SIM卡间进行交互,由此,在切换时,不需要如相关技术的进行SIM卡制式的切换,缩短了切换时间,提高了切换效率,可满足实时数据业务(例如,VOIP等)对实时性的要求。The switching unit 406 of the embodiment of the present invention does not need to perform interaction between two SIM cards when performing data service switching. Therefore, when switching, the SIM card standard switching is not required as in the related art, and the switching is shortened. Time, improve switching efficiency, and meet the real-time requirements of real-time data services (for example, VOIP, etc.).
本发明实施例的数据服务模块40还包括:数据优选单元407和定时优选单元408。当终端10按照上述流程建立了数据业务链接进行数据传输后,数据优选单元407,设置为根据网络性能切换数据链路,以利用最优网络进行数据传输;定时优选单元408,设置为根据定时时间切换数据链路,以利用最优网络进行数据传输。The data service module 40 of the embodiment of the present invention further includes: a data preference unit 407 and a timing preference unit 408. After the terminal 10 establishes a data service link for data transmission according to the above procedure, the data preference unit 407 is configured to switch the data link according to the network performance to perform data transmission using the optimal network; the timing optimization unit 408 is set to be based on the timing time. Switch the data link to use the optimal network for data transmission.
其中,数据优选单元407包括:The data preference unit 407 includes:
条件预设子单元,设置为预先设置重选条件和切换条件。例如,重选条件至少为以下其中之一:RSSI小于A、BLER大于B、丢包率大于C。切换条件至少为以下其中之一:RSSI大于i且较优网络与较差网络的RSSI差值大于x1(例如,RSSI>100dBm,且RSSISIM1-RSSISIM2>NdBm)、BLER小于j且较差网络与较优网络的BLER差值大于x2、丢包率小于k且较差网络与较优网络的丢包率差值大于x3。在一个具体实施例中,A=-110dBm,B=20%,C=30%,i=-100dBm,x1=10dBm,j=10%,x2=10%,k=10%,x3=20%,这里只是举例说明,并不用于限定本发明的保护范围。The condition preset subunit is set to preset reselection conditions and switching conditions. For example, the reselection condition is at least one of the following: the RSSI is less than A, the BLER is greater than B, and the packet loss rate is greater than C. The handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the worse network is greater than x1 (eg, RSSI>100 dBm, and RSSISIM1-RSSISIM2>NdBm), BLER is less than j, and the network is poorer. The BLER difference of the excellent network is greater than x2, the packet loss rate is less than k, and the packet loss ratio of the poor network and the better network is greater than x3. In a specific embodiment, A=-110dBm, B=20%, C=30%, i=-100dBm, x1=10dBm, j=10%, x2=10%, k=10%, x3=20% This is for illustrative purposes only and is not intended to limit the scope of the invention.
重选判断子单元,设置为检测当前正在进行数据传输的SIM卡(例如,第一SIM卡)所在网络的网络状态是否满足重选条件(例如,BLER大于10%),若满足,则检测另一SIM卡(例如,第二SIM卡)所在网络的状态参数。The reselection judging unit is configured to detect whether the network state of the network where the SIM card (for example, the first SIM card) currently performing data transmission satisfies the reselection condition (for example, the BLER is greater than 10%), and if yes, detect another A status parameter of the network in which a SIM card (eg, a second SIM card) is located.
第一切换判断子单元,设置为若状态参数满足切换条件(例如,RSSI>100dBm,且RSSI另一SIM-RSSI当前SIM>NdBm),则对当前网络进行链路时延测量并启动时延测量定时器(PING时延测量定时器);反之则继续使用当前网络进行数据传输。The first handover judging subunit is configured to perform link delay measurement on the current network and start delay measurement if the state parameter satisfies the handover condition (for example, RSSI>100 dBm and another SIM-RSSI current SIM>NdBm of the RSSI) Timer (PING delay measurement timer); otherwise, continue to use the current network for data transmission.
第一切换子单元,设置为将数据链路从当前SIM卡切换到另一SIM卡。The first switching subunit is configured to switch the data link from the current SIM card to another SIM card.
第一链路时延测量单元,设置为成功切换并建立数据业务链接后,对新 网络进行链路时延测量。The first link delay measurement unit is set to successfully switch and establish a data service link, and then The network performs link delay measurement.
第一检测子单元,设置为当检测到时延测量定时器超时,结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链接进行数据传输。The first detecting subunit is configured to, when detecting that the delay measurement timer expires, end link delay measurement for the new network, perform data link switching to re-switch back to the original network to establish a data service link for data transmission.
第二检测子单元,设置为在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。The second detecting subunit is configured to perform the link delay measurement during the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, and the data is transmitted through the new network. Then perform data link switching to switch back to the original network for data transmission.
通过数据优选单元,实现了在当前进行数据传输的SIM卡所处的网络状态变差时,选择更优网络进行传输,提高了网络利用率和射频资源利用率,提高用户体验。Through the data preference unit, when the network state where the current SIM card is being transmitted is deteriorated, a better network is selected for transmission, which improves network utilization and radio resource utilization, and improves user experience.
定时优选单元与数据优选单元的不同在于,定时优选单元基于优选定时器进行数据链路的切换启动条件,使得终端10在较好的网络环境下也能完成数据链路的优选和切换。具体的,定时优选单元包括:The timing preference unit is different from the data preference unit in that the timing preference unit performs a data link handover initiation condition based on the preferred timer, so that the terminal 10 can complete the data link preference and handover in a better network environment. Specifically, the timing optimization unit includes:
设置子单元,设置为设置优选定时器。Set the subunit and set it to set the preferred timer.
测量子单元,设置为当优选定时器超时时,测量另一网络的网络状态是否良好。The measurement subunit is set to measure whether the network state of another network is good when the preferred timer expires.
第二切换判断子单元,设置为当另一网络的网络状态良好(例如,RSSI>85dBm)时,启动时延测量定时器并对当前网络进行链路时延测量;反之则继续使用当前网络进行数据传输。The second handover determining subunit is configured to start a delay measurement timer and perform link delay measurement on the current network when the network state of the other network is good (for example, RSSI>85 dBm); otherwise, continue to use the current network. data transmission.
第二切换子单元,设置为将数据链路从当前SIM卡切换到另一SIM卡。The second switching subunit is configured to switch the data link from the current SIM card to another SIM card.
第二链路时延测量子单元,设置为成功切换并建立数据业务链接后,对新网络进行链路时延测量。The second link delay measurement sub-unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link.
第三检测子单元,设置为当检测到时延测量定时器超时,结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输。The third detecting subunit is configured to: when detecting that the delay measurement timer expires, end link delay measurement for the new network, perform data link switching to re-switch back to the original network to establish a data service link for data transmission.
第四检测子单元,设置为在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络(例如,大于500ms),则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行 数据传输。The fourth detecting subunit is configured to complete the link delay measurement within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network (for example, greater than 500 ms), then pass the new network. Perform data transmission. Otherwise, perform data link switching to switch back to the original network. data transmission.
通过本发明实施例数据优选单元和定时优选单元,实现了在数据传输过程中进行不断的调整,避免了某一网络出现异常时,造成的传输中断等问题,提高网络利用率和射频资源利用率,提高了用户体验。The data preference unit and the timing optimization unit in the embodiment of the present invention implement continuous adjustment during data transmission, avoiding problems such as transmission interruption caused by abnormality in a certain network, and improving network utilization and utilization of radio frequency resources. , improved user experience.
本发明实施例的终端通过设置支持多种协议的双协议栈(第一协议栈和第二协议栈),实现了SIM卡同时驻留CS语音服务和PS数据服务,提高了资源利用率;实现了两张SIM卡均可使用3G/4G等通信网络(例如,LTE、EVDO等);实现了在数据传输过程中进行不断的调整,避免了某一网络出现异常时,造成的传输中断等问题,避免了出现数据业务掉话,提高了网络利用率和射频资源利用率,提高了用户体验;缩短了切换时间,提高了切换效率,满足了实时数据业务(例如,VOIP等)对实时性的要求。The terminal of the embodiment of the present invention implements the dual protocol stack (the first protocol stack and the second protocol stack) supporting multiple protocols, so that the SIM card simultaneously hosts the CS voice service and the PS data service, thereby improving resource utilization; Both SIM cards can use 3G/4G communication networks (for example, LTE, EVDO, etc.); realize continuous adjustment during data transmission, avoiding transmission interruption caused by abnormality in a certain network. It avoids data service dropped calls, improves network utilization and RF resource utilization, improves user experience, shortens switching time, improves switching efficiency, and satisfies real-time data services (eg, VOIP, etc.) for real-time performance. Claim.
实施例2Example 2
参见图4,本发明实施例的数据通信方法包括以下步骤:Referring to FIG. 4, a data communication method according to an embodiment of the present invention includes the following steps:
步骤100:第一SIM卡12进行网络注册,以通过第一协议栈驻留在第一网络30的PS域和CS域。第二SIM卡14进行网络注册,以通过第二协议栈驻留在第二网络32的PS域和CS域。Step 100: The first SIM card 12 performs network registration to reside in the PS domain and the CS domain of the first network 30 through the first protocol stack. The second SIM card 14 performs network registration to reside in the PS domain and the CS domain of the second network 32 through the second protocol stack.
在本发明实施例中,当第一SIM卡12和第二SIM卡14均成功注册网络后,终端10进入空闲模式(IDLE)。In the embodiment of the present invention, when both the first SIM card 12 and the second SIM card 14 successfully register the network, the terminal 10 enters an idle mode (IDLE).
由于终端10仅有一条发送TX通道,若任一SIM卡注册网络服务失败,则启动注册定时器(Reg Timer),待注册定时器超时后,再重新完成该SIM卡的注册。而在注册定时器的定时时间内,终端10的射频资源(发送TX通道和接收RX通道)全部供另一注册网络成功的SIM卡使用。由此,提高了资源利用率,避免了射频资源的浪费。Since the terminal 10 has only one TX channel, if any SIM card registration network service fails, the registration timer (Reg Timer) is started, and the registration of the SIM card is re-completed after the registration timer expires. During the timing of registering the timer, the radio resources (transmitting the TX channel and receiving the RX channel) of the terminal 10 are all used by the SIM card of another registered network. Thereby, resource utilization is improved and waste of radio frequency resources is avoided.
第一SIM卡12和第二SIM卡14注册成功后,其各自的数据传输功能开启。应理解,在本发明实施例中,第一SIM卡12与第二SIM卡14的数据传输功能可同时开启,开启方式可为注册成功即默认开启或注册成功后由用户手动开启(通过在终端10的用户界面提供开启/关闭按键等)等方式,本发明实施例对此不作限制。 After the first SIM card 12 and the second SIM card 14 are successfully registered, their respective data transmission functions are turned on. It should be understood that, in the embodiment of the present invention, the data transmission function of the first SIM card 12 and the second SIM card 14 may be simultaneously enabled, and the opening mode may be that the registration is successful, that is, the default is enabled or the registration is successful, and then manually opened by the user (through the terminal) The user interface of 10 provides an on/off button, etc., and the like, which is not limited in this embodiment of the present invention.
步骤102:检测是否有数据应用需要建立数据业务链接;若有,则转到步骤104。Step 102: Detect whether there is a data application that needs to establish a data service link; if yes, go to step 104.
步骤104:检测到有数据应用需要建立数据业务链接,则判断是否已有SIM卡建立了数据业务链接(即正在进行数据传输),若没有,则转到步骤106,若有转到步骤108。Step 104: If it is detected that the data application needs to establish a data service link, it is determined whether the SIM card has established a data service link (ie, data transmission is in progress). If not, then go to step 106, and if yes, go to step 108.
步骤106:若没有SIM卡建立数据业务链接,则选择最优网络建立数据业务链接以进行数据传输。Step 106: If there is no SIM card to establish a data service link, select an optimal network to establish a data service link for data transmission.
步骤108:若已有SIM卡建立了数据业务链接,则根据当前请求的数据应用特点及第一网络和第二网络的网络性能,确定最优网络;并判断已建立的数据业务链接是否为通过最优网络建立的,若不是,则在步骤110执行数据链路切换以(将在后续介绍切换过程),以选择最优网络进行数据传输。Step 108: If the existing SIM card establishes a data service link, determine the optimal network according to the currently requested data application characteristics and the network performance of the first network and the second network; and determine whether the established data service link is passed. The optimal network is established, if not, then a data link switch is performed at step 110 (the handover process will be described later) to select the optimal network for data transmission.
优选的,可根据当前请求的数据应用特点和各网络的网络性能,判断哪一个网络为最优网络。Preferably, the network is determined to be an optimal network according to the currently requested data application characteristics and the network performance of each network.
数据应用特点可包括实时性要求、数据包大小等,其可根据具体的数据应用得到,在实际中,可为不同的数据应用定义不同的应用特点,例如,定义app应用的实时性要求为低或高,VOIP业务的实时性要求为高等。实时性要求高的数据应用对网络性能的要求高。终端10可将不同数据应用的特点按照表的格式进行存储,例如,按照表1的方式进行存储:Data application characteristics may include real-time requirements, packet size, etc., which may be obtained according to specific data applications. In practice, different application characteristics may be defined for different data applications, for example, real-time requirements for defining an application are low. Or high, the real-time requirements of VOIP services are high. Data applications with high real-time requirements have high requirements for network performance. The terminal 10 can store the characteristics of different data applications according to the format of the table, for example, according to the manner of Table 1:
应用名称Application Name 应用特点Application characteristics 数据包大小Packet size
APP1APP1 实时性低Low real-time performance 64M64M
APP2APP2 实时性高High real-time performance 128M128M
VOIP业务VOIP business 实时性高High real-time performance -
……...... ……......  
表1Table 1
网络性能至少包括以下其中之一:RSSI(接收信号的强度)、SNR(信噪比)、链路时延、BLER(块差错率)、丢包率等。其中,RSSI、SNR、BLER可根据小区消息(例如,来自基站的下行信号)获取;链路时延、丢包率可通过终端10经各网络发送ping数据包的方式测得。 The network performance includes at least one of the following: RSSI (Intensity of Received Signal), SNR (Signal to Noise Ratio), Link Delay, BLER (Block Error Rate), Packet Loss Rate, and the like. The RSSI, the SNR, and the BLER may be obtained according to a cell message (for example, a downlink signal from the base station); the link delay and the packet loss rate may be measured by the terminal 10 transmitting a ping packet through each network.
应理解,在确定最优网络时,也可仅考虑网络性能。It should be understood that only network performance may be considered when determining the optimal network.
当终端10按照上述流程建立了数据业务链接进行数据传输后(即第一SIM卡和第二SIM卡已分别注册了第一网络和第二网络的语音和数据服务,且已激活并建立了一SIM卡的数据业务链接),通过以下两种方式对数据传输进行调整切换,具体的:After the terminal 10 establishes a data service link for data transmission according to the above procedure (ie, the first SIM card and the second SIM card have respectively registered the voice and data services of the first network and the second network, and have activated and established a The data service link of the SIM card) adjusts and switches the data transmission in the following two ways:
方式1、数据优选方式。Mode 1, data preferred mode.
参见图5,本发明实施例的数据优选方式包括:Referring to FIG. 5, the data preferred manner of the embodiment of the present invention includes:
步骤200:预先设置重选条件和切换条件。例如,重选条件至少为以下其中之一:RSSI小于A、BLER大于B、丢包率大于C。切换条件至少为以下其中之一:RSSI大于i且较优网络与较差网络的RSSI差值大于x1(例如,RSSI>100dBm,且RSSISIM1-RSSISIM2>NdBm)、BLER小于j且较差网络与较优网络的BLER差值大于x1、丢包率小于k且较差网络与较优网络的丢包率差值大于x1。Step 200: Set a reselection condition and a switching condition in advance. For example, the reselection condition is at least one of the following: the RSSI is less than A, the BLER is greater than B, and the packet loss rate is greater than C. The handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the worse network is greater than x1 (eg, RSSI>100 dBm, and RSSISIM1-RSSISIM2>NdBm), BLER is less than j, and the network is poorer. The BLER difference of the excellent network is greater than x1, the packet loss rate is less than k, and the packet loss ratio difference between the poor network and the better network is greater than x1.
步骤202:检测当前正在进行数据传输的SIM卡(例如,第一SIM卡)所在网络的网络状态是否满足重选条件(例如,BLER大于10%),若满足,则检测另一SIM卡(例如,第二SIM卡)所在网络的状态参数。Step 202: Detect whether the network status of the network where the SIM card (for example, the first SIM card) currently performing data transmission meets the reselection condition (for example, the BLER is greater than 10%), and if so, detect another SIM card (for example, , the second SIM card) the status parameter of the network.
步骤204:若状态参数满足切换条件(例如,RSSI>100dBm,且RSSI另一SIM-RSSI当前SIM>NdBm),则对当前网络进行链路时延测量并启动时延测量定时器(PING时延测量定时器);反之则继续使用当前网络进行数据传输,流程结束。Step 204: If the state parameter satisfies the handover condition (for example, RSSI>100 dBm, and the RSSI is another SIM-RSSI current SIM>NdBm), perform link delay measurement on the current network and start a delay measurement timer (PING delay) Measurement timer); otherwise, continue to use the current network for data transmission, the process ends.
步骤206:将数据链路从当前SIM卡切换到另一SIM卡。Step 206: Switch the data link from the current SIM card to another SIM card.
步骤208:成功切换并建立数据业务链接后,对新网络进行链路时延测量。Step 208: After successfully switching and establishing a data service link, perform link delay measurement on the new network.
步骤210:若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链接进行数据传输,流程结束。Step 210: If it is detected that the delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission, and the process ends.
步骤212:若在时延测量定时器的定时时间内,链路时延测量完成,且 新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。Step 212: If the delay of the delay measurement timer is completed, the link delay measurement is completed, and If the link delay data of the new network is better than the previous network, the data transmission is performed through the new network. Otherwise, the data link switching is performed to switch back to the original network for data transmission.
按照本发明实施例的数据优选方式,可实现在当前进行数据传输的SIM卡所处的网络状态变差时,选择更优网络进行传输,提高网络利用率和射频资源利用率,提高用户体验。According to the preferred method of the data in the embodiment of the present invention, when the network state where the SIM card currently transmitting data is degraded, a better network is selected for transmission, network utilization and radio frequency resource utilization are improved, and the user experience is improved.
方式2、定时优选方式。Mode 2, timing preferred mode.
定时优选方式与数据优选方式的不同在于,定时优选方式基于优选定时器进行数据链路的切换启动条件,使得终端10在较好的网络环境下也能完成数据链路的优选和切换。具体的,参见图6,定时优选方式包括:The timing preference mode is different from the data preference mode in that the timing preference mode is based on the preferred timer to perform the data link switching initiation condition, so that the terminal 10 can complete the data link preference and handover in a better network environment. Specifically, referring to FIG. 6, the timing optimization manner includes:
步骤300:设置优选定时器。在步骤300之前,第一SIM卡和第二SIM卡分别注册了第一网络和第二网络的语音和数据服务,且激活并建立了一SIM卡的数据业务链接。Step 300: Set a preferred timer. Before step 300, the first SIM card and the second SIM card respectively register the voice and data services of the first network and the second network, and activate and establish a data service link of the SIM card.
步骤302:当优选定时器超时时,测量另一网络的网络状态是否良好。Step 302: When the preference timer expires, it is measured whether the network status of another network is good.
步骤304:若另一网络的网络状态良好(例如,RSSI>85dBm),则启动时延测量定时器并对当前网络进行链路时延测量;反之则继续使用当前网络进行数据传输,流程结束。Step 304: If the network status of the other network is good (for example, RSSI>85 dBm), start the delay measurement timer and perform link delay measurement on the current network; otherwise, continue to use the current network for data transmission, and the process ends.
步骤306:将数据链路从当前SIM卡切换到另一SIM卡。Step 306: Switch the data link from the current SIM card to another SIM card.
步骤308:成功切换并建立数据业务链接后,对新网络进行链路时延测量。Step 308: After successfully switching and establishing a data service link, perform link delay measurement on the new network.
步骤310:若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输。Step 310: If it is detected that the delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission.
步骤312:若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络(例如,大于500ms),则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。Step 312: If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network (for example, greater than 500 ms), the data transmission is performed through the new network. Otherwise, data link switching is performed to switch back to the original network for data transmission.
本发明实施例通过上述的两种方式,可实现在数据传输过程中进行不断的调整,避免某一网络出现异常时,造成的传输中断等问题,提高网络利用 率和射频资源利用率,提高用户体验。Through the above two methods, the embodiment of the present invention can implement continuous adjustment during data transmission, avoiding problems such as transmission interruption caused by abnormality of a certain network, and improving network utilization. Rate and RF resource utilization to improve user experience.
以下结合图7,对上述本发明实施例的数据业务链接的切换过程进行介绍。本发明实施例的数据链路切换过程包括:The switching process of the data service link in the above embodiment of the present invention will be described below with reference to FIG. The data link switching process in the embodiment of the present invention includes:
步骤400:通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP数据链路挂起。此处的第一MSG消息用于通知网络暂停发送数据。Step 400: Send the first MSG message through the current SIM card, and suspend the PDP data link on the current SIM card. The first MSG message here is used to notify the network to suspend sending data.
步骤402:通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络。Step 402: Send a second MSG message through another SIM card to request to establish/restore the current PDP data link network.
步骤404:待网络回复后,通过另一SIM卡激活并建立PDP数据链路,完成数据业务链接的切换。Step 404: After the network is replied, the PDP data link is activated and established by another SIM card, and the switching of the data service link is completed.
具体的,以下以数据传输从第一SIM卡12切换到第二SIM卡14为例,对本发明实施例的上述所涉及的切换的过程进行详细描述:Specifically, in the following, taking the data transmission from the first SIM card 12 to the second SIM card 14 as an example, the process of the above-mentioned handover involved in the embodiment of the present invention is described in detail:
首先,通过第一SIM卡12发送MSG消息,并将第一SIM卡上的PDP数据链路挂起。此处的MSG消息(例如,LTE网络终端ESR消息)用于通知网络暂停发送数据。First, the MSG message is sent through the first SIM card 12 and the PDP data link on the first SIM card is suspended. The MSG message here (eg, an LTE network terminal ESR message) is used to notify the network to suspend transmission of data.
然后,通过第二SIM卡14发送MSG消息,以请求建立/恢复当前PDP数据链路网络。The MSG message is then sent over the second SIM card 14 to request to establish/restore the current PDP data link network.
待网络回复后,通过第二SIM卡14激活并建立PDP数据链路,完成数据业务链路从第一SIM卡12到第二SIM卡14的切换。After the network replies, the PDM data link is activated and established by the second SIM card 14, and the switching of the data service link from the first SIM card 12 to the second SIM card 14 is completed.
按照本发明实施例的上述切换流程,在进行数据业务切换时,不需要两个SIM卡间进行交互,由此,在切换时,不需要如现有技术的进行SIM卡制式的切换,缩短了切换时间,提高了切换效率,可满足实时数据业务(例如,VOIP等)对实时性的要求。According to the foregoing handover procedure of the embodiment of the present invention, when data service switching is performed, interaction between two SIM cards is not required, thereby eliminating the need to perform SIM card switching as in the prior art when switching, and shortening The switching time improves the switching efficiency and meets the real-time requirements of real-time data services (for example, VOIP, etc.).
本发明实施例的数据通信方法通过双协议栈,可实现SIM卡同时驻留CS语音和PS数据服务,提高资源利用率;可实现两张SIM卡均可使用3G/4G等通信网络(例如,LTE、EVDO等);可实现在数据传输过程中进行不断的调整,避免某一网络出现异常时,造成的传输中断等问题,避免出现数据业务掉话,提高网络利用率和射频资源利用率,提高用户体验;缩短了切换时 间,提高了切换效率,可满足实时数据业务(例如,VOIP等)对实时性的要求。The data communication method of the embodiment of the present invention can implement the SIM card to simultaneously host the CS voice and the PS data service through the dual protocol stack, thereby improving the resource utilization rate; and the two SIM cards can use the communication network such as 3G/4G (for example, LTE, EVDO, etc.; can be continuously adjusted during the data transmission process to avoid transmission interruptions caused by abnormality in a certain network, avoid data call drop, improve network utilization and utilization of radio resources, Improve user experience; shortened switching time In the meantime, the switching efficiency is improved to meet the real-time requirements of real-time data services (for example, VOIP, etc.).
在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" is two or more unless otherwise specified.
流程图中或在本发明的实施例中以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所述技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described in the embodiments of the invention may be understood to represent code that includes one or more executable instructions for implementing the steps of a particular logical function or process. Modules, segments or portions, and the scope of the embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an inverse order depending on the functions involved, in the order shown or discussed. This should be understood by those skilled in the art of the embodiments of the present invention.
在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The functional units in the various embodiments of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium. The embodiments of the present invention have been described above with reference to the drawings, but the present invention is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present invention, many forms may be made without departing from the spirit and scope of the invention as claimed.
工业实用性Industrial applicability
本发明实施例提出的双卡双待终端及数据通信方法,实现了SIM卡同时驻留CS语音服务和PS数据服务;避免了某一网络出现异常时,造成的传输中断等问题提高资源利用率,从而提高了用户体验。 The dual card dual standby terminal and the data communication method provided by the embodiment of the invention realize that the SIM card simultaneously resides in the CS voice service and the PS data service; and avoids problems such as transmission interruption caused by abnormality of a certain network, and improves resource utilization. , thus improving the user experience.

Claims (20)

  1. 一种双卡双待终端,包括:第一用户识别模块SIM卡、第二SIM卡、第一协议栈、第二协议栈、数据服务模块和传输控制协议/互联网络协议TCP/IP协议栈;其中,A dual card dual standby terminal includes: a first subscriber identity module SIM card, a second SIM card, a first protocol stack, a second protocol stack, a data service module, and a transmission control protocol/internet protocol TCP/IP protocol stack; among them,
    TCP/IP协议栈包括第一虚拟广域网WAN传输接口和第二虚拟WAN传输接口;The TCP/IP protocol stack includes a first virtual wide area network WAN transmission interface and a second virtual WAN transmission interface;
    第一SIM卡通过所述第一协议栈驻留在网络的分组域PS域和电路域CS域;The first SIM card resides in the packet domain PS domain and the circuit domain CS domain of the network through the first protocol stack;
    第二SIM卡通过所述第二协议栈驻留在网络的PS域和CS域;The second SIM card resides in the PS domain and the CS domain of the network through the second protocol stack;
    第一虚拟WAN传输接口和第二虚拟WAN传输接口分别与第一协议栈和第二协议栈连接,设置为对第一协议栈和第二协议栈的数据进行传输;The first virtual WAN transmission interface and the second virtual WAN transmission interface are respectively connected to the first protocol stack and the second protocol stack, and configured to transmit data of the first protocol stack and the second protocol stack;
    数据服务模块设置为选择第一SIM卡或第二SIM卡所在的网络建立PS数据业务链接,以进行数据传输。The data service module is configured to select a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission.
  2. 根据权利要求1所述的双卡双待终端,其中,所述第一协议栈和第二协议栈同时支持长期演进LTE协议、和/或宽带码分多址WCDMA协议、和/或全球移动通信系统GSM协议、和/或时分同步的码分多址TDSCDMA协议、和/或码分多址CDMA协议、和/或EVDO协议。The dual card dual standby terminal according to claim 1, wherein the first protocol stack and the second protocol stack simultaneously support a Long Term Evolution (LTE) protocol, and/or a Wideband Code Division Multiple Access (WCDMA) protocol, and/or a global mobile communication System GSM protocol, and/or time division synchronous code division multiple access TDS CDMA protocol, and/or code division multiple access CDMA protocol, and/or EVDO protocol.
  3. 根据权利要求1所述的双卡双待终端,还包括:射频传输模块、射频管理模块;其中,The dual card dual standby terminal according to claim 1, further comprising: a radio frequency transmission module and a radio frequency management module; wherein
    射频传输模块,设置为经配置以将通信交换信令发射到无线通信系统中的一个或多个基站或其它装置,或从一个或多个基站或其它装置接收通信交换信令;a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in the wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
    射频管理模块,设置为经由射频传输模块来管理与所述第一SIM卡和所述第二SIM卡相关联的通信交换信令。A radio frequency management module is configured to manage communication exchange signaling associated with the first SIM card and the second SIM card via a radio frequency transmission module.
  4. 根据权利要求1所述的双卡双待终端,其中,所述数据服务模块包括:The dual card dual standby terminal according to claim 1, wherein the data service module comprises:
    检测单元,设置为检测是否有数据应用需要建立数据业务链接;a detecting unit configured to detect whether a data application needs to establish a data service link;
    判断单元,设置为判断是否已有SIM卡建立了数据业务链接; a judging unit, configured to determine whether a SIM card has established a data service link;
    选择单元,设置为若没有SIM卡建立数据业务链接,则选择最优网络建立数据业务链接以进行数据传输;Selecting a unit, configured to select an optimal network to establish a data service link for data transmission if no SIM card establishes a data service link;
    确定单元,设置为若已有SIM卡建立了数据业务链接,则根据当前请求的数据应用特点及各网络的网络性能,确定最优网络,并判断已建立的数据业务链接是否为通过最优网络建立的;The determining unit is configured to determine an optimal network according to the data application characteristics of the current request and the network performance of each network if the existing SIM card establishes a data service link, and determine whether the established data service link passes the optimal network. built;
    切换单元,设置为若确定单元的判断结果为不是通过最优网络建立,则执行数据链路从一SIM卡到另一SIM卡的切换。The switching unit is configured to perform switching of the data link from one SIM card to another SIM card if the determination result of the determining unit is not established by the optimal network.
  5. 根据权利要求4所述的双卡双待终端,其中,所述切换单元具体设置为:通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP数据链路挂起,以及通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络,待网络回复后,通过另一SIM卡激活并建立PDP数据链路,完成数据链路的切换。The dual card dual standby terminal according to claim 4, wherein the switching unit is specifically configured to: send a first MSG message through the current SIM card, suspend the PDP data link on the current SIM card, and pass another A SIM card sends a second MSG message to request to establish/restore the current PDP data link network. After the network replies, the PDP data link is activated and established by another SIM card to complete the switching of the data link.
  6. 根据权利要求5所述的双卡双待终端,所述数据服务模块还包括:The dual card dual standby terminal according to claim 5, wherein the data service module further comprises:
    数据优选单元,设置为根据网络性能切换数据链路,以利用最优网络进行数据传输;a data preference unit configured to switch data links according to network performance to perform data transmission using an optimal network;
    定时优选单元,设置为根据定时时间切换数据链路,以利用最优网络进行数据传输。The timing preference unit is configured to switch the data link according to the timing time to perform data transmission using the optimal network.
  7. 根据权利要求6所述的双卡双待终端,其中,所述数据优选单元包括:The dual card dual standby terminal according to claim 6, wherein the data preference unit comprises:
    条件预设子单元,设置为预先设置重选条件和切换条件;Condition preset subunit, set to pre-set reselection conditions and switching conditions;
    重选判断子单元,设置为检测当前正在进行数据传输的SIM卡所在网络的网络状态是否满足重选条件,若满足,则检测另一SIM卡所在网络的状态参数;The reselection judging unit is configured to detect whether the network state of the network where the SIM card currently transmitting data is located satisfies the reselection condition, and if yes, detect the state parameter of the network where the other SIM card is located;
    第一切换判断子单元,设置为若状态参数满足切换条件,则对当前网络进行链路时延测量并启动时延测量定时器;反之则继续使用当前网络进行数据传输;The first handover determining subunit is configured to perform link delay measurement on the current network and start a delay measurement timer if the status parameter satisfies the handover condition; otherwise, continue to use the current network for data transmission;
    第一切换子单元,设置为将数据传输从当前SIM卡切换到另一SIM卡;a first switching subunit configured to switch data transmission from a current SIM card to another SIM card;
    第一链路时延测量单元,设置为成功切换并建立数据业务链接后,对新 网络进行链路时延测量;The first link delay measurement unit is set to successfully switch and establish a data service link, and then The network performs link delay measurement;
    第一检测子单元,设置为若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链接进行数据传输;The first detecting subunit is configured to end the link delay measurement for the new network, and perform data link switching to re-switch back to the original network to establish a data service link for data transmission if the time delay measurement timer expires.
    第二检测子单元,设置为若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。The second detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
  8. 根据权利要求6所述的双卡双待终端,其中,所述定时优选单元包括:The dual card dual standby terminal according to claim 6, wherein the timing preference unit comprises:
    设置子单元,设置为设置优选定时器;Set the subunit, set to set the preferred timer;
    测量子单元,设置为当优选定时器超时时,测量另一网络的网络状态是否良好;Measuring subunit, configured to measure whether the network status of another network is good when the preferred timer expires;
    第二切换判断子单元,设置为若另一网络的网络状态良好,则启动时延测量定时器并对当前网络进行链路时延测量;反之则继续使用当前网络进行数据传输;The second handover determining subunit is configured to start a delay measurement timer and perform link delay measurement on the current network if the network status of the other network is good; otherwise, continue to use the current network for data transmission;
    第二切换子单元,设置为将数据链路从当前SIM卡切换到另一SIM卡;a second switching subunit, configured to switch the data link from the current SIM card to another SIM card;
    第二链路时延测量子单元,设置为成功切换并建立数据业务链接后,对新网络进行链路时延测量;The second link delay measurement sub-unit is configured to perform link delay measurement on the new network after successfully switching and establishing a data service link;
    第三检测子单元,设置为若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输;The third detecting subunit is configured to end the link delay measurement for the new network, and perform the data link switching to re-switch back to the original network to establish a data service link for data transmission if the time delay measurement timer expires.
    第四检测子单元,设置为若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。The fourth detecting subunit is configured to: if the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa. Then, data link switching is performed to switch back to the original network for data transmission.
  9. 一种数据通信方法,应用于双卡双待终端,其中,所述双卡双待终端包括:第一SIM卡、第二SIM卡、第一协议栈、第二协议栈、数据服务模块和TCP/IP协议栈;所述TCP/IP协议栈包括第一虚拟WAN传输接口和第二虚拟WAN传输接口;所述第一虚拟WAN传输接口和第二虚拟WAN传输接 口分别与所述第一协议栈和第二协议栈连接;A data communication method is applied to a dual card dual standby terminal, wherein the dual card dual standby terminal comprises: a first SIM card, a second SIM card, a first protocol stack, a second protocol stack, a data service module, and a TCP /IP protocol stack; the TCP/IP protocol stack includes a first virtual WAN transmission interface and a second virtual WAN transmission interface; the first virtual WAN transmission interface and the second virtual WAN transmission interface The port is respectively connected to the first protocol stack and the second protocol stack;
    还包括:Also includes:
    所述第一SIM卡进行网络注册,以通过所述第一协议栈驻留在网络的PS域和CS域;The first SIM card performs network registration to reside in a PS domain and a CS domain of the network through the first protocol stack;
    所述第二SIM卡进行网络注册,以通过所述第二协议栈驻留在网络的PS域和CS域;The second SIM card performs network registration to reside in the PS domain and the CS domain of the network through the second protocol stack;
    所述数据服务模块检测到有数据应用需要建立数据业务链接,则选择第一SIM卡或第二SIM卡所在的网络建立PS数据业务链接,以进行数据传输;The data service module detects that a data application needs to establish a data service link, and then selects a network where the first SIM card or the second SIM card is located to establish a PS data service link for data transmission;
    所述第一虚拟WAN传输接口和第二虚拟WAN传输接口分别对第一协议栈和第二协议栈的数据进行传输。The first virtual WAN transmission interface and the second virtual WAN transmission interface respectively transmit data of the first protocol stack and the second protocol stack.
  10. 根据权利要求9所述的数据通信方法,其中,所述第一协议栈和第二协议栈同时支持长期演进LTE协议、和/或宽带码分多址WCDMA协议、和/或全球移动通信系统GSM协议、和/或时分同步的码分多址TDSCDMA协议、和/或码分多址CDMA协议、和/或EVDO协议。The data communication method according to claim 9, wherein said first protocol stack and said second protocol stack simultaneously support Long Term Evolution (LTE) protocol, and/or Wideband Code Division Multiple Access (WCDMA) protocol, and/or Global System for Mobile Communications (GSM) Protocol, and/or time division synchronized code division multiple access TDS CDMA protocol, and / or code division multiple access CDMA protocol, and / or EVDO protocol.
  11. 根据权利要求9所述的数据通信方法,所述方法还包括:The data communication method according to claim 9, further comprising:
    配置以将通信交换信令发射到无线通信系统中的一个或多个基站或其它装置,或从一个或多个基站或其它装置接收通信交换信令的射频传输模块;a radio frequency transmission module configured to transmit communication exchange signaling to one or more base stations or other devices in a wireless communication system, or to receive communication exchange signaling from one or more base stations or other devices;
    经由射频传输模块来管理与所述第一SIM卡和所述第二SIM卡相关联的通信交换信令。Communication exchange signaling associated with the first SIM card and the second SIM card is managed via a radio frequency transmission module.
  12. 根据权利要求9所述的数据通信方法,所述方法还包括:The data communication method according to claim 9, further comprising:
    所述数据服务模块检测到有数据应用需要建立数据业务链接,则判断是否已有SIM卡建立了数据业务链接,若没有,则选择最优网络建立数据业务链接以进行数据传输;If the data service module detects that the data application needs to establish a data service link, it determines whether the SIM card has established a data service link, and if not, selects an optimal network to establish a data service link for data transmission;
    若有,则判断已建立的数据业务链接是否为通过最优网络建立,若不是,则执行数据链路切换以切换至最优网络建立数据业务链接以进行数据传输。If so, it is determined whether the established data service link is established through the optimal network, and if not, the data link switch is performed to switch to the optimal network establishment data service link for data transmission.
  13. 根据权利要求12所述的数据通信方法,所述方法还包括:根据数据应用特点和网络性能,确定所述最优网络。 The data communication method according to claim 12, the method further comprising: determining the optimal network based on data application characteristics and network performance.
  14. 根据权利要求12所述的数据通信方法,所述方法还包括:根据数据优选方式或定时优选方式对数据传输进行调整切换。The data communication method according to claim 12, further comprising: adjusting switching of the data transmission according to a data preference manner or a timing preference manner.
  15. 根据权利要求14所述的数据通信方法,其中,所述数据优选方式包括:The data communication method according to claim 14, wherein said data preferred manner comprises:
    预先设置重选条件和切换条件;Pre-selection re-selection conditions and switching conditions;
    检测当前正在进行数据传输的SIM卡所在网络的网络状态是否满足重选条件,若满足,则检测另一SIM卡所在网络的状态参数;Detecting whether the network status of the network where the SIM card currently transmitting data is located meets the reselection condition, and if so, detecting the status parameter of the network where the other SIM card is located;
    若状态参数满足切换条件,则对当前网络进行链路时延测量并启动时延测量定时器,以及将数据链路从当前SIM卡切换到另一SIM卡;If the state parameter meets the handover condition, perform link delay measurement on the current network and start a delay measurement timer, and switch the data link from the current SIM card to another SIM card;
    成功切换并建立数据业务链接后,对新网络进行链路时延测量;After successfully switching and establishing a data service link, perform link delay measurement on the new network;
    若检测到时延测量定时器超,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链接进行数据传输;If the delay measurement timer is detected, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
    若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data link is switched. Switch back to the original network for data transmission.
  16. 根据权利要求15所述的数据通信方法,其中,所述重选条件至少为以下其中之一:接收信号的强度RSSI小于A、块差错率BLER大于B、丢包率大于C;The data communication method according to claim 15, wherein the reselection condition is at least one of: a strength of the received signal RSSI is less than A, a block error rate BLER is greater than B, and a packet loss rate is greater than C;
    切换条件至少为以下其中之一:RSSI大于i且较优网络与较差网络的RSSI差值大于x1、BLER小于j且较差网络与较优网络的BLER差值大于x1、丢包率小于k且较差网络与较优网络的丢包率差值大于x1。The handover condition is at least one of the following: the RSSI is greater than i and the RSSI difference between the preferred network and the poor network is greater than x1, the BLER is less than j, and the difference between the BRY of the poorer network and the better network is greater than x1, and the packet loss rate is less than k. The difference between the packet loss ratio of the poor network and the better network is greater than x1.
  17. 根据权利要求14所述的数据通信方法,其中,所述定时优选方式包括:The data communication method according to claim 14, wherein said timing preferred manner comprises:
    设置优选定时器;Set a preferred timer;
    当优选定时器超时时,测量另一网络的网络状态是否良好;When the preference timer expires, it is measured whether the network status of another network is good;
    若另一网络的网络状态良好,则启动时延测量定时器并对当前网络进行链路时延测量; If the network status of the other network is good, the delay measurement timer is started and the link delay measurement is performed on the current network;
    将数据链路从当前SIM卡切换到另一SIM卡;Switching the data link from the current SIM card to another SIM card;
    成功切换并建立数据业务链接后,对新网络进行链路时延测量;After successfully switching and establishing a data service link, perform link delay measurement on the new network;
    若检测到时延测量定时器超时,则结束对新网络的链路时延测量,执行数据链路切换以重新切换回原网络建立数据业务链路进行数据传输;If the time delay measurement timer expires, the link delay measurement for the new network is ended, and the data link switching is performed to switch back to the original network to establish a data service link for data transmission;
    若在时延测量定时器的定时时间内,链路时延测量完成,且新网络的链路时延数据优于之前网络,则通过新网络进行数据传输,反之,则执行数据链路切换以切换回原网络进行数据传输。If the link delay measurement is completed within the timing of the delay measurement timer, and the link delay data of the new network is better than the previous network, the data transmission is performed through the new network, and vice versa, the data link is switched. Switch back to the original network for data transmission.
  18. 根据权利要求所述10-17任一项所述的数据通信方法,所述方法还包括:The data communication method according to any one of claims 10-17, further comprising:
    通过当前SIM卡发送第一MSG消息,并将当前SIM卡上的PDP数据链路挂起;Sending the first MSG message through the current SIM card, and suspending the PDP data link on the current SIM card;
    通过另一SIM卡发送第二MSG消息,以请求建立/恢复当前PDP数据链路网络;Sending a second MSG message through another SIM card to request to establish/restore a current PDP data link network;
    待网络回复后,通过另一SIM卡激活并建立PDP数据链路,以完成数据链路的切换。After the network replies, the PDP data link is activated and established by another SIM card to complete the switching of the data link.
  19. 根据权利要求所述10所述的数据通信方法,所述方法还包括:The data communication method according to claim 10, wherein the method further comprises:
    若任一SIM卡注册网络服务失败,则启动注册定时器,待注册定时器超时后,再重新完成该SIM卡的注册;If any of the SIM card registration network services fails, the registration timer is started, and the registration of the SIM card is re-completed after the registration timer expires;
    在注册定时器的定时时间内,所述双卡双待终端的射频资源全部供另一注册网络成功的SIM卡使用。During the timing of the registration timer, the radio resources of the dual-card dual-standby terminal are all used by another SIM card that is successfully registered in the network.
  20. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求9-19任一项的数据通信方法。 A computer readable storage medium storing computer executable instructions for performing the data communication method of any of claims 9-19.
PCT/CN2016/090454 2015-07-23 2016-07-19 Dual-sim-dual-standby terminal and data communication method WO2017012532A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510437987.8 2015-07-23
CN201510437987.8A CN105101164A (en) 2015-07-23 2015-07-23 Dual-card dual-standby terminal and data communication method

Publications (1)

Publication Number Publication Date
WO2017012532A1 true WO2017012532A1 (en) 2017-01-26

Family

ID=54580501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090454 WO2017012532A1 (en) 2015-07-23 2016-07-19 Dual-sim-dual-standby terminal and data communication method

Country Status (2)

Country Link
CN (1) CN105101164A (en)
WO (1) WO2017012532A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385788A (en) * 2018-12-29 2020-07-07 展讯半导体(成都)有限公司 Service processing method of mobile terminal and mobile terminal
CN111698741A (en) * 2020-06-02 2020-09-22 Oppo广东移动通信有限公司 Radio frequency switching method and device
CN112054933A (en) * 2020-09-11 2020-12-08 北京字节跳动网络技术有限公司 Network interrupt information processing method, device, terminal and storage medium
CN112788685A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112929937A (en) * 2021-02-03 2021-06-08 Oppo广东移动通信有限公司 Communication method, communication device, electronic device, and storage medium
US11039297B1 (en) 2020-02-26 2021-06-15 Apple Inc. DSDS Wi-Fi calling enhancements
CN113518342A (en) * 2021-04-30 2021-10-19 青岛海信移动通信技术股份有限公司 SIM card switching method and terminal equipment
CN114501614A (en) * 2019-07-12 2022-05-13 华为技术有限公司 Communication method and device
CN115103464A (en) * 2022-06-22 2022-09-23 Oppo广东移动通信有限公司 Mode switching method, device, computer equipment, storage medium and program product

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101164A (en) * 2015-07-23 2015-11-25 努比亚技术有限公司 Dual-card dual-standby terminal and data communication method
CN105682076B (en) * 2015-12-30 2019-05-10 深圳市万普拉斯科技有限公司 The double card method of automatic configuration and system of dual-card dual-standby terminal
CN105744652B (en) * 2016-01-27 2021-08-03 努比亚技术有限公司 User equipment and communication method
CN105554306B (en) * 2016-01-27 2019-05-31 努比亚技术有限公司 Mobile terminal and its dual-chip system upgrade method
CN105764124B (en) * 2016-01-27 2021-06-15 努比亚技术有限公司 Method for reducing power consumption of terminal and terminal
CN105722058B (en) * 2016-01-27 2020-11-06 江苏知链科技有限公司 User equipment and information forwarding method
CN105744651B (en) * 2016-01-28 2019-11-05 努比亚技术有限公司 Mobile terminal and its communication means
CN105657867A (en) * 2016-01-28 2016-06-08 努比亚技术有限公司 Mobile terminal and communication method of mobile terminal based on two channels
CN105744645B (en) * 2016-01-28 2019-11-05 努比亚技术有限公司 Mobile terminal and its be based on twin-channel communication means
CN105657866A (en) * 2016-01-28 2016-06-08 努比亚技术有限公司 Mobile terminal and communication method of mobile terminal
CN105722059B (en) * 2016-01-28 2020-05-15 东莞市宏东通信技术有限公司 Mobile terminal and communication method of dual-modem system
CN105704766B (en) * 2016-03-03 2019-11-15 北京小米移动软件有限公司 The control method and device of double-card mobile terminal
CN106028309B (en) * 2016-05-25 2020-02-18 深圳市万普拉斯科技有限公司 Method and device for restoring main card in dual-card dual-standby terminal to data network
CN106162605A (en) * 2016-06-29 2016-11-23 努比亚技术有限公司 A kind of method of data exchange based on dual-mode terminal and terminal
CN107809736B (en) * 2016-09-08 2020-10-30 中国移动通信有限公司研究院 Dual-card terminal and data transmission method thereof
EP3603140B1 (en) 2017-03-24 2023-10-11 British Telecommunications public limited company Resource balancing in a cellular telecommunications network
WO2018172002A1 (en) * 2017-03-24 2018-09-27 British Telecommunications Public Limited Company Cellular telecommunications network
JP7026144B2 (en) 2017-07-25 2022-02-25 オッポ広東移動通信有限公司 Handover method, access network device and terminal device
CN107396413A (en) * 2017-08-16 2017-11-24 珠海市魅族科技有限公司 Communication control method, terminal, network side equipment and network switching system
CN110383870B (en) 2017-09-29 2022-06-28 华为技术有限公司 Radio frequency resource processing method and terminal
CN111869248B (en) 2018-03-28 2023-06-27 英国电讯有限公司 Method for managing traffic flows through an IPX network, network routing node
WO2019185800A1 (en) 2018-03-29 2019-10-03 British Telecommunications Public Limited Company Dedicated bearer management
CN110418329B (en) * 2018-04-28 2023-11-17 华为技术有限公司 Wireless communication device and wireless communication method
CN108696859B (en) * 2018-09-05 2021-12-14 中国联合网络通信集团有限公司 Method for accessing Internet by double-card mobile terminal and double-card mobile terminal
MX2021004265A (en) 2018-10-15 2021-05-28 Guangdong Oppo Mobile Telecommunications Corp Ltd Wireless communication method and device.
CN109495875B (en) * 2019-01-11 2021-03-12 Oppo广东移动通信有限公司 SIM card selection method and device, electronic equipment and storage medium
CN110207776A (en) * 2019-06-28 2019-09-06 京源中科科技股份有限公司 Water meter, its data uploading method and equipment based on NB-IoT
CN112533192B (en) * 2019-09-19 2022-04-22 华为技术有限公司 Method and device for switching SIM (subscriber identity Module) card and electronic equipment
WO2021077299A1 (en) * 2019-10-22 2021-04-29 华为技术有限公司 Data transmission method and apparatus
CN112752342B (en) * 2019-10-29 2022-09-23 中国电信股份有限公司 Method, device, base station and computer readable storage medium for scheduling network resources
CN112788790B (en) * 2019-11-08 2022-12-27 华为技术有限公司 Communication method and related equipment
CN111918355A (en) * 2020-08-13 2020-11-10 维沃移动通信有限公司 Method and device for switching data bearing link
CN112153759B (en) * 2020-09-23 2022-07-01 北京小米移动软件有限公司 Communication method and device of dual-card terminal
CN114828163A (en) * 2021-01-29 2022-07-29 展讯通信(上海)有限公司 Network access method, device and terminal equipment
WO2022251985A1 (en) * 2021-05-29 2022-12-08 华为技术有限公司 Communication method and apparatus
CN114258097A (en) * 2021-12-22 2022-03-29 中国电信股份有限公司 Data transmission method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201349329Y (en) * 2008-12-23 2009-11-18 康佳集团股份有限公司 Double-card double-duration cell phone and control device for controlling to simultaneously use two SIM cards to go online
US20090325572A1 (en) * 2008-06-26 2009-12-31 Samsung Electronics Co. Ltd. Apparatus and method for providing network service in a portable communication system
CN101854709A (en) * 2010-06-08 2010-10-06 中兴通讯股份有限公司 Method and device for switching dual-card dual-standby terminal wireless communication module
CN103686912A (en) * 2012-09-19 2014-03-26 三星电子株式会社 Electronic device and method for changing network connection
CN105101164A (en) * 2015-07-23 2015-11-25 努比亚技术有限公司 Dual-card dual-standby terminal and data communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951665A (en) * 2010-09-15 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Routing method of double-card mobile terminal and double-card mobile terminal
CN103491587B (en) * 2013-10-12 2017-10-31 上海斐讯数据通信技术有限公司 The data business of networking switching method and system of a kind of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090325572A1 (en) * 2008-06-26 2009-12-31 Samsung Electronics Co. Ltd. Apparatus and method for providing network service in a portable communication system
CN201349329Y (en) * 2008-12-23 2009-11-18 康佳集团股份有限公司 Double-card double-duration cell phone and control device for controlling to simultaneously use two SIM cards to go online
CN101854709A (en) * 2010-06-08 2010-10-06 中兴通讯股份有限公司 Method and device for switching dual-card dual-standby terminal wireless communication module
CN103686912A (en) * 2012-09-19 2014-03-26 三星电子株式会社 Electronic device and method for changing network connection
CN105101164A (en) * 2015-07-23 2015-11-25 努比亚技术有限公司 Dual-card dual-standby terminal and data communication method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385788A (en) * 2018-12-29 2020-07-07 展讯半导体(成都)有限公司 Service processing method of mobile terminal and mobile terminal
CN111385788B (en) * 2018-12-29 2022-08-19 展讯半导体(成都)有限公司 Service processing method of mobile terminal and mobile terminal
CN114501614A (en) * 2019-07-12 2022-05-13 华为技术有限公司 Communication method and device
US11039297B1 (en) 2020-02-26 2021-06-15 Apple Inc. DSDS Wi-Fi calling enhancements
CN111698741A (en) * 2020-06-02 2020-09-22 Oppo广东移动通信有限公司 Radio frequency switching method and device
CN111698741B (en) * 2020-06-02 2022-04-26 Oppo广东移动通信有限公司 Radio frequency switching method and device
CN112054933A (en) * 2020-09-11 2020-12-08 北京字节跳动网络技术有限公司 Network interrupt information processing method, device, terminal and storage medium
CN112054933B (en) * 2020-09-11 2023-02-24 北京字节跳动网络技术有限公司 Network interrupt information processing method, device, terminal and storage medium
CN112788685A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112788685B (en) * 2020-12-28 2023-03-21 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112929937A (en) * 2021-02-03 2021-06-08 Oppo广东移动通信有限公司 Communication method, communication device, electronic device, and storage medium
CN113518342A (en) * 2021-04-30 2021-10-19 青岛海信移动通信技术股份有限公司 SIM card switching method and terminal equipment
CN115103464A (en) * 2022-06-22 2022-09-23 Oppo广东移动通信有限公司 Mode switching method, device, computer equipment, storage medium and program product
CN115103464B (en) * 2022-06-22 2024-03-01 Oppo广东移动通信有限公司 Mode switching method, mode switching device, computer device, storage medium, and program product

Also Published As

Publication number Publication date
CN105101164A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2017012532A1 (en) Dual-sim-dual-standby terminal and data communication method
CN105101316B (en) Data transmission method and device for multiple data channels
US10687298B2 (en) Methods and apparatus to support parallel communication for multiple subscriber identities in a wireless communication device
CN113810419B (en) Method for enhancing multimedia call control, base station and user equipment thereof
US9674758B2 (en) Multi-SIM user equipment and wireless communication method thereof
US10142818B2 (en) Methods and apparatus to reuse wireless circuitry for multiple subscriber identities in a wireless communication device
JP6285508B2 (en) Simultaneous implementation of LTE data and DSDA audio
TWI586121B (en) Methods and apparatus to manage data connections for multiple subscriber identities in a wireless communication device
TWI754074B (en) Method, apparatus, and system for configuring measurement gap, network access equipment, and terminal
EP3139661B1 (en) User equipment and circuit switched domain fall-back switching method
US10791582B2 (en) Attention (AT) commands for packet data network connection offload
KR20080066768A (en) User terminal-initiated hard handoff from a wireless local area network to a cellular network
EP3007481B1 (en) Device and system for network resource configuration
WO2013113202A1 (en) Information processing method and base station for network switching of ue
WO2014201689A1 (en) Communication device access processing method and device, and communication system
WO2013167011A2 (en) Method, system, and mobile terminal for realizing bi-pass based on radio frequency device
US9125147B2 (en) System and method for providing communication services
TWI587666B (en) Methods and apparatus for synergy among multiple subscriber identities in a wireless communication device
JP2017507605A (en) Method and apparatus for improving video call service quality
US20130295928A1 (en) User terminal and communication method
WO2018057151A1 (en) A connection manager, a method of controlling a connection manager, and a mobile communications device
US20220007171A1 (en) Communication service transmission method and apparatus, storage medium and electronic apparatus
CN104105117A (en) Method for achieving VoIP service in ad hoc network
US20140071816A1 (en) Apparatuses and methods for switching data traffic between heterogeneous networks
US8265636B2 (en) Method and apparatus for managing cells of multi-mode portable terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16827223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.06.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16827223

Country of ref document: EP

Kind code of ref document: A1