CN111918270B - Communication card switching processing method and device - Google Patents

Communication card switching processing method and device Download PDF

Info

Publication number
CN111918270B
CN111918270B CN202010757962.7A CN202010757962A CN111918270B CN 111918270 B CN111918270 B CN 111918270B CN 202010757962 A CN202010757962 A CN 202010757962A CN 111918270 B CN111918270 B CN 111918270B
Authority
CN
China
Prior art keywords
communication card
network side
card
antenna
information
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
CN202010757962.7A
Other languages
Chinese (zh)
Other versions
CN111918270A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010757962.7A priority Critical patent/CN111918270B/en
Publication of CN111918270A publication Critical patent/CN111918270A/en
Application granted granted Critical
Publication of CN111918270B publication Critical patent/CN111918270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Abstract

The embodiment of the application provides a communication card switching processing method and a communication card switching processing device. Therefore, before the second communication card is switched to the main communication card, the service communicated with the network side through the antenna on the first communication card is disconnected, so that the condition that the service on the second communication card is interrupted because the first communication card still occupies the antenna and the service on the first communication card is still occupied by the service on the first communication card through re-establishing the link between the antenna and the network side after the switching of the main communication card is completed is avoided, the service on the second communication card can be smoothly completed, and the user experience is improved.

Description

Communication card switching processing method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a communication card switching processing method and device.
Background
At present, a dual-card dual-standby mobile terminal is a relatively popular configuration, where a dual card refers to a mobile terminal having two card slots, and two SIM cards can be installed, each SIM card can support one or more network standards, and the two SIM cards may belong to the same operator or different operators; the dual standby function means that when the two SIM cards support different network systems, the mobile terminal supports the two SIM cards to register successfully on the two networks respectively and to be in standby simultaneously; when the two SIM cards support the same network system, the mobile terminal supports the two SIM cards to register successfully on the same network respectively and stand by at the same time. The dual cards of the dual-card dual-standby mobile terminal are divided into a main card and an auxiliary card, wherein the card connected with the data flow is the main card, and the card not connected with the data flow is the auxiliary card.
For a dual-card dual-standby single-pass mobile terminal, that is, a main card and an auxiliary card use the same set of antenna, when the main card is performing packet services, for example, uploading a file using data traffic, browsing a web page, and the auxiliary card is in an idle state, a user performs supplementary services on the auxiliary card according to service requirements, for example, call forwarding, number display, and call restriction, that is, when the auxiliary card needs to be switched to the main card, for example, after the main card is switched from the SIM card 1 to the SIM card 2, during a supplementary service period of the SIM card 2, uplink data or downlink paging of the SIM card 1 triggers a communication link to be established with a network side, so that the connection between the SIM card 2 and the network side is interrupted, so that the supplementary service of the SIM card 2 is interrupted, and the supplementary service fails.
Disclosure of Invention
The embodiment of the application provides a method and a device for switching a communication card, so as to solve the problem that supplementary service on a secondary card fails.
In a first aspect, an embodiment of the present application provides a method for switching a communication card, where the method is applied to a terminal device, where the terminal device is installed with a first communication card and a second communication card, and the method includes:
acquiring a communication card switching instruction, wherein the communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from the first communication card to the second communication card;
and responding to the communication card switching instruction, the terminal equipment disconnects the service of the first communication card communicating with the network side through the antenna of the terminal equipment, and establishes the communication connection of the second communication card with the network side through the antenna, so that the switching of the main communication card from the first communication card to the second communication card is completed.
In some possible embodiments, before the terminal device disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, the method further includes:
determining one or more first application programs from a plurality of application programs installed in the terminal equipment, wherein the first application programs are application programs which currently use communication services between the first communication card and a network side;
the disconnecting, by the terminal device, the service of the first communication card communicating with the network side through the antenna of the terminal device includes:
and sending first information to the network side, wherein the first information is used for indicating the network side to stop sending the information related to the one or more first application programs to the first communication card.
In some possible embodiments, before sending the first information to the network side, the method further includes:
acquiring second information of each first application program, wherein the second information is used for indicating the network side to stop sending information related to the first application program to the first communication card;
sending first information to the network side, including:
and sending first information to the network equipment according to the second information of the one or more first application programs.
In some possible embodiments, after the terminal device disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, the method further includes:
and if the terminal equipment receives the information which is sent by the network side to the first communication card and is related to the first application program through the antenna, discarding the information related to the first application program and sending the first information to the network side again.
In some possible embodiments, after the establishing the service that the second communication card communicates with the network side through the antenna, the method further includes:
and if the terminal equipment receives the information related to the first application program, which is sent to the first communication card by the network side through the antenna, discarding the information related to the first application program.
In some possible embodiments, after the establishing the service that the second communication card communicates with the network side through the antenna, the method further includes:
and if the information related to the second application program needs to be sent to the network side through the first communication card, the terminal equipment discards the information related to the second application program.
In some possible embodiments, the first information is a Transmission Control Protocol (TCP) packet.
In a second aspect, an embodiment of the present application provides a communication card switching processing apparatus, which is applied to a terminal device, where a first communication card and a second communication card are installed on the terminal device, and the apparatus includes:
the terminal equipment comprises an acquisition module, a switching module and a switching module, wherein the acquisition module is used for acquiring a communication card switching instruction which is used for indicating that a main communication card of the terminal equipment is switched from the first communication card to the second communication card;
and the processing module is used for responding to the communication card switching instruction, the terminal equipment disconnects the service of the first communication card communicating with the network side through the antenna of the terminal equipment, and establishes the communication connection of the second communication card with the network side through the antenna so as to switch the main communication card from the first communication card to the second communication card.
In some possible embodiments, before the processing module in the terminal device disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, the processing module is further configured to:
determining one or more first application programs from a plurality of application programs installed in the terminal equipment, wherein the first application programs are application programs which currently use communication services between the first communication card and a network side;
the disconnection of the service of the first communication card communicating with the network side through the antenna of the terminal equipment by the processing module in the terminal equipment comprises:
and sending first information to the network side, wherein the first information is used for indicating the network side to stop sending the information related to the one or more first application programs to the first communication card.
In some possible embodiments, before the processing module sends the first information to the network side, the obtaining module is further configured to:
acquiring second information of each first application program, wherein the second information is used for indicating the network side to stop sending information related to the first application program to the first communication card;
the obtaining module sends first information to the network side, and is specifically configured to:
and sending first information to the network equipment according to the second information of the one or more first application programs.
In some possible embodiments, after the processing module in the terminal device disconnects the traffic of the first communication card communicating with the network side through the antenna of the terminal device, the processing module is further configured to:
and if the terminal equipment receives the information which is sent by the network side to the first communication card and is related to the first application program through the antenna, discarding the information related to the first application program and sending the first information to the network side again.
In some possible embodiments, after the processing module establishes the service that the second communication card communicates with the network side through the antenna, the processing module is further configured to:
and if the terminal equipment receives the information related to the first application program, which is sent to the first communication card by the network side through the antenna, discarding the information related to the first application program.
In some possible embodiments, after the processing module establishes the service that the second communication card communicates with the network side through the antenna, the processing module is further configured to:
and if the information related to the second application program needs to be sent to the network side through the first communication card, the terminal equipment discards the information related to the second application program.
In some possible embodiments, the first information is a transmission control protocol TCP packet.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor and a memory;
the memory stores computer-executable instructions; the at least one processor executes computer-executable instructions stored by the memory to perform the method of any one of the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, in which program instructions are stored, and when the program instructions are executed by a processor, the method according to any one of the first aspect of the embodiments of the present invention is implemented.
In a fifth aspect, the present application provides a program product, where the program product includes a computer program, where the computer program is stored in a readable storage medium, and at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to make the electronic device implement the method according to any one of the first aspect of the present application.
The embodiment of the application provides a communication card switching processing method and a communication card switching processing device. The communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from a first communication card to a second communication card. Therefore, before the second communication card is switched to the main communication card, the service communicated with the network side through the antenna on the first communication card is disconnected, so that the condition that the service on the second communication card is interrupted because the first communication card still occupies the antenna and the service on the first communication card is still occupied by the service on the first communication card through re-establishing the link between the antenna and the network side after the switching of the main communication card is completed is avoided, the service on the second communication card can be smoothly completed, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a flowchart of a communication card switching processing method according to an embodiment of the present application;
fig. 3 is a signaling flowchart of a method for switching a communication card according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication card switching processing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, in the requirement of the production cost of the mobile terminal device or the anti-interference capability of the device, the mobile terminal device is usually provided with only one antenna, for example, a dual-card dual-standby terminal device, so that two communication cards (card 1 and card 2) on the terminal device share one antenna to transmit and receive information, and therefore, the two communication cards are required to be closely coordinated.
However, as shown in fig. 1, the terminal device 101 communicates with the base station 102, and when the card 1 is a master card (data card) and Packet Service (PS) is in progress, for example, uploading a file and browsing a web page, the card 1 uses an antenna to perform information interaction with the base station 102. At this time, the user performs supplementary services on the card 2, such as call forwarding, number display, and when the call is limited, the card 2 is switched to a data card, and at this time, the card 2 uses an antenna to perform information interaction with the base station 102. However, since some services on the card 1 are not completely finished, the card 1 may reuse the antenna, that is, the connection with the base station 102 is re-initiated through the antenna, so that the card 2 cannot use the antenna, and the services on the card 2 are interrupted and cannot be normally performed.
Therefore, to solve the problems existing in the prior art, the present application proposes: in the prior art, after data card switching, the data card before switching still seizes an antenna to perform information interaction with the network side, so that service interruption on the switched data card is caused.
Fig. 2 is a flowchart of a communication card switching processing method according to an embodiment of the present application, and as shown in fig. 2, the method according to the embodiment may include:
s201, a communication card switching instruction is obtained.
The communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from a first communication card to a second communication card.
In this embodiment, a terminal device is provided with two communication cards, namely, a first communication card (namely, card 1) and a second communication card (namely, card 2), where the card 1 is a data card and the card 2 is a non-data card, a user inputs a communication card switching instruction to the terminal device, for example, by operating a control for switching the data card on the terminal device, and the terminal device obtains the communication card switching instruction to switch the data card from the card 1 to the card 2, or when the user uses the card 2 on the terminal device to perform supplementary services, such as call forwarding, number display, and call restriction, that is, when the service performed by the user using the card 2 requires the card 2 to be the data card, the terminal device obtains the communication card switching instruction to switch the data card from the card 1 to the card 2, or when the user sets a data card switching condition of the terminal device in advance, for example, when the switching time arrives, the terminal device actively generates the communication card switching instruction to switch the data card from the card 1 to the card 2.
S202, responding to the communication card switching instruction, the terminal equipment disconnects the service of the first communication card communicating with the network side through the antenna of the terminal equipment, and establishes the communication connection of the second communication card with the network side through the antenna, so that the main communication card is switched from the first communication card to the second communication card.
In this embodiment, an Application Processor (AP) on the terminal device manages an application on the terminal device, so that the AP can acquire the application on the first communication card (card 1) that performs information interaction with the network side using an antenna. Therefore, after the terminal device obtains the communication card switching instruction, the AP on the terminal device can obtain the service of the current card 1 communicating with the network side through the antenna, and actively interrupt the service. Therefore, in the process of switching the card 2 into the data card, that is, performing the supplementary service on the card 2, no service on the card 1 performs information interaction with the network side through the antenna, thereby avoiding the problem that the service of the card 1 performs information interaction with the network side through the antenna in the process of performing the supplementary service on the card 2. After the interrupt card 1 interrupts the service of the communication between the card 1 and the network side through the antenna of the terminal device, the interrupt device establishes the communication connection between the card 2 and the network side through the antenna, that is, the service on the card 2 can perform information interaction with the network side through the antenna, thereby completing the switching of the main communication card (i.e., data card) from the card 1 to the card 2.
In this embodiment, the terminal device obtains the communication card switching instruction, responds to the communication card switching instruction before the second communication card is switched to the data card, disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, and then establishes the communication connection between the second communication card and the network side through the antenna, so as to complete the switching of the main communication card from the first communication card to the second communication card. The communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from a first communication card to a second communication card. Therefore, before the second communication card is switched to the main communication card, the service communicated with the network side through the antenna on the first communication card is disconnected, so that the condition that the first communication card still occupies the antenna and the service on the second communication card is interrupted due to the fact that the link is re-established between the antenna and the network side after the switching of the main communication card is completed is avoided, the service on the second communication card can be smoothly completed, and user experience is improved.
Fig. 3 is a signaling flowchart of a communication card switching processing method according to an embodiment of the present application, and as shown in fig. 3, the method according to the embodiment may include:
s301, a communication card switching instruction is obtained.
In this embodiment, S201 may be referred to as a specific implementation manner of S301, which is not described herein again.
S302, the AP determines one or more first applications from a plurality of applications installed in the terminal device.
The first application program is an application program which uses the first communication card to communicate with the network side currently.
In this embodiment, the AP on the terminal device manages the application program on the terminal device, and therefore, the AP may acquire the application program on the first communication card (card 1) that performs information interaction with the network side using the antenna. Therefore, after the terminal device acquires the communication card switching instruction, the AP determines an application program, called a first application program, on a first communication card (card 1) of the terminal device, which is currently performing information interaction with the network side using an antenna.
S303, the Communication Processor (CP) obtains the second information of each first application.
The second information is used for indicating the network side to stop sending the information related to the first application program to the first communication card.
In this embodiment, after the AP determines that the application program currently using the antenna to perform information interaction with the network side on the first communication card (card 1) of the terminal device and disconnects the first application program, since the first application program is currently performing information interaction with the network side before, the network side has information related to the first application program to be sent to the first application program through the antenna of the card 1, and therefore, even if the first application program is disconnected, the network side still sends the information related to the first application program through the antenna of the card 1. Therefore, for each first application, the AP sends to the CP second information for instructing the network side to stop sending information related to the first application to the card 1. The second information includes, for example, a first application program and a flag bit RST, where the flag bit RST is used to indicate whether to end the first application program, and for example, when the RST is 1, the flag bit RST indicates to end the first application program; and when the RST is 0, indicating that the first application program is started.
S304, the CP sends the first information to the network side.
Wherein the first information is used for instructing the network side to stop sending information related to one or more first application programs to the first communication card
In this embodiment, after receiving the at least one piece of second information sent by the AP, the CP obtains the first information according to the at least one piece of second information, and sends the first information to the network side through the antenna. The first information is, for example, a TCP packet, where the TCP packet includes an identifier of at least one first application, and the flag bit RST of each first application is set to 1, which indicates that the first application has ended, so that the network side may be instructed by the first information to stop sending information related to one or more first applications to the card 1.
S305, the CP receives information which is sent by the network side to the first communication card and is related to the first application program through the antenna.
In this embodiment, in an actual use of the terminal device, after the CP sends the first information to the network side, if the network side has information related to the first application and needs to send the information to the terminal device, the network side still sends the information related to the first application to the terminal device, so that the CP receives the information related to the first application sent by the network side to the card 1.
S306, the CP discards the information related to the first application.
In this embodiment, after receiving the information related to the first application program sent to the card 1 by the network side through the antenna, the CP does not send the information related to the first application program to the corresponding first application program, but directly discards the information related to the first application program, so that the connection between the first application program and the network side through the antenna of the card 1 can be cut off.
S307, the CP sends the first information to the network side.
In this embodiment, after receiving the information related to the first application program, which is sent to the card 1 by the network side through the antenna, in order to avoid that the first information is not received by the network side or the first information is tampered during the sending process, the CP sends the first information to the network side again.
And S308, establishing communication connection between the second communication card and the network side through the antenna, and switching the main communication card from the first communication card to the second communication card.
In this embodiment, the AP switches the main communication card having card 1 to card 2, and thereafter, the card 2 is in communication connection with the network side through the antenna.
S309, the CP receives information related to the first application program, which is sent to the first communication card by the network side through the antenna.
In this embodiment, after the data card is switched from the card 1 to the card 2, if the network side has the information related to the first application and needs to send the information to the terminal device, the network side still sends the information related to the first application to the terminal device, and thus the CP still receives the information related to the first application sent by the network side to the card 1.
S310, information related to the first application program is discarded.
In this embodiment, after receiving the information related to the first application program sent to the card 1 by the network side through the antenna, the CP does not send the information related to the first application program to the corresponding first application program, but directly discards the information related to the first application program, so that the connection between the first application program and the network side through the antenna of the card 1 can be cut off.
S311, the AP sends information related to the second application program to the CP, wherein the information is required to be sent to the network side through the first communication card.
In this embodiment, before the main communication card is switched from the card 1 to the card 2, the first application program that uses the antenna to perform information interaction with the network side on the card 1 is completely ended, so as to avoid that the first application program still needs to use the antenna of the card 1 to perform information interaction with the network side. However, in the process of executing S303-S310, a new application (referred to as a second application) may exchange information with the network side using the antenna of the card 1, and at this time, the AP cannot actively end the second application, and therefore, the second application exchanges information with the network side using the antenna of the card 1, and therefore, the AP may transmit information related to the second application to the network side through the antenna of the card 1 to the CP, so that the CP transmits information related to the second application to the network side.
Resulting in the antenna being occupied by the card 1. Thus, the second application is received at the CP
S312, the CP discards the information related to the second application.
In this embodiment, the CP sends the information related to the second application to the network side, and sends the information related to the second application to the network side through the antenna of the card 1, so that the CP occupies the antenna of the terminal device, and the application on the card 2 cannot use the antenna. Therefore, after the CP receives the information related to the second application, which is transmitted by the AP and needs to be transmitted to the network side through the antenna of the card 1, the information related to the second application is discarded, so that the information related to the second application is not transmitted to the network side through the antenna of the card 1.
And S313, the terminal equipment uses the antenna of the second communication card to normally communicate with the network side.
In this embodiment, after the card 2 is switched to the main communication card, the application program on the terminal device cannot use the antenna of the card 1 to perform information interaction with the network side through the above operations, so that the ongoing supplementary service on the card 2 is normally communicated with the network side through the antenna of the card 2.
In this embodiment, the terminal device obtains a communication card switching instruction, the AP determines one or more first applications from a plurality of applications installed in the terminal device and sends second information of each first application to the CP, and the CP obtains the second information of each first application and sends the first information to the network side to end the first application, and switches the communication connection between the first communication card and the network side through the antenna. And after the switching of the main communication card is completed, after the CP receives the information which is sent by the network side to the first communication card and is related to the first application program, the information which is sent by the network side to the first communication card and is related to the first application program is discarded, so that the influence of the first application program on the service on the switched main communication card can be reduced. And after the AP sends the information related to the second application program to the network side through the first communication card, the CP discards the information related to the second application program and avoids the new application program from sending the information to the network side through the antenna of the first communication card, so that the occupation of the antenna by the service on the first communication card is reduced, the service on the second communication card can be smoothly carried out, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a communication card switching processing device according to an embodiment of the present application, and as shown in fig. 4, the communication card switching processing device according to the embodiment may include: an acquisition module 41 and a processing module 42. Wherein, the first and the second end of the pipe are connected with each other,
an obtaining module 41, configured to obtain a communication card switching instruction, where the communication card switching instruction is used to instruct a main communication card of the terminal device to be switched from the first communication card to the second communication card;
and the processing module 42 is configured to, in response to the communication card switching instruction, disconnect a service in which the first communication card communicates with the network side through an antenna of the terminal device, and establish a communication connection between the second communication card and the network side through the antenna, so as to switch the main communication card from the first communication card to the second communication card.
In some possible embodiments, before the processing module 42 in the terminal device disconnects the traffic of the first communication card communicating with the network side through the antenna of the terminal device, the processing module is further configured to:
determining one or more first application programs from a plurality of application programs installed in the terminal equipment, wherein the first application programs are application programs which currently use communication services between the first communication card and a network side;
the disconnection, by the processing module 42 in the terminal device, of the service of the first communication card communicating with the network side through the antenna of the terminal device includes:
and sending first information to the network side, wherein the first information is used for indicating the network side to stop sending the information related to the one or more first application programs to the first communication card.
In some possible embodiments, before the processing module 42 sends the first information to the network side, the obtaining module 41 is further configured to:
acquiring second information of each first application program, wherein the second information is used for indicating the network side to stop sending information related to the first application program to the first communication card;
the obtaining module 42 sends first information to the network side, specifically, to:
and sending first information to the network equipment according to the second information of the one or more first application programs.
In some possible embodiments, after the processing module 42 in the terminal device disconnects the traffic of the first communication card communicating with the network side through the antenna of the terminal device, the processing module is further configured to:
and if the terminal equipment receives the information which is sent by the network side to the first communication card and is related to the first application program through the antenna, discarding the information related to the first application program and sending the first information to the network side again.
In some possible embodiments, after the processing module 42 establishes the service that the second communication card communicates with the network side through the antenna, the processing module is further configured to:
and if the terminal equipment receives the information related to the first application program, which is sent to the first communication card by the network side through the antenna, discarding the information related to the first application program.
In some possible embodiments, after the processing module 42 establishes the service that the second communication card communicates with the network side through the antenna, the processing module is further configured to:
and if the information related to the second application program needs to be sent to the network side through the first communication card, the terminal equipment discards the information related to the second application program.
In some possible embodiments, the first information is a transmission control protocol, TCP, packet.
The communication card switching processing apparatus described above in this embodiment may be configured to execute the technical solutions of the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 5, the electronic device according to the embodiment may include: at least one processor 51 and a memory 52. Fig. 5 shows an electronic device as an example of a processor, wherein,
and a memory 52 for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory 52 may comprise a Random Access Memory (RAM) and may also include a non-volatile memory (e.g., at least one disk memory).
The processor 51 is configured to execute the computer execution instructions stored in the memory 52 to implement the communication card switching processing method in any of the embodiments.
The processor 51 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Alternatively, in a specific implementation, if the memory 52 and the processor 51 are implemented independently, the memory 52 and the processor 51 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 52 and the processor 51 are integrated on a chip, the memory 52 and the processor 51 may communicate with each other through an internal interface.
The electronic device described above in this embodiment may be configured to execute the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. The terminal device may be applicable to the terminal devices described in the above embodiments of the present application. For convenience of explanation, fig. 6 shows only main components of the terminal device. As shown in fig. 6, the terminal apparatus 600 includes a processor, a memory, a control circuit, an antenna, and an input-output device. The processor is mainly used for processing communication protocols and communication data, controlling the whole terminal, executing software programs and processing data of the software programs. The memory is used primarily for storing software programs and data. The radio frequency circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The antenna is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are used primarily for receiving data input by a user and for outputting data to the user.
When the terminal device is started, the processor can read the software program in the storage unit, interpret and execute the instruction of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor outputs a baseband signal to the radio frequency circuit after performing baseband processing on the data to be sent, and the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal outwards in the form of electromagnetic waves through the antenna. When data is sent to the terminal, the radio frequency circuit receives radio frequency signals through the antenna, converts the radio frequency signals into baseband signals and outputs the baseband signals to the processor, and the processor converts the baseband signals into the data and processes the data.
Those skilled in the art will appreciate that fig. 6 shows only one memory and processor for ease of illustration. In an actual terminal, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, and the like, which is not limited in this application.
As a possible implementation manner, the processor may include a baseband processor and a central processing unit, the baseband processor is mainly used for processing the communication protocol and the communication data, and the central processing unit is mainly used for controlling the whole terminal, executing the software program, and processing the data of the software program. The processor in fig. 6 integrates the functions of the baseband processor and the central processing unit, and those skilled in the art will understand that the baseband processor and the central processing unit may also be independent processors, and are interconnected through a bus or the like. Those skilled in the art will appreciate that the terminal device may include a plurality of baseband processors to accommodate different network formats, the terminal device may include a plurality of central processors to enhance its processing capability, and various components of the terminal device may be connected by various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
In one example, the antenna and the control circuit with transceiving functions can be regarded as a transceiving module 601 of the terminal device 600, and the processor with processing functions can be regarded as a processing module 602 of the terminal device 600. As shown in fig. 6, the terminal device 600 includes a transceiver module 601 and a processing module 602. A transceiver module may also be referred to as a transceiver, a transceiving device, etc. In one possible implementation manner, a device in the transceiver module 601 for implementing a receiving function may be regarded as a receiving module, and a device in the transceiver module 601 for implementing a sending function may be regarded as a sending module, that is, the transceiver module 601 includes a receiving module and a sending module, the receiving module may also be referred to as a receiver, a receiving circuit, and the like, and the sending module may be referred to as a transmitter, a sending circuit, and the like.
The terminal device described above in this embodiment may be configured to execute the technical solutions in the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media capable of storing program codes, such as Read-Only Memory (ROM), random Access Memory (RAM), magnetic or optical disk, and the like.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A communication card switching processing method is applied to terminal equipment, wherein a first communication card and a second communication card are installed on the terminal equipment, and the method comprises the following steps:
acquiring a communication card switching instruction, wherein the communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from the first communication card to the second communication card;
responding to the communication card switching instruction, the terminal equipment disconnects the service of the first communication card communicating with the network side through the antenna of the terminal equipment, and establishes communication connection of a second communication card with the network side through the antenna, so that switching of a main communication card from the first communication card to the second communication card is completed;
before the terminal device disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, the method further includes:
determining one or more first application programs from a plurality of application programs installed in the terminal equipment, wherein the first application programs are application programs which currently use communication services between the first communication card and a network side;
the terminal device disconnecting the service of the first communication card communicating with the network side through the antenna of the terminal device includes:
and sending first information to the network side, wherein the first information is used for indicating the network side to stop sending the information related to the one or more first application programs to the first communication card.
2. The method of claim 1, wherein before sending the first information to the network side, further comprising:
acquiring second information of each first application program, wherein the second information is used for indicating the network side to stop sending information related to the first application program to the first communication card;
sending first information to the network side, including:
and sending first information to the network equipment according to the second information of the one or more first application programs.
3. The method according to claim 1, wherein after the terminal device disconnects the traffic of the communication of the first communication card with the network side through the antenna of the terminal device, the method further comprises:
and if the terminal equipment receives the information which is sent by the network side to the first communication card and is related to the first application program through the antenna, discarding the information related to the first application program and sending the first information to the network side again.
4. The method of claim 3, wherein after the establishing the service for the second communication card to communicate with the network side through the antenna, the method further comprises:
and if the terminal equipment receives the information related to the first application program, which is sent to the first communication card by the network side through the antenna, discarding the information related to the first application program.
5. The method of claim 3, wherein after the establishing the service for the second communication card to communicate with the network side through the antenna, the method further comprises:
and if the information related to the second application program needs to be sent to the network side through the first communication card, the terminal equipment discards the information related to the second application program.
6. The method of claim 1, wherein the first message is a Transmission Control Protocol (TCP) packet.
7. A communication card switching processing device is applied to a terminal device, wherein a first communication card and a second communication card are installed on the terminal device, and the device comprises:
the acquisition module is used for a communication card switching instruction, and the communication card switching instruction is used for indicating that a main communication card of the terminal equipment is switched from the first communication card to the second communication card;
the processing module responds to the communication card switching instruction, the terminal equipment disconnects the service of the first communication card communicating with the network side through the antenna of the terminal equipment, and establishes communication connection of a second communication card with the network side through the antenna, so that switching of a main communication card from the first communication card to the second communication card is completed;
before the terminal device disconnects the service of the first communication card communicating with the network side through the antenna of the terminal device, the processing module is further configured to:
determining one or more first application programs from a plurality of application programs installed in the terminal equipment, wherein the first application programs are application programs which currently use communication services between the first communication card and a network side;
the disconnecting, by the terminal device, the service in which the first communication card communicates with the network side through the antenna of the terminal device includes:
and sending first information to the network side, wherein the first information is used for indicating the network side to stop sending the information related to the one or more first application programs to the first communication card.
8. An electronic device, comprising: a memory for storing program instructions and at least one processor for calling the program instructions in the memory to perform the communication card switching processing method of any one of claims 1 to 6.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program; the computer program, when executed, implements the communication card switching processing method of any one of claims 1 to 6.
CN202010757962.7A 2020-07-31 2020-07-31 Communication card switching processing method and device Active CN111918270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010757962.7A CN111918270B (en) 2020-07-31 2020-07-31 Communication card switching processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010757962.7A CN111918270B (en) 2020-07-31 2020-07-31 Communication card switching processing method and device

Publications (2)

Publication Number Publication Date
CN111918270A CN111918270A (en) 2020-11-10
CN111918270B true CN111918270B (en) 2023-02-17

Family

ID=73288278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010757962.7A Active CN111918270B (en) 2020-07-31 2020-07-31 Communication card switching processing method and device

Country Status (1)

Country Link
CN (1) CN111918270B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112913266B (en) * 2021-01-22 2023-09-19 北京小米移动软件有限公司 Request information sending method and device, and request information receiving method and device
CN112969207B (en) * 2021-02-23 2022-12-27 Oppo广东移动通信有限公司 Switching method and device of default data main card, electronic equipment and storage medium
CN115918115A (en) * 2021-06-17 2023-04-04 北京小米移动软件有限公司 Control method and device for switching connection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109891933A (en) * 2017-10-09 2019-06-14 华为技术有限公司 The method and terminal of voice service and data service are supported simultaneously
CN111294884A (en) * 2020-02-25 2020-06-16 青岛海信移动通信技术股份有限公司 Communication terminal supporting dual-card dual-standby single-pass and data service switching method
CN111343686A (en) * 2020-05-21 2020-06-26 北京小米移动软件有限公司 Data switching method and device and storage medium
CN111935705A (en) * 2020-07-28 2020-11-13 Oppo广东移动通信有限公司 Data service management method and device, computer readable medium and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109891933A (en) * 2017-10-09 2019-06-14 华为技术有限公司 The method and terminal of voice service and data service are supported simultaneously
CN111294884A (en) * 2020-02-25 2020-06-16 青岛海信移动通信技术股份有限公司 Communication terminal supporting dual-card dual-standby single-pass and data service switching method
CN111343686A (en) * 2020-05-21 2020-06-26 北京小米移动软件有限公司 Data switching method and device and storage medium
CN111935705A (en) * 2020-07-28 2020-11-13 Oppo广东移动通信有限公司 Data service management method and device, computer readable medium and terminal equipment

Also Published As

Publication number Publication date
CN111918270A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN111918270B (en) Communication card switching processing method and device
KR101544436B1 (en) Apparatus and method for connecting video call in dual standby mobile communication termainal
US20030008647A1 (en) Radio communication device,parent communication device, parent-child communication device and radio communication system
RU2377726C2 (en) Wireless communication method, wireless communication system which uses said method, and wireless terminal thereof
CN109479220B (en) Path switching method and device
CN105813058A (en) Communications apparatus and methods for efficient wireless communications
CN111492717A (en) Session management method and device and communication system
CN113543114B (en) Communication method and device for multi-user identity module SIM card
CN112398626B (en) Information transmission method, communication device and system
CN110351785B (en) Communication method and device thereof
CN113873600A (en) Method, device, terminal, storage medium and program product for switching sidelink
CN112469029B (en) Service processing method, device and equipment
EP3588992A1 (en) Communication method and terminal device
CN114071801B (en) State indication method of terminal equipment and communication device
CN103781052A (en) Communication method and system, and multi-mode terminal
CN101790140A (en) Method and device for initiating and processing service request
JP2003219464A (en) Communicating equipment for operating between different radio systems from each other
EP4255100A1 (en) Service response method and apparatus, terminal, and storage medium
JP4020827B2 (en) BASE STATION DEVICE, BASE STATION DEVICE CONTROL METHOD, AND BASE STATION DEVICE CONTROL PROGRAM
JP7261761B2 (en) TERMINAL DEVICE, CORE NETWORK DEVICE, CONTROL METHOD, AND PROGRAM FOR EXECUTION OF CALL CONTROL TO TERMINAL DEVICE HAVING PLURAL SUBSCRIBER IDENTIFICATION MODULES
JP3853569B2 (en) Wireless communication device
EP4307769A1 (en) Enhancement of service continuity of remote ue during inter-gnb mobility in sidelink based ue-to-network relay
JP3538178B2 (en) Mobile station registration method, mobile communication system, mobile station and communication network
JP2003219449A (en) Mobile communication service providing method, communication network, communication control apparatus and mobile station
JP2003284131A (en) Digital wireless system

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