Service processing method and apparatus in terminal device supporting double cards
By searching for and loading a radio frequency path for the first card to its last-used cell, dual-card terminal devices can maintain both data and voice services, addressing the limitations of existing devices in meeting call and Internet access needs during calls.
Patent Information
- Application Number
- JP2025065044
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-06
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-15
AI Technical Summary
Dual-card terminal devices face limitations in meeting both call and Internet access needs when one card is connected to a standalone (SA) network and the other to a Long Term Evolution (LTE) network, as they often cannot satisfy Internet access requirements during a call, restricting usage scenarios.
The terminal device searches for a cell corresponding to a frequency last used by the first card before it went idle and loads a radio frequency path for that card, avoiding interruptions to the voice service of the second card, enabling simultaneous data and voice services.
This approach allows the terminal device to maintain both data and voice services without interruption, expanding its usage scenarios and ensuring seamless transitions between services.
Smart Images

Figure 2025106501000001_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and more particularly, to a method and apparatus for service processing in a dual card terminal device.
Background Art
[0002] This application claims the priority of Chinese Patent Application No. 202111039764.8, titled "METHOD AND APPARATUS FOR SERVICE PROCESSING IN DUAL CARD TERMINAL DEVICE", filed with the State Intellectual Property Office of China on September 6, 2021, and Chinese Patent Application No. 202110957090.3, titled "METHOD AND APPARATUS FOR SERVICE PROCESSING IN DUAL CARD TERMINAL DEVICE", filed with the State Intellectual Property Office of China on August 19, 2021, the entire contents of these Chinese patent applications are incorporated herein by reference.
[0003] With the development of terminal technology, dual card terminal devices have evolved and are in use, enabling users to meet various requirements by using the terminal device.
[0004] However, when one card is connected to a standalone (SA) network and the other card is connected to a long term evolution (LTE) network, the terminal device can meet the user's call needs by using one card, but there is a possibility that it cannot meet the user's Internet access needs by using the other card during a call, which limits the usage scenarios of the terminal device.
Summary of the Invention
[0005] Embodiments of the present application provide a method and apparatus for service processing in a dual - card terminal device. The terminal device includes a first card and a second card. The first card supports an SA network, and the second card supports an LTE network. When the terminal device is using the second card to execute a voice service and the terminal device receives a data service request that requires the first card for implementation, the terminal device can search for a cell corresponding to a first frequency. The cell corresponding to the first frequency is a cell accessed by the first card before the first card enters an idle state. Therefore, when the terminal device finds the cell corresponding to the first frequency and loads a radio frequency path for the first card to the cell corresponding to the first frequency, the terminal device does not perform a radio frequency path loading procedure for the second card, whereby the voice service of the terminal device is not interrupted. In this way, the terminal device can implement both the data service of the first card and the voice service of the second card, enabling more usage scenarios for the terminal device.
[0006] According to a first aspect, embodiments of the present application provide a method for service processing in a dual - card terminal device. The terminal device includes a first card and a second card, where the first card supports a stand - alone SA network and the second card supports a long - term evolution LTE network. The method includes steps of: when the terminal device is using the second card to execute a voice service, receiving, by the terminal device, a data service request that requires the first card for implementation, where the first card is in an idle state; in response to the data service request, searching, by the terminal device, for a cell corresponding to a first frequency, where the cell corresponding to the first frequency is a cell accessed by the first card before the first card enters the idle state; and when the terminal device finds the cell corresponding to the first frequency, loading, by the terminal device, a radio frequency path for the first card to the cell corresponding to the first frequency and implementing a data service of the first card.
[0007] In this way, when the terminal device receives a data service request that requires the first card for implementation while using the second card to execute a voice service, the terminal device can search for a cell corresponding to the first frequency. The cell corresponding to the first frequency is a cell accessed by the first card before the first card enters the idle state. Therefore, when the terminal device finds the cell corresponding to the first frequency and loads a radio frequency path for the first card to the cell corresponding to the first frequency, the terminal device does not perform a radio frequency path loading procedure for the second card, whereby the voice service of the terminal device is not interrupted. In this way, the terminal device can implement both the data service of the first card and the voice service of the second card, enabling more usage scenarios for the terminal device.
[0008] In a possible embodiment, when the terminal device cannot find a cell corresponding to the first frequency, the method includes a step of determining, by the terminal device, a second frequency to which the terminal device is connected to execute the voice service of the second card, and a step of determining, by the terminal device, a third frequency that matches the second frequency in the first frequency combination, where the first frequency combination includes a frequency connected to execute the data service of the first card and a frequency connected to execute the voice service of the second card, and when the terminal device finds a cell corresponding to the third frequency, a step of loading, by the terminal device, a radio frequency path for the first card to the cell corresponding to the third frequency to implement the data service of the first card. In this way, even if the terminal device cannot find a cell corresponding to the first frequency, the terminal device can load a radio frequency path for the first card to the cell corresponding to the third frequency to implement the data service of the first card, thereby satisfying both the user's Internet access needs and call needs.
[0009] In a possible embodiment, when the terminal device is loading a radio frequency path for the first card to a cell corresponding to the third frequency, the method further includes a step of loading, by the terminal device, a radio frequency path for the second card to a cell corresponding to the second frequency. In this way, the terminal device loads radio frequency paths for both the first card and the second card, and thereby the terminal device executes both the data service and the voice service on the radio frequency paths loaded for the first card and the second card.
[0010] In a possible embodiment, it takes 1 ms for the terminal device to load a radio frequency path for a second card into a cell corresponding to a second frequency. Loading a radio frequency path for a second card by the terminal device requires a relatively short time. Therefore, even if the user's ongoing call is interrupted, the call on the second card can be resumed immediately, so that the user may not be able to perceive the interruption of the ongoing call. In addition, this enables the user to access the Internet using the first card.
[0011] In a possible embodiment, the radio frequency path for a second card includes a receiving path and a transmitting path for the second card.
[0012] In a possible embodiment, when the terminal device cannot find a cell corresponding to a third frequency, the method further includes the steps of: the terminal device searching for a cell corresponding to a connectable frequency; and when the terminal device finds a cell corresponding to a connectable frequency, the terminal device loading a radio frequency path for a first card into the cell corresponding to the connectable frequency to implement a data service of the first card. In this way, even if the terminal device cannot find a cell corresponding to a third frequency, the terminal device can load a radio frequency path for a first card into a cell corresponding to a connectable frequency to implement a data service of the first card, thereby satisfying both the user's Internet access needs and call needs.
[0013] In a possible implementation, when the terminal device loads a radio frequency path for a first card into a cell corresponding to a connectable frequency, this method further includes the step of the terminal device performing a network discovery procedure for a second card, and after the terminal device finds a cell corresponding to the frequency in the network discovery procedure, the step of the terminal device loading a radio frequency path for the second card into the found cell corresponding to the frequency. In this way, the terminal device also performs a network discovery procedure and a radio frequency path loading procedure for the second card, whereby the terminal device can still execute the voice service of the second card.
[0014] In a possible implementation, it takes 10 ms for the terminal device to perform a network discovery procedure and load a radio frequency path for the second card. It takes a relatively short time for the terminal device to perform a network discovery procedure and load a radio frequency path for the second card. Therefore, even if the user's ongoing call is interrupted, the call of the second card can be resumed immediately, whereby the user may not be able to perceive the interruption of the ongoing call. In addition, this enables the user to access the Internet using the first card.
[0015] In a possible implementation, the radio frequency path for the first card includes a reception path and a transmission path for the first card.
[0016] According to a second aspect, embodiments of the present application provide an apparatus for service processing in a dual-card terminal device. The apparatus for service processing in a dual-card terminal device can be a terminal device, or a component, chip, or system-on-chip within the terminal device. The apparatus for service processing in a dual-card terminal device can include a processing unit and a communication unit. When the apparatus for service processing in a dual-card terminal device is a terminal device, the processing unit can be a processor, and the communication unit can be a communication interface or an interface circuit. The apparatus for service processing in a dual-card terminal device can further include a storage unit, and the storage unit can be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit, whereby the terminal device implements a method according to any one of the first aspect or possible embodiments of the first aspect. When the apparatus for service processing in a dual-card terminal device is a component, chip, or system-on-chip of the terminal device, the processing unit can be a processor, the communication unit can be a communication interface, and the processing unit executes the instructions stored in the storage unit, whereby the terminal device implements a method according to any one of the first aspect or possible embodiments of the first aspect. The storage unit can be a storage unit within the chip (e.g., a register or a cache), or a storage unit within the terminal device but outside the chip (e.g., a read-only memory or a random access memory). The terminal device includes a first card and a second card, the first card supports a stand-alone SA network, and the second card supports a long-term evolution LTE network.
[0017] For example, the communication unit is configured to receive a data service request that requires the first card for implementation when the terminal device is using the second card to execute a voice service, and the first card is in an idle state. The processing unit is configured to search for a cell corresponding to the first frequency in response to the data service request, and the cell corresponding to the first frequency is the cell accessed by the first card before the first card enters the idle state. When the terminal device finds the cell corresponding to the first frequency, the processing unit is further configured to load a radio frequency path for the first card to the cell corresponding to the first frequency and implement the data service of the first card.
[0018] In a possible implementation, when it is impossible for the terminal device to find the cell corresponding to the first frequency, the processing unit determines a second frequency to which the second card is connected to execute the voice service, and determines a third frequency that matches the second frequency in the first frequency combination. The first frequency combination includes the frequency to which the first card is connected to execute the data service and the frequency to which the second card is connected to execute the voice service. When the terminal device finds the cell corresponding to the third frequency, the processing unit is further configured to load a radio frequency path for the first card to the cell corresponding to the third frequency and implement the data service of the first card.
[0019] In a possible implementation, when the terminal device is loading a radio frequency path for the first card to the cell corresponding to the third frequency, the processing unit is further configured to load a radio frequency path for the second card to the cell corresponding to the second frequency.
[0020] In a possible implementation, it takes 1 ms for the terminal device to load a radio frequency path for the second card to the cell corresponding to the second frequency.
[0021] In a possible embodiment, the radio frequency path for the second card includes a receiving path and a transmitting path for the second card.
[0022] In a possible embodiment, when the terminal device cannot find a cell corresponding to the third frequency, the processing unit searches for a cell corresponding to a connectable frequency, and when the terminal device finds a cell corresponding to a connectable frequency, the processing unit further loads the radio frequency path for the first card into the cell corresponding to the connectable frequency and implements the data service of the first card.
[0023] In a possible embodiment, when the terminal device is loading the radio frequency path for the first card into the cell corresponding to the connectable frequency, the processing unit implements the network discovery procedure for the second card, and after the terminal device finds a cell corresponding to the frequency in the network discovery procedure, the processing unit loads the radio frequency path for the second card into the cell corresponding to the found frequency.
[0024] In a possible embodiment, it takes 10 ms for the terminal device to implement the network discovery procedure and load the radio frequency path for the second card.
[0025] In a possible embodiment, the radio frequency path for the first card includes a receiving path and a transmitting path for the first card.
[0026] According to a third aspect, an embodiment of the present application provides an apparatus for service processing in a dual-card terminal device. The apparatus includes a processor and a memory. The memory is configured to store code instructions, and the processor is configured to execute the code instructions to execute a method according to any one of the first aspect or possible embodiments of the first aspect.
[0027] According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions, and when the computer program or instructions are executed by a computer, the computer executes a method according to any one of the first aspect or possible embodiments of the first aspect.
[0028] According to a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program is executed by a computer, the computer executes a method according to any one of the first aspect or possible embodiments of the first aspect.
[0029] According to a sixth aspect, an embodiment of the present application provides a system for service processing in a dual-card terminal device. The system includes an apparatus according to any one of the second aspect or possible embodiments of the second aspect.
[0030] According to a seventh aspect, an embodiment of the present application provides a chip or a system-on-chip. The chip or system-on-chip includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a line. The at least one processor is configured to execute a computer program or instructions to execute a method according to any one of the first aspect or possible embodiments of the first aspect. The communication interface in the chip can be an input / output interface, a pin, a circuit, etc.
[0031] In a possible embodiment, the chip or system-on-chip described above in the present application further includes at least one memory. This at least one memory stores instructions. This memory can be a storage unit within the chip, such as a register or cache, or a storage unit of the chip (such as a read-only memory or random access memory).
[0032] It should be noted that the second to seventh aspects of the present application correspond to the first aspect of the present application from the perspective of technical solutions, and these aspects and corresponding feasible embodiments have the same beneficial effects as the first aspect and its feasible embodiments. Details will not be described here again.
Brief Description of the Drawings
[0033]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Embodiments for Carrying Out the Invention
[0034] For the purpose of clearly describing the technical solutions in the embodiments of the present application, terms such as "first" and "second" in the embodiments of the present application are used to distinguish between the same or similar items having substantially the same function or purpose. For example, "the first chip" and "the second chip" are only intended to distinguish different chips and are not intended to limit their order. It is possible for those skilled in the art to understand that terms such as "first" and "second" do not limit numbers or execution order. In addition, terms such as "first" and "second" do not indicate a clear difference.
[0035] It should be noted that in the embodiments of the present application, terms such as "example" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as an "example" or "for example" in the present application should not be construed as being preferred or advantageous over other embodiments or design solutions. Exactly, terms such as "example" or "for example" are intended to present related concepts in a specific manner.
[0036] In the embodiments of the present application, "at least one" means one or more, and "a plurality of" means two or more. The term "and / or" describes the association relationship between the associated objects and indicates that three relationships are possible. For example, "A and / or B" can represent the cases of "only A", "both A and B", and "only B", in which case A and B can be singular or plural. The character " / " generally indicates an "or" relationship between the associated objects. "At least one of the following items (objects)" or similar expressions mean any combination of these items, including a single item (object) or any combination of a plurality of items (objects). For example, at least one of a, b, or c can indicate a, b, c, "a and b", "a and c", "b and c", or "a, b, and c", in which case a, b, and c can be singular or plural.
[0037] With the development of terminal technology, dual-card terminal devices have evolved and are in use, enabling users to meet various requirements using the terminal device.
[0038] However, when one card is connected to a standalone (SA) network and the other card is connected to a long term evolution (LTE) network, the terminal device can meet the user's call needs using one card, but there is a possibility that it cannot meet the user's Internet access needs using the other card during a call. This limits the usage scenarios of the terminal device and provides a poor experience for the user when using the terminal device.
[0039] One of the cards may be called the main card or the SIM1 card, and the SIM1 card may also be called the data card. The other card may be called the auxiliary card or the SIM2 card, and the SIM2 card may also be called the call card. The fact that the terminal device cannot meet the user's Internet access needs by using the other card means that when the terminal device accesses the Internet by using the other card, Internet lag occurs, thereby making it impossible to meet the user's Internet access needs. The user's Internet access needs may be the user's need to open a web page and search for information.
[0040] The terminal device uses the SIM2 card to execute a voice service based on voice over long-term evolution (VOLTE). The SIM2 card operates in the LTE mode and can support wireless access technologies such as LTE and 3rd-Generation (3G) mobile communication technology. The SIM1 card operates in the SA mode and can support wireless access technologies such as 5th generation mobile communication technology (5G) and the 4th generation mobile communication technology (4G). The fact that the SIM2 card operates in the LTE mode can be interpreted as the SIM2 card supporting the LTE network. Similarly, the fact that the SIM1 card operates in the SA mode can be interpreted as the SIM1 card supporting the SA network.
[0041] For example, FIG. 1 is a schematic diagram of another application scenario according to an embodiment of the present application. As shown in FIG. 1, when a user is making a call using the SIM2 card and the user needs to access the Internet, it can be known that the terminal device cannot satisfy the user's Internet access needs by using the SIM1 card. As a result, the user can view a reminder message on the terminal device as shown in FIG. 1. The reminder message indicates that "The network is disconnected. Please try again after the network is connected."
[0042] Referring to the content shown in FIG. 1, after the call on the SIM2 card ends, the Internet access procedure of the SIM1 card activated by the terminal device returns to normal, so it can be understood that the user's Internet access needs can be satisfied. Alternatively, when the voice service of the SIM2 card ends, it can be understood that the data service of the SIM2 card returns to normal.
[0043] For example, FIG. 2 is a schematic diagram of a dual - card service according to an embodiment of the present application. As shown in FIG. 2, when the user is neither making a call nor accessing the Internet by using the terminal device, that is, when the user is not using the terminal device, neither the SIM1 card nor the SIM2 card has a service. In that case, the SIM1 card does not have a data service, and the SIM2 card does not have a voice service. When the user is making a call by using the SIM2 card of the terminal device, the SIM2 card has a voice service, and the SIM1 card does not have a data service. When the user is making a call by using the SIM2 card, if the user needs to access the Internet during the call, the terminal device can trigger the SIM1 card. However, after the terminal device triggers the SIM1 card, it is not possible to implement a data service, and as a result, it is not possible to satisfy the user's Internet access needs. After the user's call ends, the SIM2 card does not have a voice service, and the SIM1 card activated by the terminal device has a data service, whereby it is possible to satisfy the user's Internet access needs. The voice service can be interpreted as the user's call service, and the data service can be interpreted as the user's Internet service.
[0044] It can be understood that the services of the SIM1 card and the SIM2 card of the terminal device during a call are analyzed in FIG. 2, and it is also possible to analyze the status of the SIM1 card and the SIM2 card of the terminal device during a call.
[0045] For example, FIG. 3 is a schematic diagram of the dual card status according to an embodiment of the present application. As shown in FIG. 3, when the user is neither making a call nor accessing the Internet by using the terminal device, both the SIM1 card and the SIM2 card are in the idle state. When the user is making a call using the SIM2 card and does not need to access the Internet, the SIM2 card is in the connected state and the SIM1 card is in the idle state. During a call using the user's SIM2 card, the SIM2 card remains in the connected state. If the user needs to access the Internet during the call, the terminal device can trigger the SIM1 card. However, triggering the SIM1 card by the terminal device cannot cause the SIM1 card to switch from the idle state to the connected state. Therefore, the SIM1 card fails to switch from the idle state to the connected state and remains in the idle state, which cannot meet the user's Internet access needs. After the user's call ends, the SIM2 card enters the idle state, whereby the SIM1 card triggered by the terminal device can switch from the idle state to the connected state to meet the user's Internet access needs.
[0046] When the SIM2 card of the terminal device is in a connected state, the terminal device has established links to both the base station and the core network, and when data arrives at the network, the data can be directly transmitted to the terminal device. The terminal device can also transmit data to the base station and the core network, whereby the SIM2 card of the terminal device can perform voice services. When the SIM2 card of the terminal device is in an idle state, there is no link between the terminal device and the base station and the core network, and when data needs to be transmitted, a new link needs to be established between the terminal device and the base station and the core network. The terminal device can receive data but does not transmit data to the base station or the core network. In this case, the SIM2 card of the terminal device does not have a voice service. Regarding the description of the case where the SIM1 card is in an idle or connected state, reference can be made to the corresponding description of the SIM2 card. The details will not be repeated here again.
[0047] Based on the foregoing content, the reason why it is not possible to perform Internet access by using the SIM1 card when the SIM2 card of the terminal device is making a call is that, in the embodiments of the present application, it is further analyzed that when the user is making a call using the SIM2 card of the terminal device, the SIM2 card switches from the idle state to the connected state. In this case, the terminal device needs to perform a network discovery procedure for the SIM2 card. The network discovery procedure is used by the terminal device to find the connectable frequencies for the SIM2 card. Then the terminal device can perform a radio frequency path loading procedure for the SIM2 card based on that frequency, whereby the terminal device can connect to that frequency by using the loaded radio frequency path. In this way, the terminal device can meet the user's call needs by using the SIM2 card.
[0048] When the user needs to access the Internet during a call, after triggering the SIM1 card, the terminal device needs to switch the SIM1 card from the idle state to the connected state. When the SIM1 card switches from the idle state to the connected state, the terminal device needs to perform a network discovery procedure for the SIM1 card, which causes the terminal device to perform a radio frequency path loading procedure for the SIM1 card. The radio frequency path loading procedures for the SIM1 card and the SIM2 card of the terminal device are synchronized, or in other words, the SIM1 card and the SIM2 card of the terminal device use a group form in the radio frequency path loading procedure. Therefore, even if the radio frequency path loading procedures of the SIM1 card and the SIM2 card do not conflict with each other, the terminal device performs the radio frequency path loading procedure for the SIM2 card again, and then the call service of the SIM2 card is temporarily interrupted due to the radio frequency path loading procedure of the SIM2 card.
[0049] It can be understood that the network discovery procedure exists during the switching of the SIM1 card from the idle state to the connected state. The network discovery procedure can be an intra-frequency network discovery or an inter-frequency network discovery. In the case of inter-frequency network discovery, the terminal device needs to reload the radio frequency path for the SIM1 card, and at the same time reload the radio frequency path for the auxiliary card to temporarily interrupt the call of the SIM2 card. The specific content of the intra-frequency network discovery and the inter-frequency network discovery is described in the embodiments described below. Details are not described here.
[0050] Some chips have limited functions, and a terminal device using such chips does not support Internet access using the SIM1 card during a call using the SIM2 card. In other words, if the user needs to access the Internet during a call, the terminal device does not perform the network discovery procedure for the SIM1 card, and thereby the terminal device does not perform the path loading procedure for the SIM1 card. In this case, the terminal device also does not perform the radio frequency path loading procedure for the SIM2 card, and thereby the call service of the SIM2 card of the terminal device is not interrupted. As a result, when the user is making a call using the SIM2 card of the terminal device, the user cannot access the Internet using the SIM1 card of the terminal device.
[0051] For some platforms, due to limitations in the software architecture of these platforms, these platforms cannot enable the network discovery procedure for the SIM1 card to prevent interruption of the voice service of the SIM2 card, and it is impossible for the SIM1 card to switch from the idle state to the connected state to perform data services. The connected state can also be referred to as the service state.
[0052] It can be understood that when the terminal device is located in the same cell before and after completing the voice service by using the SIM2 card of the terminal device, the connectable frequency for the SIM2 card of the terminal device remains unchanged. In this way, the terminal device does not need to execute the network discovery procedure or the radio frequency path loading procedure for the SIM2 card. When the terminal device is located in different cells before and after completing the voice service by using the SIM2 card of the terminal device, the terminal device needs to execute the network discovery procedure and the radio frequency path loading procedure for the SIM2 card.
[0053] In connection with the reasons described above, for example, FIG. 4 is a schematic diagram of path loading according to an embodiment of the present application. As shown in FIG. 4, when the SIM1 card enters the connected state from the idle state at the first time point, since the SIM2 card is in the connected state, the terminal device does not execute the network discovery procedure for the SIM1 card, and thereby the terminal device does not execute the path loading procedure for the SIM1 card. As shown in FIG. 4, the terminal device does not execute the receive (RX) path loading procedure for the SIM1 card and causes the SIM1 card to fail to switch from the idle state to the connected state. When the SIM1 card switches from the idle state to the connected state at the second time point, since the SIM2 card is in the idle state, the terminal device can execute the network discovery procedure for the SIM1 card, and thereby the terminal device executes the path loading procedure for the SIM1 card. As shown in FIG. 4, the terminal device executes the receive path and transmit (TX) path loading procedures for the SIM1 card, whereby the SIM1 card successfully switches from the idle state to the connected state, and the terminal device satisfies the user's Internet access needs using the SIM1 card. The terminal device also executes the radio frequency path loading procedure for the SIM2 card at the second time point. Specifically, as shown in FIG. 4, the terminal device executes the receive path loading procedure for the SIM2 card. However, the SIM2 card is in the idle state, that is, the call of the SIM2 card has ended, and therefore, the radio frequency path loading procedure executed by the terminal device for the SIM2 card does not affect the call quality.
[0054] In consideration of this, an embodiment of the present application provides a method for service processing in a dual - card terminal device. The terminal device includes a first card and a second card. The first card supports an SA network, and the second card supports an LTE network. When the terminal device is using the second card to execute a voice service and the terminal device receives a data service request that requires the first card for implementation, the terminal device can search for a cell corresponding to a first frequency. The cell corresponding to the first frequency is a cell accessed by the first card before the first card enters an idle state. Therefore, when the terminal device finds a cell corresponding to the first frequency and loads a radio frequency path for the first card to the cell corresponding to the first frequency, the terminal device does not execute a radio frequency path loading procedure for the second card, whereby the voice service of the terminal device is not interrupted. In this way, the terminal device can implement both the data service of the first card and the voice service of the second card, enabling more usage scenarios for the terminal device.
[0055] It can be understood that the method in this embodiment of the present application is a method that enables the simultaneous implementation of both a data service and a voice service. By using this method, the constraints of network discovery are broken through, whereby the user can make a call using one card and access data using the other card, or in other words, the user can make a call using one card and access the Internet using the other card. In addition, by using the method in this embodiment of the present application, the impact of network discovery on calls can also be minimized.
[0056] For example, FIG. 5 is a schematic flowchart of a method for service processing in a dual - card terminal device according to an embodiment of the present application. In this embodiment of the present application, the first subscriber card is the aforementioned SIM1 card or the first card, and the second subscriber card is the aforementioned SIM2 card or the second card. As shown in FIG. 5, this method can include the following steps.
[0057] S501: The terminal device triggers a data service request for the first subscriber card.
[0058] In this embodiment of the present application, the first subscriber card is in an idle state. When the terminal device detects the user's Internet access needs, for example, when the user opens an application (APP) of the terminal device, and when the terminal device permits the APP to access the Internet, the terminal device can trigger a data service request for the first subscriber card by identifying the APP information, and further cause the first subscriber card to be used to meet the user's Internet access needs. The APP information can include the name of the APP, etc., and the data service request can be interpreted as the user's Internet access request.
[0059] S502: The terminal device determines whether the second subscriber card is executing a voice service.
[0060] In this embodiment of the present application, if the terminal device determines that the second subscriber card is executing a voice service, the terminal device executes S504. If the terminal device determines that the second subscriber card is not executing a voice service, the terminal device executes S503.
[0061] S503: The terminal device implements the data service of the first subscriber card.
[0062] In this embodiment of the present application, since the terminal device has determined that the second subscriber card is not performing a voice service, the terminal device can meet the user's Internet access needs by using the first subscriber card, and thereby, after triggering a data service request for the first subscriber card, the terminal device can implement the data service of the first subscriber card.
[0063] When the terminal device determines that the second subscriber card is performing a voice service and the terminal device needs to access the Internet by using the first subscriber card, the terminal device can execute an in-band cell priority discovery procedure for the first subscriber card, whereby the terminal device does not need to reload the radio frequency path for the second subscriber card, and the voice service of the second subscriber card is not interrupted. The terminal device executes inter-frequency network discovery only in the case of disconnection of in-band cells. In addition, when executing inter-frequency network discovery, the terminal device can preferentially search for a dual-receive dual-card combination to reduce the interruption of calls on the second subscriber card. In that case, it takes approximately 1 ms for the terminal device to load the radio frequency path for the second subscriber card after executing inter-frequency network discovery. For cases other than the dual-receive dual-card combination, it takes approximately 10 ms for the terminal device to load the radio frequency path for the second subscriber card after executing inter-frequency network discovery. Specific details are described in the steps below. Details are not described here.
[0064] S504: Determine whether the terminal device has found a cell corresponding to the first frequency.
[0065] In this embodiment of the present application, the cell corresponding to the first frequency is the cell accessed by the first subscriber card before the first subscriber card enters the idle state. Therefore, if the terminal device cannot find the cell corresponding to the first frequency, the terminal device executes S506. If the terminal device finds the cell corresponding to the first frequency, the terminal device executes S505. The fact that the terminal device has not found the cell corresponding to the first frequency can be interpreted as an in-frequency handover.
[0066] The process of the terminal device searching for the cell corresponding to the first frequency can be interpreted as the in-frequency network discovery procedure of the terminal device. For example, FIG. 6 is a schematic diagram of in-frequency network discovery according to an embodiment of the present application. As shown in FIG. 6, when the first subscriber card switches from the idle state to the connected state at the third time point, after the terminal device finds the cell corresponding to the first frequency, the terminal device performs the in-frequency network discovery procedure for the first subscriber card. Therefore, the terminal device can load the radio frequency path for the first subscriber card to the cell corresponding to the first frequency. As shown in FIG. 6, the terminal device performs the receive path and transmit path loading procedures for the first subscriber card. The process of the terminal device loading the radio frequency path for the first subscriber card to the cell corresponding to the first frequency does not affect the voice service of the second subscriber card. Therefore, the terminal device does not need to reload the radio frequency path for the second subscriber card.
[0067] S505: The terminal device loads a radio frequency path for the first subscriber card into the cell corresponding to the first frequency in order to implement the data service of the first subscriber card.
[0068] In this embodiment of the present application, the cell corresponding to the first frequency can be interpreted as the in-frequency cell described above. The terminal device loading the radio frequency path for the first subscriber card into the cell corresponding to the first frequency can be interpreted as the terminal device adjusting the parameters of the components in the radio frequency path for the first subscriber card based on the first frequency. For example, the terminal device adjusts parameters such as amplifiers and filters, and thereby, after the terminal device is connected to the first frequency by using the radio frequency path with adjusted parameters, the terminal device can implement the data service of the first subscriber card to meet the user's Internet access needs. When the terminal device is implementing the data service of the first subscriber card, the voice service of the second subscriber card is not affected.
[0069] S506: The terminal device determines a second frequency to which it is connected in order to execute the voice service of the second subscriber card.
[0070] In this embodiment of the present application, the phone module in the terminal device provides functions such as voice, messaging, SIM card management, etc. Therefore, when providing the voice service of the second subscriber card by using the phone module, the terminal device can determine the second frequency to which it is connected in order to execute the voice service of the second subscriber card by using the phone module.
[0071] S507: The terminal device determines a third frequency that matches the second frequency in the first frequency combination.
[0072] In this embodiment of the present application, the first frequency combination can be interpreted as a frequency combination for dual receive-dual SIM dual standby (DR-DSDS). The first frequency combination includes the frequency connected to execute the data service of the first subscriber card and the frequency connected to execute the voice service of the second subscriber card. For example, when the first frequency combination includes [a, b], if the second frequency is b, the terminal device determines that the third frequency is a.
[0073] It can be understood that the specific content of the first frequency combination can be set based on the actual application scenario and is not limited in this embodiment of the present application.
[0074] S508: Determine whether the terminal device finds a cell corresponding to the third frequency.
[0075] In this embodiment of the present application, when the terminal device finds a cell corresponding to the third frequency, the terminal device executes S509. When the terminal device cannot find a cell corresponding to the third frequency, the terminal device executes S510.
[0076] The fact that the terminal device finds a cell corresponding to the third frequency can be interpreted as that the first subscriber card and the second subscriber card are a dual receive-dual card combination. The fact that the terminal device does not find a cell corresponding to the third frequency can be interpreted as that the first subscriber card and the second subscriber card are not a dual receive-dual card combination.
[0077] S509: The terminal device loads the radio frequency path for the first subscriber card into the cell corresponding to the third frequency in order to implement the data service of the first subscriber card.
[0078] In this embodiment of the present application, when the terminal device loads the radio frequency path for the first subscriber card into the cell corresponding to the third frequency, the terminal device also reloads the radio frequency path for the second subscriber card. However, the time for reloading the radio frequency path for the second subscriber card is relatively short. For example, it takes 1 ms to load the radio frequency path for the second subscriber card. Therefore, even if the user's ongoing call is interrupted, the user is not likely to perceive the interruption of the ongoing call, and the call of the second subscriber card can be resumed immediately. In addition, this also enables the user to access the Internet by using the first subscriber card.
[0079] Regarding the specific content about the terminal device loading the radio frequency path for the first subscriber card into the cell corresponding to the third frequency to implement the data service of the first subscriber card, reference can be made to the corresponding description in S505. Details will not be repeated here again.
[0080] The process of the terminal device searching for a cell corresponding to the third frequency can be interpreted as an inter-frequency network discovery procedure of the terminal device. For example, FIG. 7 is a schematic diagram of inter-frequency network discovery according to an embodiment of the present application. As shown in FIG. 7, when the first subscriber card switches from the idle state to the connected state at the fourth time point, the terminal device determines the third frequency that matches the second frequency from the first frequency combination, so the terminal device can search for the cell corresponding to the third frequency. After finding the cell corresponding to the third frequency, the terminal device can load the radio frequency path for the first subscriber card into the cell corresponding to the third frequency. As shown in FIG. 7, the terminal device performs the receiving path and transmitting path loading procedures for the first subscriber card. In addition, the terminal device also needs to reload the radio frequency path for the second subscriber card. As shown in FIG. 7, the terminal device performs the receiving path and transmitting path loading procedures for the second subscriber card. Even if the terminal device reloads the radio frequency path for the second subscriber card, such loading requires a relatively short time for the terminal device to perform. In addition, since the terminal device does not need to perform the network discovery procedure for the second subscriber card, it is possible that less time is required to resume the voice service of the second subscriber card.
[0081] S510: The terminal device determines whether a cell corresponding to the connectable frequency has been found.
[0082] In this embodiment of the present application, when it is determined that no cell corresponding to the connectable frequency is found, the terminal device executes S501 to S508, whereby the terminal device repeats the above process until the terminal device can perform the data service for the first subscriber card. When the terminal device determines that a cell corresponding to the connectable frequency is found, the terminal device executes S511.
[0083] When the terminal device searches for a cell corresponding to the connectable frequency N times, if the terminal device finds a cell corresponding to the available frequency within N times, it can be understood that the terminal device loads the radio frequency path for the first subscriber card to the cell corresponding to the connectable frequency. If it is impossible for the terminal device to find a cell corresponding to the connectable frequency within N times, the terminal device does not perform the data service using the first card. N is a positive integer greater than or equal to 1.
[0084] S511: The terminal device loads the radio frequency path for the first subscriber card to the cell corresponding to the connectable frequency in order to perform the data service of the first subscriber card.
[0085] In this embodiment of the present application, since the terminal device cannot find a cell corresponding to the third frequency, the terminal device needs to continue the network discovery procedure. After finding a cell corresponding to a connectable frequency, the terminal device loads a radio frequency path for the first subscriber card into the cell corresponding to the connectable frequency. In addition, the terminal device also needs to execute a network discovery procedure for the second subscriber card. After finding a cell corresponding to a frequency, the terminal device can reload a radio frequency path for the second subscriber card into the found cell corresponding to the frequency. It takes a relatively short time, for example, 10 ms, for the terminal device to perform the network discovery procedure and load the radio frequency path for the second subscriber card. Therefore, even if the user's ongoing call is interrupted, the user cannot perceive the interruption of the ongoing call, and the call of the second subscriber card can be resumed immediately. Therefore, the first subscriber card of the terminal device can satisfy the user's Internet access needs, and the second subscriber card of the terminal device can also satisfy the user's call needs.
[0086] The process of a terminal device searching for cells corresponding to connectable frequencies can be interpreted as an inter-frequency network discovery procedure of the terminal device. For example, FIG. 8 is another schematic diagram of inter-frequency network discovery according to an embodiment of the present application. As shown in FIG. 8, when the first subscriber card switches from the idle state to the connected state at the fifth time point, the terminal device has found a cell corresponding to the connectable frequency, and thus it is possible to load a radio frequency path for the first subscriber card into the cell corresponding to the connectable frequency. As shown in FIG. 8, the terminal device performs a receive path and transmit path loading procedure for the first subscriber card. In addition, the terminal device also needs to perform an inter-frequency network discovery procedure and a radio frequency path loading procedure for the second subscriber card. As shown in FIG. 8, the terminal device performs a receive path and transmit path loading procedure for the second subscriber card.
[0087] Regarding the specific content of the terminal device loading a radio frequency path for the first subscriber card into the cell corresponding to the connectable frequency to implement the data service of the first subscriber card, reference can be made to the corresponding description of S505. Details will not be repeated here again.
[0088] In connection with the foregoing, generally, if the terminal device does not receive real-time transport protocol (RTP) voice packets within 20 s, the terminal device releases the call, whereby it should be noted that the voice service is not executed for the second subscriber card of the terminal device. Since 1 ms < 20 s and 10 ms < 20 s, according to the method shown in FIG. 6, the voice packets of the second subscriber card of the terminal device are not released. Therefore, the terminal device satisfies the user's Internet access needs by using the first subscriber card and satisfies the user's call needs by using the second subscriber card. The medium access control (MAC) layer is responsible for scheduling voice packets every 20 ms and transmitting them to the terminal device. Since the maximum number of retransmissions does not reach within 1 ms, the voice packets will not be lost. Instead, the transmission of the voice packets is delayed. In this case, the delay is too short to be perceived by the user. In addition, there is no dual-card scenario in the MOS test. Therefore, the method in the embodiments of the present application does not affect the MOS test.
[0089] In connection with the foregoing, for some platforms, due to the limitations of the software architecture of these platforms, it can be understood that these platforms cannot enable the network discovery procedure for the SIM1 card to prevent the interruption of the voice service of the SIM2 card, and it is impossible for the SIM1 card to enter the connected state from the idle state and implement the data service. By using the method provided in the embodiments of the present application, some platforms can be optimized, whereby the data service of the SIM1 card can be implemented while the voice service of the SIM2 card is being executed on these platforms.
[0090] In the above, a method for service processing in a dual - card terminal device according to an embodiment of the present application has been described. Hereinafter, an apparatus for executing the aforementioned method for service processing in a dual - card terminal device according to an embodiment of the present application will be described. Those skilled in the art can understand that this method and this apparatus can be combined and referred to each other, and the apparatus for service processing in a dual - card terminal device according to an embodiment of the present application can execute the steps of the method for service processing in a dual - card terminal device.
[0091] For example, FIG. 9 is a schematic structural diagram of an apparatus for service processing in a dual - card terminal device according to an embodiment of the present application. As shown in FIG. 9, the apparatus 90 can be a terminal device, or a chip or a system - on - chip of the terminal device. The apparatus 90 includes a communication unit 901 and a processing unit 902. The communication unit 901 is configured to execute the step of transmitting or receiving information for the apparatus for service processing in a dual - card terminal device, and the processing unit 902 is configured to execute the step of processing information for the apparatus for service processing in a dual - card terminal device.
[0092] For example, when the communication unit 901 receives a data service request that requires the first card for implementation while the terminal device is using the second card to execute a voice service, the first card is in an idle state. The processing unit 902 is configured to search for a cell corresponding to a first frequency in response to the data service request, and the cell corresponding to the first frequency is a cell accessed by the first card before the first card enters the idle state. When the terminal device finds the cell corresponding to the first frequency, the processing unit 902 is further configured to load a radio frequency path for the first card to the cell corresponding to the first frequency and implement the data service of the first card.
[0093] In a possible implementation, when it is impossible for the terminal device to find the cell corresponding to the first frequency, the processing unit 902 determines a second frequency to which the second card is connected to execute the voice service, and determines a third frequency that matches the second frequency in the first frequency combination, where the first frequency combination includes the frequency to which the first card is connected to execute the data service and the frequency to which the second card is connected to execute the voice service. When the terminal device finds the cell corresponding to the third frequency, the processing unit 902 is further configured to load a radio frequency path for the first card to the cell corresponding to the third frequency and implement the data service of the first card.
[0094] In a possible implementation, when the terminal device is loading a radio frequency path for the first card to the cell corresponding to the third frequency, the processing unit 902 is further configured to load a radio frequency path for the second card to the cell corresponding to the second frequency.
[0095] In a possible implementation, it takes 1 ms for the terminal device to load a radio frequency path for the second card to the cell corresponding to the second frequency.
[0096] In a possible embodiment, the radio frequency path for the second card includes a receiving path and a transmitting path for the second card.
[0097] In a possible embodiment, when the terminal device is unable to find a cell corresponding to a third frequency, the processing unit 902 is further configured to search for a cell corresponding to a connectable frequency, and when the terminal device finds a cell corresponding to a connectable frequency, load the radio frequency path for the first card into the cell corresponding to the connectable frequency and implement the data service of the first card.
[0098] In a possible embodiment, when the terminal device is loading the radio frequency path for the first card into a cell corresponding to a connectable frequency, the processing unit 902 implements a network discovery procedure for the second card, and after the terminal device finds a cell corresponding to the frequency in the network discovery procedure, loads the radio frequency path for the second card into the cell corresponding to the found frequency.
[0099] In a possible embodiment, it takes 10 ms for the terminal device to implement a network discovery procedure and load the radio frequency path for the second card.
[0100] In a possible embodiment, the radio frequency path for the first card includes a receiving path and a transmitting path for the first card.
[0101] In a possible embodiment, the apparatus for service processing in a dual-card terminal device may further include a storage unit 903. The processing unit 902, the communication unit 901, and the storage unit 903 may be connected through a communication bus.
[0102] The memory unit 903 can include one or more memories, and the memories can be components for storing programs or data in one or more devices or circuits.
[0103] The memory unit 903 can be provided separately and connected to the processing unit 902 of the device for service processing in the dual-card terminal device through a communication bus, or can be integrated with the processing unit 902.
[0104] The device for service processing in the dual-card terminal device can be used for the service processing device, circuit, hardware assembly, or chip of the dual-card terminal device.
[0105] For example, FIG. 10 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 100 includes one or two or more (including two) processors 1010 and a communication interface 1030.
[0106] In some embodiments, the memory 1040 stores elements such as executable modules or data structures, or subsets or extended sets thereof.
[0107] In this embodiment of the present application, the memory 1040 can include a read-only memory and a random access memory, and provides instructions and data to the processor 1010. A part of the memory 1040 can further include a non-volatile random access memory (NVRAM).
[0108] In this embodiment of the present application, the memory 1040, the communication interface 1030, and the memory 1040 are coupled by using a bus system 1020. The bus system 1020 can further include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. For ease of description, in FIG. 10, various buses are marked as the bus system 1020.
[0109] The methods described in the foregoing embodiments of the present application can be applied to or implemented by the processor 1010. The processor 1010 can be an integrated circuit chip having a signal processing function. During implementation, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 1010 or instructions in the form of software. The foregoing processor 1010 can be a general-purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or another programmable logic device, discrete gates, transistor logic devices, or discrete hardware components. The processor 1010 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention.
[0110] The steps of the method related to the embodiments of the present application can be directly implemented by a hardware decoding processor or can be implemented by a combination of hardware modules and software modules in the decoding processor. The software module can be arranged in a mature storage medium in the art, such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read-only memory (EEPROM). The storage medium is arranged in the memory 1040, and the processor 1010 fetches the information in the memory 1040 and completes the steps of the foregoing method in combination with its hardware.
[0111] For example, FIG. 11 is a schematic diagram of the hardware structure of a terminal device according to an embodiment of the present application. This terminal device can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, etc.
[0112] It can be understood that the structure shown in this embodiment of the present invention does not constitute a specific limitation on the terminal device. In some other embodiments of the present application, the terminal device may include more or fewer components than those shown in the figures, or combine some of the components, divide some of the components, or arrange the components differently. The components shown in the figures can be implemented in hardware, software, or a combination of software and hardware.
[0113] Processor 110 can include one or more processing units. For example, processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), and the like. The separate processing units can be separate devices or can be integrated into one or more processors.
[0114] Processor 110 can further include memory for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory can store instructions or data that have just been used or are repeatedly used by processor 110. When processor 110 needs to reuse those instructions or data, processor 110 can directly retrieve them from the memory. This avoids repeated accesses, reduces the latency of processor 110, and thereby improves system efficiency.
[0115] In some embodiments, processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, a universal serial bus (USB) interface, etc.
[0116] The wireless communication function of the terminal device can be implemented by using antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, baseband processor, etc.
[0117] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna of the terminal device can be configured to cover one or more communication bands. Various antennas can be further used to increase antenna utilization. For example, Antenna 1 can be used as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0118] The mobile communication module 150 can provide a wireless communication solution including 2G / 3G / 4G / 5G, etc., which will be applied to the terminal device. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by using Antenna 1, perform processing such as filtering and amplification on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can further amplify the signal modulated by the modem processor and transmit the signal as an electromagnetic wave by using Antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be provided in the same device.
[0119] The wireless communication module 160 can provide wireless communication solutions such as a wireless local area network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR) that will be applied on the terminal device. The wireless communication module 160 can be one or more components that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves by using the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 can further receive the signals to be transmitted from the processor 110, perform frequency modulation and amplification on the signals, and transmit the signals as electromagnetic waves by using the antenna 2.
[0120] In this embodiment of the present application, the terminal device can implement the data service of the first card and / or the voice service of the second card by using the mobile communication module 150 or the wireless communication module 160.
[0121] In some embodiments, antenna 1 of the terminal device is coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, whereby the terminal device can communicate with the network and other devices by using wireless communication technologies. The wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technology, etc. GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), and quasi-zenith satellite system (QZSS), and / or satellite based augmentation system (SBAS).
[0122] The terminal device implements the display function by using a GPU, a display 194, an application processor, etc. The GPU is an image processing microprocessor and is connected to the display 194 and the application processor. The GPU is configured to execute mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions for generating or changing display information.
[0123] The display 194 is configured to display images, videos, etc. The display 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the terminal device can include one or N displays 194, where N is a positive integer greater than 1.
[0124] The terminal device can implement the shooting function by using an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, etc.
[0125] The ISP is configured to process the data fed back by the camera 193. For example, during shooting, the shutter opens to allow light to be transmitted through the lens to the photosensitive element of the camera. The optical signal is converted into an electrical signal. The photosensitive element of the camera transfers the electrical signal to the ISP for processing and converts the electrical signal into an image visible to the naked eye. The ISP can further use algorithms to optimize the noise, brightness, and skin color of the image. The ISP can further optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be arranged in the camera 193.
[0126] The camera 193 is configured to capture still images or videos. By using a lens, an optical image is generated for the object and projected onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal and then transfers the electrical signal to the ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB or YUV. In some embodiments, the terminal device can include one or N cameras 193, where N is a positive integer greater than 1.
[0127] The digital signal processor is configured to process digital signals including not only digital image signals but also other digital signals. For example, when the terminal device selects a frequency, the digital signal processor is configured to perform a Fourier transform or the like on the energy of that frequency.
[0128] The video codec is configured to compress or decompress digital video. The terminal device can support one or more types of video codecs, whereby the terminal device can play or record videos in multiple encoding formats such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0129] The external memory interface 120 can be configured to connect an external memory card such as a Micro SD card to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 by using the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.
[0130] The internal memory 121 can be configured to store computer-executable program code, in which case the executable program code includes instructions. The processor 110 executes the instructions stored in the internal memory 121 to execute various functional applications and data processing of the terminal device. The internal memory 121 can include a storage program area and a storage data area. The storage program area can store an operating system, applications required by at least one function (such as a sound playback function and an image playback function), etc. The data storage area can store data created during the use of the terminal device (such as audio data and contacts). In addition, the internal memory 121 can include a high-speed random access memory, or can include at least one non-volatile memory such as a magnetic disk storage device, a flash memory device, and a Universal Flash Storage (UFS).
[0131] The terminal device can perform audio functions such as playing music or recording by using an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, an application processor, etc.
[0132] The audio module 170 is configured to convert digital audio information into an analog audio signal for output, and is also configured to convert an analog audio input into a digital audio signal. The audio module 170 can further be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0133] The speaker 170A, also called a "loudspeaker", is configured to convert audio from an electrical signal into a sound signal. By using the speaker 170A, the terminal device can be used to listen to music or answer a call.
[0134] The receiver 170B, also called an "earpiece", is configured to convert an audio electrical signal into a sound signal. When the terminal device is used to answer a call or play a voice message, the user can listen to the voice by bringing the receiver 170B close to the ear.
[0135] The microphone 170C, also called a "mic", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can input a sound signal into the microphone 170C by approaching it and speaking. The terminal device can be equipped with at least one microphone 170C. In some other embodiments, the terminal device can be equipped with two microphones 170C to reduce noise in addition to collecting sound signals. In some other embodiments, the terminal device can alternatively be equipped with three, four, or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
[0136] The earphone jack 170D is configured to connect a wired headset. The earphone jack 170D can be a USB interface 130, or can be a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
[0137] The sensor module 180 can include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, an optical proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and so on.
[0138] It can be understood that the terminal device can further include a charging management module, a power management module, a battery, buttons, indicators, one or more SIM card interfaces, etc. This is not limited in the embodiments of the present application.
[0139] In the foregoing embodiments, the instructions stored in the memory and executed by the processor can be implemented in the form of a computer program product. The computer program product can be pre-written in the memory or can be downloaded in the form of software and installed in the memory.
[0140] The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function according to the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or can be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted in a wired (e.g., coaxial cable, optical fiber, or digital subscriber line (DSL)) or wireless (e.g., infrared, radio wave, or microwave) manner from a website, computer, server, or data center to another website, computer, server, or data center. The computer-readable storage medium can be any usable medium accessible by a computer, such as a server or data center that integrates one or more usable media, or a data storage device. For example, the usable media can include magnetic media (e.g., floppy (registered trademark) disk, hard disk, or magnetic tape), optical media (e.g., digital versatile disc (DVD)), semiconductor media (e.g., solid state disk (SSD)), and the like.
[0141] Embodiments of the present application further provide a computer-readable storage medium. The methods described in the foregoing embodiments can be implemented in whole or in part by using software, hardware, firmware, or any combination thereof. This computer-readable medium can include a computer storage medium and a communication medium, and can further include any medium that can enable a computer program to be transmitted from one location to another location. The storage medium can be any target medium accessible by a computer.
[0142] As a possible design, this computer-readable medium can include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other disk storage. This computer-readable medium can include magnetic disk storage or other magnetic disk storage devices. Any connection line can also be appropriately referred to as a computer-readable medium. For example, when software is transmitted from a website, server, or another remote source by using coaxial cable, optical cable, twisted pair, DSL, or wireless technology (such as infrared, radio wave, or microwave), the coaxial cable, optical cable, twisted pair, DSL, or wireless technology such as infrared, radio wave, or microwave is included in the definition of the medium. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy (registered trademark) disc, and Blu-ray disc. In this case, disk usually magnetically reproduces data, while disc optically reproduces data using a laser.
[0143] Combinations of the foregoing content should also be included within the scope of protection of the computer-readable medium. The foregoing content is merely a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any variations or alternative forms that can be easily conceived by those skilled in the art within the technical scope disclosed by the present invention shall fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be in accordance with the scope of protection of the claims.
Claims
1. A method for service processing in a dual - card terminal device, wherein the terminal device comprises a first card and a second card, the first card supports a stand - alone SA network, the second card supports a long - term evolution LTE network, and the method comprises: When the terminal device is using the second card to execute a voice service, receiving, by the terminal device, a data service request that requires the first card for implementation, wherein the first card is in an idle state; In response to the data service request, searching, by the terminal device, for a cell corresponding to a first frequency, wherein the cell corresponding to the first frequency is a cell accessed by the first card before the first card enters the idle state; When the terminal device finds the cell corresponding to the first frequency, loading, by the terminal device, a radio frequency path for the first card to the cell corresponding to the first frequency and implementing the data service of the first card; A method comprising the above steps.
2. When the terminal device is unable to find the cell corresponding to the first frequency, determining, by the terminal device, a second frequency to which the second card is connected to execute the voice service; Determining, by the terminal device, a third frequency that matches the second frequency in a first frequency combination, wherein the first frequency combination includes a frequency to which the first card is connected to execute the data service and a frequency to which the second card is connected to execute the voice service; When the terminal device finds the cell corresponding to the third frequency, loading, by the terminal device, a radio frequency path for the first card to the cell corresponding to the third frequency and implementing the data service of the first card; The method according to claim 1, further comprising the above steps.
3. When the terminal device loads the radio frequency path for the first card into the cell corresponding to the third frequency, a step of the terminal device loading the radio frequency path for the second card into the cell corresponding to the second frequency The method according to claim 2, further comprising.
4. The method according to claim 3, wherein it takes 1 ms for the terminal device to load the radio frequency path for the second card into the cell corresponding to the second frequency.
5. The method according to claim 3 or 4, wherein the radio frequency path for the second card includes a reception path and a transmission path for the second card.
6. When the terminal device fails to find the cell corresponding to the third frequency, a step of the terminal device searching for a cell corresponding to a connectable frequency; When the terminal device finds the cell corresponding to the connectable frequency, a step of the terminal device loading the radio frequency path for the first card into the cell corresponding to the connectable frequency and implementing the data service of the first card The method according to claim 5, further comprising.
7. When the terminal device is loading the radio frequency path for the first card into the cell corresponding to the connectable frequency, a step of the terminal device implementing a network discovery procedure for the second card; After the terminal device finds a cell corresponding to a frequency in the network discovery procedure, a step of the terminal device loading the radio frequency path for the second card into the found cell corresponding to the frequency The method according to claim 6, further comprising.
8. The method according to claim 7, wherein it takes 10 ms for the terminal device to implement the network discovery procedure and load the radio frequency path for the second card.
9. The method according to claim 8, wherein the radio frequency path for the first card includes a reception path and a transmission path for the first card.
10. An apparatus for service processing in a dual - card terminal device, wherein the terminal device comprises a first card and a second card, the first card supports a stand - alone SA network, the second card supports a long - term evolution LTE network, and the apparatus comprises a communication unit and a processing unit, the communication unit is configured to receive a data service request that requires the first card for implementation when the terminal device is using the second card to execute a voice service, and the first card is in an idle state, the processing unit is configured to search for a cell corresponding to a first frequency in response to the data service request, and the cell corresponding to the first frequency is a cell accessed by the first card before the first card enters the idle state, the processing unit is further configured to load a radio frequency path for the first card to the cell corresponding to the first frequency when the terminal device finds the cell corresponding to the first frequency, and implement the data service of the first card. An apparatus.
11. The processing unit, when the terminal device fails to find the cell corresponding to the first frequency, determine a second frequency to which the second card is connected to execute the voice service, determine a third frequency that matches the second frequency in a first frequency combination, wherein the first frequency combination includes a frequency to which the first card is connected to execute a data service and a frequency to which the second card is connected to execute a voice service, when the terminal device finds the cell corresponding to the third frequency, load a radio frequency path for the first card to the cell corresponding to the third frequency and implement the data service of the first card The apparatus according to claim 10, further configured to perform.
12. The processing unit, When the terminal device loads the radio frequency path for the first card into the cell corresponding to the third frequency, the terminal device loads the radio frequency path for the second card into the cell corresponding to the second frequency. The apparatus according to claim 11, further configured as described above. **Claim 13** The apparatus according to claim 12, wherein it takes 1 ms for the terminal device to load the radio frequency path for the second card into the cell corresponding to the second frequency. **Claim 14** The apparatus according to claim 12 or 13, wherein the radio frequency path for the second card includes a reception path and a transmission path for the second card. **Claim 15** The processing unit when the terminal device fails to find the cell corresponding to the third frequency, searches for a cell corresponding to a connectable frequency; when the terminal device finds the cell corresponding to the connectable frequency, loads the radio frequency path for the first card into the cell corresponding to the connectable frequency and implements the data service of the first card. The apparatus according to claim 14, further configured to perform the above operations. **Claim 16** The processing unit when the terminal device loads the radio frequency path for the first card into the cell corresponding to the connectable frequency, implements the network discovery procedure for the second card; after the terminal device finds a cell corresponding to a frequency in the network discovery procedure, loads the radio frequency path for the second card into the found cell corresponding to the frequency. The apparatus according to claim 15, further configured to perform the above operations. **Claim 17** The apparatus according to claim 16, wherein it takes 10 ms for the terminal device to implement the network discovery procedure and load the radio frequency path for the second card. **Claim 18** The apparatus according to claim 17, wherein the radio frequency path for the first card includes a reception path and a transmission path for the first card. **Claim 19** An apparatus for service processing in a dual-card terminal device, comprising a processor and a memory, the memory being configured to store code instructions, the processor being configured to execute the code instructions to implement the method according to any one of claims 1 to 9.
20. A computer-readable storage medium storing instructions that, when executed by a computer, implement the method according to any one of claims 1 to 9.
21. A computer program product comprising a computer program that, when executed by a computer, implements the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Intelligent Skip Processing for Interference Frequency Measurement in UE Measurement Gap
JP2017539166A
COMMUNICATION METHOD AND TERMINAL FOR IMPLEMENTING DUAL SIM DUAL ACTIVE
JP2020512762A
Enhancing data performance in multi-subscriber identity module (SIM) wireless communication devices
US20180249349A1
Communication method and terminal device
WO2021013130A1