CN113329357B - Data service switching method, device, terminal and non-transitory storage medium - Google Patents

Data service switching method, device, terminal and non-transitory storage medium Download PDF

Info

Publication number
CN113329357B
CN113329357B CN202110636890.5A CN202110636890A CN113329357B CN 113329357 B CN113329357 B CN 113329357B CN 202110636890 A CN202110636890 A CN 202110636890A CN 113329357 B CN113329357 B CN 113329357B
Authority
CN
China
Prior art keywords
connection
terminal
module
identification card
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110636890.5A
Other languages
Chinese (zh)
Other versions
CN113329357A (en
Inventor
代尔欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110636890.5A priority Critical patent/CN113329357B/en
Publication of CN113329357A publication Critical patent/CN113329357A/en
Application granted granted Critical
Publication of CN113329357B publication Critical patent/CN113329357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a method, a device, a terminal and a non-transitory storage medium for switching data services. The method comprises the following steps: detecting the state of the terminal; when the terminal is detected to enter a call state, determining a first user identity identification card corresponding to the call state; if the terminal comprises a second user identification card in a data transmission state, maintaining the session connection between the second user identification card and the network side; and when the first user identification card exits the conversation state, the conversation between the second identification card and the network side is recovered. The data service switching method provided by the disclosure can set the state of the user identity identification card according to the state of the terminal.

Description

Data service switching method, device, terminal and non-transitory storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal, and a non-transitory storage medium for switching data services.
Background
With the popularization of intelligent communication terminals, the networking function of the terminal has become the most basic function, and users have long time and high frequency for using the networking function, so higher requirements are put forward on the networking performance of the terminal.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the above problems, the present disclosure provides a method, an apparatus, a terminal, and a non-transitory storage medium for data service switching.
According to an embodiment of the present disclosure, a method for switching data services is provided, where the method is used for a terminal, and is characterized in that the method includes:
detecting the state of the terminal;
when the terminal is detected to enter a call state, determining a first user identity identification card corresponding to the call state;
if the terminal comprises a second user identification card in a data transmission state, maintaining the session connection between the second user identification card and the network side; and
and when the first user identification card exits the conversation state, recovering the conversation between the second identification card and the network side.
According to an embodiment of the present disclosure, there is provided an apparatus for switching data services, where the apparatus is used for a terminal, and the apparatus includes:
the detection module is used for detecting the state of the terminal;
the determining module is used for determining a first user identity identification card corresponding to the call state when the terminal is detected to enter the call state;
the maintaining module is used for maintaining the session connection between the second user identification card and the network side if the terminal comprises the second user identification card in a data transmission state; and
and the recovery module is used for recovering the session between the second identity identification card and the network side when the first user identity identification card exits the conversation state.
According to an embodiment of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
According to an embodiment of the present disclosure, there is provided a non-transitory storage medium for storing program code which, when executed by a computer device, causes the computer device to perform the above-described method.
The scheme for switching the data service can set the state of the user identity identification card according to the state of the terminal.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 shows a flowchart of a data service switching method according to an embodiment of the present disclosure.
Fig. 2 shows an interaction diagram of a user identification card according to an embodiment of the present disclosure.
Fig. 3 shows a schematic diagram of task switching of an embodiment of the present disclosure.
Fig. 4 shows a schematic structural diagram of a data service switching apparatus according to an embodiment of the present disclosure.
FIG. 5 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The terminal in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rearview mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
For cost reasons, dual-card dual-standby handsets may share a set of radio frequencies. Assuming that card 1 is in data communication (e.g., downloading) and another card 2 is incoming; when the user is talking, the card 2 will occupy the radio frequency, which in turn causes the data communication of the card 1 to be interrupted. To improve the user experience in such a scenario, data communication may be switched from card 1 to card 2 at the same time; when the call of the card 2 is ended, the data communication is switched back to the card 1.
As shown in fig. 1, the embodiment of the present disclosure provides a method for switching a data service, which is applied to a terminal and includes the following steps.
And S100, detecting the state of the terminal.
The terminal comprises an application module and a communication module, and the terminal also comprises a radio frequency module. Specifically, the state of the embodiment of the present disclosure may include detecting whether the terminal is in a call state, whether the terminal exits the call state, whether downloading is in progress, and the like.
S200, when the terminal is detected to enter the call state, determining a first user identity identification card corresponding to the call state.
The present disclosure can support multi-card multi-standby, and specifically, in this embodiment, dual-card dual-standby may be taken as an example. One type of smart terminal is a communication terminal supporting dual card dual standby, which supports the configuration of two communication modules such as subscriber identity cards (SIM cards). The two SIM cards can be switched between two networks of the two cards through terminal bottom layer software and a control chip. For cost reasons, the dual-card dual-standby communication terminals may share a set of Radio Frequency (RF). The RF may be used for receiving and transmitting signals during information transmission and reception or a call, and may receive downlink data of the base station and then deliver the received downlink data to the processor for processing, and may transmit uplink data to the base station. Therefore, the common RF can only support single-card calls, i.e. when one SIM card is used for a call, the other SIM card will be offline. In the embodiment of the present disclosure, assuming that the SIM card 1 is performing data communication (e.g., downloading), and another SIM card 2 is coming, when the user is talking, the SIM card 2 will occupy radio frequency, which may cause interruption of data communication of the SIM card 1. Therefore, the embodiment of the disclosure can detect the state of the terminal, and when one of the subscriber identity cards enters the call state, determine the first subscriber identity card entering the call state.
Wherein the application module and the communication module include a first connection corresponding to the first identity card; and the communication module and the network side comprise a third connection corresponding to the first identity card.
S300, if the terminal includes the second subscriber identity module in the data transmission state, maintaining the session connection between the second subscriber identity module and the network side.
The first user identification card and the second identification card can correspond to the same radio frequency module. The application module and the communication module also comprise a second connection corresponding to the second identification card, and the communication module and the network (base station) side also comprise a fourth connection corresponding to the second identification card. In particular, embodiments of the present disclosure may include occupying the first connection and the third connection; disconnecting the second connection; and maintaining said fourth connection. If the terminal includes the second user identification card in the data transmission state, the embodiment of the present disclosure may further include a task of acquiring the second user identification card; recording a first execution process of the task and interrupting the execution of the task; switching the task to the first SIM card; and continuing to execute the task by the first user identification card according to the first execution process.
More specifically, in a voice call, the embodiment of the present disclosure may be based on a characteristic that the NAS layer may maintain a Packet Data Unit (PDU) session in a cell handover process, for example, a PDU session mode of maintaining the SIM card 1 is adopted in a call process of the SIM card 2, so that the data communication card is automatically switched along with the voice call card, for example, when the SIM card 2 performs a voice call, the data communication is also switched to the SIM card 2 at the same time. In the embodiment of the disclosure, a plurality of connections respectively corresponding to different user identification cards are arranged between the application module and the communication module, and because a plurality of user identification cards share one radio frequency module, only one user identification card can occupy the radio frequency module. Further, the PDU session (connection) of the SIM card 1 is maintained by disconnecting only the corresponding SIM card 1 between the application module/processor and the communication module, for example, the baseband processor, and reserving the corresponding SIM card 1 between the baseband processor and the base station, instead of disconnecting the baseband processor and the application processor and the base station, respectively.
S400, when the first user identification card exits the conversation state, the conversation between the second identification card and the network side is recovered.
In particular, embodiments of the present disclosure may include disconnecting the first connection; restoring the second connection; maintaining the third connection; and occupying the second connection and the fourth connection.
More specifically, the embodiment of the present disclosure switches data communication from the SIM card 1 to the SIM card 2 in a call state, and after the call of the SIM card 2 is ended, the data communication can be switched back to the SIM card 1, which requires signaling interaction with a network. The handover process consumes a lot of time and the data traffic cannot be used during this period. Therefore, in order to avoid a great influence on experience due to a long time for switching data communication from the SIM card 2 to the SIM card 1, the embodiment of the present disclosure adopts a PDU session mode for holding the SIM card 1 during a call of the SIM card 2, so as to avoid a delay caused by an air interface signaling, accelerate a data card switching process, and shorten a waiting time. Furthermore, as the connection between the baseband processor and the base station is reserved, the connection between the baseband processor and the application processor is reconnected only, and the air interface operation between the terminal and the base station is avoided.
Referring to fig. 2 and fig. 3, fig. 2 shows an interaction schematic diagram of a user identification card according to an embodiment of the present disclosure, and fig. 3 shows a schematic diagram of task switching according to an embodiment of the present disclosure. As shown in fig. 2, for example, when the user id card 1 performs a downloading task, the user id card 1 occupies the radio frequency module, that is, data is transmitted through the connection between the application module, the communication module, and the network side corresponding to the user id card 1. If the user identification card 2 accesses the conversation task, when the voice transmission is connected, the user identification card 2 occupies the radio frequency module, namely, the voice information is transmitted through the connection between the application module, the communication module and the network side corresponding to the user identification card 2. On the contrary, the user identification card 1 loses the occupation of the radio frequency module, thereby disconnecting the data transmission; the disconnection of the user id card 1 is performed by disconnecting only the connection (second connection) of the corresponding user id card 1 between the application module and the communication module, and leaving the connection (fourth connection) of the corresponding user id card 1 between the communication module and the network side. Therefore, when the downloading task of the user identification card 2 is recovered, the effective connection between the user identification card 2 and the network side can be recovered only by recovering the second connection, and the switching speed is improved. As shown in fig. 3, during this period, in order not to interrupt the task, the embodiment of the present disclosure further includes switching the task to the subscriber identity card in the connected state, that is, switching the task from the subscriber identity card 1 to the subscriber identity card 2 in the call state; after the call is finished, the task can be switched back to the user identification card 1 which is recovered to be connected. In practical tests, the switching time of the embodiment of the present disclosure is lower than 1 second, and is much lower than the switching time (about 20 seconds) required to recover two connections, so as to avoid that the user cannot use the data service in about 20 seconds, and improve the switching speed by 20 times.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a data service switching apparatus according to an embodiment of the present disclosure. The apparatus 10 of the disclosed embodiment includes a detection module 12, a determination module 14, a retention module 16, and a recovery module 18. Wherein, the detecting module 12 can be used for detecting the state of the terminal; the determining module 14 may be configured to determine, when it is detected that the terminal enters a call state, a first subscriber identity module card corresponding to the call state; the maintaining module 16 may be configured to maintain a session connection between the second subscriber identity module card and the network side if the terminal includes the second subscriber identity module card in a data transmission state; the recovery module 18 may be configured to recover the session between the second id card and the network side when the first id card exits the call state.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein, the memorizer is used for storing the program code, and the processor is used for calling the program code stored in the memorizer so as to execute the method.
Furthermore, the present disclosure also provides a non-transitory storage medium for storing program code for performing the above method.
Referring now to fig. 5, a block diagram of an electronic device 800, such as a terminal, suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 5 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, a method for data service handover is provided, where the method is used for a terminal, and is characterized in that the method includes:
detecting the state of the terminal;
when the terminal is detected to enter a call state, determining a first user identity identification card corresponding to the call state;
if the terminal comprises a second user identification card in a data transmission state, maintaining the session connection between the second user identification card and the network side; and
and when the first user identification card exits the conversation state, recovering the conversation between the second identification card and the network side.
According to one or more embodiments of the present disclosure, the terminal includes an application module and a communication module, where the application module and the communication module include a first connection corresponding to the first identification card and a second connection corresponding to the second identification card, and the communication module and the network side include a third connection corresponding to the first identification card and a fourth connection corresponding to the second identification card.
According to one or more embodiments of the present disclosure, the maintaining of the session connection between the second subscriber identity card and the network side includes:
seizing the first connection and the third connection;
disconnecting the second connection; and
maintaining the fourth connection.
According to one or more embodiments of the present disclosure, the recovering the session between the second identification card and the network side includes:
disconnecting the first connection;
restoring the second connection;
maintaining the third connection; and
engaging the second connection and the fourth connection.
According to one or more embodiments of the present disclosure, the terminal further includes a radio frequency module, and the first subscriber identity module and the second subscriber identity module correspond to the same radio frequency module.
According to one or more embodiments of the present disclosure, the method further comprises:
if the terminal comprises the second user identification card in the data transmission state, acquiring a task of the second user identification card;
recording a first execution process of the task and interrupting the execution of the task;
switching the task to the first SIM card; and
and continuing to execute the task by the first user identification card according to the first execution process.
According to one or more embodiments of the present disclosure, the method further comprises:
when the first user identification card exits the conversation state, judging the execution state of the task;
when the execution state is incomplete, recording a second execution process of the task and interrupting the execution of the task;
cutting the task back to the second subscriber identification card; and
and continuing to execute the task by the second user identification card according to the second execution process.
According to one or more embodiments of the present disclosure, there is provided an apparatus for switching a data service, where the apparatus is used for a terminal, and the apparatus includes:
the detection module is used for detecting the state of the terminal;
the determining module is used for determining a first user identity identification card corresponding to the call state when the terminal is detected to enter the call state;
the maintaining module is used for maintaining the session connection between the second user identification card and the network side if the terminal comprises the second user identification card in a data transmission state; and
and the recovery module is used for recovering the session between the second identity identification card and the network side when the first user identity identification card exits the conversation state.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
According to one or more embodiments of the present disclosure, there is provided a non-transitory storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (7)

1. A method for switching data service, which is used for a terminal, is characterized in that the method comprises the following steps:
detecting the state of the terminal;
when the terminal is detected to enter a call state, determining a first user identity identification card corresponding to the call state;
if the terminal comprises a second user identification card in a data transmission state, maintaining the session connection between the second user identification card and the network side; and
when the first user identification card exits the conversation state, the conversation between the second user identification card and the network side is recovered;
the terminal comprises an application module and a communication module, wherein a first connection corresponding to the first subscriber identity module card and a second connection corresponding to the second subscriber identity module card are arranged between the application module and the communication module, and a third connection corresponding to the first subscriber identity module card and a fourth connection corresponding to the second subscriber identity module card are arranged between the communication module and the network side;
wherein the maintaining of the session connection between the second subscriber identity module card and the network side comprises:
seizing the first connection and the third connection;
disconnecting the second connection; and
maintaining the fourth connection;
wherein the recovering the session between the second subscriber identity module card and the network side comprises:
disconnecting the first connection;
restoring the second connection;
maintaining the third connection; and
engaging the second connection and the fourth connection.
2. The method of claim 1, wherein the terminal further comprises a radio frequency module, and the first subscriber identity module and the second subscriber identity module correspond to the same radio frequency module.
3. The method of claim 1, further comprising:
if the terminal comprises the second user identification card in the data transmission state, acquiring a task of the second user identification card;
recording a first execution process of the task and interrupting the execution of the task;
switching the task to the first SIM card; and
and continuing to execute the task by the first user identification card according to the first execution process.
4. The method of claim 3, further comprising:
when the first user identification card exits the conversation state, judging the execution state of the task;
when the execution state is incomplete, recording a second execution process of the task and interrupting the execution of the task;
cutting the task back to the second subscriber identification card; and
and continuing to execute the task by the second user identification card according to the second execution process.
5. An apparatus for switching data service, which is used for a terminal, the apparatus comprising:
the detection module is used for detecting the state of the terminal;
the determining module is used for determining a first user identity identification card corresponding to the call state when the terminal is detected to enter the call state;
the maintaining module is used for maintaining the session connection between the second user identification card and the network side if the terminal comprises the second user identification card in a data transmission state; and
the recovery module is used for recovering the conversation between the second user identification card and the network side when the first user identification card exits the conversation state;
the terminal comprises an application module and a communication module, wherein a first connection corresponding to the first subscriber identity module card and a second connection corresponding to the second subscriber identity module card are arranged between the application module and the communication module, and a third connection corresponding to the first subscriber identity module card and a fourth connection corresponding to the second subscriber identity module card are arranged between the communication module and the network side;
wherein, the holding module is specifically configured to:
seizing the first connection and the third connection;
disconnecting the second connection; and
maintaining the fourth connection;
wherein, the recovery module is specifically configured to:
disconnecting the first connection;
restoring the second connection;
maintaining the third connection; and
engaging the second connection and the fourth connection.
6. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 4.
7. A non-transitory storage medium storing program code that, when executed by a computer device, causes the computer device to perform the method of any one of claims 1 to 4.
CN202110636890.5A 2021-06-08 2021-06-08 Data service switching method, device, terminal and non-transitory storage medium Active CN113329357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110636890.5A CN113329357B (en) 2021-06-08 2021-06-08 Data service switching method, device, terminal and non-transitory storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110636890.5A CN113329357B (en) 2021-06-08 2021-06-08 Data service switching method, device, terminal and non-transitory storage medium

Publications (2)

Publication Number Publication Date
CN113329357A CN113329357A (en) 2021-08-31
CN113329357B true CN113329357B (en) 2022-07-12

Family

ID=77421116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110636890.5A Active CN113329357B (en) 2021-06-08 2021-06-08 Data service switching method, device, terminal and non-transitory storage medium

Country Status (1)

Country Link
CN (1) CN113329357B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11240740B2 (en) * 2017-09-29 2022-02-01 Huawei Technologies Co., Ltd. Method for processing radio frequency resources and terminal
CN111385787B (en) * 2018-12-29 2021-11-30 华为终端有限公司 State switching method, mobile terminal, network equipment and communication system
CN112218283B (en) * 2019-07-12 2023-06-02 中国电信股份有限公司 Service suspension and recovery method and system, multi-card terminal and storage medium
US11582822B2 (en) * 2019-10-24 2023-02-14 Mediatek Inc. Apparatuses and methods for coordinating operations associated with multiple subscriber identities

Also Published As

Publication number Publication date
CN113329357A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
EP2612537B1 (en) Mobile communication devices with multiple subscriptions that utilize a single baseband-radio frequency resource chain
US8411127B2 (en) Method and apparatus for connecting video call in dual standby mobile communication terminal
KR101339849B1 (en) Apparatus and method for service connecting in a portable terminal
CN112398626B (en) Information transmission method, communication device and system
CN106793156B (en) Multi-system terminal and network connection method and device
CN110674481B (en) Account registration method, device, equipment and storage medium of application program
US11963158B2 (en) Transmission configuration method and apparatus, device, system, and storage medium
CN106412878A (en) Device and method for activating subscriber identity module card
CN113329357B (en) Data service switching method, device, terminal and non-transitory storage medium
CN111683360A (en) Mobile communication method, device and electronic equipment
CN111918288A (en) Communication method, communication device and electronic equipment
CN112054933B (en) Network interrupt information processing method, device, terminal and storage medium
CN113079551B (en) Method and device for determining access cell in mobile communication, terminal and non-transitory storage medium
CN112202973B (en) Terminal control method and device, electronic equipment and computer readable medium
CN112566262B (en) Data processing method and device, communication equipment and storage medium
CN112770107B (en) Modification method of load bearing and related device
CN113079550B (en) Mobile terminal control method and device and electronic equipment
CN113518183A (en) Camera calling method and device and electronic equipment
CN113507750A (en) Terminal control method and device, terminal and storage medium
CN112954114A (en) Terminal control method and device, terminal and storage medium
CN111241443A (en) Method and device for pushing information and electronic equipment
CN112243219A (en) Display device, terminal control method and device, terminal and storage medium
CN112969205B (en) Network configuration method, device, terminal and storage medium
CN114786171B (en) Differentiated residence method and system for 2C and 2B users under shared carrier
CN113038636A (en) Terminal control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant