WO2022127415A1 - 业务响应方法、装置、终端及存储介质 - Google Patents

业务响应方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2022127415A1
WO2022127415A1 PCT/CN2021/128274 CN2021128274W WO2022127415A1 WO 2022127415 A1 WO2022127415 A1 WO 2022127415A1 CN 2021128274 W CN2021128274 W CN 2021128274W WO 2022127415 A1 WO2022127415 A1 WO 2022127415A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
network connection
release
target hardware
mode
Prior art date
Application number
PCT/CN2021/128274
Other languages
English (en)
French (fr)
Inventor
仝林
时咏晟
伏奎
陈智颖
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21905344.4A priority Critical patent/EP4255100A4/en
Publication of WO2022127415A1 publication Critical patent/WO2022127415A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • H04W76/36Selective release of ongoing connections for reassigning the resources associated with the released connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the embodiments of the present application relate to the field of communications technologies, and in particular, to a service response method, device, terminal, and storage medium.
  • SIM Subscribecarrier Identification Module
  • a mobile terminal supporting dual SIM card function usually adopts dual SIM dual standby (Dual SIM Dual Standby, DSDS) and dual receiver-dual SIM dual standby (Dual Receiver-Dual SIM Dual Standby, DR-DSDS) technologies.
  • Embodiments of the present application provide a service response method, device, terminal, and storage medium.
  • the technical solution is as follows:
  • 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, so The methods described include:
  • 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
  • the card maintains at least one network connection with at least one network device in a channel state
  • 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, and the at least two SIM cards include a first SIM card and a second SIM card,
  • the device includes:
  • a release and allocation module is used to release the target hardware resources occupied by the first SIM card when there is a business requirement for the second SIM card, and allocate them to the second SIM card, wherein after releasing the target hardware resources , the first SIM card and at least one network device keep at least one network connection in a channel state;
  • a service response module configured to respond to the service of the second SIM card through the target hardware resources, and to respond to the service of the first SIM card through the remaining hardware resources.
  • an embodiment of the present application provides a terminal, the terminal is provided with at least two SIM cards, the at least two SIM cards include a first SIM card and a second SIM card, and the terminal includes:
  • the processor is configured to load and execute the executable instructions to implement the service response method described in the above aspects.
  • an embodiment of the present application provides a computer-readable storage medium, where the storage medium stores at least one instruction, and the at least one instruction is configured to be executed by a processor to implement the service response method described in the foregoing aspect .
  • an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are 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 aspect.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
  • FIG. 2 shows a flowchart of a service response method provided by an exemplary embodiment of the present application
  • FIG. 3 shows a flowchart of a service response method provided by another exemplary embodiment of the present application
  • FIG. 4 is an implementation schematic diagram of an implementation process of a service response method according to an exemplary embodiment of the present application
  • FIG. 5 is an implementation schematic diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 6 is an implementation schematic diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 7 shows a flowchart of a service response method provided by another exemplary embodiment of the present application.
  • FIG. 8 is an implementation schematic diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 9 is an implementation schematic diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 10 is an implementation schematic diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 11 shows a flowchart of a service response method provided by another exemplary embodiment of the present application.
  • FIG. 12 is a schematic implementation diagram of an implementation process of a service response method according to another exemplary embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a service response apparatus provided by another embodiment of the present application.
  • FIG. 14 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • references herein to "plurality” means two or more.
  • "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" generally indicates that the associated objects are an "or" relationship.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, where the implementation environment includes a terminal 110 and a network device 120 .
  • the terminal 110 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems with wireless communication functions, as well as various forms of user equipment, mobile stations (Mobile Station, MS), Terminal device (terminal device) and so on.
  • mobile stations Mobile Station, MS
  • Terminal device terminal device
  • the devices mentioned above are collectively referred to as terminals.
  • the network device 120 may be a base station, which is a device deployed in an access network to provide a wireless communication function for a terminal.
  • the base station may include various forms of macro base station, micro base station, relay station, access point and so on.
  • the names of devices with base station functions may be different.
  • eNodeB or eNB evolved nodes
  • gNodeB or gNB evolved nodes
  • the description of "base station” may change.
  • the above-mentioned apparatuses for providing a wireless communication function for the terminal 110 are collectively referred to as network devices.
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • Time Division Duplex Time Division Duplex
  • TDD Time Division Duplex
  • LTE-A Advanced Long Term Evolution
  • NR New Radio
  • evolution system of NR system LTE (LTE-based access to Unlicensed) on unlicensed frequency bands spectrum
  • LTE-U LTE-based access to Unlicensed
  • NR-U next-generation communication system or other communication systems, etc.
  • the working mode of the SIM card in the terminal 110 can be divided into a single connection mode and a dual connection mode.
  • the SIM card establishes a network connection with the single network device 120 through the terminal 110.
  • the terminal 110 establishes a network connection with the first network device 121;
  • the dual connection mode the SIM card establishes two network connections with the two network devices 120 through the terminal 110 respectively.
  • the terminal 110 and the first network device respectively 121 and the second network device 122 establish a first network connection and a second network connection.
  • the terminal 110 is provided with at least two SIM cards, wherein the working modes corresponding to different SIM cards may be the same or different.
  • the working mode of the first SIM card is the dual connection mode
  • the working mode of the second SIM card is the single connection mode (in FIG. 1 , when the working mode of the second SIM card is the single connection mode, the terminal 110 and the third network device 123 establish a third network connection);
  • the working mode of the first SIM card is a dual connection mode
  • the working mode of the second SIM card is a dual connection mode (in FIG.
  • the terminal 110 when the working mode of the second SIM card is a 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 a single connection mode, and the working mode of the second SIM card is a single connection mode.
  • the terminal When two SIM cards are set in the terminal, the terminal adopts DSDS or DR-DSDS technology to realize the dual-card function.
  • the terminal's radio frequency signal sending and receiving hardware resources have priority, no matter whether the DSDS technology or the DR-DSDS technology is used to realize the dual-card function, at the same time, the terminal can only ensure that one SIM is in the working state, that is, when the first SIM card responds During the service process, if the second SIM card has service requirements, responding to the service of the second SIM card will cause the service of the first SIM card to be interrupted. In application scenarios such as games, the interruption of the SIM card service will increase the game delay and even cause the game to drop.
  • the manner of increasing the hardware resources for transmitting and receiving radio frequency signals can be used to realize the simultaneous service response of dual SIM cards.
  • increasing hardware resources will not only greatly increase the terminal cost, but also cause intermodulation problems when multiple transmitters work at the same time (for a dual-connection SIM card, three or even four transmitters need to work at the same time).
  • an embodiment of the present application provides a service response method, which utilizes limited hardware resources to realize dual-SIM card services by reasonably releasing hardware resources occupied by allocating SIM cards.
  • SIM card service response The following embodiments are described by taking the application of the service response method to the terminal 110 shown in FIG. 1 as an example.
  • the service response method provided by the embodiment of the present application is used for a terminal provided with at least two SIM cards, and the at least two SIM cards include a first SIM card and a second SIM card, and the method includes:
  • 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
  • the card maintains at least one network connection with at least one network device in a channel state
  • 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,
  • the working mode of the first SIM card is a dual connection mode
  • the working mode of the second SIM card is a dual connection mode
  • the working mode of the first SIM card is a single connection mode
  • the working mode of the second SIM card is a single connection mode
  • 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 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 the third network device;
  • the release of the target hardware resources occupied by the first SIM card and allocating them to the second SIM card includes:
  • the target hardware resources occupied by the second network connection are released and allocated to the third network connection of the second SIM card.
  • releasing the target hardware resources occupied by the first network connection and allocating to the third network connection of the second SIM card includes:
  • the target hardware resources occupied by the first network connection are released in a first release manner, and allocated to the third network connection of the second SIM card, wherein, in the first release manner, the target hardware resources are Time division multiplexing of the first SIM card and the second SIM card; or,
  • the target hardware resources occupied by the first network connection are released in a second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are The second SIM card is exclusive;
  • the release of the target hardware resources occupied by the second network connection and the allocation to the third network connection of the second SIM card includes:
  • the target hardware resources occupied by the second network connection are released in 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 resources are Time division multiplexing of the first SIM card and the second SIM card; or,
  • the target hardware resources occupied by the second network connection are released in a second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are The second SIM card is exclusive.
  • the working mode of the first SIM card is a dual connection mode
  • a first network connection is established between the first SIM card and a first network device
  • a second network connection is established between the second network device
  • the working mode of the second SIM card is a dual connection mode
  • a third network connection is established between the second SIM card and the third network device
  • a fourth network connection is established between the fourth network device
  • the release of the target hardware resources occupied by the first SIM card and allocating them to the second SIM card includes:
  • releasing the target hardware resources occupied by the first network connection and the second network connection, and assigning them to the third network connection and the fourth network connection of the second SIM card include:
  • the target hardware resources occupied by the first network connection and the second network connection are released by the first release method, and 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 resource is time-division multiplexed by the first SIM card and the second SIM card; or,
  • the first release method is used to release the first target hardware resources occupied by the first network connection
  • the second release method is used to release the second target hardware resources occupied by the second network connection, and allocate the resources to the second SIM card.
  • the third network connection and the fourth network connection wherein, under the first release mode, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and 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 by the first release method
  • the first target hardware resource occupied by the first network connection is released by the second release method, and allocated to the second SIM card.
  • the third network connection and the fourth network connection wherein, under the first release mode, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and the second release In this mode, the first target hardware resource is exclusively occupied by the second SIM card.
  • the release moments of the hardware resources occupied by the first network connection and the second network connection are staggered.
  • 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, establishing a second network connection between the second SIM card and the second network device;
  • the release of the target hardware resources occupied by the first SIM card and allocating them to the second SIM card includes:
  • 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 in an on state.
  • releasing the target hardware resources occupied by the first network connection and allocating the second network connection to the second SIM card includes:
  • the target hardware resources occupied by the first network connection are released in a first release mode, and allocated to the second network connection of the second SIM card, wherein, in the first release mode, the target hardware resources are The first SIM card and the second SIM card are time-division multiplexed.
  • the network connections established in dual-connection mode include new air interface NR connections and long-term evolution LTE connections in non-standalone NSA mode;
  • the network connection established in the single connection mode is an LTE connection, or an NR connection in the independent networking SA mode.
  • the target hardware resources include transmitter resources and/or receiver resources.
  • the method further includes:
  • the target hardware resources are reallocated to the first SIM card.
  • FIG. 2 shows a flowchart of a service response method provided by an exemplary embodiment of the present application. This embodiment is described by taking the method for the terminal 110 shown in FIG. 1 as an example, and the method may include the following step.
  • Step 202 when the second SIM card has business requirements, release the target hardware resources occupied by the first SIM card, and allocate it to the second SIM card, wherein, after releasing the target hardware resources, the first SIM card and at least one network device are maintained. At least one network connection is in an open state.
  • the terminal is provided with at least two SIM cards, and the following embodiment takes the first SIM card and the second SIM card among the at least two SIM cards as examples for description.
  • the first SIM card is the primary card
  • the second SIM card is the secondary card
  • the terminal preferentially allocates hardware resources to the first SIM card for service response.
  • 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.
  • the services of the first SIM card can still be responded normally, and the services of the second SIM card can be normally responded to through the target hardware resources.
  • the goal is to maintain at least one network connection in a channel state between a SIM card and at least one network device, and the target hardware resource to meet the service response requirement of the second SIM card is the goal to determine the target hardware resource.
  • the number of network connections in the channel 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.
  • the number of network connections in the channel state is one (with a single network device) or two (with two network devices).
  • 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 pass the allocated resources.
  • Transmitter resources and receiver resources transmit and receive radio frequency signals with network equipment to achieve service response.
  • the terminal uses hardware resources to respond to the service of the first SIM card and has no idle hardware resources as an example (so the target hardware resources need to be released).
  • the terminal may respond to the service of the second SIM card through the idle hardware resources, which is not limited in this embodiment.
  • Step 204 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.
  • the terminal 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, because 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 path state , so the service of the first SIM card can continue to be responded, and the simultaneous response of the services of the first SIM card and the second SIM card is realized.
  • the terminal responds to the game service of the first SIM card through hardware resources, and 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, while ensuring the normal response of the game service on the first SIM card, the normal response of the call service on the second SIM card is realized, that is, the user can continue to play the game during the call.
  • the target hardware resources occupied by the first SIM card are allocated to the second SIM card, so as to respond to the service of the second SIM card through the target hardware resources, and continue to respond to the first SIM card through the remaining hardware resources.
  • the service of one SIM card avoids the problem that the first SIM card service is interrupted due to responding to the second SIM card service, achieves the effect of using limited hardware resources to realize the simultaneous response of dual SIM card services, and improves the stability of multi-SIM card terminal service response.
  • the terminal determines the target hardware resource to be released and the release method of the target hardware resource, it needs to combine the respective working modes of the first SIM card and the second SIM card.
  • the working modes of the first SIM card and the second SIM card may include the following.
  • the working mode of the first SIM card is a dual connection mode
  • the working mode of the second SIM card is a single connection mode
  • the network connection established by the first SIM card through the terminal includes a non-independent group.
  • the network connection established by the second SIM card through the terminal may be an NR connection in an independent networking (Stand Alone, SA) mode, or an LTE connection.
  • SA independent networking
  • the LTE connection corresponding to the first SIM card remains in the channel state, or both the NR connection and the LTE connection corresponding to the first SIM card remain in the channel state; after allocating the target hardware resources, the second SIM card corresponds to the channel state.
  • the NR connection of the second SIM card remains in the channel state, or the LTE connection corresponding to the second SIM card remains in the channel state.
  • 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
  • the network connection established by the first SIM card through the terminal includes the NR connection and the LTE connection in the NSA mode.
  • the network connection established by the two SIM cards through the terminal includes the NR connection and the LTE connection in the NSA mode, and the anchor points are both located in the LTE network.
  • the LTE connection corresponding to the first SIM card remains in the channel state, or both the NR connection and the LTE connection corresponding to the first SIM card remain in the channel state; after allocating the target hardware resources, the second SIM card corresponds to the channel state.
  • the LTE connection of the second SIM card remains in the channel state, or both the NR connection and the LTE connection corresponding to the second SIM card remain in the channel state.
  • the working mode of the first SIM card is the single connection mode
  • the working mode of the second SIM card is the 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 or an LTE connection in the SA mode.
  • the network connection between the first SIM card and the network device is an NR connection
  • the network connection between the second SIM card and the network device is an LTE connection.
  • the NR connection corresponding to the first SIM card maintains the on-path state; after allocating the target hardware resources, the LTE connection corresponding to the second SIM card maintains the on-path state.
  • FIG. 3 shows a flowchart of a service response method provided by another exemplary embodiment of the present application.
  • the working mode of the first SIM card is the dual-connection mode
  • the working mode of the second SIM card is The single connection mode is used as an example to illustrate.
  • the method may include the following steps.
  • Step 301 when the second SIM card has service requirements, release the target hardware resources occupied by the first network connection and allocate it to the third network connection of the second SIM card.
  • the terminal 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 maintains the channel state, and the second network connection between the terminal and the second network device maintains the channel state.
  • the terminal responds to the network through the NR connection and the LTE connection of the first SIM card to meet the service requirements of the first SIM card.
  • the terminal will periodically release some hardware resources (such as receiver resources) to the second SIM card, so as to receive the monitoring signal of the network. If the second SIM card does not need to perform network response (that is, there is no service requirement), the hardware resources are returned to the first SIM card after receiving the monitoring signal.
  • some hardware resources such as receiver resources
  • the terminal releases the target hardware resources occupied by the first network connection in the dual network connection, and transfers the target hardware resources to the target hardware resources. Allocated to the third network connection between the second SIM and the third network device.
  • the terminal may determine the hardware resource occupied by the first SIM card corresponding to the LTE connection as the target hardware resource, and allocate it to the second SIM card.
  • the terminal adopts different release methods for target hardware resources, and two different hardware resource release methods are respectively described below.
  • the terminal uses time-division multiplexing to release and allocate the 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 first SIM card and the third network connection can use the target hardware resources alternately.
  • the respective services of the two SIM cards can be responded to.
  • the time interval for time division multiplexing may be preset in the terminal.
  • the target hardware resources previously occupied by the first SIM card corresponding to the LTE connection are alternately used by the LTE connection of the first SIM card and the second SIM card, and the service of the second SIM card is responded, and at the same time, Both the NR connection and the LTE connection corresponding to the first SIM card remain in the channel state, so the service of the first SIM card can continue to be responded, and since the NR connection is not affected, the service response delay is low.
  • the target hardware resources occupied by the first network connection are released by the second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are exclusively occupied by the second SIM card.
  • 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 service of the second SIM card, the first network connection corresponding to the first SIM card will not be able to use the target hardware resources.
  • the target hardware resources previously occupied by the first SIM card corresponding to the LTE connection 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 first SIM card keeps the channel state corresponding to the NR connection, so the services of the first SIM card can continue to be responded.
  • the terminal determines the expected response duration based on the service type of the second SIM card service, and if the expected response duration is greater than the duration threshold, the first release method is adopted to release the target hardware resources. If the response duration is less than the duration threshold, the second release method is used to release the target hardware resources.
  • the expected response duration can be determined according to the historical response duration of the service.
  • Step 302 when the second SIM card has service requirements, release the target hardware resources occupied by the second network connection and allocate it to the third network connection of the second SIM card.
  • the terminal can also release the second Target hardware resources consumed by the network connection.
  • the terminal adopts different release methods for target hardware resources, and two different hardware resource release methods are described below.
  • the second network connection is used as the connection that mainly transmits data, and its data throughput will directly affect the service response quality. Therefore, in order to minimize the degradation of the second SIM card service, the Affected by the SIM card service, the terminal uses time division multiplexing to release and allocate target hardware resources, 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 the impact of time division multiplexing hardware resources on the data throughput of the first SIM card can be reduced.
  • 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, the service of the second SIM card is responded, and at the same time, the first SIM card is Both the NR connection and the LTE connection corresponding to one SIM card remain in the channel state, so the service of the first SIM card can continue to be responded to.
  • the target hardware resources occupied by the second network connection are released by the second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are exclusively occupied by the second SIM card.
  • 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 service of the second SIM card, the first network connection corresponding to the first SIM card will not be able to use the target hardware resources.
  • the target hardware resources originally occupied by the first SIM card corresponding to the NR connection are exclusively occupied by the second SIM card, and the second SIM card responds to services through the LTE connection. Card business can continue to be responded to.
  • the terminal determines the data throughput requirement and delay requirement of the first SIM service. If both the data throughput requirement and the delay requirement are lower than the preset requirement indicators (that is, the data throughput is low and the delay requirement is low), the terminal adopts the second SIM service.
  • the release method releases the target hardware resources, otherwise, the terminal uses the first release method to release the target hardware resources.
  • Step 303 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.
  • the terminal performs network response to the service of the second SIM card through the LTE connection, and performs network response to the service of the first SIM card through the LTE connection and the NR connection; as shown in FIG.
  • the LTE connection performs network response to the service of the second SIM card, and the network responds to the service of the first SIM card through the NR connection; as shown in Figure 6, the terminal performs network response to the service of the second SIM card through the LTE connection,
  • the connection and the NR connection make network responses to the services of the first SIM card.
  • Step 304 when the service of the second SIM card ends, reallocate the target hardware resources to the first SIM card.
  • the terminal when the service of the second SIM card ends, the terminal redistributes the target hardware resources occupied by the second SIM card corresponding to the LTE connection to the LTE connection of the first SIM card; as shown in Figure 6. As shown, the terminal reallocates the target hardware resources occupied by the second SIM card corresponding to the LTE connection to the NR connection of the first SIM card.
  • the establishment of an LTE connection between the second SIM card and the network device is used as an example for schematic illustration.
  • the second SIM card An NR connection (based on SA networking) may also be established between the card and the network device, which is not limited 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 exclusively uses the target hardware resources to ensure that the second SIM card service can be responded to and the first SIM card service can be continuously responded, and simultaneous response of the dual SIM card service is achieved.
  • using the time division multiplexing method 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, and improve the service quality of the service.
  • FIG. 7 shows a flowchart of a service response method provided by another exemplary embodiment of the present application.
  • the working mode of the first SIM card is a dual-connection mode
  • the first SIM card and the first SIM A first network connection is established between network devices, a second network connection is established with 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 the third network device.
  • a network connection, establishing a fourth network connection with a fourth network device is described as an example. The method may include the following steps.
  • Step 701 when the second SIM card has service requirements, release the target hardware resources occupied by the first network connection and the second network connection, and allocate the third network connection and the fourth network connection of the second SIM card, wherein the release After the target hardware resource, at least one of the first network connection and the second network connection remains in an on-path state.
  • the terminal will periodically release some hardware resources (such as receiver resources) to the second SIM card, so as to receive the monitoring signal of the network. If the second SIM card does not need to perform network response (that is, there is no service requirement), the hardware resources are returned to the first SIM card after receiving the monitoring signal.
  • some hardware resources such as receiver resources
  • the second SIM card needs to perform a network response (ie, there is a service requirement), it needs to continue to occupy hardware resources so as to perform a service response through the hardware resources.
  • the working modes of the first SIM card and the second SIM card are both in dual connection mode, only releasing the hardware resources occupied by the first SIM card corresponding to one network connection will not be able to meet the requirements of the second SIM card, so the terminal needs to release two target hardware resources occupied by the network connection, so that the target hardware resources are allocated to the two network connections corresponding to the second SIM card.
  • the first SIM card and the network device can keep two network connections in the channel state, or keep one network connection in the channel state, respectively. Describes different hardware resource release methods.
  • the terminal controls the time division multiplexing hardware resources of the first SIM card and the second SIM card.
  • the terminal uses time division multiplexing to release the first target hardware resources occupied by the first network connection and allocates them to the third network connection of the second SIM card; uses time division multiplexing to release the second network connection
  • the second target hardware resource occupied by the connection is connected and allocated to the fourth network connection of the second SIM card.
  • the first network connection and the second network connection corresponding to the first SIM card remain in the channel state, and the third network connection and the fourth network connection corresponding to the second SIM card are both in the channel state.
  • the time division multiplexing method can ensure that the anchor point network is not interrupted and improve the stability of the dual SIM card service.
  • the release times of the hardware resources occupied by the first network connection and the second network connection are staggered, that is, the release times of the hardware resources occupied by the first network connection are released.
  • the second network connection keeps the hardware resources occupied
  • the first network connection keeps the hardware resources occupied, so as to avoid releasing the hardware resources occupied by the first network connection and the second network connection at the same time.
  • the LTE connection corresponding to the first SIM card and the LTE connection corresponding to the second SIM card use time division multiplexing to alternately use hardware resources
  • the NR connection corresponding to the first SIM card and the second SIM card use hardware resources alternately.
  • the corresponding NR connection adopts the time-division multiplexing method to alternately use the hardware resources, and the services of the first SIM card and the second SIM card can both obtain normal responses.
  • 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 network connection occupied
  • the second target hardware resource is controlled, and the fourth network connection of the second SIM card is controlled to exclusively occupy the second target hardware resource.
  • the networks corresponding to the first network connection and the third network connection are anchor points in the dual connection mode.
  • 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.
  • the four network connections exclusively occupy the hardware resources originally occupied by the second network connection, so the second SIM card can ensure higher data throughput.
  • the LTE connection corresponding to the first SIM card and the LTE connection corresponding to the second SIM card use time division multiplexing to alternately use hardware resources, while the NR connection corresponding to the second SIM card exclusively occupies the first SIM card.
  • 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 second SIM.
  • the fourth network connection of the card releasing the first target hardware resources occupied by the first network connection, and controlling the third network connection of the second SIM card to exclusively occupy the second target hardware resources.
  • the NR connection corresponding to the first SIM card and the NR connection corresponding to the second SIM card use time division multiplexing to alternately use hardware resources, while the LTE connection corresponding to the second SIM card exclusively occupies the first SIM card.
  • the terminal determines the expected response duration based on the service type of the second SIM card service, and if the expected response duration is greater than the duration threshold, the first release mode is adopted to release the second SIM card. If the expected response duration of the first target hardware resource occupied by a network connection is less than the duration threshold, the second release method is adopted to release the first target hardware resource occupied by the first network connection.
  • the expected response duration can be determined according to the historical response duration of the service.
  • Step 702 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.
  • the terminal performs network response to the service of the second SIM card through the LTE connection and the NR connection, and performs network response to the service of the first SIM card through the LTE connection and the NR connection; as shown in Figure 9 , the terminal performs network response to the service of the second SIM card through the LTE connection and the NR connection, and performs network response to the service of the first SIM card through the LTE connection; as shown in FIG.
  • the service of the card performs network response, and performs network response to the service of the first SIM card through the NR connection.
  • Step 703 when the service of the second SIM card ends, reallocate the target hardware resources to the first SIM card.
  • the terminal 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 LTE connection and the NR connection to the LTE connection of the first SIM card. Connect with NR.
  • 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 first SIM card and the second SIM card alternately use the target hardware resources.
  • the second SIM card service is responded, it is ensured that the first SIM card service can continue to respond, so as to realize the simultaneous response of the dual SIM card service, and at the same time reduce the delay caused by the second SIM card service to the first SIM card service.
  • FIG. 11 shows a flowchart of a service response method provided by another exemplary embodiment of the present application.
  • the working mode of the first SIM card is a single connection mode
  • the first SIM card is connected to the first SIM card
  • the first network connection is established between network devices
  • the working mode of the second SIM card is a single connection mode
  • the second network connection is established between the second SIM card and the second network device as an example for description.
  • the method may include the following steps.
  • Step 1101 when the second SIM card has business requirements, release the target hardware resources occupied by the first network connection, and allocate it to the second network connection of the second SIM card, wherein, after releasing the hardware resources, the first network connection maintains the path state.
  • the second SIM card will regularly receive monitoring signals from the network. If the second SIM card does not need to perform network response (that is, there is no service demand), it will stand by after completing the monitoring action.
  • the second SIM card can regularly monitor the network (through another channel) without using the hardware resources of the first SIM card. receiver), and standby again when there is no need for network response.
  • the terminal will periodically release the receiver resources to the second SIM card to receive the monitoring signal of the network, that is, the first SIM card.
  • 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 perform network response (that is, there is no service requirement), the receiver resources are returned to the first SIM card after receiving the monitoring signal.
  • the terminal needs to allocate the target hardware resources (transmitter resources) of the first SIM card to the second SIM card so as to respond to the services of the second SIM card.
  • the terminal Since the first SIM card only corresponds to one network connection, when the first SIM card service and the second SIM card service are simultaneously responded to, the terminal cannot control the first SIM card or the second SIM card to monopolize the hardware resources. , the terminal uses time division multiplexing to release the target hardware resources occupied by the first network connection, and allocates the target hardware resources to the second network connection of the second SIM card, so that the target hardware resources are alternately used by the first SIM card and the second SIM card.
  • the terminal uses time division multiplexing to release the transmitter resources occupied by the first network connection and allocate them to the second network of the second SIM card connect.
  • the terminal when the second SIM card has service requirements, the terminal adopts a time division multiplexing method to control the first SIM card and the second SIM card to alternately use transmitter resources for network response.
  • the terminal uses time division multiplexing to release the transmitter resources and receiver resources occupied by the first network connection, and allocate them to the second SIM Card's second network connection.
  • Step 1102 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.
  • the terminal performs network response to the service of the second SIM card through NR connection or LTE connection, and performs network response to the service of the first SIM card through NR connection or LTE connection, for example, the terminal connects through LTE A network response is performed to the service of the second SIM card, and a network response is performed to the service of the first SIM card through the NR connection.
  • Step 1103 when the service of the second SIM card ends, reallocate the target hardware resources to the first SIM card.
  • the terminal 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 LTE connection to the NR connection of the first SIM card, thereby increasing the NR connection of the first SIM card. data throughput.
  • the terminal adopts the time division multiplexing method to control the first SIM card and the second SIM card to use the target hardware resources alternately, so as to realize the simultaneous response of the first SIM card and the second SIM card service; and, using this solution, the terminal Only need to set a single transmitter to realize simultaneous response of dual SIM card services, reduce the hardware requirements of the terminal, and reduce the restrictions on the radio frequency combination of the first SIM card and the second SIM card (when the two transmitters work at the same time, it is subject to Due to the limitations of the radio frequency chip and the radio frequency front-end circuit, the number of radio frequency combinations supported by the first SIM card and the second SIM card is limited).
  • FIG. 13 shows a structural block diagram of a service response apparatus provided by an embodiment of the present application.
  • the apparatus can be implemented as all or a part of the terminal through software, hardware or a combination of the two.
  • the device includes:
  • a release and allocation module 1301, configured to release the target hardware resources occupied by the first SIM card when there is a service requirement on the second SIM card, and allocate them to the second SIM card, wherein the target hardware resources are released Afterwards, the first SIM card and at least one network device keep at least one network connection in a channel state;
  • the service response module 1302 is configured to respond to the service of the second SIM card by using the target hardware resources, and respond to the service of the first SIM card by using the remaining hardware resources.
  • the working mode of the first SIM card is a dual connection mode
  • the working mode of the second SIM card is a single connection mode
  • the working mode of the first SIM card is a dual connection mode
  • the working mode of the second SIM card is a dual connection mode
  • the working mode of the first SIM card is a single connection mode
  • the working mode of the second SIM card is a single connection mode
  • 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 the first network device, and a second network connection is established between the first SIM card and the 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 the third network device;
  • the release allocation module 1301 includes:
  • a first release allocation unit configured to release the target hardware resources occupied by the first network connection, and be allocated to the third network connection of the second SIM card;
  • the second release and allocation unit is configured to release the target hardware resources occupied by the second network connection and allocate it to the third network connection of the second SIM card.
  • the first release allocation unit is used for:
  • the target hardware resources occupied by the first network connection are released in a first release manner, and allocated to the third network connection of the second SIM card, wherein, in the first release manner, the target hardware resources are Time division multiplexing of the first SIM card and the second SIM card; or,
  • the target hardware resources occupied by the first network connection are released in a second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are The second SIM card is exclusive;
  • the second release distribution unit is used for:
  • the target hardware resources occupied by the second network connection are released in 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 resources are Time division multiplexing of the first SIM card and the second SIM card; or,
  • the target hardware resources occupied by the second network connection are released in a second release mode, and allocated to the third network connection of the second SIM card, wherein, in the second release mode, the target hardware resources are The second SIM card is exclusive.
  • 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 the first network device, and a second network connection is established between the first SIM card and the 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 the third network device, and a fourth network connection is established between the fourth network device;
  • the release allocation module 1301 includes:
  • a third release allocation unit configured to release target hardware resources occupied by the first network connection and the second network connection, and allocate the third network connection and the fourth network to the second SIM card connection, wherein after the target hardware resource is released, at least one of the first network connection and the second network connection maintains a channel state.
  • the third release allocation unit is used for:
  • the target hardware resources occupied by the first network connection and the second network connection are released by the first release method, and 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 resource is time-division multiplexed by the first SIM card and the second SIM card; or,
  • the first target hardware resource occupied by the first network connection is released by the first release method
  • the second target hardware resource occupied by the second network connection is released by the second release method, and allocated to the second SIM card.
  • the third network connection and the fourth network connection wherein, under the first release mode, the first target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and 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 by the first release method
  • the first target hardware resource occupied by the first network connection is released by the second release method, and allocated to the second SIM card.
  • the third network connection and the fourth network connection wherein, under the first release mode, the second target hardware resource is time-division multiplexed by the first SIM card and the second SIM card, and the second release In this mode, the first target hardware resource is exclusively occupied by the second SIM card.
  • the release times of the hardware resources occupied by the first network connection and the second network connection are staggered.
  • 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, establishing a second network connection between the second SIM card and the second network device;
  • the release allocation module 1301 includes:
  • the fourth release allocation unit is used to release the target hardware resources occupied by the first network connection and allocate it to the second network connection of the second SIM card, wherein after releasing the hardware resources, the first network The connection remains open.
  • a fourth release allocation unit for:
  • the target hardware resources occupied by the first network connection are released in a first release mode, and allocated to the second network connection of the second SIM card, wherein, in the first release mode, the target hardware resources are The first SIM card and the second SIM card are time-division multiplexed.
  • the network connection established in dual connection mode includes NR connection and LTE connection in NSA mode;
  • the network connection established in the single connection mode is an LTE connection, or an NR connection in the SA mode.
  • the target hardware resources include transmitter resources and/or receiver resources.
  • the release and allocation module 1301 is further configured to reallocate the target hardware resource to the first SIM card when the service of the second SIM card ends.
  • the target hardware resources occupied by the first SIM card are allocated to the second SIM card, so as to respond to the services of the second SIM card through the target hardware resources, and pass the remaining hardware resources.
  • the hardware resources continue to respond to the services of the first SIM card, avoiding the problem of interrupting the services of the first SIM card due to responding to the services of the second SIM card, achieving the effect of using limited hardware resources to simultaneously respond to dual SIM card services, and improving multi-SIM card terminal services.
  • the stability of the response is a simple matter of the response.
  • the device provided by the above-mentioned embodiment is only illustrated by the division of the above-mentioned functional modules.
  • the above-mentioned function allocation can be completed by different functional modules as required, that is, the internal structure of the device is divided into Different functional modules to complete all or part of the functions described above.
  • the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
  • FIG. 14 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. It can be implemented as the terminal in the above embodiments, and the terminal in this application can include one or more of the following components: a processor 1410 , a memory 1420 , a receiver 1430 and a transmitter 1440 .
  • Processor 1410 may include one or more processing cores.
  • the processor 1410 uses various interfaces and lines to connect various parts in the entire electronic device, and executes the electronic device by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1420, and calling the data stored in the memory 1420.
  • Various functions of the device and processing data may employ at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 1410 may integrate one or more of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), and a modem, etc.
  • a central processing unit Central Processing Unit, CPU
  • a graphics processor Graphics Processing Unit, GPU
  • a neural network processor Neural-network Processing Unit, NPU
  • a modem etc.
  • the CPU mainly handles the operating system, user interface, and applications
  • the GPU is used to render and draw the content that needs to be displayed on the touch screen
  • the NPU is used to implement artificial intelligence (AI) functions
  • the modem is used to process Wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1410, but can be implemented by a single chip.
  • the memory 1420 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM).
  • the memory 1420 includes a non-transitory computer-readable storage medium.
  • Memory 1420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1420 may include a stored program area and a stored data area, wherein the stored program 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 and the like used to implement the following various method embodiments; the storage data area may store data (such as audio data, phone book) and the like created according to the use of the terminal device.
  • the receiver 1430 and the transmitter 1440 may be implemented as a communication component, which may be a communication chip. And, the number of the receiver 1430 and the transmitter 1440 in the terminal is at least one.
  • the terminal includes one transmitter and two receivers, or includes one transmitter and one receiver, or includes two transmitters and two receivers.
  • 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 less components than those shown in the drawings, or combine some components , or a different component arrangement.
  • the terminal device also includes components such as an input unit, a sensor, an audio circuit, a speaker, a microphone, and a power supply, which will not be repeated here.
  • Embodiments of the present application further provide a computer-readable storage medium, where 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 described in the foregoing embodiments.
  • Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are 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 foregoing embodiment.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种业务响应方法、装置、终端及存储介质,属于通信技术领域。该方法用于设置有至少两张SIM卡的终端,至少两张SIM卡中包括第一SIM卡和第二SIM卡,方法包括:当第二SIM卡存在业务需求时,释放第一SIM卡占用的目标硬件资源,并分配给第二SIM卡,其中,释放目标硬件资源后,第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态(202);通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源响应第一SIM卡的业务(204)。本申请实施例提供的方案能够避免因响应第二SIM卡业务导致第一SIM卡业务中断的问题,达到利用有限硬件资源实现双SIM卡业务同时响应的效果。

Description

业务响应方法、装置、终端及存储介质
本申请实施例要求于2020年12月18日提交,申请号为202011510030.9、发明名称为“业务响应方法、装置、终端及存储介质”的中国专利申请优先权,其全部内容通过引用结合在本申请实施例中。
技术领域
本申请实施例涉及通信技术领域,特别涉及一种业务响应方法、装置、终端及存储介质。
背景技术
随着终端技术的不断发展,越来越多的移动终端支持双用户身份识别卡(Subcarrier Identification Module,SIM)卡功能。
相关技术中,支持双SIM卡功能的移动终端通常采用双卡双待(Dual SIM Dual Standby,DSDS)和双接收-双卡双待(Dual Receiver-Dual SIM Dual Standby,DR-DSDS)技术。
发明内容
本申请实施例提供了一种业务响应方法、装置、终端及存储介质。所述技术方案如下:
一方面,本申请实施例提供了一种业务响应方法,所述方法用于设置有至少两张SIM卡的终端,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述方法包括:
当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
另一方面,本申请实施例提供了一种业务响应装置,所述装置用于设置有至少两张SIM卡的终端,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述装置包括:
释放分配模块,用于当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
业务响应模块,用于通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
另一方面,本申请实施例提供了一种终端,所述终端设置有至少两张SIM卡,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述终端包括:
处理器;
与所述处理器相连的接收器和发射器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为加载并执行所述可执行指令以实现如上述方面所述的业务响应方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的业务响应方法。
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面提供的业务响应方法。
附图说明
图1示出了本申请一个示例性实施例提供的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的业务响应方法的流程图;
图3示出了本申请另一个示例性实施例提供的业务响应方法的流程图;
图4是本申请一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图5是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图6是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图7示出了本申请另一个示例性实施例提供的业务响应方法的流程图;
图8是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图9是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图10是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图11示出了本申请另一个示例性实施例提供的业务响应方法的流程图;
图12是本申请另一个示例性实施例示出的业务响应方法实施过程的实施示意图;
图13示出了本申请另一个实施例提供的业务响应装置的结构框图;
图14示出了本申请一个示例性实施例提供的终端的结构方框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
请参考图1,其示出了本申请一个示例性实施例提供的实施环境的示意图,该实施环境中包括终端110和网络设备120。
终端110可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备,移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为终端。
网络设备120与终端110之间通过某种空口技术互相通信,例如Uu接口。
网络设备120可以是基站,基站是一种部署在接入网中用以为终端提供无线通信功能的装置。基站可以包括各种形式的宏基站,微基站,中继站,接入点等等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在LTE系统中,称为演进型节点(evolved Node B,eNodeB或者eNB);在5G NR-U系统中,称为gNodeB或者gNB。随着通信技术的演进,“基站”这一描述可能会变化。为方便本申请实施例中,上述为终端110提供无线通信功能的装置统称为网络设备。
本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)系统、先进的长期演进(Advanced Long Term Evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频段上的LTE(LTE-based access to Unlicensed spectrum,LTE-U)系统、NR-U系统、下一代通信系统或其他通信系统等。
按照工作状态下连接网络设备数量的不同,终端110中SIM卡的工作模式可以分为单连接模式和双连接模式。单连接模式下,SIM卡通过终端110与单一网络设备120建立网络连接,如图1所示,第一SIM卡的工作模式为单连接模式时,终端110与第一网络设备121建立网络连接;双连接模式下,SIM卡通过终端110分别与两个网络设备120建立两条网络连接,如图1所示,第一SIM卡的工作模式为双连接模式时,终端110分别与第一网络设备121和第二网络设备122建立第一网络连接和第二网络连接。
本申请实施例中,终端110中设置有至少两张SIM卡,其中,不同SIM卡对应的工作模式可以相同,也可以不同。比如,第一SIM卡的工作模式为双连接模式,第二SIM卡的工作模式为单连接模式(图1中,第二SIM卡的工作模式为单连接模式时,终端110与第三网络设备123建立第三网络连接);第一SIM卡的工作模式为双连接模式,第二SIM卡的工作模式为双连接模式(图1中,第二SIM卡的工作模式为双连接模式时,终端110分别与第三网络设备123和第四网络设备124建立第三网络连接和第四网络连接),第一SIM卡的工作模式为单连接模式,第二SIM卡的工作模式为单连接模式。
当终端中设置有两张SIM卡时,终端采用DSDS或DR-DSDS技术实现双卡功能。然而,由于终端的射频信号收发硬件资源优先,因此不论是采用DSDS技术还是DR-DSDS技术实现双卡功能,同一时刻下,终端仅能够保证一张SIM处于工作状态,即当第一SIM卡响应业务过程中,若第二SIM卡存在业务需求,响应第二SIM卡的业务将导致第一SIM卡业务中断。在游戏等应用场景下,SIM卡业务中断会造成游戏时延增加,甚至造成游戏掉线。
相关技术中,可以采用增加射频信号收发硬件资源的方式,实现双SIM卡同时进行业务响应。但是,增加硬件资源不仅会大幅增加终端成本,而且在实现多路发射器同时工作时(对于双连接模式的SIM卡,需要实现三路甚至四路发射器同时工作),会产生交调问题。
为了在不额外增加硬件资源的前提下实现双SIM卡业务的同时响应,本申请实施例提供了一种业务响应方法,该方法通过合理释放分配SIM卡占用的硬件资源,利用有限硬件资源实现双SIM卡业务响应。 下述实施例以业务响应方法应用图1所示的终端110为例进行说明。
本申请实施例提供的业务响应方法,该方法用于设置有至少两张SIM卡的终端,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,该方法包括:
当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
可选地,
所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为单连接模式;或,
所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为双连接模式;或,
所述第一SIM卡的工作模式为单连接模式,所述第二SIM卡的工作模式为单连接模式。
可选地,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第三网络设备之间建立第三网络连接;
所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接;或,
释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接。
可选地,所述释放第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,包括:
采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第二释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占;
所述释放第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,包括:
采用第一释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第二释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占。
可选地,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为双连接模式,且所述第二SIM卡与第三网络设备之间建立第三网络连接,与第四网络设备之间建立第四网络连接;
所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,释放目标硬件资源后,所述第一网络连接和所述第二网络连接中的至少一条保持通路状态。
可选地,所述释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,包括:
采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第一释放方式释放所述第一网络连接占用的第一目标硬件资源,采用第二释放方式释放所述第二网络连接占用的第二目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第一目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第二目标硬件资源被所述第二SIM卡独占;或,
采用第一释放方式释放所述第二网络连接占用的第二目标硬件资源,采用第二释放方式释放所述第一网络连接占用的第一目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第二目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第一目标硬件资源被所述第二SIM卡独占。
可选地,采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源时,所 述第一网络连接以及所述第二网络连接占用硬件资源的释放时刻交错。
可选地,所述第一SIM卡的工作模式为单连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第二网络设备之间建立第二网络连接;
所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,释放硬件资源后,所述第一网络连接保持通路状态。
可选地,所述释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,包括:
采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用。
可选地,
双连接模式下建立的网络连接包括非独立组网NSA模式下的新空口NR连接和长期演进LTE连接;
单连接模式下建立的网络连接为LTE连接,或,独立组网SA模式下的NR连接。
可选地,所述目标硬件资源包括发射器资源和/或接收器资源。
可选地,所述通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务之后,所述方法还包括:
当所述第二SIM卡的业务结束时,将所述目标硬件资源重新分配给所述第一SIM卡。
请参考图2,其示出了本申请一个示例性实施例提供的业务响应方法的流程图,本实施例以该方法用于图1所示的终端110为例进行说明,该方法可以包括如下步骤。
步骤202,当第二SIM卡存在业务需求时,释放第一SIM卡占用的目标硬件资源,并分配给第二SIM卡,其中,释放目标硬件资源后,第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态。
本实施例中,终端设置有至少两张SIM卡,且下述实施例以至少两张SIM卡中的第一SIM卡和第二SIM卡为例进行说明。
在一种可能的实施方式中,第一SIM卡为主卡,第二SIM卡为副卡,终端优先将硬件资源分配给第一SIM卡进行业务响应。
终端通过硬件资源响应第一SIM卡业务的过程中,当第二SIM卡存在业务需求时,终端从第一SIM卡占用的硬件资源中,确定出分配给第二SIM卡的目标硬件资源,其中,该目标硬件资源为第一SIM卡业务占用的部分硬件资源,或者,该目标硬件资源为第一SIM卡业务占用的全部硬件资源。
为了确保释放第一SIM卡占用的目标硬件资源后,第一SIM卡的业务仍旧能够得到正常响应,且通过目标硬件资源能够正常响应第二SIM卡的业务,终端以释放目标硬件资源后,第一SIM卡与至少一个网络设备之间保持至少一条处于通路状态的网络连接为目标,且目标硬件资源满足第二SIM卡业务响应需求为目标,确定目标硬件资源。
其中,释放目标硬件资源后,第一SIM卡与网络设备之间处于通路状态的网络连接的数量与第一SIM卡以及第二SIM卡的工作模式相关。可选的,处于通路状态的网络连接的数量为一条(与单一网络设备)或两条(与两个网络设备)。
本申请实施例中,目标硬件资源包括发射器资源和接收器资源,即终端将第一SIM卡占用的发射器资源和接收器资源分配给第二SIM卡,使第二SIM卡能够通过分配的发射器资源和接收器资源与网络设备进行射频信号收发,从而实现业务响应。
需要说明的是,本实施例以终端通过硬件资源响应第一SIM卡的业务后无空闲硬件资源为例进行说明(因此需要释放目标硬件资源),在其他可能的应用场景下,当终端通过硬件资源响应第一SIM卡的业务后,仍旧存在空闲硬件资源时,终端可以通过空闲硬件资源响应的第二SIM卡的业务,本实施例对此不作限定。
步骤204,通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源响应第一SIM卡的业务。
完成硬件资源释放和分配后,终端通过目标硬件资源响应第二SIM卡的业务;同时,由于释放目标硬件资源后,第一SIM卡占用的剩余硬件资源仍旧能够保持至少一条处于通路状态的网络连接,因此第一SIM卡的业务能够继续得到响应,实现第一SIM卡和第二SIM卡业务的同时响应。
在一种可能的应用场景下,终端通过硬件资源响应第一SIM卡的游戏业务,当第二SIM卡接收到来电时,终端将第一SIM卡占用的部分硬件资源分配给第二SIM卡,在保证第一SIM卡上游戏业务正常响应的同时,实现第二SIM卡上通话业务的正常响应,即用户在通话过程中可以继续进行游戏。
本申请实施例中,对于设置有至少两张SIM卡的终端,若在响应第一SIM卡业务的过程中,存在第二SIM卡的业务需求,在保证第一SIM卡与网络设备之间存在至少一条处于通路状态的网络连接的前提 下,将第一SIM卡占用的目标硬件资源分配给第二SIM卡,从而通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源继续响应第一SIM卡的业务,避免因响应第二SIM卡业务导致第一SIM卡业务中断的问题,达到利用有限硬件资源实现双SIM卡业务同时响应的效果,提高多SIM卡终端业务响应的稳定性。
终端确定待释放的目标硬件资源,以及目标硬件资源的释放方式时,需要结合第一SIM卡和第二SIM卡各自的工作模式。在一些实施例中,第一SIM卡和第二SIM卡的工作模式情况可以包括如下几种。
1、第一SIM卡的工作模式为双连接模式,第二SIM卡的工作模式为单连接模式。
可选的,当第一SIM卡工作在Eutra新无线电双链接(Eutra-New Radio Dual Connectivity,EN-DC)模式时,双连接模式下,第一SIM卡通过终端建立的网络连接包括非独立组网(Non-StandAlone,NSA)模式下的NR连接和LTE连接,且锚点位于LTE网络。
第二SIM卡通过终端建立的网络连接可以是独立组网(StandAlone,SA)模式下的NR连接,或者LTE连接。
相应的,释放目标硬件资源后,第一SIM卡对应的LTE连接保持通路状态,或,第一SIM卡对应的NR连接和LTE连接均保持通路状态;分配目标硬件资源后,第二SIM卡对应的NR连接保持通路状态,或,第二SIM卡对应的LTE连接保持通路状态。
2、第一SIM卡的工作模式为双连接模式,第二SIM卡的工作模式为双连接模式。
可选的,当第一SIM卡和第二SIM卡均工作在EN-DC模式时,双连接模式下,第一SIM卡通过终端建立的网络连接包括NSA模式下的NR连接和LTE连接,第二SIM卡通过终端建立的网络连接包括NSA模式下的NR连接和LTE连接,且锚点均位于LTE网络。
相应的,释放目标硬件资源后,第一SIM卡对应的LTE连接保持通路状态,或,第一SIM卡对应的NR连接和LTE连接均保持通路状态;分配目标硬件资源后,第二SIM卡对应的LTE连接保持通路状态,或,第二SIM卡对应的NR连接和LTE连接均保持通路状态。
3、第一SIM卡的工作模式为单连接模式,第二SIM卡的工作模式为单连接模式。
可选的,当第一SIM卡和第二SIM卡均为单连接模式时,第一SIM卡和第二SIM卡通过终端建立的网络连接可以是SA模式下的NR连接,或者LTE连接。比如,第一SIM卡与网络设备之间的网络连接为NR连接,第二SIM卡与网络设备之间的网络连接为LTE连接。
相应的,释放目标硬件资源后,第一SIM卡对应的NR连接保持通路状态;分配目标硬件资源后,第二SIM卡对应的LTE连接保持通路状态。
下面结合上述几种SIM卡的工作模式,对业务响应流程进行详细说明。
请参考图3,其示出了本申请另一个示例性实施例提供的业务响应方法的流程图,本实施例以第一SIM卡的工作模式为双连接模式,第二SIM卡的工作模式为单连接模式为例进行说明。该方法可以包括如下步骤。
步骤301,当第二SIM卡存在业务需求时,释放第一网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接。
当终端通过硬件资源响应双连接模式下第一SIM卡的业务时,终端与第一网络设备之间的第一网络连接保持通路状态,且与第二网络设备之间的第二网络连接保持通路状态。
示意性的,如图4所示,终端通过第一SIM卡的NR连接以及LTE连接响应网络,以满足第一SIM卡的业务需求。
可选的,终端响应第一SIM卡业务的过程中,会定时释放部分硬件资源(比如接收器资源)给第二SIM卡,以接收网络的监听信号。若第二SIM卡不需要进行网络响应(即不存在业务需求),则在完成监听信号接收后,将硬件资源归还第一SIM卡。
示意性的,如图4、5、6所示,终端通过NR连接以及LTE连接响应第一SIM卡的业务时,将LTE连接占用的部分硬件资源分配给第二SIM卡的LTE连接,第二SIM卡通过该硬件资源进行网络监听,并在无网络响应需求时,向第一SIM卡归还硬件资源。
若第二SIM卡需要进行网络响应(即存在业务需求),则需要继续占用硬件资源,以便通过该硬件资源进行业务响应。本申请实施例中,为了保证第一SIM卡业务正常响应的同时,第二SIM卡业务也能够得到及时响应,终端释放双网络连接中第一网络连接占用的目标硬件资源,并将目标硬件资源分配给第二SIM与第三网络设备之间的第三网络连接。
示意性的,如图4所示,终端可以将第一SIM卡对应LTE连接占用的硬件资源确定为目标硬件资源,并分配给第二SIM卡。
为了降低响应第二SIM卡业务对第一SIM卡业务的影响,终端采用不同的释放方式目标硬件资源,下面分别对两种不同的硬件资源释放方式进行说明。
1、采用第一释放方式释放第一网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接,其中,第一释放方式下,目标硬件资源被第一SIM卡和第二SIM卡时分复用。
在一种可能的实施方式中,双连接模式下,当第一网络连接对应的网络作为锚点时,若第三网络连接长时间占用目标硬件资源,将会造成第一网络连接中断,进而导致第二网络连接中断(掉话)。因此终端采用时分复用的方式释放并分配目标硬件资源,使第一SIM卡的第一网络连接,以及第二SIM卡的第三网络连接能够交替使用目标硬件资源,保证第一SIM卡和第二SIM卡各自业务能够得到响应。
其中,时分复用的时间间隔可以预置在终端中。
示意性的,如图4所示,第一SIM卡对应LTE连接原先占用的目标硬件资源被第一SIM卡和第二SIM卡的LTE连接交替使用,第二SIM卡的业务得到响应,同时,第一SIM卡对应NR连接和LTE连接均保持通路状态,因此第一SIM卡的业务能够继续得到响应,且由于NR连接未收到影响,因此业务的响应延迟较低。
2、采用第二释放方式释放第一网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接,其中,第二释放方式下,目标硬件资源被第二SIM卡独占。
除了采用第一SIM卡和第二SIM卡时分复用目标硬件资源这一方式外,为了简化硬件资源的释放分配流程,终端还可以控制第二SIM卡独占第一SIM卡释放的目标硬件资源,即响应第二SIM卡业务的过程中,第一SIM卡对应的第一网络连接将无法使用目标硬件资源。
示意性的,如图5所示,响应第二SIM卡业务过程中,第一SIM卡对应LTE连接原先占用的目标硬件资源被第二SIM卡独占,第二SIM卡通过LTE连接进行业务响应,同时,第一SIM卡对应NR连接保持通路状态,因此第一SIM卡的业务能够继续得到响应。
需要说明的是,当第一网络连接对应的网络为双连接模式下的锚点时,若第二SIM卡长时间处于业务响应状态,将会导致第一网络连接断开,进而导致第二网络连接断开,因此在一种可能的实施方式中,终端基于第二SIM卡业务的业务类型确定预计响应时长,若预计响应时长大于时长阈值,则采用第一释放方式释放目标硬件资源,若预计响应时长小于时长阈值,则采用第二释放方式释放目标硬件资源。其中,预计响应时长可以根据业务的历史响应时长确定得到。
步骤302,当第二SIM卡存在业务需求时,释放第二网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接。
由于双连接模式下,第一SIM卡与网络设备建立有两条网络连接,因此除了可以释放第一网络占用的目标硬件资源外,在另一种可能的实施方式中,终端还可以释放第二网络连接占用的目标硬件资源。
与上述步骤301类似的,终端采用不同的释放方式目标硬件资源,下面分别对两种不同的硬件资源释放方式进行说明。
1、采用第一释放方式释放第二网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接,其中,第一释放方式下,目标硬件资源被第一SIM卡和第二SIM卡时分复用。
在一种可能的实施方式中,双连接模式下,第二网络连接作为主要传输数据的连接,其数据吞吐量会直接影响到业务响应质量,因此,为了最小化降低第二SIM卡业务对第一SIM卡业务的影响,终端采用时分复用的方式释放并分配目标硬件资源,使第一SIM卡的第二网络连接,以及第二SIM卡的第三网络连接能够交替使用目标硬件资源,保证第一SIM卡和第二SIM卡各自业务能够得到响应,并降低时分复用硬件资源对第一SIM卡数据吞吐量的影响。
示意性的,如图6所示,第一SIM卡对应NR连接原先占用的目标硬件资源被NR连接以及第二SIM卡对应的LTE连接交替使用,第二SIM卡的业务得到响应,同时,第一SIM卡对应NR连接和LTE连接均保持通路状态,因此第一SIM卡的业务能够继续得到响应。
2、采用第二释放方式释放第二网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接,其中,第二释放方式下,目标硬件资源被第二SIM卡独占。
除了采用第一SIM卡和第二SIM卡时分复用目标硬件资源这一方式外,为了简化硬件资源的释放分配流程,终端还可以控制第二SIM卡独占第一SIM卡释放的目标硬件资源,即响应第二SIM卡业务的过程中,第一SIM卡对应的第一网络连接将无法使用目标硬件资源。
比如,第一SIM卡对应NR连接原先占用的目标硬件资源被第二SIM卡独占,第二SIM卡通过LTE连接进行业务响应,同时,第一SIM卡对应LTE连接保持通路状态,因此第一SIM卡的业务能够继续得到响应。
需要说明的是,由于第二SIM卡独占第二网络连接原先占用的硬件资源会对第一SIM卡的数据吞吐量造成较大影响,且会提高延迟,因此在一种可能的实施方式中,终端确定第一SIM业务的数据吞吐量需 求以及时延需求,若数据吞吐量需求以及时延需求均低于预设需求指标(即数据吞吐量少,对延迟的需求低),终端采用第二释放方式释放目标硬件资源,否则,终端采用第一释放方式释放目标硬件资源。
步骤303,通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源响应第一SIM卡的业务。
示意性的,如图4所示,终端通过LTE连接对第二SIM卡的业务进行网络响应,通过LTE连接和NR连接对第一SIM卡的业务进行网络响应;如图5所示,终端通过LTE连接对第二SIM卡的业务进行网络响应,通过NR连接对第一SIM卡的业务进行网络响应;如图6所示,终端通过LTE连接对第二SIM卡的业务进行网络响应,通过LTE连接和NR连接对第一SIM卡的业务进行网络响应。
步骤304,当第二SIM卡的业务结束时,将目标硬件资源重新分配给第一SIM卡。
不论采用上述何种方式进行硬件资源释放和分配,都会对第一SIM卡的数据吞吐量造成一定影响,因此当第二SIM卡的业务结束时,终端将第二SIM卡对应第三网络连接占用的目标硬件资源重新分配给第一SIM卡。
示意性的,如图4或5所示,第二SIM卡的业务结束时,终端将第二SIM卡对应LTE连接占用的目标硬件资源重新分配给第一SIM卡的LTE连接;如图6所示,终端将第二SIM卡对应LTE连接占用的目标硬件资源重新分配给第一SIM卡的NR连接。
需要说明的是,图4、5、6所示的实施例中,均以第二SIM卡与网络设备之间建立LTE连接为例进行示意性说明,在其他可能的应用场景下,第二SIM卡与网络设备之间也可以建立NR连接(基于SA组网),本实施例对此并不构成限定。
本实施例中,终端释放第一SIM卡对应双连接中一条网络连接占用的目标硬件资源,并采用时分复用的方式控制第一SIM卡和第二SIM卡交替使用目标硬件资源,或者,控制第二SIM卡独占使用目标硬件资源,保证第二SIM卡业务得到响应的同时,保证第一SIM卡业务能够得到继续响应,实现双SIM卡业务的同时响应。同时,采用时分复用方式进行硬件资源释放和分配,可以进一步降低响应第二SIM卡业务时第一SIM卡业务的延迟,提高业务服务质量。
请参考图7,其示出了本申请另一个示例性实施例提供的业务响应方法的流程图,本实施例以第一SIM卡的工作模式为双连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,第二SIM卡的工作模式为双连接模式,且第二SIM卡与第三网络设备之间建立第三网络连接,与第四网络设备之间建立第四网络连接为例进行说明。该方法可以包括如下步骤。
步骤701,当第二SIM卡存在业务需求时,释放第一网络连接以及第二网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接以及第四网络连接,其中,释放目标硬件资源后,第一网络连接和第二网络连接中的至少一条保持通路状态。
可选的,终端响应第一SIM卡业务的过程中,会定时释放部分硬件资源(比如接收器资源)给第二SIM卡,以接收网络的监听信号。若第二SIM卡不需要进行网络响应(即不存在业务需求),则在完成监听信号接收后,将硬件资源归还第一SIM卡。
示意性的,如图8、9、10所示,终端通过NR连接以及LTE连接响应第一SIM卡的业务时,将LTE连接占用的部分硬件资源分配给第二SIM卡的LTE连接,第二SIM卡通过该硬件资源进行网络监听,并在无网络响应需求时,向第一SIM卡归还硬件资源。
若第二SIM卡需要进行网络响应(即存在业务需求),则需要继续占用硬件资源,以便通过该硬件资源进行业务响应。当第一SIM卡和第二SIM卡的工作模式均为双连接模式时,仅释放第一SIM卡对应一条网络连接占用的硬件资源将无法满足第二SIM卡的需求,因此终端需要释放两条网络连接占用的目标硬件资源,从而将目标硬件资源分配给第二SIM卡对应的两条网络连接。
在不同的硬件资源释放方式下,在响应第二SIM卡业务过程中,第一SIM卡与网络设备之间可以保持两条网络连接处于通路状态,或者,保持一条网络连接处于通路状态,下面分别对不同的硬件资源释放方式进行说明。
1、采用第一释放方式释放第一网络连接以及第二网络连接占用的目标硬件资源,并分配给第二SIM卡的第三网络连接以及第四网络连接,其中,第一释放方式下,目标硬件资源被第一SIM卡和第二SIM卡时分复用。
为了最小化第二SIM卡业务对第一SIM卡业务造成的影响,终端控制第一SIM卡和第二SIM卡时分复用硬件资源。在一种可能的实施方式中,终端采用时分复用方式释放第一网络连接占用的第一目标硬件资源,并分配给第二SIM卡的第三网络连接;采用时分复用方式释放第二网络连接占用的第二目标硬件资源,并分配给第二SIM卡的第四网络连接。
采用时分复用方式分配目标硬件资源后,第一SIM卡对应的第一网络连接和第二网络连接均保持通路状态,第二SIM卡对应的第三网络连接和第四网络连接均保持通路状态。并且,在第一SIM卡和第二SIM 卡均采用某一网络作为双连接锚点时,采用时分复用方式能够保证锚点网络不中断,提高双SIM卡业务的稳定性。
可选的,采用第一释放方式释放第一网络连接以及第二网络连接占用的目标硬件资源时,第一网络连接以及第二网络连接占用硬件资源的释放时刻交错,即释放第一网络连接占用的硬件资源时,第二网络连接保持硬件资源占用,释放第二网络连接占用的硬件资源时,第一网络连接保持硬件资源占用,避免同时释放第一网络连接以及第二网络连接占用的硬件资源形成网络响应空档。
示意性的,如图8所示,第一SIM卡对应的LTE连接以及第二SIM卡对应的LTE连接采用时分复用方式交替使用硬件资源,第一SIM卡对应的NR连接以及第二SIM卡对应的NR连接采用时分复用方式交替使用硬件资源,第一SIM卡和第二SIM卡的业务均能够得到正常响应。
2、采用第一释放方式释放第一网络连接占用的第一目标硬件资源,采用第二释放方式释放第二网络连接占用的第二目标硬件资源,并分配给第二SIM卡的第三网络连接以及第四网络连接,其中,第一释放方式下,第一目标硬件资源被第一SIM卡和第二SIM卡时分复用,第二释放方式下,第二目标硬件资源被第二SIM卡独占。
在一种可能的实施方式中,当第二SIM卡业务的优先级(或重要程度)高于第一SIM卡业务的优先级(或重要程度)时,为了提高第二SIM卡进行业务响应时的数据吞吐量,终端采用时分复用方式释放第一网络连接占用的第一目标硬件资源,并将第一目标硬件资源分配给第二SIM卡的第三网络连接;释放第二网络连接占用的第二目标硬件资源,并控制第二SIM卡的第四网络连接独占第二目标硬件资源。可选的,第一网络连接和第三网络连接对应的网络为双连接模式下的锚点。
采用上述硬件资源释放分配方式,第二SIM卡通过处于通路状态的第三网络连接和第四网络连接响应业务,第一SIM卡则通过处于通路状态的第一网络连接继续响应业务,且由于第四网络连接独占第二网络连接原先占用的硬件资源,因此第二SIM卡能够保证较高的数据吞吐量。
示意性的,如图9所示,第一SIM卡对应的LTE连接以及第二SIM卡对应的LTE连接采用时分复用方式交替使用硬件资源,而第二SIM卡对应的NR连接则独占第一SIM卡NR连接原先占用的硬件资源。
3、采用第一释放方式释放第二网络连接占用的第二目标硬件资源,采用第二释放方式释放第一网络连接占用的第一目标硬件资源,并分配给第二SIM卡的第三网络连接以及第四网络连接,其中,第一释放方式下,第二目标硬件资源被第一SIM卡和第二SIM卡时分复用,第二释放方式下,第一目标硬件资源被第二SIM卡独占。
与上述第二种方式类似的,在一种更可能的实施方式中,终端采用时分复用方式释放第二网络连接占用的第二目标硬件资源,并将第二目标硬件资源分配给第二SIM卡的第四网络连接;释放第一网络连接占用的第一目标硬件资源,并控制第二SIM卡的第三网络连接独占第二目标硬件资源。
示意性的,如图10所示,第一SIM卡对应的NR连接以及第二SIM卡对应的NR连接采用时分复用方式交替使用硬件资源,而第二SIM卡对应的LTE连接则独占第一SIM卡LTE连接原先占用的硬件资源。
需要说明的是,当第一网络连接和第三网络连接对应的网络为双连接模式下的锚点时,若第二SIM卡长时间处于业务响应状态,将会导致第一网络连接断开,进而导致第二网络连接断开,因此在一种可能的实施方式中,终端基于第二SIM卡业务的业务类型确定预计响应时长,若预计响应时长大于时长阈值,则采用第一释放方式释放第一网络连接占用的第一目标硬件资源,若预计响应时长小于时长阈值,则采用第二释放方式释放第一网络连接占用的第一目标硬件资源。其中,预计响应时长可以根据业务的历史响应时长确定得到。
步骤702,通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源响应第一SIM卡的业务。
示意性的,如图8所示,终端通过LTE连接和NR连接对第二SIM卡的业务进行网络响应,通过LTE连接和NR连接对第一SIM卡的业务进行网络响应;如图9所示,终端通过LTE连接和NR连接对第二SIM卡的业务进行网络响应,通过LTE连接对第一SIM卡的业务进行网络响应;如图10所示,终端通过LTE连接和NR连接对第二SIM卡的业务进行网络响应,通过NR连接对第一SIM卡的业务进行网络响应。
步骤703,当第二SIM卡的业务结束时,将目标硬件资源重新分配给第一SIM卡。
不论采用上述何种方式进行硬件资源释放和分配,都会对第一SIM卡的数据吞吐量造成一定影响,因此当第二SIM卡的业务结束时,终端将第二SIM卡对应第三网络连接以及第四网络连接占用的目标硬件资源重新分配给第一SIM卡。
示意性的,如图8、9、10所示,第二SIM卡的业务结束时,终端将第二SIM卡对应LTE连接以及NR连接占用的目标硬件资源重新分配给第一SIM卡的LTE连接和NR连接。
本实施例中,终端释放第一SIM卡对应双连接中两条网络连接占用的目标硬件资源,并采用时分复用的方式控制第一SIM卡和第二SIM卡交替使用目标硬件资源,保证第二SIM卡业务得到响应的同时,保证第一SIM卡业务能够得到继续响应,实现双SIM卡业务的同时响应,同时降低第二SIM卡业务对第一 SIM卡业务造成的延迟。
请参考图11,其示出了本申请另一个示例性实施例提供的业务响应方法的流程图,本实施例以第一SIM卡的工作模式为单连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,第二SIM卡的工作模式为单连接模式,且第二SIM卡与第二网络设备之间建立第二网络连接为例进行说明。该方法可以包括如下步骤。
步骤1101,当第二SIM卡存在业务需求时,释放第一网络连接占用的目标硬件资源,并分配给第二SIM卡的第二网络连接,其中,释放硬件资源后,第一网络连接保持通路状态。
可选的,对于具有单路发射器双路接收器的终端,终端响应第一SIM卡业务的过程中,第二SIM卡会定时接收网络的监听信号。若第二SIM卡不需要进行网络响应(即不存在业务需求),则在完成监听动作后待机。
示意性的,如图12所示,终端通过NR连接响应第一SIM卡的业务时,在不使用第一SIM卡的硬件资源的情况下,第二SIM卡可以定时进行网络监听(通过另一路接收器),并在无网络响应需求时再次待机。
可选的,对于仅具有单路发射器单路接收器的终端,终端响应第一SIM卡业务的过程中,会定时释放接收器资源给第二SIM卡,以接收网络的监听信号,即第二SIM卡占用第一SIM卡的硬件资源进行网络监听。若第二SIM卡不需要进行网络响应(即不存在业务需求),则在完成监听信号接收后,将接收器资源归还第一SIM卡。
若第二SIM卡需要进行网络响应(即存在业务需求),终端则需要将第一SIM卡的目标硬件资源(发射器资源)分配给第二SIM卡,以便响应第二SIM卡的业务。
由于第一SIM卡仅对应一条网络连接,因此在实现第一SIM卡业务和第二SIM卡业务同时响应时,终端无法控制第一SIM卡或第二SIM卡独占硬件资源,本申请实施例中,终端采用时分复用方式释放第一网络连接占用的目标硬件资源,并分配给第二SIM卡的第二网络连接,使目标硬件资源被第一SIM卡和第二SIM卡交替使用。
在一种可能的实施方式中,对于具有单路发射器双路接收器的终端,终端采用时分复用方式释放第一网络连接占用的发射器资源,并分配给第二SIM卡的第二网络连接。
示意性的,如图12所示,当第二SIM卡存在业务需求时,终端采用时分复用方式,控制第一SIM卡和第二SIM卡交替使用发射器资源进行网络响应。
在另一种可能的实施方式中,对于具有单路发射器单路接收器的终端,终端采用时分复用方式释放第一网络连接占用的发射器资源和接收器资源,并分配给第二SIM卡的第二网络连接。
步骤1102,通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源响应第一SIM卡的业务。示例性的,如图12所示,终端通过NR连接或者LTE连接对第二SIM卡的业务进行网络响应,通过NR连接或者LTE连接对第一SIM卡的业务进行网络响应,比如终端通过LTE连接对第二SIM卡的业务进行网络响应,通过NR连接对第一SIM卡的业务进行网络响应。
步骤1103,当第二SIM卡的业务结束时,将目标硬件资源重新分配给第一SIM卡。
示意性的,如图12所示,第二SIM卡的业务结束时,终端将第二SIM卡对应LTE连接占用的目标硬件资源重新分配给第一SIM卡的NR连接,提高第一SIM卡的数据吞吐量。
本实施例中,终端采用时分复用方式,控制第一SIM卡和第二SIM卡交替使用目标硬件资源,实现第一SIM卡和第二SIM卡业务的同时响应;并且,采用该方案,终端中只需要设置单路发射器即可实现双SIM卡业务同时响应,降低终端的硬件需求,并降低对第一SIM卡和第二SIM卡射频组合的限制(两路发射器同时工作时,受射频芯片以及射频前端电路的限制,第一SIM卡和第二SIM卡支持的射频组合数量有限)。
请参考图13,其示出了本申请一个实施例提供的业务响应装置的结构框图。该装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置包括:
释放分配模块1301,用于当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
业务响应模块1302,用于通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
可选的,所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为单连接模式;或,
所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为双连接模式;或,
所述第一SIM卡的工作模式为单连接模式,所述第二SIM卡的工作模式为单连接模式。
可选的,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第三网络设备之间建立第三网络连接;
所述释放分配模块1301,包括:
第一释放分配单元,用于释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接;或,
第二释放分配单元,用于释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接。
可选的,所述第一释放分配单元,用于:
采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第二释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占;
所述第二释放分配单元,用于:
采用第一释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第二释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占。
可选的,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为双连接模式,且所述第二SIM卡与第三网络设备之间建立第三网络连接,与第四网络设备之间建立第四网络连接;
所述释放分配模块1301,包括:
第三释放分配单元,用于释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,释放目标硬件资源后,所述第一网络连接和所述第二网络连接中的至少一条保持通路状态。
可选的,所述第三释放分配单元,用于:
采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
采用第一释放方式释放所述第一网络连接占用的第一目标硬件资源,采用第二释放方式释放所述第二网络连接占用的第二目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第一目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第二目标硬件资源被所述第二SIM卡独占;或,
采用第一释放方式释放所述第二网络连接占用的第二目标硬件资源,采用第二释放方式释放所述第一网络连接占用的第一目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第二目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第一目标硬件资源被所述第二SIM卡独占。
可选的,采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源时,所述第一网络连接以及所述第二网络连接占用硬件资源的释放时刻交错。
可选的,所述第一SIM卡的工作模式为单连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第二网络设备之间建立第二网络连接;
所述释放分配模块1301,包括:
第四释放分配单元,用于释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,释放硬件资源后,所述第一网络连接保持通路状态。
可选的,第四释放分配单元,用于:
采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用。
可选的,双连接模式下建立的网络连接包括NSA模式下的NR连接和LTE连接;
单连接模式下建立的网络连接为LTE连接,或,SA模式下的NR连接。
可选的,所述目标硬件资源包括发射器资源和/或接收器资源。
可选的,所述释放分配模块1301,还用于当所述第二SIM卡的业务结束时,将所述目标硬件资源重新分配给所述第一SIM卡。
综上所述,本申请实施例中,对于设置有至少两张SIM卡的终端,若在响应第一SIM卡业务的过程中,存在第二SIM卡的业务需求,在保证第一SIM卡与网络设备之间存在至少一条处于通路状态的网络连接的前提下,将第一SIM卡占用的目标硬件资源分配给第二SIM卡,从而通过目标硬件资源响应第二SIM卡的业务,并通过剩余硬件资源继续响应第一SIM卡的业务,避免因响应第二SIM卡业务导致第一SIM卡业务中断的问题,达到利用有限硬件资源实现双SIM卡业务同时响应的效果,提高多SIM卡终端业务响应的稳定性。
需要说明的是:上述实施例提供的装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参考图14,其示出了本申请一个示例性实施例提供的终端的结构方框图。其可以实现成为上述实施例中的终端,本申请中的终端可以包括一个或多个如下部件:处理器1410、存储器1420、接收器1430和发射器1440。
处理器1410可以包括一个或者多个处理核心。处理器1410利用各种接口和线路连接整个电子设备内的各个部分,通过运行或执行存储在存储器1420内的指令、程序、代码集或指令集,以及调用存储在存储器1420内的数据,执行电子设备的各种功能和处理数据。可选地,处理器1410可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1410可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1410中,单独通过一块芯片进行实现。
存储器1420可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1420包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1420可用于存储指令、程序、代码、代码集或指令集。存储器1420可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端设备的使用所创建的数据(比如音频数据、电话本)等。
接收器1430和发射器1440可以实现成为一个通信组件,该通信组件可以是一块通信芯片。并且,终端中接收器1430和发射器1440的数量为至少一个。比如,终端中包括一路发射器和两路接收器,或者,包括一路发射器和一路接收器,或者,包括两路发射器和两路接收器。
除此之外,本领域技术人员可以理解,上述附图所示出的终端的结构并不构成对终端的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端设备中还包括输入单元、传感器、音频电路、扬声器、麦克风、电源等部件,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,该存储介质存储有至少一条指令,至少一条指令用于被处理器执行以实现如上述实施例所述的业务响应方法。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述实施例提供的业务响应方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任 何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (27)

  1. 一种业务响应方法,所述方法用于设置有至少两张SIM卡的终端,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述方法包括:
    当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
    通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
  2. 根据权利要求1所述的方法,其中,
    所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为单连接模式;或,
    所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为双连接模式;或,
    所述第一SIM卡的工作模式为单连接模式,所述第二SIM卡的工作模式为单连接模式。
  3. 根据权利要求2所述的方法,其中,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第三网络设备之间建立第三网络连接;
    所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
    释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接;或,
    释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接。
  4. 根据权利要求3所述的方法,其中,所述释放第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,包括:
    采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第二释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占;
    所述释放第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,包括:
    采用第一释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第二释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占。
  5. 根据权利要求2所述的方法,其中,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为双连接模式,且所述第二SIM卡与第三网络设备之间建立第三网络连接,与第四网络设备之间建立第四网络连接;
    所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
    释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,释放目标硬件资源后,所述第一网络连接和所述第二网络连接中的至少一条保持通路状态。
  6. 根据权利要求5所述的方法,其中,所述释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,包括:
    采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第一释放方式释放所述第一网络连接占用的第一目标硬件资源,采用第二释放方式释放所述第二网络连接占用的第二目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第一目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第二目标硬件资源被所述第二SIM卡独占;或,
    采用第一释放方式释放所述第二网络连接占用的第二目标硬件资源,采用第二释放方式释放所述第一网络连接占用的第一目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第二目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第一目标硬件资源被所述第二SIM卡独占。
  7. 根据权利要求6所述的方法,其中,采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源时,所述第一网络连接以及所述第二网络连接占用硬件资源的释放时刻交错。
  8. 根据权利要求2所述的方法,其中,所述第一SIM卡的工作模式为单连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第二网络设备之间建立第二网络连接;
    所述释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,包括:
    释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,释放硬件资源后,所述第一网络连接保持通路状态。
  9. 根据权利要求8所述的方法,其中,所述释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,包括:
    采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用。
  10. 根据权利要求2至9任一所述的方法,其中,
    双连接模式下建立的网络连接包括非独立组网NSA模式下的新空口NR连接和长期演进LTE连接;
    单连接模式下建立的网络连接为LTE连接,或,独立组网SA模式下的NR连接。
  11. 根据权利要求1至9任一所述的方法,其中,所述目标硬件资源包括发射器资源和/或接收器资源。
  12. 根据权利要求1至9任一所述的方法,其中,所述通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务之后,所述方法还包括:
    当所述第二SIM卡的业务结束时,将所述目标硬件资源重新分配给所述第一SIM卡。
  13. 一种业务响应装置,所述装置用于设置有至少两张SIM卡的终端,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述装置包括:
    释放分配模块,用于当所述第二SIM卡存在业务需求时,释放所述第一SIM卡占用的目标硬件资源,并分配给所述第二SIM卡,其中,释放所述目标硬件资源后,所述第一SIM卡与至少一个网络设备保持至少一条网络连接处于通路状态;
    业务响应模块,用于通过所述目标硬件资源响应所述第二SIM卡的业务,并通过剩余硬件资源响应所述第一SIM卡的业务。
  14. 根据权利要求13所述的装置,其中,
    所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为单连接模式;或,
    所述第一SIM卡的工作模式为双连接模式,所述第二SIM卡的工作模式为双连接模式;或,
    所述第一SIM卡的工作模式为单连接模式,所述第二SIM卡的工作模式为单连接模式。
  15. 根据权利要求14所述的装置,其中,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第三网络设备之间建立第三网络连接;
    所述释放分配模块,包括:
    第一释放分配单元,用于释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接;或,
    第二释放分配单元,用于释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接。
  16. 根据权利要求15所述的装置,其中,所述第一释放分配单元,用于:
    采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第二释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占;
    所述第二释放分配单元,用于:
    采用第一释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第二释放方式释放所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接,其中,第二释放方式下,所述目标硬件资源被所述第二SIM卡独占。
  17. 根据权利要求14所述的装置,其中,所述第一SIM卡的工作模式为双连接模式,且所述第一SIM卡与第一网络设备之间建立第一网络连接,与第二网络设备之间建立第二网络连接,所述第二SIM卡的工作模式为双连接模式,且所述第二SIM卡与第三网络设备之间建立第三网络连接,与第四网络设备之间建立第四网络连接;
    所述释放分配模块,包括:
    第三释放分配单元,用于释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,释放目标硬件资源后,所述第一网络连接和所述第二网络连接中的至少一条保持通路状态。
  18. 根据权利要求17所述的装置,其中,所述第三释放分配单元,用于:
    采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用;或,
    采用第一释放方式释放所述第一网络连接占用的第一目标硬件资源,采用第二释放方式释放所述第二网络连接占用的第二目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第一目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第二目标硬件资源被所述第二SIM卡独占;或,
    采用第一释放方式释放所述第二网络连接占用的第二目标硬件资源,采用第二释放方式释放所述第一网络连接占用的第一目标硬件资源,并分配给所述第二SIM卡的所述第三网络连接以及所述第四网络连接,其中,第一释放方式下,所述第二目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用,第二释放方式下,所述第一目标硬件资源被所述第二SIM卡独占。
  19. 根据权利要求18所述的装置,其中,采用第一释放方式释放所述第一网络连接以及所述第二网络连接占用的目标硬件资源时,所述第一网络连接以及所述第二网络连接占用硬件资源的释放时刻交错。
  20. 根据权利要求14所述的装置,其中,所述第一SIM卡的工作模式为单连接模式,且第一SIM卡与第一网络设备之间建立第一网络连接,所述第二SIM卡的工作模式为单连接模式,所述第二SIM卡与第二网络设备之间建立第二网络连接;
    所述释放分配模块,包括:
    第四释放分配单元,用于释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,释放硬件资源后,所述第一网络连接保持通路状态。
  21. 根据权利要求20所述的装置,其中,所述第四释放分配单元,用于:
    采用第一释放方式释放所述第一网络连接占用的目标硬件资源,并分配给所述第二SIM卡的所述第二网络连接,其中,第一释放方式下,所述目标硬件资源被所述第一SIM卡和所述第二SIM卡时分复用。
  22. 根据权利要求14至21任一所述的装置,其中,
    双连接模式下建立的网络连接包括NSA模式下的NR连接和LTE连接;
    单连接模式下建立的网络连接为LTE连接,或,SA模式下的NR连接。
  23. 根据权利要求13至21任一所述的装置,其中,所述目标硬件资源包括发射器资源和/或接收器资源。
  24. 根据权利要求13至21任一所述的装置,其中,所述释放分配模块,还用于:
    当所述第二SIM卡的业务结束时,将所述目标硬件资源重新分配给所述第一SIM卡。
  25. 一种终端,所述终端设置有至少两张SIM卡,所述至少两张SIM卡中包括第一SIM卡和第二SIM卡,所述终端包括:
    处理器;
    与所述处理器相连的接收器和发射器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为加载并执行所述可执行指令以实现如权利要求1至12任一所述的业务响应方法。
  26. 一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至12任一所述的业务响应方法。
  27. 一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述可读存储介质中读取并执行所述计算机指令,以实现如权利要求1至12任一所述的业务响应方法。
PCT/CN2021/128274 2020-12-18 2021-11-02 业务响应方法、装置、终端及存储介质 WO2022127415A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21905344.4A EP4255100A4 (en) 2020-12-18 2021-11-02 SERVICE RESPONSE METHOD AND DEVICE, TERMINAL DEVICE AND STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011510030.9 2020-12-18
CN202011510030.9A CN114650526A (zh) 2020-12-18 2020-12-18 业务响应方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2022127415A1 true WO2022127415A1 (zh) 2022-06-23

Family

ID=81990420

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128274 WO2022127415A1 (zh) 2020-12-18 2021-11-02 业务响应方法、装置、终端及存储介质

Country Status (3)

Country Link
EP (1) EP4255100A4 (zh)
CN (1) CN114650526A (zh)
WO (1) WO2022127415A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204888A (zh) * 2014-06-13 2015-12-30 联发科技股份有限公司 硬件功能更新方法及动态更新硬件功能的装置
CN107911865A (zh) * 2017-11-20 2018-04-13 广东欧珀移动通信有限公司 提高寻呼成功率的方法、装置、移动终端及存储介质
CN106792638B (zh) * 2016-12-14 2019-11-08 北京小米移动软件有限公司 网络连接方法及终端
CN111294986A (zh) * 2019-06-10 2020-06-16 展讯通信(上海)有限公司 双卡ue数据传输方法及装置、存储介质、用户设备
CN111555825A (zh) * 2020-05-08 2020-08-18 Oppo广东移动通信有限公司 射频资源分配方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9544937B2 (en) * 2014-03-27 2017-01-10 Apple Inc. Performing data communication using a first RAT while performing a voice call using a second RAT
US10412591B2 (en) * 2014-07-25 2019-09-10 Apple Inc. Simultaneous VoLTE and 2G/3G/LTE data in dual SIM configuration
KR20200048290A (ko) * 2018-10-29 2020-05-08 삼성전자주식회사 멀티 sim 장치 및 이의 동작 방법
CN111787522B (zh) * 2020-06-05 2022-12-06 Oppo广东移动通信有限公司 一种无线资源控制rrc状态维护方法及终端、存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204888A (zh) * 2014-06-13 2015-12-30 联发科技股份有限公司 硬件功能更新方法及动态更新硬件功能的装置
CN106792638B (zh) * 2016-12-14 2019-11-08 北京小米移动软件有限公司 网络连接方法及终端
CN107911865A (zh) * 2017-11-20 2018-04-13 广东欧珀移动通信有限公司 提高寻呼成功率的方法、装置、移动终端及存储介质
CN111294986A (zh) * 2019-06-10 2020-06-16 展讯通信(上海)有限公司 双卡ue数据传输方法及装置、存储介质、用户设备
CN111555825A (zh) * 2020-05-08 2020-08-18 Oppo广东移动通信有限公司 射频资源分配方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4255100A4

Also Published As

Publication number Publication date
EP4255100A4 (en) 2024-06-05
CN114650526A (zh) 2022-06-21
EP4255100A1 (en) 2023-10-04

Similar Documents

Publication Publication Date Title
US11470667B2 (en) Communication method for implementing dual SIM dual active, and terminal
CN105992364B (zh) 资源处理方法及装置
WO2019096206A1 (zh) 无线通信系统中的装置和方法、计算机可读存储介质
US9432818B2 (en) Controlling communication devices
WO2018053852A1 (zh) 无线承载的配置方法、装置及系统
WO2021008377A1 (zh) 一种通信方法及装置
US20180132086A1 (en) Data transmission method and device
US20230345462A1 (en) Method and apparatus for identifying remote terminal service, device, and storage medium
CN112771953A (zh) 用于资源分配的方法和装置
US11665723B2 (en) First station, second station and non-transitory computer-readable storage medium
RU2534923C2 (ru) Способ, устройство и система активации несущих частот
CN108337297A (zh) 点对点无线通信网络中的操作方法及其通信设备
CN110971349B (zh) 一种重复传输方法、终端和网络侧设备
JPH08288898A (ja) 無線チャネル共用方法および装置
WO2022127415A1 (zh) 业务响应方法、装置、终端及存储介质
CN110062406B (zh) 一种链路测量方法及设备
CN113133023A (zh) 通信方法、无线接入点、无线站点及无线局域网系统
CN111866795A (zh) 通信方法及装置
CN115412213B (zh) 一种下行调度方法及装置
CN111512686B (zh) 电子装置、无线通信方法和计算机可读介质
CN112333811B (zh) 一种同步信号/物理广播信道块发送功率配置方法及装置
EP3905736A1 (en) Device discovery method, apparatus, and system
US20220287138A1 (en) Setting a Different BWP Earlier in a Connection Establishment Process to a Wireless Network by a UE when Transitioning from an Idle or Inactive State
CN113873547A (zh) 资源配置方法及装置
CN111836367A (zh) 一种带内中继方法、中继设备和网络设备

Legal Events

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

Ref document number: 21905344

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021905344

Country of ref document: EP

Effective date: 20230628

NENP Non-entry into the national phase

Ref country code: DE