Business response method, device, terminal and storage medium

By reasonably release and distribution of hardware resources in the end of the dual SIM card, ensure that the first SIM card is connected to the network device, solve the problem of the dual SIM card business at the same time, and achieve stability and efficiency improvement.

CN114650526BActive Publication Date: 2025-01-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011510030.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-18
Publication Date
2025-01-28
Estimated Expiration
2040-12-18

AI Technical Summary

Technical Problem

The prior art is difficult to realize the simultaneous response of dual SIM card services without increasing hardware resources, resulting in the problem of interruption of the first SIM card services.

Method used

By reasonably release the target hardware resource occupied by the first SIM card, and assigned to the second SIM card to ensure that the first SIM card and at least one network device are maintained at least one network connection is in a channel state, so as to respond to the second SIM card through the target hardware resource response to the second SIM card Business, continue to respond to the business of the first SIM card through the remaining hardware resources.

Benefits of technology

Under the limited hardware resources, the dual SIM card business at the same time responds, avoiding the problem of interruption of the first SIM card business due to response to the second SIM card business, and improving the stability of the multi -SIM card terminal business response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650526B_ABST
    Figure CN114650526B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a service response method, device, terminal and storage medium, which belongs to the field of communication technology. The method is used for a terminal provided with at least two SIM cards, wherein the at least two SIM cards include a first SIM card and a second SIM card, and the method comprises: when the second SIM card has a service demand, the target hardware resources occupied by the first SIM card are released and allocated to the second SIM card, wherein after the target hardware resources are released, the first SIM card and at least one network device maintain at least one network connection in a path state; the service of the second SIM card is responded to through the target hardware resources, and the service of the first SIM card is responded to through the remaining hardware resources. The solution provided by the embodiment of the present application can avoid the problem of interruption of the service of the first SIM card due to response to the service of the second SIM card, and achieve the effect of simultaneous response of dual SIM card services using limited hardware resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a service response method, device, terminal and storage medium. Background Art

[0002] With the continuous development of terminal technology, more and more mobile terminals support dual Subcarrier Identification Module (SIM) card functions.

[0003] In the related art, a mobile terminal supporting a dual SIM card function generally adopts a dual SIM dual standby (DSDS) and a dual receiver-dual SIM dual standby (DR-DSDS) technology. Summary of the invention

[0004] The embodiment of the present application provides a service response method, device, terminal and storage medium. The technical solution is as follows:

[0005] On the one hand, an embodiment of the present application provides a service response method, the method is used for a terminal provided with at least two SIM cards, the at least two SIM cards include a first SIM card and a second SIM card, the method comprising:

[0006] When the second SIM card has a service demand, the target hardware resource occupied by the first SIM card is released and allocated to the second SIM card, wherein after the target hardware resource is released, the first SIM card maintains at least one network connection with at least one network device in a connection state;

[0007] The service of the second SIM card is responded to through the target hardware resources, and the service of the first SIM card is responded to through the remaining hardware resources.

[0008] On the other hand, an embodiment of the present application provides a service response device, the device is used for a terminal provided with at least two SIM cards, the at least two SIM cards include a first SIM card and a second SIM card, the device includes:

[0009] a release allocation module, configured to release target hardware resources occupied by the first SIM card and allocate the target hardware resources to the second SIM card when the second SIM card has a service demand, wherein after the target hardware resources are released, the first SIM card maintains at least one network connection with at least one network device in a connection state;

[0010] The service response module is used to respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0011] On the other hand, an embodiment of the present application provides a terminal, wherein the terminal is provided with at least two SIM cards, wherein the at least two SIM cards include a first SIM card and a second SIM card, and the terminal includes:

[0012] processor;

[0013] a receiver and a transmitter connected to the processor;

[0014] a memory for storing executable instructions for the processor;

[0015] The processor is configured to load and execute the executable instructions to implement the business response method as described in the above aspects.

[0016] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the service response method as described in the above aspects.

[0017] On the other hand, an embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program includes a computer instruction, the computer instruction is stored in a computer-readable storage medium. The processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the service response method provided by the above aspect.

[0018] In the embodiment of the present application, for a terminal provided with at least two SIM cards, if there is a service demand of the second SIM card in the process of responding to the service of the first SIM card, on the premise of ensuring that there is at least one network connection in a path state between the first SIM card and the network device, the target hardware resources occupied by the first SIM card are allocated to the second SIM card, so that the service of the second SIM card is responded to through the target hardware resources, and the service of the first SIM card is continued to be responded to through the remaining hardware resources, thereby avoiding the problem of interruption of the first SIM card service due to the response to the second SIM card service, achieving the effect of realizing simultaneous response of dual SIM card services by using limited hardware resources, and improving the stability of service response of multi-SIM card terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram showing an implementation environment provided by an exemplary embodiment of the present application is shown;

[0020] Figure 2A flowchart of a service response method provided by an exemplary embodiment of the present application is shown;

[0021] Figure 3 A flowchart of a service response method provided by another exemplary embodiment of the present application is shown;

[0022] Figure 4 It is an implementation diagram of a business response method implementation process shown in an exemplary embodiment of the present application;

[0023] Figure 5 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0024] Figure 6 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0025] Figure 7 A flowchart of a service response method provided by another exemplary embodiment of the present application is shown;

[0026] Figure 8 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0027] Fig. 9 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0028] Fig.10 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0029] Fig.11 A flowchart of a service response method provided by another exemplary embodiment of the present application is shown;

[0030] Fig.12 is an implementation diagram of the implementation process of the business response method shown in another exemplary embodiment of the present application;

[0031] Fig.13 A structural block diagram of a service response device provided by another embodiment of the present application is shown;

[0032] Fig.14 A structural block diagram of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0034] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0035] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, wherein the implementation environment includes a terminal 110 and a network device 120.

[0036] The terminal 110 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment, mobile stations (MS), terminal devices, etc. For the convenience of description, the above-mentioned devices are collectively referred to as terminals.

[0037] The network device 120 and the terminal 110 communicate with each other via some air interface technology, such as a Uu interface.

[0038] The network device 120 may be a base station, which is a device deployed in an access network to provide wireless communication functions for terminals. Base stations may include various forms of macro base stations, micro base stations, relay stations, access points, and the like. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in LTE systems, they are called evolved Node Bs (evolved Node Bs, eNodeBs) or eNBs; in 5G NR-U systems, they are called gNodeBs or gNBs. With the evolution of communication technology, the description of "base station" may change. For the convenience of the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for the terminal 110 are collectively referred to as network devices.

[0039] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, advanced Long Term Evolution (LTE-A) system, new radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-based access to Unlicensed spectrum, LTE-U) system, NR-U system, next generation communication system or other communication systems, etc.

[0040] According to the number of network devices connected in the working state, the working mode of the SIM card in the terminal 110 can be divided into a single connection mode and a dual connection mode. In the single connection mode, the SIM card establishes a network connection with a single network device 120 through the terminal 110, such as Figure 1 As shown, when the working mode of the first SIM card is the single connection mode, the terminal 110 establishes a network connection with the first network device 121; in the dual connection mode, the SIM card establishes two network connections with the two network devices 120 through the terminal 110, such as Figure 1 As shown, when the working mode of the first SIM card is the dual connection mode, the terminal 110 establishes a first network connection and a second network connection with the first network device 121 and the second network device 122 respectively.

[0041] In the embodiment of the present application, at least two SIM cards are provided in the terminal 110, wherein the working modes corresponding to different SIM cards may be the same or different. For example, the working mode of the first SIM card is the dual connection mode, and the working mode of the second SIM card is the single connection mode ( Figure 1 , when the working mode of the second SIM card is the single connection mode, the terminal 110 establishes a third network connection with the third network device 123); when the working mode of the first SIM card is the dual connection mode, the working mode of the second SIM card is the dual connection mode ( Figure 1 In the embodiment, when the working mode of the second SIM card is the dual connection mode, the terminal 110 establishes a third network connection and a fourth network connection with the third network device 123 and the fourth network device 124 respectively, the working mode of the first SIM card is the single connection mode, and the working mode of the second SIM card is the single connection mode.

[0042] When two SIM cards are set in the terminal, the terminal uses DSDS or DR-DSDS technology to implement the dual-card function. However, since the terminal's RF signal transceiver hardware resources are prioritized, no matter whether DSDS or DR-DSDS technology is used to implement the dual-card function, the terminal can only ensure that one SIM is in working state at the same time, that is, when the first SIM card responds to the service, if the second SIM card has a service demand, responding to the service of the second SIM card will cause the first SIM card service to be interrupted. In application scenarios such as games, SIM card service interruption will increase game delays and even cause game disconnection.

[0043] In the related technology, the method of increasing the radio frequency signal receiving and transmitting hardware resources can be adopted to realize the service response of dual SIM cards at the same time. However, increasing the hardware resources will not only greatly increase the terminal cost, but also cause cross-modulation problems when realizing the simultaneous operation of multiple transmitters (for SIM cards in dual connection mode, three or even four transmitters need to be realized to work simultaneously).

[0044] In order to achieve simultaneous response of dual SIM card services without adding additional hardware resources, the embodiment of the present application provides a service response method, which reasonably releases and allocates the hardware resources occupied by the SIM cards and uses limited hardware resources to achieve dual SIM card service response. Figure 1 The terminal 110 shown is taken as an example for description.

[0045] Please refer to Figure 2 , which shows a flowchart of a service response method provided by an exemplary embodiment of the present application. In this embodiment, the method is used for Figure 1 Taking the terminal 110 as an example, the method may include the following steps.

[0046] Step 202: when the second SIM card has a service demand, the target hardware resources occupied by the first SIM card are released and allocated to the second SIM card, wherein after the target hardware resources are released, the first SIM card maintains at least one network connection with at least one network device in a pass state.

[0047] In this embodiment, the terminal is provided with at least two SIM cards, and the following embodiments are described by taking a first SIM card and a second SIM card of the at least two SIM cards as examples.

[0048] In a possible implementation manner, the first SIM card is a primary card, the second SIM card is a secondary card, and the terminal preferentially allocates hardware resources to the first SIM card for service response.

[0049] In the process of the terminal responding to the first SIM card service through hardware resources, when the second SIM card has a service demand, the terminal determines the target hardware resources allocated to the second SIM card from the hardware resources occupied by the first SIM card, wherein the target hardware resources are part of the hardware resources occupied by the first SIM card service, or the target hardware resources are all the hardware resources occupied by the first SIM card service.

[0050] In order to ensure that after the target hardware resources occupied by the first SIM card are released, the service of the first SIM card can still be responded to normally, and the service of the second SIM card can be responded to normally through the target hardware resources, the terminal determines the target hardware resources with the goal of maintaining at least one network connection in a pass state between the first SIM card and at least one network device after the target hardware resources are released, and the target hardware resources meet the service response requirements of the second SIM card.

[0051] After releasing the target hardware resources, the number of network connections in the open state between the first SIM card and the network device is related to the working modes of the first SIM card and the second SIM card. Optionally, the number of network connections in the open state is one (with a single network device) or two (with two network devices).

[0052] In the embodiment of the present application, the target hardware resources include transmitter resources and receiver resources, that is, the terminal allocates the transmitter resources and receiver resources occupied by the first SIM card to the second SIM card, so that the second SIM card can send and receive radio frequency signals with the network device through the allocated transmitter resources and receiver resources, thereby realizing service response.

[0053] It should be noted that this embodiment is described by taking the example of no idle hardware resources after the terminal responds to the service of the first SIM card through hardware resources (therefore the target hardware resources need to be released). In other possible application scenarios, when the terminal responds to the service of the first SIM card through hardware resources and there are still idle hardware resources, the terminal can respond to the service of the second SIM card through the idle hardware resources. This embodiment does not limit this.

[0054] Step 204: respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0055] After completing the release and allocation of hardware resources, the terminal responds to the service of the second SIM card through the target hardware resources; at the same time, since after releasing the target hardware resources, the remaining hardware resources occupied by the first SIM card can still maintain at least one network connection in a pass state, the service of the first SIM card can continue to be responded to, thereby realizing the simultaneous response of the services of the first SIM card and the second SIM card.

[0056] In a possible application scenario, the terminal responds to the game service of the first SIM card through hardware resources. When the second SIM card receives an incoming call, the terminal allocates part of the hardware resources occupied by the first SIM card to the second SIM card, thereby ensuring the normal response of the game service on the first SIM card and the normal response of the call service on the second SIM card, that is, the user can continue to play the game during the call.

[0057] In the embodiment of the present application, for a terminal provided with at least two SIM cards, if there is a service demand of the second SIM card in the process of responding to the service of the first SIM card, on the premise of ensuring that there is at least one network connection in a path state between the first SIM card and the network device, the target hardware resources occupied by the first SIM card are allocated to the second SIM card, so that the service of the second SIM card is responded to through the target hardware resources, and the service of the first SIM card is continued to be responded to through the remaining hardware resources, thereby avoiding the problem of interruption of the first SIM card service due to the response to the second SIM card service, achieving the effect of realizing simultaneous response of dual SIM card services by using limited hardware resources, and improving the stability of service response of multi-SIM card terminals.

[0058] When the terminal determines the target hardware resources to be released and the release method of the target hardware resources, it needs to combine the working modes of the first SIM card and the second SIM card. In some embodiments, the working modes of the first SIM card and the second SIM card may include the following.

[0059] 1. The working mode of the first SIM card is dual connection mode, and the working mode of the second SIM card is single connection mode.

[0060] Optionally, when the first SIM card operates in Eutra-New Radio Dual Connectivity (EN-DC) mode, in the dual connection mode, the network connection established by the first SIM card through the terminal includes an NR connection and an LTE connection in a non-standalone networking (NSA) mode, and the anchor point is located in the LTE network.

[0061] The network connection established by the second SIM card through the terminal can be an NR connection in an independent networking (Stand Alone, SA) mode, or an LTE connection.

[0062] Correspondingly, after releasing the target hardware resources, the LTE connection corresponding to the first SIM card remains in a path state, or the NR connection and LTE connection corresponding to the first SIM card both remain in a path state; after allocating the target hardware resources, the NR connection corresponding to the second SIM card remains in a path state, or the LTE connection corresponding to the second SIM card remains in a path state.

[0063] 2. The working mode of the first SIM card is the dual connection mode, and the working mode of the second SIM card is the dual connection mode.

[0064] Optionally, when both the first SIM card and the second SIM card operate in EN-DC mode, in dual connection mode, the network connection established by the first SIM card through the terminal includes an NR connection and an LTE connection in NSA mode, and the network connection established by the second SIM card through the terminal includes an NR connection and an LTE connection in NSA mode, and the anchor points are both located in the LTE network.

[0065] Correspondingly, after releasing the target hardware resources, the LTE connection corresponding to the first SIM card remains in a path state, or the NR connection and LTE connection corresponding to the first SIM card both remain in a path state; after allocating the target hardware resources, the LTE connection corresponding to the second SIM card remains in a path state, or the NR connection and LTE connection corresponding to the second SIM card both remain in a path state.

[0066] 3. The working mode of the first SIM card is single connection mode, and the working mode of the second SIM card is single connection mode.

[0067] Optionally, when both the first SIM card and the second SIM card are in single connection mode, the network connection established by the first SIM card and the second SIM card through the terminal may be an NR connection in SA mode, or an LTE connection. For example, the network connection between the first SIM card and the network device is an NR connection, and the network connection between the second SIM card and the network device is an LTE connection.

[0068] Correspondingly, after releasing the target hardware resources, the NR connection corresponding to the first SIM card maintains the access state; after allocating the target hardware resources, the LTE connection corresponding to the second SIM card maintains the access state.

[0069] The service response process is described in detail below in combination with the above-mentioned working modes of the SIM cards.

[0070] Please refer to Figure 3 , which shows a flow chart of a service response method provided by another exemplary embodiment of the present application, and this embodiment is described by taking the working mode of the first SIM card as the dual connection mode and the working mode of the second SIM card as the single connection mode as an example. The method may include the following steps.

[0071] Step 301: when the second SIM card has a service demand, the target hardware resources occupied by the first network connection are released and allocated to the third network connection of the second SIM card.

[0072] When the terminal responds to the service of the first SIM card in the dual connection mode through hardware resources, the first network connection between the terminal and the first network device remains in a connection state, and the second network connection between the terminal and the second network device remains in a connection state.

[0073] Indicatively, Figure 4 As shown, the terminal responds to the network through the NR connection of the first SIM card and the LTE connection to meet the service needs of the first SIM card.

[0074] Optionally, when the terminal responds to the service of the first SIM card, it will periodically release some hardware resources (such as receiver resources) to the second SIM card to receive the monitoring signal of the network. If the second SIM card does not need to respond to the network (that is, there is no service demand), the hardware resources will be returned to the first SIM card after the monitoring signal is received.

[0075] Indicatively, Figure 4 , 5 As shown in , 6, when the terminal responds to the service of the first SIM card through the NR connection and the LTE connection, part of the hardware resources occupied by the LTE connection are allocated to the LTE connection of the second SIM card. The second SIM card monitors the network through the hardware resources and returns the hardware resources to the first SIM card when there is no network response requirement.

[0076] If the second SIM card needs to make a network response (i.e., there is a service demand), it needs to continue to occupy hardware resources so as to make a service response through the hardware resources. In the embodiment of the present application, in order to ensure that the first SIM card service responds normally while the second SIM card service can also be responded to in a timely manner, the terminal releases the target hardware resources occupied by the first network connection in the dual network connection, and allocates the target hardware resources to the third network connection between the second SIM and the third network device.

[0077] Indicatively, Figure 4 As shown, the terminal may determine the hardware resources occupied by the LTE connection corresponding to the first SIM card as target hardware resources, and allocate them to the second SIM card.

[0078] In order to reduce the impact of responding to the second SIM card service on the first SIM card service, the terminal uses different release methods for target hardware resources. Two different hardware resource release methods are described below.

[0079] 1. A first release method is used to release the target hardware resource occupied by the first network connection and allocate it to the third network connection of the second SIM card. In the first release method, the target hardware resource is time-division multiplexed by the first SIM card and the second SIM card.

[0080] In a possible implementation, in dual connection mode, when the network corresponding to the first network connection is used as an anchor point, if the third network connection occupies the target hardware resources for a long time, the first network connection will be interrupted, and then the second network connection will be interrupted (dropped call). Therefore, the terminal uses time division multiplexing to release and allocate target hardware resources, so that the first network connection of the first SIM card and the third network connection of the second SIM card can alternately use the target hardware resources, ensuring that the services of the first SIM card and the second SIM card can be responded to.

[0081] The time interval of the time division multiplexing can be preset in the terminal.

[0082] Indicatively, Figure 4 As shown, the target hardware resources originally occupied by the LTE connection corresponding to the first SIM card are alternately used by the LTE connections of the first SIM card and the second SIM card, and the service of the second SIM card is responded to. At the same time, the NR connection and LTE connection corresponding to the first SIM card both remain in the access state, so the service of the first SIM card can continue to be responded to, and because the NR connection is not affected, the response delay of the service is low.

[0083] 2. Use a second release method to release the target hardware resource occupied by the first network connection and allocate it to the third network connection of the second SIM card, wherein in the second release method, the target hardware resource is exclusively occupied by the second SIM card.

[0084] In addition to adopting the method of time-division multiplexing of the target hardware resources by the first SIM card and the second SIM card, in order to simplify the release and allocation process of hardware resources, the terminal can also control the second SIM card to exclusively occupy the target hardware resources released by the first SIM card, that is, in the process of responding to the second SIM card service, the first network connection corresponding to the first SIM card will not be able to use the target hardware resources.

[0085] Indicatively, Figure 5 As shown, in the process of responding to the second SIM card service, the target hardware resources originally occupied by the LTE connection corresponding to the first SIM card are exclusively occupied by the second SIM card, and the second SIM card responds to the service through the LTE connection. At the same time, the NR connection corresponding to the first SIM card maintains a path state, so the service of the first SIM card can continue to be responded to.

[0086] It should be noted that when the network corresponding to the first network connection is an anchor point in the dual connection mode, if the second SIM card is in a service response state for a long time, the first network connection will be disconnected, and then the second network connection will be disconnected. Therefore, in a possible implementation, the terminal determines the expected response time based on the service type of the second SIM card service. If the expected response time is greater than the time threshold, the first release method is used to release the target hardware resources. If the expected response time is less than the time threshold, the second release method is used to release the target hardware resources. Among them, the expected response time can be determined based on the historical response time of the service.

[0087] Step 302: when the second SIM card has a service demand, the target hardware resources occupied by the second network connection are released and allocated to the third network connection of the second SIM card.

[0088] Since the first SIM card establishes two network connections with the network device in the dual connection mode, in addition to releasing the target hardware resources occupied by the first network, in another possible implementation, the terminal may also release the target hardware resources occupied by the second network connection.

[0089] Similar to the above step 301, the terminal uses different methods to release the target hardware resources. Two different methods of releasing hardware resources are described below.

[0090] 1. Use a first release method to release the target hardware resource occupied by the second network connection and allocate it to the third network connection of the second SIM card, wherein in the first release method, the target hardware resource is time-division multiplexed by the first SIM card and the second SIM card.

[0091] In a possible implementation, in dual connection mode, the second network connection is used as the main connection for transmitting data, and its data throughput will directly affect the service response quality. Therefore, in order to minimize the impact of the second SIM card service on the first SIM card service, the terminal releases and allocates target hardware resources in a time division multiplexing manner, so that the second network connection of the first SIM card and the third network connection of the second SIM card can alternately use the target hardware resources, ensuring that the respective services of the first SIM card and the second SIM card can be responded to, and reducing the impact of time division multiplexing hardware resources on the data throughput of the first SIM card.

[0092] Indicatively, Figure 6 As shown, the target hardware resources originally occupied by the NR connection corresponding to the first SIM card are alternately used by the NR connection and the LTE connection corresponding to the second SIM card, and the service of the second SIM card is responded to. At the same time, the NR connection and LTE connection corresponding to the first SIM card both remain in the access state, so the service of the first SIM card can continue to be responded to.

[0093] 2. Use a second release method to release the target hardware resource occupied by the second network connection and allocate it to the third network connection of the second SIM card, wherein in the second release method, the target hardware resource is exclusively occupied by the second SIM card.

[0094] In addition to adopting the method of time-division multiplexing of the target hardware resources by the first SIM card and the second SIM card, in order to simplify the release and allocation process of hardware resources, the terminal can also control the second SIM card to exclusively occupy the target hardware resources released by the first SIM card, that is, in the process of responding to the second SIM card service, the first network connection corresponding to the first SIM card will not be able to use the target hardware resources.

[0095] For example, the target hardware resources originally occupied by the NR connection corresponding to the first SIM card are exclusively occupied by the second SIM card. The second SIM card responds to services through the LTE connection. At the same time, the LTE connection corresponding to the first SIM card remains in the access state, so the services of the first SIM card can continue to be responded to.

[0096] It should be noted that since the second SIM card monopolizes the hardware resources originally occupied by the second network connection, it will have a significant impact on the data throughput of the first SIM card and will increase the delay. Therefore, in a possible implementation, the terminal determines the data throughput requirement and delay requirement of the first SIM service. If the data throughput requirement and the delay requirement are both lower than the preset demand indicators (i.e., the data throughput is low and the delay requirement is low), the terminal uses the second release method to release the target hardware resources. Otherwise, the terminal uses the first release method to release the target hardware resources.

[0097] Step 303: respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0098] Indicatively, Figure 4 As shown, the terminal performs a network response to the service of the second SIM card through the LTE connection, and performs a network response to the service of the first SIM card through the LTE connection and the NR connection; as shown Figure 5 As shown, the terminal performs a network response to the service of the second SIM card through the LTE connection, and performs a network response to the service of the first SIM card through the NR connection; as shown Figure 6 As shown, the terminal performs a network response to the service of the second SIM card through an LTE connection, and performs a network response to the service of the first SIM card through an LTE connection and an NR connection.

[0099] Step 304: when the service of the second SIM card ends, reallocate the target hardware resources to the first SIM card.

[0100] Regardless of which of the above methods is used to release and allocate hardware resources, the data throughput of the first SIM card will be affected to a certain extent. Therefore, when the service of the second SIM card ends, the terminal reallocates the target hardware resources occupied by the second SIM card corresponding to the third network connection to the first SIM card.

[0101] Indicatively, Figure 4 Or as shown in 5, when the service of the second SIM card ends, the terminal reallocates the target hardware resources occupied by the LTE connection corresponding to the second SIM card to the LTE connection of the first SIM card; Figure 6 As shown, the terminal reallocates the target hardware resources occupied by the LTE connection corresponding to the second SIM card to the NR connection of the first SIM card.

[0102] It should be noted that Figure 4 , 5 In the embodiments shown in Figures 2 and 6, an LTE connection is established between the second SIM card and the network device as an example for schematic illustration. In other possible application scenarios, an NR connection (based on SA networking) can also be established between the second SIM card and the network device, and this embodiment does not constitute a limitation to this.

[0103] In this embodiment, the terminal releases the target hardware resources occupied by one network connection in the dual connection corresponding to the first SIM card, and controls the first SIM card and the second SIM card to alternately use the target hardware resources in a time division multiplexing manner, or controls the second SIM card to exclusively use the target hardware resources, so as to ensure that the second SIM card service is responded to while ensuring that the first SIM card service can continue to be responded to, thereby achieving simultaneous response of dual SIM card services. At the same time, the use of time division multiplexing to release and allocate hardware resources can further reduce the delay of the first SIM card service when responding to the second SIM card service, thereby improving the service quality of the service.

[0104] Please refer to Figure 7 , which shows a flow chart of a service response method provided by another exemplary embodiment of the present application, and this embodiment is described by taking the working mode of the first SIM card as the dual connection mode, and the first SIM card establishes a first network connection with the first network device, and a second network connection with the second network device, and the working mode of the second SIM card is the dual connection mode, and the second SIM card establishes a third network connection with the third network device, and a fourth network connection with the fourth network device as an example. The method may include the following steps.

[0105] Step 701, when the second SIM card has a service demand, the target hardware resources occupied by the first network connection and the second network connection are released, and the third network connection and the fourth network connection are allocated to the second SIM card, wherein after the target hardware resources are released, at least one of the first network connection and the second network connection remains in a path state.

[0106] Optionally, when the terminal responds to the service of the first SIM card, it will periodically release some hardware resources (such as receiver resources) to the second SIM card to receive the monitoring signal of the network. If the second SIM card does not need to respond to the network (that is, there is no service demand), the hardware resources will be returned to the first SIM card after the monitoring signal is received.

[0107] Indicatively, Figure 8 , 9 As shown in 10, when the terminal responds to the service of the first SIM card through the NR connection and the LTE connection, part of the hardware resources occupied by the LTE connection are allocated to the LTE connection of the second SIM card. The second SIM card monitors the network through the hardware resources and returns the hardware resources to the first SIM card when there is no network response requirement.

[0108] If the second SIM card needs to make a network response (i.e., there is a business demand), it needs to continue to occupy hardware resources in order to make a business response through the hardware resources. When the working modes of the first SIM card and the second SIM card are both dual connection modes, only releasing the hardware resources occupied by one network connection corresponding to the first SIM card will not be able to meet the needs of the second SIM card. Therefore, the terminal needs to release the target hardware resources occupied by the two network connections, so as to allocate the target hardware resources to the two network connections corresponding to the second SIM card.

[0109] Under different hardware resource release modes, in the process of responding to the second SIM card service, two network connections between the first SIM card and the network device can be kept in a pass state, or one network connection can be kept in a pass state. The different hardware resource release modes are described below.

[0110] 1. Use a first release method to release the target hardware resources occupied by the first network connection and the second network connection, and allocate them to the third network connection and the fourth network connection of the second SIM card. In the first release method, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card.

[0111] In order to minimize the impact of the second SIM card service on the first SIM card service, the terminal controls the time-division multiplexing of hardware resources of the first SIM card and the second SIM card. In a possible implementation, the terminal releases the first target hardware resources occupied by the first network connection in a time-division multiplexing manner and allocates them to the third network connection of the second SIM card; and releases the second target hardware resources occupied by the second network connection in a time-division multiplexing manner and allocates them to the fourth network connection of the second SIM card.

[0112] After the target hardware resources are allocated in a time division multiplexing manner, the first network connection and the second network connection corresponding to the first SIM card both remain in a connection state, and the third network connection and the fourth network connection corresponding to the second SIM card both remain in a connection state. In addition, when the first SIM card and the second SIM card both use a certain network as a dual connection anchor point, the time division multiplexing method can ensure that the anchor point network is not interrupted, thereby improving the stability of the dual SIM card service.

[0113] Optionally, when the first release method is adopted to release the target hardware resources occupied by the first network connection and the second network connection, the release times of the hardware resources occupied by the first network connection and the second network connection are staggered, that is, when the hardware resources occupied by the first network connection are released, the second network connection keeps occupying the hardware resources, and when the hardware resources occupied by the second network connection are released, the first network connection keeps occupying the hardware resources, so as to avoid releasing the hardware resources occupied by the first network connection and the second network connection at the same time to form a network response gap.

[0114] Indicatively, Figure 8 As shown, the LTE connection corresponding to the first SIM card and the LTE connection corresponding to the second SIM card use hardware resources alternately in a time division multiplexing manner, and the NR connection corresponding to the first SIM card and the NR connection corresponding to the second SIM card use hardware resources alternately in a time division multiplexing manner, and the services of the first SIM card and the second SIM card can both get normal responses.

[0115] 2. Use a first release method to release the first target hardware resource occupied by the first network connection, and use a second release method to release the second target hardware resource occupied by the second network connection, and allocate it to the third network connection and the fourth network connection of the second SIM card, wherein under the first release method, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and under the second release method, the second target hardware resource is exclusively occupied by the second SIM card.

[0116] In a possible implementation, when the priority (or importance) of the second SIM card service is higher than the priority (or importance) of the first SIM card service, in order to improve the data throughput when the second SIM card responds to the service, the terminal uses time division multiplexing to release the first target hardware resources occupied by the first network connection, and allocates the first target hardware resources to the third network connection of the second SIM card; releases the second target hardware resources occupied by the second network connection, and controls the fourth network connection of the second SIM card to exclusively occupy the second target hardware resources. Optionally, the networks corresponding to the first network connection and the third network connection are anchor points in the dual connection mode.

[0117] By adopting the above-mentioned hardware resource release allocation method, the second SIM card responds to the service through the third network connection and the fourth network connection in the access state, and the first SIM card continues to respond to the service through the first network connection in the access state. And because the fourth network connection exclusively occupies the hardware resources originally occupied by the second network connection, the second SIM card can ensure a higher data throughput.

[0118] Indicatively, Fig. 9 As shown, the LTE connection corresponding to the first SIM card and the LTE connection corresponding to the second SIM card use hardware resources alternately in a time division multiplexing manner, while the NR connection corresponding to the second SIM card exclusively occupies the hardware resources originally occupied by the NR connection of the first SIM card.

[0119] 3. Use the first release method to release the second target hardware resource occupied by the second network connection, and use the second release method to release the first target hardware resource occupied by the first network connection, and allocate it to the third network connection and the fourth network connection of the second SIM card, wherein under the first release method, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and under the second release method, the first target hardware resource is exclusively occupied by the second SIM card.

[0120] Similar to the second method mentioned above, in a more possible implementation mode, the terminal uses time division multiplexing to release the second target hardware resources occupied by the second network connection, and allocates the second target hardware resources to the fourth network connection of the second SIM card; releases the first target hardware resources occupied by the first network connection, and controls the third network connection of the second SIM card to exclusively occupy the second target hardware resources.

[0121] Indicatively, Fig.10 As shown, the NR connection corresponding to the first SIM card and the NR connection corresponding to the second SIM card use hardware resources alternately in a time division multiplexing manner, while the LTE connection corresponding to the second SIM card exclusively occupies the hardware resources originally occupied by the LTE connection of the first SIM card.

[0122] It should be noted that when the networks corresponding to the first network connection and the third network connection are anchor points in the dual connection mode, if the second SIM card is in a service response state for a long time, the first network connection will be disconnected, and then the second network connection will be disconnected. Therefore, in a possible implementation, the terminal determines the expected response time based on the service type of the second SIM card service. If the expected response time is greater than the time threshold, the first target hardware resource occupied by the first network connection is released in the first release mode. If the expected response time is less than the time threshold, the first target hardware resource occupied by the first network connection is released in the second release mode. Among them, the expected response time can be determined based on the historical response time of the service.

[0123] Step 702: respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0124] Indicatively, Figure 8 As shown, the terminal performs a network response to the service of the second SIM card through the LTE connection and the NR connection, and performs a network response to the service of the first SIM card through the LTE connection and the NR connection; as shown Fig. 9 As shown, the terminal performs a network response to the service of the second SIM card through the LTE connection and the NR connection, and performs a network response to the service of the first SIM card through the LTE connection; as shown Fig.10 As shown, the terminal performs a network response to the service of the second SIM card through the LTE connection and the NR connection, and performs a network response to the service of the first SIM card through the NR connection.

[0125] Step 703: When the service of the second SIM card ends, the target hardware resources are reallocated to the first SIM card.

[0126] Regardless of which of the above methods is used to release and allocate hardware resources, the data throughput of the first SIM card will be affected to a certain extent. Therefore, when the service of the second SIM card ends, the terminal reallocates the target hardware resources occupied by the third network connection and the fourth network connection corresponding to the second SIM card to the first SIM card.

[0127] Indicatively, Figure 8 , 9 As shown in FIG. 10 , when the service of the second SIM card ends, the terminal reallocates the target hardware resources occupied by the LTE connection and NR connection corresponding to the second SIM card to the LTE connection and NR connection of the first SIM card.

[0128] In this embodiment, the terminal releases the target hardware resources occupied by the two network connections in the dual connection corresponding to the first SIM card, and controls the first SIM card and the second SIM card to alternately use the target hardware resources in a time division multiplexing manner, so as to ensure that the second SIM card service is responded to while ensuring that the first SIM card service can continue to be responded to, thereby achieving simultaneous response of dual SIM card services and reducing the delay caused by the second SIM card service to the first SIM card service.

[0129] Please refer to Fig.11 , which shows a flow chart of a service response method provided by another exemplary embodiment of the present application, and this embodiment is described by taking the working mode of the first SIM card as the single connection mode, and the first network connection is established between the first SIM card and the first network device, and the working mode of the second SIM card as the single connection mode, and the second network connection is established between the second SIM card and the second network device as an example. The method may include the following steps.

[0130] Step 1101: when the second SIM card has a service demand, the target hardware resources occupied by the first network connection are released and allocated to the second network connection of the second SIM card, wherein after the hardware resources are released, the first network connection remains connected.

[0131] Optionally, for a terminal with a single transmitter and dual receivers, when the terminal responds to the service of the first SIM card, the second SIM card will periodically receive the monitoring signal of the network. If the second SIM card does not need to respond to the network (ie, there is no service demand), it will wait after completing the monitoring action.

[0132] Indicatively, Fig.12 As shown, when the terminal responds to the service of the first SIM card through the NR connection, without using the hardware resources of the first SIM card, the second SIM card can periodically monitor the network (through another receiver) and wait again when there is no network response requirement.

[0133] Optionally, for a terminal having only a single transmitter and a single receiver, when the terminal responds to the service of the first SIM card, the receiver resources will be released to the second SIM card at a fixed time to receive the monitoring signal of the network, that is, the second SIM card occupies the hardware resources of the first SIM card to monitor the network. If the second SIM card does not need to respond to the network (that is, there is no service demand), the receiver resources will be returned to the first SIM card after the monitoring signal reception is completed.

[0134] If the second SIM card needs to perform a network response (ie, there is a service demand), the terminal needs to allocate the target hardware resources (transmitter resources) of the first SIM card to the second SIM card in order to respond to the service of the second SIM card.

[0135] Since the first SIM card corresponds to only one network connection, when the first SIM card service and the second SIM card service are responded to simultaneously, the terminal cannot control the first SIM card or the second SIM card to exclusively occupy the hardware resources. In the embodiment of the present application, the terminal uses time division multiplexing to release the target hardware resources occupied by the first network connection and allocates them to the second network connection of the second SIM card, so that the target hardware resources are used alternately by the first SIM card and the second SIM card.

[0136] In a possible implementation, for a terminal having a single transmitter and two receivers, the terminal uses time division multiplexing to release transmitter resources occupied by the first network connection and allocates them to the second network connection of the second SIM card.

[0137] Indicatively, Fig.12 As shown, when the second SIM card has a service demand, the terminal uses time division multiplexing to control the first SIM card and the second SIM card to alternately use transmitter resources for network response.

[0138] In another possible implementation, for a terminal having a single transmitter and a single receiver, the terminal releases transmitter resources and receiver resources occupied by the first network connection in a time division multiplexing manner and allocates them to the second network connection of the second SIM card.

[0139] Step 1102: respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0140] Step 1103: when the service of the second SIM card ends, reallocate the target hardware resources to the first SIM card.

[0141] Indicatively, Fig.12 As shown, when the service of the second SIM card ends, the terminal reallocates the target hardware resources occupied by the LTE connection corresponding to the second SIM card to the NR connection of the first SIM card, thereby improving the data throughput of the first SIM card.

[0142] In this embodiment, the terminal adopts a time division multiplexing method to control the first SIM card and the second SIM card to alternately use the target hardware resources, so as to achieve simultaneous response of the services of the first SIM card and the second SIM card; and, by adopting this scheme, only a single transmitter needs to be set in the terminal to achieve simultaneous response of dual SIM card services, thereby reducing the hardware requirements of the terminal and reducing the restrictions on the RF combination of the first SIM card and the second SIM card (when the two transmitters work at the same time, the number of RF combinations supported by the first SIM card and the second SIM card is limited by the limitations of the RF chip and the RF front-end circuit).

[0143] Please refer to Fig.13, which shows a structural block diagram of a service response device provided by an embodiment of the present application. The device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device includes:

[0144] The release allocation module 1301 is used to release the target hardware resources occupied by the first SIM card and allocate them to the second SIM card when the second SIM card has a service demand, wherein after the target hardware resources are released, the first SIM card maintains at least one network connection with at least one network device in a connection state;

[0145] The service response module 1302 is used to respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources.

[0146] Optionally, the working mode of the first SIM card is a dual connection mode, and the working mode of the second SIM card is a single connection mode; or,

[0147] The working mode of the first SIM card is the dual connection mode, and the working mode of the second SIM card is the dual connection mode; or,

[0148] The working mode of the first SIM card is single connection mode, and the working mode of the second SIM card is single connection mode.

[0149] Optionally, the working mode of the first SIM card is a dual connection mode, and a first network connection is established between the first SIM card and a first network device, and a second network connection is established between the first SIM card and a second network device; the working mode of the second SIM card is a single connection mode, and a third network connection is established between the second SIM card and a third network device;

[0150] The release allocation module 1301 includes:

[0151] A first release allocation unit is configured to release the target hardware resources occupied by the first network connection and allocate the target hardware resources to the third network connection of the second SIM card; or

[0152] The second release allocation unit is used to release the target hardware resources occupied by the second network connection and allocate them to the third network connection of the second SIM card.

[0153] Optionally, the first release allocation unit is used to:

[0154] The target hardware resource occupied by the first network connection is released by a first release mode, and allocated to the third network connection of the second SIM card, wherein in the first release mode, the target hardware resource is time-division multiplexed by the first SIM card and the second SIM card; or

[0155] Using a second release method to release the target hardware resource occupied by the first network connection, and allocating it to the third network connection of the second SIM card, wherein in the second release method, the target hardware resource is exclusively occupied by the second SIM card;

[0156] The second release allocation unit is used for:

[0157] The target hardware resource occupied by the second network connection is released by a first release mode, and allocated to the third network connection of the second SIM card, wherein in the first release mode, the target hardware resource is time-division multiplexed by the first SIM card and the second SIM card; or

[0158] The target hardware resource occupied by the second network connection is released by adopting a second release mode, and is allocated to the third network connection of the second SIM card, wherein in the second release mode, the target hardware resource is exclusively occupied by the second SIM card.

[0159] Optionally, the working mode of the first SIM card is a dual connection mode, and a first network connection is established between the first SIM card and a first network device, and a second network connection is established between the first SIM card and a second network device; the working mode of the second SIM card is a dual connection mode, and a third network connection is established between the second SIM card and a third network device, and a fourth network connection is established between the second SIM card and a fourth network device;

[0160] The release allocation module 1301 includes:

[0161] The third release allocation unit is used to release the target hardware resources occupied by the first network connection and the second network connection, and allocate them to the third network connection and the fourth network connection of the second SIM card, wherein after releasing the target hardware resources, at least one of the first network connection and the second network connection remains in a path state.

[0162] Optionally, the third release allocation unit is used to:

[0163] The target hardware resources occupied by the first network connection and the second network connection are released by a first release mode, and are allocated to the third network connection and the fourth network connection of the second SIM card, wherein in the first release mode, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card; or,

[0164] A first target hardware resource occupied by the first network connection is released in a first release mode, and a second target hardware resource occupied by the second network connection is released in a second release mode, and the second target hardware resource is allocated to the third network connection and the fourth network connection of the second SIM card, wherein in the first release mode, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and in the second release mode, the second target hardware resource is exclusively occupied by the second SIM card; or,

[0165] The second target hardware resource occupied by the second network connection is released by a first release method, and the first target hardware resource occupied by the first network connection is released by a second release method, and is allocated to the third network connection and the fourth network connection of the second SIM card, wherein, under the first release method, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and under the second release method, the first target hardware resource is exclusively occupied by the second SIM card.

[0166] Optionally, when the target hardware resources occupied by the first network connection and the second network connection are released in the first release mode, the release times of the hardware resources occupied by the first network connection and the second network connection are staggered.

[0167] Optionally, the working mode of the first SIM card is a single connection mode, and a first network connection is established between the first SIM card and the first network device, and the working mode of the second SIM card is a single connection mode, and a second network connection is established between the second SIM card and the second network device;

[0168] The release allocation module 1301 includes:

[0169] The fourth release allocation unit is used to release the target hardware resources occupied by the first network connection and allocate them to the second network connection of the second SIM card, wherein after the hardware resources are released, the first network connection remains in a connection state.

[0170] Optionally, a fourth release allocation unit is used to:

[0171] The target hardware resource occupied by the first network connection is released by a first release method and allocated to the second network connection of the second SIM card, wherein, in the first release method, the target hardware resource is time-division multiplexed by the first SIM card and the second SIM card.

[0172] Optionally, the network connection established in the dual connection mode includes an NR connection in the NSA mode and an LTE connection;

[0173] The network connection established in single connection mode is an LTE connection, or an NR connection in SA mode.

[0174] Optionally, the target hardware resources include transmitter resources and / or receiver resources.

[0175] Optionally, the release allocation module 1301 is further configured to reallocate the target hardware resources to the first SIM card when the service of the second SIM card ends.

[0176] To sum up, in the embodiments of the present application, for a terminal provided with at least two SIM cards, if there is a service demand for the second SIM card in the process of responding to the service of the first SIM card, on the premise that there is at least one network connection in a path state between the first SIM card and the network device, the target hardware resources occupied by the first SIM card are allocated to the second SIM card, so that the service of the second SIM card is responded to through the target hardware resources, and the service of the first SIM card is continued to be responded to through the remaining hardware resources, thereby avoiding the problem of interruption of the first SIM card service due to the response to the second SIM card service, achieving the effect of realizing simultaneous response of dual SIM card services using limited hardware resources, and improving the stability of service response of multi-SIM card terminals.

[0177] It should be noted that: the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0178] Please refer to Fig.14 , which shows a block diagram of a terminal provided by an exemplary embodiment of the present application. It can be implemented as the terminal in the above embodiment, and the terminal in the present application may include one or more of the following components: a processor 1410, a memory 1420, a receiver 1430, and a transmitter 1440.

[0179] The processor 1410 may include one or more processing cores. The processor 1410 uses various interfaces and lines to connect the various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1420, and calling data stored in the memory 1420. Optionally, the processor 1410 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 1410 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch display; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1410, but may be implemented by a separate chip.

[0180] The memory 1420 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1420 includes a non-transitory computer-readable storage medium. The memory 1420 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal device (such as audio data, a phone book), etc.

[0181] The receiver 1430 and the transmitter 1440 may be implemented as a communication component, which may be a communication chip. In addition, the number of the receiver 1430 and the transmitter 1440 in the terminal is at least one. For example, the terminal includes one transmitter and two receivers, or one transmitter and one receiver, or two transmitters and two receivers.

[0182] In addition, those skilled in the art will appreciate that the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal, and the terminal device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal device also includes an input unit, a sensor, an audio circuit, a speaker, a microphone, a power supply, and other components, which will not be described in detail here.

[0183] An embodiment of the present application further provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the service response method as described in the above embodiment.

[0184] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the service response method provided in the above embodiment.

[0185] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0186] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A service response method, characterized in that: The method is used for a terminal provided with at least two SIM cards, wherein the at least two SIM cards include a first SIM card and a second SIM card, and the terminal has no idle hardware resources after responding to the service of the first SIM card through hardware resources, wherein the hardware resources include transmitter resources and / or receiver resources; The method comprises: When the second SIM card has a service demand, the working mode of the first SIM card is the dual connection mode, and the first SIM card establishes a first network connection with the first network device, and establishes a second network connection with the second network device, the working mode of the second SIM card is the single connection mode, and the second SIM card establishes a third network connection with the third network device, the target hardware resources occupied by the first network connection are released and allocated to the third network connection of the second SIM card; or, the target hardware resources occupied by the second network connection are released and allocated to the third network connection of the second SIM card; wherein, after the target hardware resources are released, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card, or the target hardware resources are exclusively occupied by the second SIM card; In the case where the second SIM card has a service demand, the working mode of the first SIM card is a dual connection mode, and the first SIM card establishes a first network connection with a first network device, and a second network connection with a second network device, and the working mode of the second SIM card is a dual connection mode, and the second SIM card establishes a third network connection with a third network device, and a fourth network connection with a fourth network device, a first release method is adopted to release the target hardware resources occupied by the first network connection and the second network connection, and the target hardware resources are allocated to the third network connection and the fourth network connection of the second SIM card, wherein in the first release method, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card; or, the first release method is adopted to release the first target hardware resources occupied by the first network connection, and the second release method is adopted to release the first target hardware resources occupied by the first network connection, and the second release method is adopted to release the first target hardware resources occupied by the first network connection. The second target hardware resource occupied by the second network connection is released in a release mode, and is allocated to the third network connection and the fourth network connection of the second SIM card, wherein in the first release mode, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and in the second release mode, the second target hardware resource is exclusively occupied by the second SIM card; or, the second target hardware resource occupied by the second network connection is released in the first release mode, and the first target hardware resource occupied by the first network connection is released in the second release mode, and is allocated to the third network connection and the fourth network connection of the second SIM card, wherein in the first release mode, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and in the second release mode, the first target hardware resource is exclusively occupied by the second SIM card; When the second SIM card has a service demand, the working mode of the first SIM card is the single connection mode, and a first network connection is established between the first SIM card and the first network device, and the working mode of the second SIM card is the single connection mode, and a second network connection is established between the second SIM card and the second network device, the target hardware resources occupied by the first network connection are released and allocated to the second network connection of the second SIM card, wherein after the hardware resources are released, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card; Responding to the service of the second SIM card through the target hardware resources, and responding to the service of the first SIM card through the remaining hardware resources; When the service of the second SIM card ends, the target hardware resource is reallocated to the first SIM card.

2. The method according to claim 1, characterized in that When the target hardware resources occupied by the first network connection and the second network connection are released in the first release mode, the release times of the hardware resources occupied by the first network connection and the second network connection are staggered.

3. The method according to any one of claims 1 to 2, characterized in that: The network connection established in dual connection mode includes the new air interface NR connection in non-standalone networking NSA mode and the long-term evolution LTE connection; The network connection established in single connection mode is an LTE connection, or an NR connection in independent networking SA mode.

4. A service response device, characterized in that: The device is used for a terminal provided with at least two SIM cards, wherein the at least two SIM cards include a first SIM card and a second SIM card, and the terminal has no idle hardware resources after responding to the service of the first SIM card through hardware resources, wherein the hardware resources include transmitter resources and / or receiver resources; The device comprises: A release allocation module, used for releasing the target hardware resources occupied by the first network connection and allocating them to the third network connection of the second SIM card when there is a service demand for the second SIM card, the working mode of the first SIM card is the dual connection mode, and the first SIM card establishes a first network connection with the first network device and a second network connection with the second network device, the working mode of the second SIM card is the single connection mode, and the second SIM card establishes a third network connection with the third network device; or, releasing the target hardware resources occupied by the second network connection and allocating them to the third network connection of the second SIM card; wherein, after releasing the target hardware resources, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card, or the target hardware resources are exclusively occupied by the second SIM card; The release allocation module is further used to, when there is a service demand for the second SIM card, the working mode of the first SIM card is the dual connection mode, and the first SIM card establishes a first network connection with a first network device, and a second network connection with a second network device, and the working mode of the second SIM card is the dual connection mode, and the second SIM card establishes a third network connection with a third network device, and a fourth network connection with a fourth network device, use a first release method to release the target hardware resources occupied by the first network connection and the second network connection, and allocate them to the third network connection and the fourth network connection of the second SIM card, wherein in the first release method, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card; or use the first release method to release the first target hardware resources occupied by the first network connection , using the second release method to release the second target hardware resource occupied by the second network connection, and allocating it to the third network connection and the fourth network connection of the second SIM card, wherein under the first release method, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and under the second release method, the second target hardware resource is exclusively occupied by the second SIM card; or, using the first release method to release the second target hardware resource occupied by the second network connection, using the second release method to release the first target hardware resource occupied by the first network connection, and allocating it to the third network connection and the fourth network connection of the second SIM card, wherein under the first release method, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and under the second release method, the first target hardware resource is exclusively occupied by the second SIM card; The release allocation module is further configured to release the target hardware resources occupied by the first network connection and allocate them to the second network connection of the second SIM card when the second SIM card has a service demand, the working mode of the first SIM card is the single connection mode, and a first network connection is established between the first SIM card and the first network device, the working mode of the second SIM card is the single connection mode, and a second network connection is established between the second SIM card and the second network device, wherein after the hardware resources are released, the target hardware resources are time-division multiplexed by the first SIM card and the second SIM card; A service response module, used to respond to the service of the second SIM card through the target hardware resources, and respond to the service of the first SIM card through the remaining hardware resources; The release allocation module is further configured to reallocate the target hardware resources to the first SIM card when the service of the second SIM card ends.

5. The device according to claim 4, characterized in that When the target hardware resources occupied by the first network connection and the second network connection are released in the first release mode, the release times of the hardware resources occupied by the first network connection and the second network connection are staggered.

6. The device according to any one of claims 4 to 5, characterized in that: The network connections established in dual-connection mode include NR connections in NSA mode and LTE connections; The network connection established in single connection mode is an LTE connection, or an NR connection in SA mode.

7. A terminal, characterized in that: The terminal is provided with at least two SIM cards, wherein the at least two SIM cards include a first SIM card and a second SIM card, and the terminal includes: processor; a receiver and a transmitter connected to the processor; a memory for storing executable instructions for the processor; The processor is configured to load and execute the executable instructions to implement the service response method according to any one of claims 1 to 3.

8. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the service response method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Hardware-Capability Update Method For A Portable Device With Multiple Sim Cards

    CN105204888A

  • Radio frequency resource allocation method and device

    CN111555825A