WO2024067054A1 - Cellular communication capability handover method and apparatus - Google Patents

Cellular communication capability handover method and apparatus Download PDF

Info

Publication number
WO2024067054A1
WO2024067054A1 PCT/CN2023/118105 CN2023118105W WO2024067054A1 WO 2024067054 A1 WO2024067054 A1 WO 2024067054A1 CN 2023118105 W CN2023118105 W CN 2023118105W WO 2024067054 A1 WO2024067054 A1 WO 2024067054A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
information
modem
ims
cellular communication
Prior art date
Application number
PCT/CN2023/118105
Other languages
French (fr)
Chinese (zh)
Inventor
徐自翔
宋昊
张文硕
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2024067054A1 publication Critical patent/WO2024067054A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0007Control or signalling for completing the hand-off for multicast or broadcast services, e.g. MBMS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0027Control or signalling for completing the hand-off for data sessions of end-to-end connection for a plurality of data sessions of end-to-end connections, e.g. multi-call or multi-bearer end-to-end data connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • the present application relates to the field of terminal technology, and in particular to a method and device for connecting cellular communication capabilities.
  • Cellular communication is a cellular wireless networking method that connects electronic devices and network devices through wireless channels, so that users can communicate with each other during activities. Its main feature is the mobility of the terminal, and it has the functions of handover and automatic roaming across local networks.
  • a device with cellular communication capabilities is in an environment where there is no signal on the operator's network (or cellular network) or the network signal is weak (that is, the cellular network signal is weak), it cannot use cellular communication services normally, such as making and receiving calls or sending and receiving text messages.
  • the network coverage in an environment with weak network signals can be improved by installing a micro base station or setting up a signal amplifier in the environment with weak network signals.
  • the embodiments of the present application provide a method and apparatus for connecting cellular communication capabilities, so that a first device in an environment where there is no signal or a weak network signal of an operator network can use another second device in an environment where there is a good network signal and has cellular communication capabilities to connect cellular communication capabilities.
  • an embodiment of the present application provides a method for connecting cellular communication capabilities, the method comprising: establishing a connection between a first device and a second device; after the connection is established, the method further comprises: the first device sends a first request to the second device through the established connection, the first request being used to indicate that the first device requests to access a modem processor of the second device; the first device receives a second request from the second device, the second request being used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; after receiving the second request, the first device sends first SIM card information to the second device; the first device sends first information to the second device to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information, the first information being related to a first service, and the first service being related to the first device and the third device; the first device receives second information from the second device, the second information comprising: information from the third device received by the
  • a first device in an environment with no operator network signal or weak network signal can use a second device with cellular communication capability in another environment with better network signal to continue cellular communication capability based on the first request and the second request.
  • the first request may be the remote modem switching instruction in FIG. 5
  • the second request may be the remote modem switching instruction in FIG. 5 .
  • remote SIM switching instruction the first message may be a CS calling call service request, an IMS calling call service request, or a text message service in an embodiment of the present application
  • the second message may be a CS called call service request, or an IMS called call service request, etc. in an embodiment of the present application.
  • the first device receiving the second request from the second device includes: after the first device sends the first request to the second device through an established connection, the first device receiving the second request from the second device.
  • the first device first sends the first request and then receives the second request from the second device, which can ensure that when the second device accesses the first SIM card based on the second request, the second device can promptly send the changes in the SIM card status during the cellular communication capability continuation process to the first device, so that the user can promptly detect whether there is any abnormality in the cellular communication capability continuation according to the changes in the SIM card status, thereby improving the user's experience of using the cellular communication capability continuation function.
  • the method further includes: the first device receives a response message corresponding to the first request from the second device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; after the first device receives the second request, the method further includes: the first device receives third information from the second device, the third information being information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  • the first device can promptly transmit the access status of the modem of the second device to the second device according to the response message corresponding to the first request; and the second device can promptly return the network information to the first device, so that the first device can check the status of the cellular communication capability connection.
  • the message corresponding to the first request may be the remote modem switching success instruction described in the embodiment corresponding to FIG. 5
  • the third information may be the on-network information described in the embodiment corresponding to FIG. 5 .
  • the first device sends a first request to the second device through an established connection, including: the first device sends a third request to the second device through the established connection; the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the first device receives a response message corresponding to the third request from the second device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; after receiving the response message corresponding to the third request, the first device sends the first request to the second device.
  • the first device can, when establishing a communication connection with the second device, notify the second device to establish a connection for cellular communication capability based on the third request, and determine whether the second device agrees to provide the first device with a connection for the cellular communication capability by receiving a response message corresponding to the third request.
  • the third request may be the connection mode switching instruction in the embodiment corresponding to FIG. 5 ; and the response message corresponding to the third request may be the response message corresponding to the connection mode switching instruction in the embodiment corresponding to FIG. 5 .
  • the first service includes one or more of the following: a circuit switched CS call service, an IMS call service, or a text message service.
  • the first device and the second device can realize multiple services through the connection of cellular communication capabilities, enriching the usage scenarios of the connection function of the cellular communication capabilities.
  • the method further includes: the first device sends a fourth request to the second device; the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; The first device receives fourth information from the second device; the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the first device sends the first information to the second device, including: the first device sends the first information to the second device after receiving the fourth information.
  • the first device can use the fourth request to request the second device to provide the IMS function, so as to ensure the normal operation of the IMS-related services in the cellular communication capability connection scenario.
  • the fourth request may be a remote IMS switching instruction in the embodiment corresponding to FIG. 5
  • the fourth information may be a remote IMS switching success instruction (IMS registration information) in the embodiment corresponding to FIG. 5 .
  • a first device establishes a connection with a second device, including: when the first device and the second device meet preset conditions, the first device establishes a connection with the second device; wherein the preset conditions include: both the first device and the second device log in to the same device account, and both the first device and the second device turn on a cellular communication capability connection function.
  • the first device and the second device can establish a communication connection in a far-field scenario by logging into the same device account and turning on the cellular communication capability connection function.
  • the first device and the second device may not satisfy the requirement of logging into a unified device account, and establish a communication connection through other conditions, which is not limited in the embodiments of the present application.
  • the preset conditions also include one or more of the following: both the first device and the second device are connected to WIFI, at least one SIM card of the first device has no cellular network signal or a weak cellular network signal, or the second device includes at least one free card slot.
  • the first device includes: a distributed communication service module, the distributed communication service module includes: a remote IMS service module, the remote IMS service module includes: an IMS call session agent module and an IMS call session monitoring agent module; the first device sends a fourth request to the second device, including: the distributed communication service module instructs the IMS call session agent module to send a fourth request to the second device; the first device receives fourth information from the second device, including: the IMS call session monitoring agent module receives the fourth information from the second device.
  • the first device can use the IMS capability of the second device through the remote IMS service module to ensure the normal operation of the IMS service.
  • the distributed communication service module the remote IMS service module, the IMS call session proxy module and the IMS call session monitoring proxy module, please refer to the embodiment corresponding to FIG. 8 .
  • the distributed communication service module also includes: a remote modem service module and a remote SIM service module; the first device sends a first request to the second device, including: the distributed service module instructs the remote modem service module to send the first request to the second device; the first device receives a second request from the second device, including: the remote SIM service module receives the second request from the second device.
  • remote modem service module For a detailed description of the remote modem service module, please refer to the embodiment corresponding to FIG. 6 ; for a detailed description of the remote SIM service module, please refer to the embodiment corresponding to FIG. 7 .
  • the first device and the second device can bind the first SIM card of the first device to the modem of the second device through the remote modem service module and the remote SIM service module, thereby achieving the continuation of cellular communication capabilities.
  • the method further includes: the first device displays a first interface, the first interface including: a first control for setting a mobile network, and a second control for setting more connections with the first device;
  • the first device receives an operation on the first control
  • the first device displays a second interface
  • the second interface includes a third control for setting SIM card management
  • the first device displays a third interface
  • the third interface includes a fourth control for setting cellular communication capability continuation
  • the fourth interface includes a control for turning on cellular communication capability continuation
  • the first device turns on the cellular communication capability continuation function
  • the first device displays a fifth interface
  • the fifth interface includes a fourth control
  • the fourth interface includes a control for turning on cellular communication capability continuation
  • the first device can provide the user with a main switch for controlling the cellular communication capability connection function, so that the user can turn on the main switch when the user needs to use the cellular communication capability connection function according to his own needs.
  • the main switch can be a control for turning on the cellular communication capability connection.
  • the first interface can be the interface shown in a in Figure 11
  • the second interface can be the interface shown in b in Figure 11
  • the third interface can be the interface shown in c in Figure 11
  • the fourth interface can be the interface shown in d in Figure 11 or the interface shown in c in Figure 12
  • the fifth interface can be the interface shown in b in Figure 12.
  • the status bar of the first interface also includes: an identifier for indicating that the first SIM card does not have cellular communication capability.
  • the method also includes: the first device displays a sixth interface; wherein the status bar of the sixth interface includes: an identifier for indicating that the target SIM card has cellular communication capability, and an identifier for indicating that the first device is in a cellular communication capability connection.
  • the first device can determine the connection status based on the multiple identifiers, thereby improving the user's experience of using the cellular communication capability connection function.
  • the sixth interface can be the interface shown in a in Figure 14.
  • the sixth interface also includes: duration information for indicating the continuation of cellular communication capability, prompt information, and a fifth control, wherein the prompt information is used to prompt that the second device is providing cellular communication capability continuation for the first device, and the method also includes: the first device receives an operation on the fifth control; in response to the operation on the fifth control, the first device ends the continuation of cellular communication capability.
  • the first device can shut down the connection of the cellular communication capability according to user needs, thereby improving the user experience of using the connection of the cellular communication capability.
  • an embodiment of the present application provides a method for connecting cellular communication capabilities, wherein a second device establishes a connection with a first device; after the connection is established, the method further includes: the second device receives a first request from the first device through the established connection, the first request being used to indicate that the first device requests access to a modem of the second device; the second device sends a second request to the first device, the second request being used to indicate that the second device requests remote access to a first user identification module SIM card of the first device; the second device receives first SIM card information from the first device after sending the second request; the second device receives the first information from the first device to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information; the first information is related to a first service, and the first service is related to the first device and the third device; the second device sends second information to the first device, the second information including: information from the third device received by the modem of the second
  • the first device in an environment where there is no signal or a weak network signal of the operator network can be based on In the first request and the second request, a second device with cellular communication capability in an environment with a good network signal is used to connect the cellular communication capability.
  • the first request can be the remote modem switching instruction in Figure 5, and the second request can be the remote SIM switching instruction in Figure 5;
  • the first message can be the CS calling call service request, the IMS calling call service request, or the SMS service in the embodiment of the present application;
  • the second message can be the CS called call service request, or the IMS called call service request, etc. in the embodiment of the present application.
  • the second device sends the second request to the first device, including: after the second device receives the first request from the first device through an established connection, the second device sends the second request to the first device.
  • the second device after receiving the first request, the second device sends the second request to the second device, which can ensure that when the second device accesses the first SIM card based on the second request, the second device can promptly send the changes in the SIM card status during the cellular communication capability continuation process to the first device, so that the user can promptly detect whether there is an abnormality in the cellular communication capability continuation according to the changes in the SIM card status, thereby improving the user's experience of using the cellular communication capability continuation function.
  • the method further includes: the second device sends a response message corresponding to the first request to the first device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; after the second device receives the first SIM card information from the first device after sending the second request, the method further includes: the second device sends third information to the first device, the third information being information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  • the first device can promptly transmit the access status of the modem of the second device to the second device according to the response message corresponding to the first request; and the second device can promptly return the network information to the first device, so that the first device can check the status of the cellular communication capability connection.
  • the message corresponding to the first request may be the remote modem switching success instruction described in the embodiment corresponding to FIG. 5
  • the third information may be the on-network information described in the embodiment corresponding to FIG. 5 .
  • the second device receives the first request from the first device through an established connection, including: the second device receives the third request from the first device through the established connection, the third request is used to indicate that the first device requests the second device to provide the first device with a continuation of cellular communication capabilities; the second device sends a response message corresponding to the third request to the first device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide the first device with a continuation of cellular communication capabilities; after the second device sends the response message corresponding to the third request to the first device, it receives the first request from the first device.
  • the first device can, when establishing a communication connection with the second device, notify the second device to establish a continuation of cellular communication capabilities based on the third request, and determine whether the second device agrees to provide the first device with a continuation of the cellular communication capabilities by receiving the response message corresponding to the third request.
  • the third request may be the connection mode switching instruction in the embodiment corresponding to FIG. 5 ; and the response message corresponding to the third request may be the response message corresponding to the connection mode switching instruction in the embodiment corresponding to FIG. 5 .
  • the method further includes: the second device receiving a fourth request from the first device, the fourth request being used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the second device sending fourth information to the first device, the fourth information being used to indicate that the second device allows the first device to use the fourth information.
  • the IMS capability of the second device the second device receives the first information from the first device, including: the second device receives the first information from the first device after sending the fourth information.
  • the first device and the second device can ensure the normal operation of IMS-related services in the cellular communication capability connection scenario based on the IMS function.
  • an embodiment of the present application provides an apparatus for connecting cellular communication capabilities, which apparatus may include a communication unit of a first device.
  • the communication unit of the first device is used to send a first request to the second device through the established connection, and the first request is used to indicate that the first device requests to access the modulation and demodulation processor modem of the second device;
  • the communication unit of the first device is also used to receive a second request from the second device, and the second request is used to indicate that the second device requests to remotely access the first user identification module SIM card of the first device;
  • the communication unit of the first device is also used to send first SIM card information to the second device after receiving the second request;
  • the communication unit of the first device is also used to send first information to the second device, so as to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information, the first information is related to the first service, and the first service is related to the first device
  • the communication unit of the first device is specifically configured to receive a second request from the second device after sending the first request to the second device through the established connection.
  • the communication unit of the first device is also used to receive a response message corresponding to the first request from the second device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; the communication unit of the first device is specifically further used to receive third information from the second device, and the third information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  • the communication unit of the first device is further used to send a third request to the second device through the established connection; the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the communication unit of the first device is further used to receive a response message corresponding to the third request from the second device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; the communication unit of the first device is further used to send the first request to the second device after receiving the response message corresponding to the third request.
  • the first service includes one or more of the following: a circuit switched CS call service, an IMS call service, or a text message service.
  • the communication unit of the first device is also used to send a fourth request to the second device; the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the communication unit of the first device is also used to receive fourth information from the second device; the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the communication unit of the first device is specifically used to send the first information to the second device after receiving the fourth information.
  • the communication unit of the first device is specifically used to establish a connection with the second device; wherein the preset conditions include: the first device and the second device are both logged in to the same device account, and the first device and the second device both have a cellular communication capability connection function enabled.
  • the preset condition also includes one or more of the following: the first device and the second device are both connected to WIFI, at least one SIM card of the first device has no cellular network signal or the cellular network signal is weak, or the second device
  • the card slot includes at least one free card slot.
  • the first device includes: a distributed communication service module, the distributed communication service module includes: a remote IMS service module, the remote IMS service module includes: an IMS call session agent module and an IMS call session monitoring agent module; the communication unit of the first device is specifically used to instruct the IMS call session agent module to send a fourth request to the second device through the distributed communication service module; the communication unit of the first device is specifically used to receive the fourth information from the second device through the IMS call session monitoring agent module.
  • the distributed communication service module also includes: a remote modem service module and a remote SIM service module; the processing unit of the first device is also used to instruct the remote modem service module to send a first request to the second device; the communication unit of the first device is also used to receive a second request from the second device.
  • the method further includes: a display unit of the first device is used to display a first interface, the first interface includes: a first control for setting a mobile network, and a second control for setting more connections with the first device; when the processing unit of the first device receives an operation on the first control, the display unit of the first device is also used to display the second interface; the second interface includes a third control for setting SIM card management; in response to the operation on the third control, the display unit of the first device is also used to display the third interface; the third interface includes a fourth control for setting a cellular communication capability continuation; in response to the operation on the fourth control, the display unit of the first device is also used to display a fourth interface; the fourth interface includes a control for turning on the cellular communication capability continuation; in response to the operation on the control for turning on the cellular communication capability continuation, the processing unit of the first device turns on the cellular communication capability continuation function;
  • the display unit of the first device when the first device receives an operation on the second control, the display unit of the first device is also used to display a fifth interface; the fifth interface includes a fourth control; in response to the operation on the fourth control, the display unit of the first device is also used to display a fourth interface, and the fourth interface includes a control for turning on cellular communication capability connection; in response to the operation on the control for turning on cellular communication capability connection, the processing unit of the first device turns on the cellular communication capability connection function.
  • the status bar of the first interface also includes: an identifier for indicating that the first SIM card does not have cellular communication capability, and the display unit of the first device is also used to display the sixth interface; wherein the status bar of the sixth interface includes: an identifier for indicating that the target SIM card has cellular communication capability, and an identifier for indicating that the first device is in a cellular communication capability connection.
  • the sixth interface also includes: duration information for indicating the continuation of cellular communication capability, prompt information, and a fifth control, wherein the prompt information is used to prompt that the second device is providing cellular communication capability continuation for the first device, and the processing unit of the first device receives an operation on the fifth control; in response to the operation on the fifth control, the processing unit of the first device ends the continuation of cellular communication capability.
  • an embodiment of the present application provides an apparatus for connecting cellular communication capabilities, and the method includes: a communication unit of a second device is used to establish a connection with a first device; after the connection is established, the second device uses the established connection, and the communication unit of the second device is also used to receive a first request from the first device, the first request is used to indicate that the first device requests to access a modem processor of the second device; the communication unit of the second device is also used to send a second request to the first device, the second request is used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; the communication unit of the second device is also used to receive first SIM card information from the first device after sending the second request; the communication unit of the second device is also used to receive the first information from the first device, so as to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information; the first The information is related to the first service, and the first service is
  • the communication unit of the second device is further configured to send a second request to the first device.
  • the communication unit of the second device is also used to send a response message corresponding to the first request to the first device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; the communication unit of the second device is also used to send third information to the first device, and the third information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  • the communication unit of the second device is also used to receive a third request from the first device through the established connection, wherein the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the communication unit of the second device is also used to send a response message corresponding to the third request to the first device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; the communication unit of the second device is also used to receive the first request from the first device after sending a response message corresponding to the third request to the first device.
  • the communication unit of the second device is also used to receive a fourth request from the first device, the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the communication unit of the second device is also used to send fourth information to the first device, the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the communication unit of the second device is also used to receive first information from the first device after sending the fourth information.
  • an embodiment of the present application provides an electronic device, comprising a processor and a memory, the memory being used to store code instructions; the processor being used to run the code instructions so that the electronic device executes the method described in the first aspect or any one of the implementations of the first aspect, or so that the electronic device executes the method described in the second aspect or any one of the implementations of the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, which stores instructions.
  • the computer executes the method described in the first aspect or any one of the implementations of the first aspect, or the computer executes the method described in the second aspect or any one of the implementations of the second aspect.
  • a computer program product comprises a computer program, which, when executed, enables a computer to execute a method as described in the first aspect or any one of the implementations of the first aspect, or enables a computer to execute a method as described in the second aspect or any one of the implementations of the second aspect.
  • FIG1 is a schematic diagram of a scenario provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of another scenario provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a flow chart of a method for connecting cellular communication capabilities according to an embodiment of the present application
  • FIG5 is a schematic flow chart of another method for connecting cellular communication capabilities provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of a CS domain call flow provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of a flow chart of an IMS domain call provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application
  • FIG12 is a schematic diagram of another interface for enabling a cellular communication capability connection function provided in an embodiment of the present application.
  • FIG13 is a schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application.
  • FIG. 15 is a schematic diagram of a device for connecting cellular communication capabilities provided in an embodiment of the present application.
  • words such as “first” and “second” are used to distinguish between identical or similar items with substantially the same functions and effects.
  • the first value and the second value are only used to distinguish different values, and their order is not limited.
  • words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not necessarily limit them to be different.
  • At least one means one or more
  • plural means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character “/” generally indicates that the previous and next associated objects are in an “or” relationship. "At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
  • At least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
  • the cellular communication capability described in the embodiments of the present application is provided by a modem processor (modem), which runs on a baseband chip and a coprocessor.
  • the device can use the modem to implement a series of cellular communication functions such as sending and receiving text messages, 5G-related functions, making calls, and answering calls.
  • SIM subscriber identity module
  • the subscriber identity module (SIM) card described in the embodiments of the present application can be understood as a module that provides user information in a cellular network or uses a mobile cellular network.
  • an electronic device equipped with a SIM card slot and a card reader can register a mobile cellular network by inserting a SIM card.
  • the SIM card can be a physical card (or hard card) or a virtual SIM card (or soft card), such as an embedded-subscriber identity module (eSIM).
  • eSIM embedded-subscriber identity module
  • the specific form of the SIM card in the embodiments of the present application is not limited to the physical card (or hard card) or the virtual card (or soft card). No limitation on state.
  • IMS internet protocol multimedia subsystem
  • IMS services may include: IMS information services, and IMS call services, etc.
  • the proxy described in the embodiments of the present application is a design pattern for providing additional access to a target object by creating a proxy object of the target object.
  • the target object is an interface, and by accessing the target object through the proxy object, additional functional operations can be provided through the proxy object without modifying the original target object, thereby extending the functionality of the original target object.
  • the proxy pattern is to set a proxy object as an intermediate proxy to control access to the original target object, so as to enhance the functionality of the original target object and simplify the access process.
  • the method for connecting cellular communication capabilities described in the embodiments of the present application can be applied to a variety of scenarios.
  • the various scenarios may include: the near-field scenario described in the embodiment corresponding to Figure 1, and the far-field scenario described in the embodiment corresponding to Figure 2, etc.
  • Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application.
  • an electronic device is taken as an example of a mobile phone, which does not constitute a limitation on the embodiment of the present application.
  • the scenario may include a first device 101 disposed in a basement and a second device 102 disposed in a living room.
  • the first device 101 may be provided with at least one SIM card, and the second device 102 may or may not be provided with a SIM card.
  • the cellular network signal of the first device 101 in the basement is weak or does not have a cellular network signal, and the cellular network signal of the second device 102 in the living room is good.
  • the first device 101 and the second device 102 can both establish a communication connection by connecting to the same WIFI, and in the scenario where a communication connection is established by connecting to the same WIFI, the router 103 can realize data forwarding between the first device 101 and the second device 102.
  • FIG2 is another scenario schematic diagram provided by an embodiment of the present application.
  • the scenario may include: a first device 201 located in a company, and a second device 202 located at home; the first device 201 may be provided with at least one SIM card, and the second device 102 may not be provided with a SIM card or may also be provided with a SIM card; the first device 201 may be provided with a modem2 (or M2 for short), and the second device 202 may be provided with a modem1 (or M1 for short).
  • the cellular network signal of the first device 201 located in the company is weak or has no cellular network signal
  • the cellular network signal of the second device 102 located at home is better.
  • the SIM card of the first device described in the embodiment of the present application can be understood as one of the SIM cards in the first device with a weaker cellular network, or referred to as the first SIM card;
  • the modem of the second device described in the embodiment of the present application can be understood as one of the modems in the second device with a better cellular network.
  • the one of the modems is a modem in the second device used to provide cellular communication capability connection for one of the SIM cards in the first device (or can be understood as M1 in Figure 2).
  • data services can be guaranteed between the first device 201 and the second device 202 by connecting to their respective corresponding WIFI, so that the first device 201 and the second device 202 can be connected to the communication service cloud through data services, and data interaction, device authentication, and establishment of data channels between the first device 201 and the second device 202 can be implemented based on the communication service cloud.
  • the communication connection can also be established between the first device and the second device through another SIM card with a cellular network (or it can be understood that the cellular network signal is better) in the first device, or other wireless or wired methods, etc., which is not limited in the embodiments of the present application.
  • the network coverage in an environment with weak network signals can be improved by installing a micro base station or setting a signal amplifier in the environment with weak network signals.
  • the above method of improving the network signal in the environment by installing a micro base station or setting a signal amplifier is relatively cumbersome, and the location of installing the micro base station or setting the signal amplifier cannot be flexibly adjusted.
  • an embodiment of the present application provides a method for connecting cellular communication capabilities, wherein a first device sends a first request to a second device through an established connection; the first request is used to indicate that the first device requests to access a modem processor of the second device; the first device receives a second request from the second device; the second request is used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; the first device sends the first SIM card information of the first device to the second device after receiving the second request; the first device sends the first information to the second device to send the first information to the third device through the modem of the second device based on the first SIM card information via a cellular network; the first information is related to a first service, and the first service is related to the first device and the third device; the first device receives the second information from the second device; the second information includes: information from the third device received by the modem of the second device via the cellular network based on the first SIM card information, and the second information is
  • the first device in an environment where there is no signal or a weak network signal of the operator network can use another second device with cellular communication capabilities in an environment with a good network signal to connect the cellular communication capabilities.
  • a method for connecting cellular communication capabilities provided in an embodiment of the present application can realize the transfer of the SIM card in the first device 201 to the second device 202 for use, and realize the transfer of M1 in the second device 202 to the first device 201 for use.
  • the first request can be understood as the remote modem switching instruction described in the embodiment of the present application;
  • the second request can be the remote SIM switching instruction described in the embodiment of the present application.
  • the first device and the second device can transfer cellular communication services by forwarding application-side data, so that the first device needs to use the cellular communication capability of the second device to communicate.
  • the cellular communication service is a call service.
  • both the first device and the second device are configured with a phone application for transferring the call service.
  • the control flow and data flow of the incoming call will be transferred to the phone application configured on the first device through the phone application configured on the second device, so that the user can receive the incoming call through the phone application on the first device.
  • the first device uses the SIM card of the second device to receive call services, and the telephone number used in the call service is the telephone number of the second device, not the telephone number currently being used by the first device.
  • the embodiment of the present application provides a method for connecting cellular communication capabilities, so that the first device can use the SIM card of the local device to receive call services, and the phone number used in the call service is the phone number of the first device, so as to ensure that the first device Cellular communication service of the device.
  • the same application (such as a telephone application) needs to be installed on the first device and the second device and each application can only achieve the transfer of one service;
  • the first device in this scenario can be understood as a display and playback device, and the actual business functions are run on the second device.
  • the method for connecting cellular communication capabilities is equivalent to creating a new virtual modem on the first device (the new modem can be understood as the modem of the second device used remotely) and registering the real operator network. From the user's perspective, the network signal has been restored, and the call/text messaging capabilities have also been restored. At the same time, all applications installed on the first device are completely unaware of the connection of the cellular communication capabilities, and the cellular communication function provided by the second device is completely consistent with the cellular communication function used by the user on the first device.
  • the application in the first device is completely unaware of whether a signal connection has occurred, and all kinds of data generated in all calls (such as recordings, call records, etc.) will be recorded in the first device, and no business traces will be left in the second device.
  • the first device or the second device may also be referred to as an electronic device, a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc.
  • the first device or the second device may be: a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) device, an augmented reality (AR) device, etc.
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the first device or the second device.
  • FIG3 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • the electronic device shown in FIG3 may be the first device described in the embodiment of the present application, or may be the second device described in the embodiment of the present application.
  • the first device may include a modem 210A and a SIM card interface 295, the number of which may be at least one, and at least one SIM card may be inserted into the at least one SIM card interface 295;
  • the second device may include a SIM card interface 295, and the SIM card interface 295 may or may not be inserted with a SIM card.
  • the hardware structure of the first device and the hardware structure of the second device may be the same or different, and this is not limited in the embodiments of the present application.
  • the first device may also be called a user device, and the second device may also be called a relay device.
  • the electronic device may include a processor 210, an external memory interface 220, an internal memory 231, a universal serial bus (USB) interface 230, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a camera 293, a display screen 294, and a SIM card interface 295, etc.
  • a processor 210 an external memory interface 220, an internal memory 231, a universal serial bus (USB) interface 230, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a camera 293, a display screen 294, and a SIM card interface 295, etc.
  • USB universal serial bus
  • the structure shown in this embodiment does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may also include a memory for storing instructions and data.
  • the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device.
  • the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the wireless communication function of the electronic device can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, Modem 210A and baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • the mobile communication module 250 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to electronic devices.
  • the mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • at least some functional modules of the mobile communication module 250 may be set in the processor 210.
  • at least some functional modules of the mobile communication module 250 may be set in the same device as at least some modules of the processor 210.
  • Modem 210A may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker, a receiver, etc.), or displays an image or video through a display screen 294.
  • Modem 210A may be an independent device.
  • Modem 210A may be independent of the processor 210 and may be set in the same device as the mobile communication module 250 or other functional modules.
  • the wireless communication module 260 can provide wireless communication solutions for application in electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the SIM card interface 295 is used to connect a SIM card.
  • the SIM card can be connected to and separated from the electronic device by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295.
  • the first device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 295 can also be compatible with different types of SIM cards.
  • the SIM card interface 295 can also be compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device uses an eSIM, i.e., an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • the electronic device also runs an operating system, such as an iOS operating system, an Android operating system, or a Windows operating system, etc.
  • an operating system such as an iOS operating system, an Android operating system, or a Windows operating system, etc.
  • Application programs can be installed and run on the operating system.
  • the first device may be located in a scenario where the cellular network signal is weak or there is no cellular network signal (for example, a SIM card SIM1 in the first device has a weak cellular network signal in the current scenario), and the second device may be located in a scenario where the cellular network signal is strong.
  • the first device and the second device may implement a method for connecting cellular communication capabilities described in an embodiment of the present application based on the embodiment corresponding to FIG4 described below.
  • FIG4 is a flow chart of a method for connecting cellular communication capabilities provided in an embodiment of the present application.
  • the first device and the second device may log in to the same device account (the device account may also be referred to as a user account).
  • the first device and the second device can also be registered with the communication service cloud based on the device account, the first device and the second device can both have Internet access conditions, the first device can include at least one SIM card, and/or the second device can include at least one free SIM card slot.
  • the communication service cloud has one or more of the following functions, for example: for authenticating a device connected to the communication service cloud, for determining whether the device has a cellular communication capability connection function (or also referred to as a device signal relay function, etc.), for determining whether the device has a free card slot, for determining whether the device has been connected to the communication service cloud, or for establishing a data forwarding channel between devices, etc.
  • the first device and the second device are both registered to the communication service cloud based on the device account, which can be understood as: the first device logs in to the communication service cloud based on the device account and password, and the second device also logs in to the communication service cloud based on the device account and password.
  • the first device and the second device both have Internet access conditions, which can be understood as: the first device and the second device can be connected to the network side through a wired manner; or the first device and the second device can also be connected to the network side through wireless methods such as WIFI, hotspot, or another SIM card SIM2 with a cellular network signal in the first device (for example, the current SIM2's cellular network signal is better than the current SIM1's cellular network signal), which is not limited to this in the embodiments of the present application.
  • the first device and the second device can both be connected to the communication service cloud through their respective nearby WIFI hotspots, or the first device can be connected to the communication service cloud through another SIM card with a cellular network signal in the first device, and a trusted connection channel is established between the two devices based on the communication service cloud; or, in the near-field connection scenario, the first device and the second device can establish a communication connection between the two devices by connecting to the same WIFI, etc.
  • the embodiments of the present application do not specifically limit the device connection method during near-field connection or far-field connection.
  • the method for connecting the cellular communication capability may include the following steps:
  • the cellular communication capability connection function can be understood as: in a scenario where the first device detects that the network signal is weak or there is no network signal, the cellular communication capability of the first device is connected by using the second device with a better network signal, so that the first device can use the SIM card in the first device and the modem of the second device to perform any cellular communication function in a scenario where the network signal is poor.
  • S402 The second device and the first device use a remote modem function to transfer the modem of the second device to the first device for use.
  • the remote modem function can be understood as: device A can use the remote modem function to remotely program to access the modem of device B.
  • device A can be the first device and device B can be the second device.
  • the first device can remotely access the modem of the second device with cellular communication capability, so that the first device can share the modem of the second device and use the cellular communication function normally using the modem of the second device; or it can also be understood that the modem of the second device can achieve overall migration, and the modem of the second device can be used as a virtual modem of the first device.
  • the specific implementation of the remote modem function can refer to the embodiment corresponding to FIG6.
  • the first device when the first device detects that the network signal is weak, there is no network signal, or the first device receives a trigger operation from the user, the first device may initiate a relay mode switching instruction to the second device, and the relay mode switching instruction is used to instruct the second device to continue the cellular communication capability of the first device.
  • the second device After receiving the relay mode switching instruction, the second device may return a response message corresponding to the relay mode switching instruction to the first device, and the response message corresponding to the relay mode switching instruction is used to indicate that the second device agrees to provide the first device with a continuation of cellular communication capability.
  • the first device may initiate an instruction for remotely accessing the modem of the second device (or a remote modem switching instruction) to the second device, requesting access to the modem of the second device. Furthermore, when the second device receives the remote modem switching instruction, it may send a remote modem switching success instruction to the first device, and then execute the steps shown in S403.
  • the description related to the relay mode switching instruction can refer to the step shown in S502 in the embodiment corresponding to Figure 5; the description related to the response message corresponding to the relay mode switching instruction can refer to the step shown in S503 in the embodiment corresponding to Figure 5; the description related to the remote modem switching instruction can refer to the step shown in S504 in the embodiment corresponding to Figure 5; the description related to the remote modem switching success instruction can refer to the step shown in S506 in the embodiment corresponding to Figure 5.
  • S403 The first device and the second device use a remote SIM function to remotely transfer the SIM card of the first device to the second device for use, so that the modem of the second device accesses the SIM card of the first device.
  • the remote SIM function can be understood as: device A can use the remote SIM function to remotely access the SIM card of device B.
  • device A can be the second device and device B can be the first device.
  • the SIM card of the first device can be remotely transferred to the second device for use, so that the second device remotely accesses the SIM card of the first device, simulating the scenario of pulling out the SIM card in the first device and inserting it into the second device for use.
  • the specific implementation of the remote SIM function can refer to the embodiment corresponding to FIG. 7.
  • the second device may continue to initiate a command for remotely accessing the SIM card of the first device (or a remote SIM switching command) to the first device, requesting access to the SIM of the first device, so that the first device can send its own SIM card information to the second device, and then the second device can register the cellular network using the SIM card information.
  • the second device After the second device registers the cellular network using the SIM card information of the first device, it may also return the network information to the first device.
  • the SIM card information of the first device may be the SIM card information of one of the SIM cards in the first device.
  • the description related to the remote SIM switching instruction can refer to the step S507 shown in the embodiment corresponding to Figure 5; the transmission and use process of the SIM card information can refer to the steps S511-S513 shown in the embodiment corresponding to Figure 5; the description related to the network information can refer to the steps S515-S516 shown in the embodiment corresponding to Figure 5.
  • S404, the first device and the second device implement a circuit switched (CS) call service.
  • CS circuit switched
  • the CS call service may include: a CS calling call service and a CS called call service.
  • the call service may be understood as a call service initiated by the first device, and the CS called call service may be understood as a call service answered by the first device.
  • the first device when the first device receives a CS outgoing call service, the first device can remotely forward the CS outgoing call service to the second device, and the modem of the second device can continue to send the CS outgoing call service to the device that needs to be called (or can be understood as a third device).
  • the modem of the second device when the modem of the second device receives a CS incoming call service, the second device can send the received CS incoming call service to the first device, so that the first device can display the phone answering interface corresponding to the CS incoming call service.
  • the first device and the second device can implement voice answering and sending based on the steps shown in S406.
  • the first device and the second device may also implement processing and forwarding of IMS-related services such as IMS call services based on the steps shown in S405.
  • the CS call service can be implemented based on the remote modem function and the remote SIM function, so the first device and the second device can implement the connection of the CS call service based on the steps shown in S401-S404 and S407.
  • S405 The first device and the second device use the remote IMS function to transfer the IMS communication capability of the second device to the first device for use.
  • the remote IMS function can be understood as: device A can use the remote IMS function to remotely use the IMS communication capability of device B.
  • device A may be a first device and device B may be a second device, for example, the first device remotely uses the IMS communication capability of the second device, so that the first device can use the IMS communication capability of the second device to implement IMS services.
  • the specific implementation of the remote IMS function can refer to the embodiment corresponding to FIG8, and the IMS service may include: IMS call service and/or IMS SMS service, etc.
  • obtaining the IMS communication capability of the second device is used as an example for explanation.
  • the first device may initiate an instruction (or a remote IMS switching instruction) to the second device for remotely accessing the IMS communication capability of the second device, so that the second device may return messages such as IMS registration information and service status to the first device through instructions such as a remote IMS switching success instruction.
  • the description related to the remote IMS switching instruction can refer to the steps S512-S522 shown in the embodiment corresponding to Figure 5; the description of obtaining IMS registration information can refer to the step S523 shown in the embodiment corresponding to Figure 5; the description related to the remote IMS switching success instruction can refer to the step S524 shown in the embodiment corresponding to Figure 5.
  • S406 the first device and the second device implement an IMS call service.
  • the IMS call service may include an IMS calling call and an IMS called call.
  • the first device when the first device allows the use of the remote IMS communication capability of the second device, when the first device receives an IMS outgoing call service, the first device can remotely forward the IMS outgoing call service to the second device, and the modem of the second device can continue to send the IMS outgoing call service to the called third device; or, when the modem of the second device receives an IMS called call service, the second device can send the received IMS called call service to the first device, so that the first device can display the phone answering interface corresponding to the IMS called call service.
  • the first device and the second device can implement voice reception and transmission based on the steps shown in S407.
  • S407 The second device forwards the network voice packet received by the modem from the network side to the first device, and the first device forwards the received local voice packet to the modem of the second device, and the modem reports it to the network side.
  • the first device when the first device establishes an IMS call service (or CS call service) with the second device, the first The second device can forward the network voice packet received by the modem of the second device from the network side to the first device, and the first device can also forward the local voice packet received based on the microphone of the first device to the modem of the second device, and the modem of the second device reports it to the network side.
  • the network voice packet can be understood as the voice packet received by the modem of the second device from the network side, or it can also be understood as the voice packet generated by the third device; the local voice packet can be understood as the voice packet collected by the first device from the local.
  • the IMS call service can be implemented based on the remote modem function, the remote SIM function and the remote IMS function, so the first device and the second device can implement the continuation of the IMS call service based on the steps shown in S401-S403 and S405-S407.
  • the first device can use the second device to connect the cellular communication capability in a scenario where the cellular network signal is weak.
  • the first device and the second device may first execute the remote modem function in the step shown in S402, and then execute the remote SIM function in the step shown in S403; or, the first device and the second device may first execute the remote SIM function in the step shown in S403, and then execute the remote modem function in the step shown in S402, etc.
  • the first device and the second device first execute the remote SIM function in the step shown in S403 and then execute the remote modem function in the step shown in S402
  • the first device will always show a card-free state on the screen of the first device during the remote SIM function, making it difficult for the user of the first device to determine the transfer status of the SIM card based on the card-free state that the first device always shows (this will cause trouble and misunderstanding to the user, for example, the user may mistakenly believe that there is a problem with the SIM card or that the "device signal relay" (or “cellular communication capability relay", etc.) function is not operating normally), and the first device can only show a card-available state on the screen of the first device after the remote SIM function and the remote modem function are executed.
  • the speed of modem remote access in the remote modem function is faster than the speed of SIM remote access in the remote SIM function. Therefore, when the first device and the second device first execute the remote modem function in step S402, and then execute the remote SIM function, various state changes of the second device can be transmitted to the first device at any time through the remote modem function. Therefore, during the process of the remote SIM function, the screen of the first device can show the switching from no card state to card state, and then from no service state to service state, so that the user of the first device can timely perceive the change of SIM card state during the process of connecting the cellular communication capability.
  • the SIM card triggers the input of a personal identification number (PIN), and an instruction message for entering the PIN code can be displayed in the second device.
  • PIN personal identification number
  • the remote modem function since the remote modem function has not been completed at this time, the information displayed in the second device cannot be transmitted to the first device through the remote modem function. Therefore, the instruction message for entering the PIN code will not be displayed in the first device. Therefore, the user of the first device will not unlock the SIM card by entering the PIN code, so the second device cannot normally access the SIM card of the first device, so that the entire cellular communication capability connection cannot continue.
  • the instruction message for inputting the PIN code can be forwarded to the first device through the remote modem function, so that the first device can display the instruction message for inputting the PIN code in the interface, so that the user can input the PIN code in time to unlock the SIM card, and then the second device can normally access the SIM card of the first device.
  • the card is used to realize the cellular communication capability connection function.
  • the first device and the second device first execute the remote modem function in step S402 and then execute the remote SIM function in step S403 to improve the user experience and the efficiency and/or effectiveness of the cellular communication capability connection function.
  • an embodiment of the present application provides a method for connecting cellular communication capabilities.
  • FIG5 is a flow chart of another method for cellular communication capability connection provided in an embodiment of the present application.
  • the first device may include: a distributed communication service module and a modem
  • the second device may also include a distributed communication service module and a modem.
  • the first device may include at least one SIM card, for example, the first device may include: SIM card 1 (or card 1 for short) and SIM card 2 (or card 2 for short), and the second device may include: SIM card 3 (or card 3 for short).
  • the card 3 can be understood as one of the SIM cards in the second device.
  • the second device includes two SIM cards
  • the card 3 can be understood as any one of the two SIM cards.
  • the card 3 can be understood as the SIM card corresponding to the modem determined by the first device and/or the second device to support the cellular communication capability connection function.
  • the method for connecting the cellular communication capability may include the following steps:
  • a distributed communication service module of a first device establishes a communication connection with a distributed communication service module of a second device.
  • the first device and the second device when the first device and the second device both turn on the cellular communication capability connection function based on the embodiment corresponding to Figure 11 (or Figure 12), the first device and the second device log in to the same device account, and the first device and the second device both guarantee data services (for example, the first device and the second device both log in to WIFI or hotspot, etc.), the first device and the second device can both register to the communication service cloud through the device account and establish a communication connection between the devices based on the communication service cloud.
  • the distributed communication service module of the first device sends a relay mode switching instruction to the distributed communication service module of the second device.
  • the relay mode switching instruction (the name of the instruction is only an example and other names may also be used) is used to instruct the second device to connect to the cellular communication capability of the first device, or it can be understood that the relay mode switching instruction is used to instruct the first device to request the second device to connect to its cellular communication capability.
  • the first device when the first device detects that the network signal is weak or there is no network signal, the first device may automatically initiate the connection of the cellular communication capability to the second device searched by the first device, so that the first device executes the step shown in S502.
  • the first device may manually initiate the connection of the cellular communication capability based on the embodiment corresponding to FIG. 13, so that the first device executes the step shown in S502.
  • the distributed communication service module of the first device may send a relay mode switching instruction to the distributed communication service module of the second device.
  • the relay mode switching instruction may include information of card 1, and the relay mode switching instruction may instruct the second device to connect to the cellular communication capability of card 1 of the first device.
  • the distributed communication service module of the first device can use the cloud service module of the first device to send the relay mode switching instruction to the second device; adapted, the distributed communication service module of the second device can use the cloud service module to receive the relay mode switching instruction.
  • the cloud service module may also be referred to as the distributed bus described in FIG. 6 (or FIG. 7 or FIG. 8 ).
  • the distributed communication service module of the second device sends a response message corresponding to the relay mode switching instruction to the distributed communication service module of the first device.
  • the response message corresponding to the relay mode switching instruction is used to indicate that the second device has received the relay mode switching instruction and agrees to provide the first device with a connection for cellular communication capability.
  • the distributed communication service module of the first device sends a remote modem switching instruction to the distributed communication service module of the second device.
  • the remote modem switching instruction is used to instruct the first device to request access to the modem of the second device, so that the second device can switch the working mode corresponding to the modem to the remote modem mode, so that the first device can access it at any time.
  • the remote modem service module 6011 in the distributed communication service module of the first device may send a remote modem switching instruction to the distributed communication service module of the second device based on the steps shown in S6001 .
  • the distributed communication service module of the second device sends a remote modem switching instruction to the modem of the second device.
  • the modem of the second device when the modem of the second device receives the remote modem switching instruction, it can perform the preparation work corresponding to the remote modem function, so that the modem of the second device can cooperate with the first device to speed up the completion of the remote modem function.
  • the second device may send a remote modem switching instruction to the second device modem based on the steps shown in S6002 - S6003 .
  • the distributed communication service module of the second device sends a remote modem switching success instruction to the distributed communication service module of the first device.
  • the remote modem switching success instruction is used to instruct the second device to allow the first device to remotely access the modem of the second device.
  • the distributed communication service module of the second device may send a remote modem switching success instruction to the distributed communication service module of the first device based on the step shown in S6006 .
  • the distributed communication service module of the second device sends a remote SIM switching instruction to the distributed communication service module of the first device.
  • the remote SIM switching instruction is used to instruct the second device to request remote access to the SIM card in the first device and obtain the SIM card information of any SIM card in the first device.
  • the first device receives a trigger operation of the user on the card 1 relay control in the interface shown in b in Figure 13
  • the first device can determine to connect the cellular communication capability of card 1.
  • the remote SIM switching instruction is used to instruct the second device to request remote access to the S card 1 in the first device and obtain the SIM card information of card 1 in the first device.
  • the information of card 1 can be returned to the second device based on the step shown in S502.
  • the distributed communication module of the second device may send the remote SIM switching instruction to the distributed communication service module of the first device based on the step shown in S7001 .
  • the distributed communication service module of the second device sends a remote SIM switching instruction to the modem of the second device.
  • the distributed communication service module of the second device may send a remote SIM switching instruction to the modem of the second device based on the path described in steps S7007 - S7008 .
  • S509 The modem of the second device switches the SIM card mode of the second device to the remote client mode based on the remote SIM switching instruction.
  • the modem of the second device when the modem of the second device receives the remote SIM switching instruction, the modem of the second device can switch the SIM card mode to the remote client mode.
  • the remote client mode is used to instruct the second device not to read the SIM card information of the card 3 through the local SIM card module, but to read the SIM card information of the card 1 of the first device from the remote SIM card module.
  • the distributed communication service module of the first device sends a remote SIM switching instruction to a modem of the first device.
  • the distributed communication service module of the first device can send a remote SIM switching instruction to the modem of the first device based on the steps shown in S7002-S7003; adapted, the modem of the first device switches the SIM card mode of the first device to the remote service module, and obtains the SIM card information of card 1 from the SIM card slot of card 1.
  • the remote service module is used to instruct the first device to allow the SIM card information of card 1 of the first device to be shared with the second device for use.
  • the modem of the first device sends the SIM card information of card 1 to the distributed communication service module of the first device.
  • the modem of the first device may send the SIM card information of card 1 to the distributed communication service module of the first device based on the steps shown in S7004 - S7005 .
  • the distributed communication service module of the first device sends the SIM card information of card 1 to the distributed communication service module of the second device.
  • the distributed communication service module of the first device may send the SIM card information of card 1 to the distributed communication service module of the second device based on the step shown in S7006 .
  • the distributed communication service module of the second device sends the SIM card information of card 1 to the modem of the second device.
  • the distributed communication service module of the second device may send the SIM card information of card 1 to the modem of the second device based on the steps shown in S7007 - S7008 .
  • S514 The modem of the second device registers the cellular network using the SIM card information of card 1.
  • the modem of the second device after the modem of the second device registers the cellular network using the SIM card information of card 1, the modem of the second device can obtain the network information.
  • the modem of the second device sends the network information to the distributed communication service module of the second device.
  • the modem of the second device may send the on-network information to the distributed communication service module of the second device based on the path described in steps S6004 - 6005 .
  • the distributed communication service module of the second device sends the network information to the distributed communication service module of the first device.
  • the distributed communication service module of the second device may send the on-network information to the distributed communication service module of the first device based on the path described in step S6006 .
  • the distributed communication service module of the first device may continue to send the on-network information to the application layer of the first device based on the steps shown in S6007-S6008.
  • the network status, signal level, operator name and other information in the second device can be displayed in the interface of the first device.
  • the first device and the second device may implement the CS call service based on the steps shown in S501-S516.
  • the first device and the second device may Based on the steps shown in S517-S518, the CS outgoing call service request is forwarded to the modem of the second device, so that the modem can forward the outgoing call service to the third device through the network.
  • the first device and the second device may forward the CS called call service to the first device based on the steps shown in S519-S520.
  • the distributed communication service module of the first device sends a CS calling service request to the distributed communication service module of the second device.
  • the CS outgoing call service request may include: dialing information when making a call, such as a telephone number.
  • the first device when the first device receives a dialing operation from the user, the first device may generate a CS calling service request and execute the steps shown in S517.
  • the CS calling service request may be forwarded from the first device to the second device based on the steps shown in S6001 in the embodiment corresponding to FIG. 6.
  • the distributed communication service module of the second device sends a CS calling service request to the modem of the second device.
  • the CS outgoing call service request may be forwarded by the distributed communication service module of the second device to the modem of the second device based on the steps S6002-S6003 in the embodiment corresponding to FIG. 6 .
  • the second device may forward the CS outgoing call service request to the third device through the network, and send a response message corresponding to the CS outgoing call service request to the phone application of the first device based on steps S6004-S6007, etc.
  • the response message corresponding to the CS outgoing call service request is used to indicate that the CS call service is successfully established.
  • S519 The modem of the second device sends a CS called call service request to the distributed communication service module of the second device.
  • the CS called call service request may include: the called phone number, the location corresponding to the phone number and other information.
  • the distributed communication service module of the second device sends a CS called call service request to the distributed communication service module of the first device.
  • the distributed communication service module of the first device sends the CS called call service request to the telephone application of the first device; when the telephone application of the first device receives the CS called call service request, the telephone number corresponding to the called call service and information such as the location of the telephone number can be displayed in the interface of the first device.
  • the first device when the first device receives a signal that the user has answered the CS called call service, the first device may also generate a response message corresponding to the CS called call service, and send the response message corresponding to the CS called call service to the modem of the second device.
  • the response message corresponding to the CS called call service is used to indicate that the CS call is successfully established.
  • the first device and the second device may implement the remote IMS function based on the steps shown in S521-S525, and implement the IMS call service based on the steps shown in S526-S529.
  • the distributed communication service module of the first device sends a remote IMS switching instruction to the distributed communication service module of the second device.
  • the remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
  • the distributed communication service module of the first device may send a remote IMS switching instruction to the distributed communication service module of the second device based on the step shown in S8001 .
  • the distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device.
  • the distributed communication service module of the second device is based on the steps shown in S8002-S8004.
  • the modem of the second device obtains IMS registration information based on the remote IMS switching instruction, wherein the IMS registration information enables the first device to support call functions such as VOLTE or VONR.
  • S523 The modem of the second device sends IMS registration information to the distributed communication service module of the second device.
  • the modem of the second device sends the IMS registration information to the distributed communication service module of the second device based on the steps shown in S8005 - S8007 .
  • the distributed communication service module of the second device sends a remote IMS switching success instruction (IMS registration information) to the distributed communication service module of the first device.
  • IMS registration information IMS switching success instruction
  • the distributed communication service module of the second device sends a remote IMS switching success instruction to the distributed communication service module of the first device based on the step shown in S8008 .
  • the remote IMS switching success instruction is used to instruct the second device to allow the first device to remotely use the IMS communication capability, and the remote IMS switching success instruction may include information such as IMS registration information.
  • the distributed communication service module of the first device sends a relay mode switching completion instruction to the distributed communication service module of the second device.
  • the relay mode switching completion instruction is used to instruct the second device to complete preparations for connecting to the cellular communication capability of the first device.
  • the first device and the second device when the first device receives an IMS outgoing call service request, the first device and the second device can forward the IMS outgoing call service request to the modem of the second device based on the steps shown in S526-S527, so that the modem can forward the outgoing call service to the third device through the network.
  • the modem of the second device when the modem of the second device receives an IMS incoming call service, the first device and the second device can forward the IMS incoming call service to the first device based on the steps shown in S528-S529.
  • the IMS outgoing call service request can include dialing information when calling, such as a telephone number.
  • the distributed communication service module of the first device sends an IMS outgoing call service request to the distributed communication service module of the second device.
  • the first device when the first device receives a dialing operation from the user, the first device may generate an IMS outgoing call service request and execute the steps shown in S526.
  • the IMS outgoing call service request may be forwarded from the first device to the second device based on the steps shown in S8001 in the embodiment corresponding to FIG8.
  • S527 The distributed communication service module of the second device sends an IMS outgoing call service request to the modem of the second device.
  • the IMS outgoing call service request may be forwarded by the distributed communication service module of the second device to the modem of the second device based on the steps shown in S8002-S8004 in the embodiment corresponding to FIG. 8 .
  • the second device may forward the IMS outgoing call service request to the network side, and send a response message corresponding to the IMS outgoing call service request to the phone application of the first device based on steps S8005-S6009, etc.
  • the response message corresponding to the IMS outgoing call service request is used to indicate that the IMS call service is successfully established.
  • S528 The modem of the second device sends an IMS called call service request to the distributed communication service module of the second device.
  • the IMS called call service request may include: the called telephone number, the location corresponding to the telephone number and other information.
  • the IMS called call service request may be sent from the modem of the second device to the distributed communication service module of the second device based on the steps shown in S8005-S8007 in the embodiment corresponding to FIG8 .
  • S529 The distributed communication service module of the second device sends an IMS called call service request to the distributed communication service module of the first device.
  • the IMS called call service request may be sent from the distributed communication service module of the second device to the distributed communication service module of the first device based on the step shown in S8008 in the embodiment corresponding to FIG8 .
  • the distributed communication service module of the first device sends the IMS called call service request to the telephone application of the first device; when the telephone application of the first device receives the IMS called call service request, it can display the telephone number corresponding to the called call service and information such as the location of the telephone number in the interface where the first device is located.
  • the first device when the first device receives a signal that the user has answered the IMS called call service, the first device may also generate a response message corresponding to the IMS called call service, and send the response message corresponding to the IMS called call service to the modem of the second device.
  • the response message corresponding to the IMS called call service is used to indicate that the IMS call is successfully established.
  • the first device can use other idle second devices to connect the cellular communication capability of the first device in a scenario where the network signal is weak.
  • the method for the first device to remotely access the modem of the second device in step S402 may refer to the embodiment corresponding to FIG. 6 .
  • FIG6 is a schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application.
  • the layered architecture of the first device divides the software into several layers, each layer having a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is respectively divided into: application layer, application framework layer, and system library from top to bottom.
  • the first device may also include a modem.
  • the application layer may include a series of application packages. As shown in FIG6 , the application package may include applications such as telephone, navigation, Bluetooth, and short message.
  • the application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may also include: a distributed communication service module, and a telephone manager 6016 (telephony), etc.
  • the distributed communication service module is used to support communication services such as remote modem function, remote SIM function, and/or remote IMS function; the phone manager 6016 is used to provide cellular communication functions of the first device, such as management of call status (including connection and disconnection, etc.).
  • the distributed communication service module may include: a distributed cellular communication control module, a remote modem service module 6011 , and a distributed bus 6012 .
  • the distributed cellular communication control module can be understood as a general control module in the distributed communication service module, which is used to determine the calling mode of different modules in the distributed communication service module based on different distributed communication services.
  • the remote modem service module 6011 is used to forward the remote modem switching instruction to the remote modem service module 6011 of the second device, or it can also forward the response message corresponding to the remote modem switching instruction, such as the remote modem switching success instruction, the network information and other data to the telephone manager 6016 of the first device.
  • the remote modem switching instruction is used to instruct the first device to request to access the modem of the second device, so that the second device can switch the working mode corresponding to the modem to the remote modem mode, so that the first device can access it at any time.
  • the distributed bus 6012 is used to establish a connection channel between the distributed cellular communication module of the first device and the distributed cellular communication module of the second device, and connect the distributed cellular communication module of the first device and the distributed cellular communication module of the second device.
  • the distributed bus 6012 can be responsible for device discovery, self-connection, authentication management, etc. under the same account in a short distance, a local area network, or a far field.
  • the distributed bus 6012 can also be responsible for the scheduling management of different channels, service quality experience evaluation, etc., which is transparent to the application layer.
  • the distributed bus 6012 can also be responsible for the maintenance of the channel and provide a low-power standby mechanism. It can also be responsible for the forwarding/response of control plane signaling (such as the remote modem switching instruction mentioned in the embodiment of the present application, the response message corresponding to the remote modem switching instruction), as well as encryption encapsulation and other functions.
  • the distributed bus 6012 in the scenario where the distributed bus 6012 is responsible for device authentication and device status reporting under the same account in the far field, the distributed bus 6012 can also be called a cloud service module.
  • the cloud service module can be used to send data corresponding to device authentication and data corresponding to device status to the communication service cloud; or, the cloud service module can also be used for each device to push cloud query data.
  • the system library may include a hardware abstraction layer (HAL), and the HAL layer may include a radio interface layer (RIL).
  • HAL hardware abstraction layer
  • RIL radio interface layer
  • the RIL may include a radio interface layer daemon (RILD) and the like (not shown in FIG. 6 ).
  • RILD radio interface layer daemon
  • a modem may also be provided in the first device, and the modem in the first device is connected to a SIM card.
  • the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to Figure 6, and the functions of each function in the software architecture can be similar to the functions described in the embodiment corresponding to Figure 6.
  • the remote modem service module 6014 in the second device is used to send the remote modem switching instruction sent by the remote modem service module 6011 of the first device to the RIL of the second device, or it can also return the response message corresponding to the remote modem switching instruction returned by the RIL of the second device to the remote modem service module 6011 of the first device.
  • the RIL of the second device is used to send the remote modem switching instruction sent by the remote modem service module 6014 of the second device to the modem 6015 of the second device, or to send the response message corresponding to the remote modem switching instruction returned by the modem 6015 to the remote modem service module 6014 of the second device.
  • the second device may return a response message corresponding to the relay mode switching instruction to the first device.
  • the distributed cellular communication control module of the first device may determine to initiate a relay mode switching instruction to the second device.
  • the distributed communication service module of the first device may use the distributed bus 6012 of the first device and the distributed bus 6013 of the second device to send the relay mode switching instruction to the distributed communication service module of the second device.
  • the response message corresponding to the relay mode switching instruction may be used to indicate that the second device has received the relay mode switching instruction.
  • the distributed communication service module of the second device may also return a response message corresponding to the relay mode switching instruction to the distributed communication service module of the first device. Further, the second device and the first device may enable the first device to remotely access the modem of the second device based on the steps shown in S6001-S6008.
  • the remote modem service module 6011 of the first device sends a remote modem switching instruction to the remote modem service module 6014 of the second device using the distributed bus 6012 and the distributed bus 6013 .
  • the remote modem service module 6014 sends the remote modem switching instruction to the RIL.
  • RIL sends the remote modem switching instruction to modem6015.
  • modem6015 can receive the modem switching instruction sent by the RIL and generate a response message corresponding to the remote modem switching instruction.
  • the response message corresponding to the remote modem switching instruction can be: a remote modem switching success instruction, and the remote modem switching success instruction is used to instruct the second device to allow the first device to remotely access the modem.
  • S6004 and modem6015 send the remote modem switching success instruction to the RIL.
  • RIL sends a remote modem switching success instruction to the remote modem service module 6014.
  • the remote modem service module 6014 uses the distributed bus 6013 and the distributed bus 6012 to send the remote modem switching success instruction to the remote modem service module 6011 of the first device.
  • the remote modem service module 6011 sends the remote modem switching success instruction to the telephone manager 6016.
  • the telephone manager 6016 returns the remote modem switching success instruction to the application layer.
  • the application layer may display the network status corresponding to the second device and the card-free status corresponding to the second device in the first device based on the remote modem switching success instruction.
  • the application layer of the first device when the application layer of the first device receives the remote modem switching success instruction, when the first device needs to access the modem of the second device later, the application layer of the first device can send a corresponding cellular communication service request to the phone manager 6016, so that the cellular communication service request can be sent by the phone manager 6016 of the first device to the remote modem service module 6011 of the first device; further, the first device sends the cellular communication service request to the modem 6015 of the second device based on the steps shown in S6001-S6003.
  • the modem 6015 of the second device can generate a response message corresponding to the cellular communication service request, and return the response message corresponding to the cellular communication service request to the application layer of the first device based on the steps shown in S6004-S6008.
  • the request for cellular communication service is a request for executing a cellular communication service function related to an application, such as a text message sending request triggered by a text message application, a phone call making request triggered by a phone application, a phone call answering request, etc.
  • the response message corresponding to the request for cellular communication service is the processing result data after the modem processes the request for cellular communication service.
  • the request for cellular communication service is a text message sending request
  • the response message corresponding to the request for cellular communication service may be a message indicating whether the text message is sent successfully, the specific reason for the failure of the text message sending, etc.
  • the remote modem service module 6011 of the first device can create a proxy object of the interface so that the request for the cellular communication service received by the phone manager 6016 of the first device is no longer sent to the modem of the first device through the interface, but forwards the request for the cellular communication service to the remote modem service module 6014 of the second device through the proxy object of the interface. Then, the remote modem service module 6014 of the second device can send the request for the cellular communication service to the modem 6015 of the second device for processing, thereby helping the first device to use the cellular communication capability.
  • the remote modem service module 6014 of the second device creates a proxy object of the interface, and the proxy object of the interface is used to forward the response message corresponding to the request for the cellular communication service to the remote modem service module 6011 of the first device.
  • the first device can access the modem of the second device based on the embodiment corresponding to FIG. 6 .
  • the process of the second device remotely accessing the SIM card of the first device in step S403 may refer to the embodiment corresponding to FIG. 7 .
  • FIG7 is a schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application.
  • the layered architecture of the first device divides the software into several layers, each layer having a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided from top to bottom into an application layer, an application framework layer, and a HAL.
  • the first device may also include a modem.
  • the application layer and the application framework layer can exchange data through conventional interfaces; the application framework layer and the RIL can exchange data through the Android native hardware abstraction layer interface definition language (HIDL) interface and the extended remote SIM (rSIM) HIDL interface 7104; the RIL and the Modem can exchange data through the rSIM interface 7106 and conventional interfaces.
  • HIDL Android native hardware abstraction layer interface definition language
  • rSIM extended remote SIM
  • the application layer may include a series of applications. As shown in FIG7 , the application package may include applications such as phone, navigation, Bluetooth, and short message.
  • the application framework layer provides an application programming interface API and a programming framework for the applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a telephony manager, a distributed communication service module, etc.
  • the telephony manager is used to provide SIM card-related functions for the first device.
  • the telephony manager is used to provide call status management (including connecting, hanging up, etc.).
  • the distributed communication service module is used to implement distributed communication.
  • the distributed communication service module can be used to transfer the SIM card of the first device to the second device for use.
  • the distributed communication service module may include: a distributed cellular communication control module, a remote SIM service module 7103, and the remote SIM service module 7103 is used to implement the remote SIM function described in the embodiment of the present application.
  • the function of the distributed cellular communication control module can be found in the description in the embodiment corresponding to Figure 6, which will not be repeated here.
  • the remote SIM service module 7103 may include: a remote SIM access interface adaptation module, a SIM connection management module, a SIM instruction encoding and decoding module, and a RIL interface proxy module.
  • Remote SIM access interface adapter module can be used to adapt the remote SIM access and control interface of RIL modules of different chip manufacturers. It is understandable that different chip manufacturers have different definitions of rSIM HIDL interface 7104, and the data structure of the messages carried therein may also be different. Therefore, the remote SIM access interface adapter module can implement remote SIM switching instructions (or remote SIM requests, etc.) and normal calls of SIM card information. In a possible implementation, the remote SIM access interface adapter module can also be set in the remote SIM RIL module 7105 in the RIL layer. Its function is similar to the above and will not be repeated here.
  • the remote SIM switching instruction is used to instruct the second device to remotely access the SIM card in the first device and obtain the SIM card information in the first device; the remote SIM request may be a service request for accessing the SIM card of the first device.
  • SIM connection management module used to implement the device connection function between the first device and the second device.
  • SIM instruction encoding and decoding module used to implement the encoding function of the SIM card information to be sent, and the decoding function of the received remote SIM switching instruction.
  • RIL interface proxy module used to connect with the rSIM HIDL interface 7104 to implement the functions of receiving or forwarding data plane messages and control plane messages.
  • the distributed bus 7111 is used to establish a connection channel between the remote SIM service module 7103 of the first device and the remote SIM service module 7102 of the second device, and connect the remote SIM service module 7103 of the first device and the remote SIM service module 7102 of the second device.
  • the distributed bus 7111 can be responsible for device discovery, self-connection, authentication management, etc. under the same account in a short distance, a local area network, or a far field.
  • the distributed bus 7111 can also be responsible for the scheduling management of different channels, service quality experience evaluation, etc., which is transparent to the application layer.
  • the distributed bus 7111 can also be responsible for maintaining the channel, providing a low-power standby mechanism, etc.
  • the application framework layer may also include: a window manager, a notification manager, a content manager, a view system, and a resource manager, etc. (not shown in FIG. 7 ), which is not limited in the embodiments of the present application.
  • HAL includes RIL, which is responsible for providing telephone services. It is the middle layer between the upper layer application and the lower layer modem and is responsible for reliable data transmission.
  • the RIL may include RILD, which may include: native RIL service module (or called standard RIL service module), and remote SIM RIL module 7105.
  • native RIL service module the communication interface between the native RIL service module and the modem can be the communication interface between the conventional RIL service module and the modem.
  • Remote SIM RIL module 7105 used to forward the response message corresponding to the remote SIM request sent by the modem via the rSIM interface 7106, such as SIM card information, to the remote SIM service module 7103 via the rSIM HIDL interface 7104; and forward the remote SIM switching instruction sent by the remote SIM service module 7103 via the rSIM HIDL interface 7104 to the modem via the rSIM interface 7106.
  • the remote SIM RIL module 7105 may include: an rSIM instruction processing module.
  • the rSIM instruction processing module is used to process the remote SIM switching instruction.
  • the rSIM instruction processing module is used to convert the response message corresponding to the remote SIM request sent by the modem into a message type that can be processed by the rSIM HIDL interface 7104; or, the rSIM instruction processing module is also used to parse the remote SIM switching instruction transmitted via the rSIM HIDL interface 7104 and convert it into a message type that can be recognized by the modem.
  • the modem includes: a SIM card module, a local SIM card module, a remote SIM card module 7107, and a SIM card slot driver 7108.
  • the SIM card slot driver 7108 can be connected to a SIM hard card 7109.
  • SIM card module used to provide network registration, authentication and other functions related to SIM card information.
  • the SIM card module can support two calling modes of the SIM card, such as the local SIM card calling mode provided by the local SIM card module and the remote SIM card calling mode provided by the remote SIM card module 7107.
  • Local SIM card module used to use the SIM card slot driver 7108 to access the local SIM card information.
  • Remote SIM card module 7107 used to call the remote SIM card to access the remote SIM card information.
  • the modem of the first device may be provided with a SIM card slot driver 7108 and a SIM hard card 7109.
  • the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to FIG7 , and the functions of the functions in the software architecture can be similar to the functions described in the embodiment corresponding to FIG7 , which will not be described in detail here.
  • the modem of the second device may be provided with a SIM card or may not be provided with SIM hardware, which is not limited in the embodiments of the present application.
  • the second device and the first device may be based on the steps shown in S7001-S7010, so that the second device remotely accesses the SIM card of the first device, and the first device returns the SIM card information to the second device.
  • the distributed cellular communication control module of the second device can determine to send a remote SIM switching instruction to the first device.
  • the distributed cellular communication control module of the second device can instruct the remote SIM service module 7102 to send a remote SIM switching instruction to the remote SIM service module 7103 of the first device.
  • the remote SIM service module 7102 of the second device sends a remote SIM switching instruction to the remote SIM service module 7103 of the first device by using the distributed bus 7110 of the second device and the distributed bus 7111 of the first device.
  • the remote SIM service module of the second device may also send a remote SIM switching instruction to the modem of the second device.
  • the modem in the second device may switch the SIM card mode to a remote client mode, which is used to instruct the second device not to read the SIM card information through the local SIM card slot, but to remotely read the SIM card information of the first device through the rSIM interface, etc.
  • the remote SIM service module 7103 of the first device sends the remote SIM switching instruction to the remote SIM RIL module 7105 through the rSIM HIDL interface 7104.
  • the remote SIM RIL module 7105 sends the remote SIM switching instruction to the remote SIM card module 7107 in the modem through the rSIM interface 7106.
  • the remote SIM card module 7107 when the remote SIM card module 7107 receives the remote SIM switching instruction, the SIM card of the first device can be The mode is switched to the remote service module, which is used to instruct the first device to allow the SIM card of the first device to be shared with the second device. Further, the remote SIM card module 7107 can obtain the SIM card information in the SIM hard card 7109 through the SIM card slot driver 7108, and send the obtained SIM card information to the modem of the second device through the steps shown in S7004-S7008.
  • the SIM card information can enable the second device to register with the cellular network.
  • the SIM card information may include: international mobile subscriber identity (IMSI), mobile phone number of the mobile user, network identification, key and other information.
  • IMSI international mobile subscriber identity
  • mobile phone number of the mobile user may include: mobile phone number of the mobile user, network identification, key and other information.
  • the remote SIM card module 7107 sends the SIM card information to the remote SIM RIL module 7105 through the rSIM interface 7106.
  • the remote SIM RIL module 7105 sends the SIM card information to the remote SIM service module 7103 through the rSIM HIDL interface 7104.
  • the remote SIM service module 7103 sends the SIM card information to the remote SIM service module 7102 of the second device by using the distributed bus 7111 of the first device and the distributed bus 7110 of the second device.
  • the remote SIM service module 7102 of the second device sends the SIM card information to the remote SIM RIL module 7115 through the rSIM HIDL interface 7116.
  • remote SIM RIL module 7115 sends the SIM card information to the remote SIM card module 7113 in the modem through the rSIM interface 7114.
  • the SIM card module 7112 in the modem of the second device can use the SIM card information to register the cellular network, and return the network information to the modem of the first device based on the path described in the steps shown in S7009-S7010 and the steps shown in S7001-S7003.
  • the modem of the second device sends the network information to the remote SIM RIL module 7115 through the rSIM interface 7114.
  • the remote SIM RIL module 7115 sends the network information to the remote SIM service module 7102 of the second device through the rSIM HIDL interface 7116.
  • the remote SIM service module 7102 of the second device may return the network information to the modem of the first device based on the path described in steps S7001-S7003, which will not be described in detail in the embodiments of the present application.
  • the second device can access the SIM card in the first device based on a remote SIM request, such as a reset answer (ATR) request and an application protocol data unit (APDU) request.
  • ATR reset answer
  • APDU application protocol data unit
  • the first device may also return the response message corresponding to the remote SIM request, such as the ATR response corresponding to the ATR request and the APDU response corresponding to the APDU request, to the modem of the second device through the steps shown in S7004-S7008.
  • the ATR request, the ATR response, the APDU request, and the APDU result may all be the request or response methods commonly used in the SIM card communication protocol, which will not be described in detail here.
  • the process in which the second device transfers the IMS communication capability of the second device to the first device for use based on the remote IMS function can refer to the embodiment corresponding to FIG. 8 .
  • FIG8 is a schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application.
  • the layered architecture of the first device divides the software into several layers, each with clear roles and divisions.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are application layer, application framework layer, IMS APK, and HAL layer from top to bottom.
  • the first device may also include a modem.
  • the contents included in the application layer can refer to the contents in the application layer in the embodiment corresponding to FIG. 6 (or FIG. 7 ), which will not be described in detail here.
  • the application framework layer may include a phone manager and a distributed communication service module.
  • the phone manager may include: an IMS phone module and an IMS management module (IMS manager).
  • IMS phone module may be used to provide an interface to the outside world; the IMS management module is used to provide an API for interacting with the IMS service module and manage IMS related functions; and the IMS management module may also be the caller of the IMS service module.
  • the IMS management module may be understood as a module specified in the Android system architecture.
  • the distributed service module may include: a remote IMS service module 8101.
  • the remote IMS service module 8101 may include: an IMS call session proxy module and a SIM call session listener proxy module.
  • the IMS call session proxy module of the first device may be used to send a local remote IMS switching instruction (or an IMS service request, etc.) to the IMS call session proxy module of the second device.
  • the SIM call session listener proxy module of the first device is used to return the remote IMS switching success instruction (or a response message corresponding to the IMS service request) sent by the second device to the IMS management module in the phone manager.
  • the distributed service module may also include a distributed cellular communication control module and a distributed bus 8103.
  • the functions of the distributed cellular communication control module and the distributed bus 8103 can be found in the description of the embodiment corresponding to FIG. 6 (or FIG. 7), which will not be described here.
  • the first device may also include: an IMS APK, which may include an IMS service module.
  • the IMS service module provides services related to the IMS, and the IMS service module is used to interact with the modem side or the audio side to implement IMS related functions.
  • the HAL may include: an audio HAL 8105, and an audio stream forwarding module 8106.
  • the audio HAL 8105 is used to switch the forwarding mode of the audio data according to the instruction for indicating the channel switching sent by the remote IMS service module. For example, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. Further, the audio HAL 8105 can send the instruction for indicating the channel switching to the audio stream forwarding module 8106, so that the audio stream forwarding module 8106 can switch the transmission channel of the audio data, and realize the remote forwarding of the received voice packet to the second device.
  • the HAL of the second device may include: an audio HAL 8108, an audio stream forwarding module 8107, and a RIL, and the RIL may implement data forwarding between the IMS service module and the modem.
  • the function of the audio HAL 8108 in the second device may be similar to that of the audio HAL 8105 in the first device, and the function of the audio stream forwarding module 8107 in the second device may be similar to that of the audio stream forwarding module 8106 in the first device, which will not be described in detail here.
  • the audio stream forwarding module 8106 can realize the forwarding of voice packets.
  • the audio stream forwarding module 8107 in the second device can be used to forward the voice packets received by the modem of the second device from the network side to the first device, so that the first device can play the voice packets sent by the second device based on the speaker.
  • the audio stream forwarding module 8106 in the first device can also be used to forward the voice packets received based on the microphone to the modem of the second device, and the modem of the second device forwards them to the network side.
  • the HAL of the first device may also include a RIL, etc., and the RIL may be used to implement data forwarding between the IMS service module of the first device and the modem of the first device.
  • the RIL may include a RILD.
  • a SIM card may be connected to the modem of the first device; and a SIM card may or may not be connected to the modem of the second device.
  • the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to Figure 8, and the functions of each function in the software architecture can be similar to the functions described in the embodiment corresponding to Figure 8, which will not be repeated here.
  • the distributed cellular communication control module of the first device can determine to send a remote IMS switching instruction to the second device.
  • the distributed cellular communication control module of the first device can instruct the remote IMS service module 8101 to send a remote IMS switching instruction to the remote SIM service module 8102 of the second device.
  • the remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
  • the IMS call session proxy module in the remote IMS service module 8101 of the first device sends a remote IMS switching instruction to the IMS call session proxy module in the remote IMS service module 8102 of the second device.
  • the IMS call session proxy module in the remote IMS service module 8101 sends the remote IMS switching instruction to the IMS call session proxy module of the second device based on the distributed bus 8103 of the first device and the distributed bus 8104 of the second device.
  • the first device can create a proxy object of the interface in the IMS management module, for example, create a proxy object of the IMS call session proxy module, so that the IMS management module will not forward the received request for the remote IMS switching instruction to the local IMS service module, but forward it to the second device via the IMS call session proxy module.
  • the IMS call session proxy module of the second device sends the remote IMS switching instruction to the IMS management module in the telephone manager.
  • the IMS management module sends the remote IMS switching instruction to the IMS service module.
  • the IMS service module sends the remote IMS switching instruction to the modem of the second device.
  • the IMS service module may send the remote IMS switching instruction to the RIL, and the RIL may further send the remote IMS switching instruction to the modem of the second device.
  • the modem when receiving the remote IMS switching instruction, can obtain IMS registration information and return a remote IMS switching success instruction with the IMS registration information to the first device.
  • the IMS registration information enables the first device to support call functions such as voice over long term evolution (VOLTE) or voice over new radio (VONR).
  • VOLTE voice over long term evolution
  • VONR voice over new radio
  • the modem of the second device sends a remote IMS switching success instruction to the IMS service module.
  • the modem of the second device sends the remote IMS switching success instruction to the RIL, and the RIL continues to send the remote IMS switching success instruction to the IMS service module.
  • the IMS service module sends a remote IMS switching success instruction to the IMS management module in the phone manager.
  • the IMS management module sends a remote IMS switching success instruction to the IMS call session monitoring proxy module in the remote IMS service module 8102 .
  • the IMS management module can create a proxy object of the IMS call session monitoring proxy module so that the IMS management module will not forward the received remote IMS handover success instruction request to the local IMS phone module, but forward it to the first device via the IMS call session monitoring proxy module.
  • the IMS call session monitoring proxy module of the second device sends a remote IMS switching success instruction to the IMS call session monitoring proxy module of the first device.
  • the IMS call session monitoring agent module of the second device can use the distributed bus 8104 of the second device, And the distributed bus 8103 of the first device sends the remote IMS switching success instruction to the IMS call session monitoring agent module of the first device.
  • the IMS call monitoring proxy module may return the remote IMS switching success instruction to the application layer of the first device based on the steps shown in S8009-S8011.
  • the local cache module can be set in the remote IMS service module, or can also be located at other locations, which is not limited in the embodiments of the present application.
  • the IMS call session monitoring agent module of the first device sends a remote IMS switching success instruction to the IMS management module.
  • the IMS management module sends a remote IMS switching success instruction to the IMS telephone module.
  • the IMS phone module sends a remote IMS switching success instruction to the application layer of the first device.
  • the first device when the application layer of the first device receives the IMS registration information in the IMS switching success instruction from the second device, the first device can display a high definition (HD) logo in the status bar of the interface, and the HD logo is used to instruct the first device to enable the high-definition voice call function.
  • HD high definition
  • the first device when the first device has the IMS communication capability of the second device based on the steps shown in S8001-S8011, the first device can complete any IMS service based on data interaction with the second device.
  • an IMS service is an IMS call service.
  • the application layer of the first device receives an IMS call service request
  • the application layer of the first device can send the calling service request to the IMS phone module in the phone manager of the first device, and the IMS phone module sends the calling service request to the IMS management module.
  • the IMS management module uses the proxy mode to send the IMS service request to the IMS call session proxy module of the first device, and then the first device forwards the calling service request to the modem of the second device based on the path described in the steps shown in S8001-S8004.
  • the second device can send a response message corresponding to the calling service request to the application layer of the first device based on the steps shown in S8005-S8011.
  • the response message corresponding to the IMS call service request is used to indicate that the second device allows the first device to execute the IMS call service.
  • the first device can send the locally generated voice packet to the modem of the second device through the audio stream forwarding module 8106 of the first device and the audio stream forwarding module 8107 of the second device, and the modem of the second device sends the voice packet to the network side.
  • the modem of the second device can return the voice packet received from the network side to the first device through the audio stream forwarding module 8107 of the second device and the audio stream forwarding module 8106 of the first device. This allows the first device to use the second device to complete the call connection in the IMS service.
  • IMS domain call can be a commonly used call method in PS domain call.
  • CS domain calls For CS domain calls, the software implementation of CS domain calls can refer to the embodiment corresponding to FIG9 .
  • the CS domain call process may involve a phone application, a phone manager, RILD, and a modem.
  • the phone application and the phone manager can be understood as software modules that are common to the Android platform and are not related to the chip; RILD and modem can be understood as software modules related to the chip.
  • the chip-related software module can be understood as a module provided by a chip manufacturer, or understood as a chip-related software module that can only run in the chip provided by the corresponding chip manufacturer; the chip-independent software module is a native software module of the Android platform, which can run in a chip provided by any chip manufacturer.
  • the CS call service can be implemented based on the data transmission process corresponding to the remote modem function.
  • Figure 10 is a flow chart of an IMS domain call provided in an embodiment of the present application.
  • the IMS domain call process may involve phone application, phone manager, IMS APK, RILD and modem.
  • phone application and phone manager can be understood as software modules common to the Android platform and not related to the chip;
  • IMS APK, RILD and modem can be understood as software modules related to the chip.
  • the proxy entry point of the remote IMS function can be moved up to the IMS management module in the phone manager, so that the IMS service can be forwarded to the remote IMS service module through the proxy of the IMS management module.
  • the specific process of the IMS management module performing the proxy can refer to the embodiment corresponding to FIG8, which will not be repeated here.
  • the first device can use the second device to implement the connection of various services such as CS call service and IMS call service, enrich the application scope of the cellular communication capability connection method, and thus improve the user experience of the device.
  • various services such as CS call service and IMS call service
  • the process of enabling the cellular communication capability connection function of the first device or the second device in S401 may refer to the embodiment corresponding to FIG. 11 or FIG. 12 .
  • the first device may support enabling the cellular communication capability continuation function from the interface corresponding to the SIM card management function (see the embodiment corresponding to FIG. 11 ), or the first device may also support enabling the cellular communication capability continuation function from the interface corresponding to the more connection functions for setting the first device (see the embodiment corresponding to FIG. 12 ). It is understandable that the specific manner of enabling the cellular communication capability continuation function may not be limited to the above two, and this is not limited in the embodiment of the present application.
  • the first device supports enabling a cellular communication capability connection function from an interface corresponding to a SIM card management function.
  • FIG11 is a schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application.
  • the first device enables the cellular communication capability connection function
  • the first device is a mobile phone.
  • the method for enabling the cellular communication capability connection function of the second device can refer to the embodiment corresponding to FIG11. The description will not be repeated later.
  • the first device When the first device receives the user's operation to open the setting function, the first device can display an interface as shown in a of FIG. 11 , which may include: a text box for searching for setting items, a control for logging in to an account, a control for setting WLAN, a control for setting Bluetooth, a control 1101 for setting a mobile network, a control for setting a hyperterminal, and a control for setting more connections, etc.
  • the logged-in account may be 1234567XXXX.
  • the operation of opening the settings function can be: the user triggers the control corresponding to the settings function in the desktop to open the settings function, or the user triggers the thumbnail corresponding to the settings function in the background multi-tasking interface to open the settings function, etc. This is not limited in the embodiments of the present application.
  • the first device when the first device receives a trigger operation of the user on the control 1101 for setting the mobile network, the first device may display an interface shown in b of FIG. 11 .
  • the interface shown in b of FIG. 11 may include: a control for turning on the airplane mode, a control for setting the mobile data, a control for setting the personal hotspot, a control 1102 for setting the SIM card management, a control for performing traffic management, an indication information for indicating whether to search for other setting items, and a control for performing call settings, etc.
  • the first device when the first device receives a trigger operation of the user for the control 1102 for setting SIM card management, the first device may display the interface shown in c of FIG. 11 .
  • the interface may be an interface corresponding to the SIM card management function, and the interface may include: card 1 in the card insertion state, and card 2 in the card insertion state, a control for setting the default mobile data, a control for setting the default dial card, a control for setting call forwarding between dual cards, and a control 1103 for setting the device signal relay, etc.
  • control 1103 for setting the device signal relay may also be set in the interface where the mobile network function is located as shown in b in FIG. 11 , which is not limited in the embodiments of the present application.
  • the first device when the first device receives a trigger operation of the user on the control 1103 for setting the device signal relay, the first device may display the interface shown in d of FIG. 11 .
  • the interface may include: a control 1104 for turning on or off the device signal relay, a control for exiting the device signal relay, an indication information for instructing the device to perform a cellular communication capability relay function, and an indication information for indicating the conditions that need to be met to trigger the device signal relay.
  • the indication information for indicating the device cellular communication capability relay function may be displayed as: in the case of no cellular network signal in the basement, etc., use the cellular network of other idle devices to make calls and send and receive text messages; the indication information for indicating the conditions that need to be met to trigger the device signal relay may be displayed as: the following conditions need to be met to trigger the device signal relay: 1.
  • the user has multiple mobile phones/tablets and all are logged in to the device account; 2.
  • the signal relay switch is turned on for all devices; 3.
  • the other devices used for relay need to have a free card slot.
  • the signal relay switch can be the control 1104 shown in d in Figure 11 for turning on or off the device signal relay; the other device used for relay may include one or more free card slots, or the other device used for relay may not have a free card slot, which is not limited in the embodiments of the present application.
  • the indication information for indicating the device's cellular communication capability connection function in the interface shown in d in Figure 11 may also include one or more of the following, for example: the local device has no cellular network signal, the devices need to be connected to WI-FI, etc., which is not limited in the embodiments of the present application.
  • the first device when the cellular communication capability connection function of the device is turned off, when the first When the device receives a trigger operation from the user on the control 1104 for turning on or off the device signal relay, the first device can turn on the device cellular communication capability connection function and register in the communication service cloud using the device account.
  • the first device supports enabling the cellular communication capability connection function from an interface for setting more connection functions corresponding to the first device.
  • FIG12 is a schematic diagram of an interface for enabling another cellular communication capability connection function provided in an embodiment of the present application.
  • the first device displays an interface as shown in a of FIG. 12 , which may include: a control 1201 for setting more connections.
  • the content displayed in the interface may be similar to the content shown in a of FIG. 11 , and will not be repeated here.
  • the first device when the first device receives a trigger operation from the user for a control 1201 for setting more connections, the first device may display an interface shown in b of FIG. 12 .
  • the interface shown in b of FIG. 12 may include: a control for setting device sharing, a control for setting wireless screen projection, a control for setting a printing function, a control for setting a virtual private network (VPN), a control for setting an encrypted domain name system (DNS), and a control 1202 for setting a device signal relay.
  • VPN virtual private network
  • DNS encrypted domain name system
  • the first device when the first device receives a trigger operation of the user on the control 1202 for setting the device signal relay, the first device displays the interface shown in c of FIG. 12.
  • the content displayed in the interface shown in c of FIG. 12 is similar to that in the interface shown in d of FIG. 11, and will not be described in detail here.
  • the second device when the second device also turns on the cellular communication capability connection function based on the embodiment corresponding to Figure 11 or Figure 12, the second device can also register in the communication service cloud using information such as the device account, and then the communication service cloud can perform device authentication for the first device and the second device and establish a secure data channel.
  • turning on the main switch of the cellular communication capability connection function on both the first device and the second device can be a prerequisite for the first device and the second device to achieve connection.
  • the device can provide the user with a master switch for controlling the cellular communication capability continuation function based on the embodiments corresponding to FIG11 or FIG12, so that the user can turn on the master switch when the cellular communication capability continuation function is needed according to their own needs.
  • the user can turn on the master switch of the cellular communication capability continuation function when the network signal is weak, and trigger the second device to complete the continuation of the cellular communication capability; or the user can also turn on the master switch of the cellular communication capability continuation function in advance when the network signal is good, so that the subsequent device can trigger the second device to complete the continuation of the cellular communication capability when the network signal is weak.
  • the first device may instruct the second device to connect the cellular communication capability based on the embodiment corresponding to FIG. 13 .
  • FIG13 is a schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application.
  • the interface d of FIG11 when the cellular communication capability relay function of the device is turned off, when the first device receives a trigger operation of the user for the control 1104 for turning on or off the device signal relay, the first device can turn on the device cellular communication capability relay function and display the interface shown in FIG13a.
  • the interface may include: relay-capable devices that can be detected by the first device, such as the second device 1301, the second device 1302, and the second device 1303. Other contents displayed in the interface may be different from those shown in the interface d of FIG11. The above is similar, so I will not repeat it here.
  • the first device when the first device receives a trigger operation from the user for any relayable device, such as the second device 1301, the first device may determine that the second device 1301 will relay the signal, and display the interface shown in b of FIG13.
  • the interface shown in b of FIG13 may include: a pop-up window 1304, and the pop-up window 1304 may include: indication information for indicating the effect of the cellular communication capability relay, a cancel control, a control for indicating relaying the card 1 of the first device (or referred to as the card 1 control), and a control for relaying the card 2 of the first device (or referred to as the card 2 control), etc.
  • the indication information for indicating the effect of the cellular communication capability connection may be: using the second device 1301 to relay your signal, after which you can use the idle cellular signal of the second device 1301 to make calls and send text messages.
  • the second device 1301 may also be displayed as a device model.
  • the first device when the first device contains two SIM cards, the first device can display the interface shown in b in Figure 13; or, when there is only one SIM card in the first device, the first device can display the card 1 control or the card 2 control in the interface shown in b in Figure 13.
  • the first device when the first device receives a trigger operation from the user on the card 1 control in the pop-up window 1304, the first device will initiate a connection of cellular communication capabilities to at least one free card slot of the second device, so that the second device can provide a connection for card 1 of the first device.
  • the embodiment corresponding to FIG13 can be a user manually initiating a connection mode of cellular communication capability, and at this time, regardless of the network signal of the first device, the second device can be used for signal connection.
  • the status bar of the first device can display an indicator indicating that the network signal of card 1 and the network signal of card 2 are both maintained at a good level, and at this time, the first device can also use the second device for signal connection.
  • the first device may also use the second device for signal connection based on the embodiment corresponding to FIG. 13 .
  • connection method for initiating cellular communication capabilities is not limited to the embodiment corresponding to FIG. 13 above, and is not limited to this in the embodiments of the present application.
  • users can initiate the connection of cellular communication capabilities at any time according to their usage needs, thereby improving the user experience of using the cellular communication capability connection function.
  • both the first device and the second device can view the status of the cellular communication capability continuity in their respective interfaces.
  • FIG14 is a schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application.
  • the first device can use the second device to provide cellular communication capability connection for any SIM card in the first device based on the embodiment corresponding to Figure 13. Furthermore, 52 minutes after the first device and the second device achieve cellular communication capability connection, the first device can display an interface as shown in a in Figure 14, which may include: a pop-up window 1402, and the pop-up window 1402 may include: indication information indicating the cellular communication capability connection status, information indicating the relay time, controls for stopping the relay, controls for switching relay devices, and controls for switching relay cards.
  • the indication information indicating the cellular communication capability connection status can be displayed as: the second device 1301 is being used to relay the signal for your card 1, and the information for indicating The relay time information may be displayed as 52:00.
  • the second device 1301 may be displayed as a device model.
  • the interface shown in a in FIG. 14 may also include: time information, clock controls, calendar controls, gallery controls, memo controls, and camera controls, address book controls, phone controls, and information controls in the dock.
  • the status bar of the interface shown in a of FIG14 may also display an identifier 1400 indicating the network signal status of any SIM card in the second device, and an identifier 1401 indicating that the device is relaying a signal.
  • the first device may switch from a state of weak network signal or no network signal to a state of good network signal corresponding to the current identifier 1400.
  • the status bar of the interface shown in a in FIG. 14 may also display information such as the operator name of the second device, which is not limited in the embodiments of the present application.
  • the first device and the second device may interrupt the connection of the cellular communication capability.
  • the second device can display an interface as shown in b of FIG. 14, which may include: an identification 1401 for indicating that the device is performing signal relay, and a pop-up window 1403.
  • the pop-up window 1403 may include: information for indicating the relay time, indication information for indicating the cellular communication capability connection status, and a control for disconnecting the first device (or called a stop relay control), etc.
  • the indication information for indicating the cellular communication capability connection status can be displayed as: This machine is relaying the signal for your first device, and has been relaying for 52 minutes. The local call and text message services may be affected.
  • the information for indicating the relay time can be displayed as 52:00.
  • the first device can be displayed as a device model.
  • the second device and the first device may interrupt the connection of the cellular communication capability.
  • the interface shown in b in FIG. 14 may also include at least one of the following items: time information, a clock control in the dock, a calendar control, a phone control, and an information control, etc.
  • both the first device and the second device can prompt the user of the connection status of the current cellular communication capability in the device, so that the user can use the first device or the second device in time according to the connection status, thereby enhancing the user's experience of using the connection function.
  • Figure 15 is a schematic diagram of the structure of a device for connecting cellular communication capabilities provided in the embodiment of the present application.
  • the device for connecting cellular communication capabilities can be the first device (or second device) in the embodiment of the present application, or it can be a chip or chip system in the first device (or second device).
  • the cellular communication capability connection device 1500 can be used in a communication device, circuit, hardware component or chip, and the cellular communication capability connection device 1500 includes: a display unit 1501, a processing unit 1502, and a communication unit 1503, wherein the display unit 1501 is used to support the display step performed by the audio processing device 1500; the processing unit 1502 is used to support the audio processing device 1500 to perform the information processing step; and the communication unit 1503 is used to instruct the audio processing device 1500 to perform the steps of sending and receiving data.
  • the communication unit 1503 can be an input or output interface, a pin or a circuit, etc.
  • the audio processing device may further include: a storage unit 1504.
  • the processing unit 1502 and the storage unit 1504 are connected via a line.
  • the storage unit 1504 may include one or more memories, and the memory may be a device used to store programs or data in one or more devices or circuits.
  • the storage unit 1504 may exist independently and be connected to the processing unit 1502 of the audio processing device via a communication line.
  • the storage unit 1504 may also be integrated with the processing unit 1502.
  • the storage unit 1504 may store computer-executable instructions of the method in the first device (or the second device) so that the processing unit 1502 executes the method in the above embodiment.
  • the storage unit 1504 may be a register, a cache, or a RAM, etc.
  • the storage unit 1504 may be integrated with the processing unit 1502.
  • the storage unit 1504 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1504 may be independent of the processing unit 1502.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • wired e.g., coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless e.g., infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated.
  • available media may include magnetic media (e.g., floppy disks, hard disks, or tapes), optical media (e.g., digital versatile discs (DVD)), or semiconductor media (e.g., solid-state drives (SSD)), etc.
  • Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another.
  • the storage medium may be any target medium that can be accessed by a computer.
  • the computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include a magnetic disk storage or other magnetic disk storage device.
  • any connecting line may also be appropriately referred to as a computer-readable medium.
  • the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave
  • the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium.
  • Disks and optical discs as used herein include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers.

Landscapes

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

Abstract

Provided in the embodiments of the present application are a cellular communication capability handover method and apparatus. The method comprises: a first device establishing a connection with a second device. After the connection is established, the method further comprises: the first device sending a first request to the second device by means of the established connection, and the first device receiving a second request from the second device; after receiving the second request, the first device sending first SIM card information to the second device; and the first device sending first information to the second device, so as to send the first information to a third device via a cellular network by means of a modem of the second device and on the basis of the first SIM card information, and the first device receiving second information from the second device. In this way, a first device in an environment, where there is no operator network signal or network signals are weak, can perform handover on a cellular communication capability by using another second device, which is in an environment with relatively good network signals and which has the cellular communication capability.

Description

蜂窝通信能力接续的方法和装置Method and device for connecting cellular communication capabilities
本申请要求于2022年09月30日提交中国国家知识产权局、申请号为202211214782.X、申请名称为“蜂窝通信能力接续的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on September 30, 2022, with application number 202211214782.X and application name “Method and Device for Continuation of Cellular Communication Capabilities”, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请涉及终端技术领域,尤其涉及一种蜂窝通信能力接续的方法和装置。The present application relates to the field of terminal technology, and in particular to a method and device for connecting cellular communication capabilities.
背景技术Background technique
蜂窝通信是采用蜂窝无线组网方式,在电子设备和网络设备之间通过无线通道连接起来,进而实现用户在活动中可相互通信,其主要特征是终端的移动性,并具有越区切换和跨本地网自动漫游功能。当具有蜂窝通信能力的设备处于运营商网络(或称之为蜂窝网络)无信号、或者网络信号较弱(即蜂窝网络信号较弱)的环境时,则无法正常使用蜂窝通信业务,例如接打电话或者收发短信等。Cellular communication is a cellular wireless networking method that connects electronic devices and network devices through wireless channels, so that users can communicate with each other during activities. Its main feature is the mobility of the terminal, and it has the functions of handover and automatic roaming across local networks. When a device with cellular communication capabilities is in an environment where there is no signal on the operator's network (or cellular network) or the network signal is weak (that is, the cellular network signal is weak), it cannot use cellular communication services normally, such as making and receiving calls or sending and receiving text messages.
通常情况下,可以通过在网络信号较弱的环境中安装微型基站或者设置信号放大器的方式,提升该网络信号较弱的环境中网络覆盖情况。Generally speaking, the network coverage in an environment with weak network signals can be improved by installing a micro base station or setting up a signal amplifier in the environment with weak network signals.
然而,上述通过安装微型基站或者设置信号放大器提高环境内网络信号的方式,需要通过运营商进行部署,过程较为繁琐,且设备安装的位置无法灵活调节。However, the above-mentioned method of improving the network signal in the environment by installing a micro base station or setting up a signal amplifier needs to be deployed by an operator, the process is relatively cumbersome, and the location of the equipment installation cannot be flexibly adjusted.
发明内容Summary of the invention
本申请实施例提供一种蜂窝通信能力接续的方法和装置,使得处于运营商网络无信号或者网络信号较弱的环境下的第一设备可以利用另一部处于网络信号较好环境下、具备蜂窝通信能力的第二设备进行蜂窝通信能力的接续。The embodiments of the present application provide a method and apparatus for connecting cellular communication capabilities, so that a first device in an environment where there is no signal or a weak network signal of an operator network can use another second device in an environment where there is a good network signal and has cellular communication capabilities to connect cellular communication capabilities.
第一方面,本申请实施例提供一种蜂窝通信能力接续的方法,方法包括:第一设备与第二设备建立连接;在连接建立后,方法还包括:第一设备通过建立的连接,向第二设备发送第一请求,第一请求用于指示第一设备请求访问第二设备的调制解调处理器modem;第一设备接收来自第二设备的第二请求,第二请求用于指示第二设备请求远程访问第一设备的第一用户识别模块SIM卡;第一设备在接收到第二请求后向第二设备发送第一SIM卡信息;第一设备向第二设备发送第一信息,以将第一信息通过第二设备的modem基于第一SIM卡信息经由蜂窝网络发送至第三设备,第一信息与第一业务相关,第一业务与第一设备和第三设备相关;第一设备接收来自第二设备的第二信息,第二信息包括:第二设备的modem基于第一SIM卡信息经由蜂窝网络接收的来自第三设备的信息,第二信息与第一业务相关。In a first aspect, an embodiment of the present application provides a method for connecting cellular communication capabilities, the method comprising: establishing a connection between a first device and a second device; after the connection is established, the method further comprises: the first device sends a first request to the second device through the established connection, the first request being used to indicate that the first device requests to access a modem processor of the second device; the first device receives a second request from the second device, the second request being used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; after receiving the second request, the first device sends first SIM card information to the second device; the first device sends first information to the second device to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information, the first information being related to a first service, and the first service being related to the first device and the third device; the first device receives second information from the second device, the second information comprising: information from the third device received by the modem of the second device via the cellular network based on the first SIM card information, the second information being related to the first service.
这样,使得处于运营商网络无信号或者网络信号较弱的环境下的第一设备可以基于第一请求以及第二请求,使用另一部网络信号较好环境下、具备蜂窝通信能力的第二设备进行蜂窝通信能力的接续。In this way, a first device in an environment with no operator network signal or weak network signal can use a second device with cellular communication capability in another environment with better network signal to continue cellular communication capability based on the first request and the second request.
其中,该第一请求可以为图5中的远程modem切换指令,第二请求可以为图5中 的远程SIM切换指令;第一消息可以为本申请实施例中的CS主叫通话业务请求、IMS主叫通话业务请求,或短信业务;第二消息可以为本申请实施例中的CS被叫通话业务请求、或IMS被叫通话业务请求等。The first request may be the remote modem switching instruction in FIG. 5 , and the second request may be the remote modem switching instruction in FIG. 5 . remote SIM switching instruction; the first message may be a CS calling call service request, an IMS calling call service request, or a text message service in an embodiment of the present application; the second message may be a CS called call service request, or an IMS called call service request, etc. in an embodiment of the present application.
在一种可能的实现方式中,第一设备接收来自第二设备的第二请求包括:在第一设备通过建立的连接向第二设备发送第一请求之后,第一设备接收来自第二设备的第二请求。In a possible implementation manner, the first device receiving the second request from the second device includes: after the first device sends the first request to the second device through an established connection, the first device receiving the second request from the second device.
这样,第一设备先发送第一请求后接收来自第二设备的第二请求,可以保证第二设备在基于第二请求访问第一SIM卡的过程中,第二设备可以将蜂窝通信能力接续的过程中SIM卡状态的变化及时发送至第一设备,使得用户可以根据SIM卡状态的变化,及时察觉出蜂窝通信能力接续是否发生异常,进而提高用户使用蜂窝通信能力接续功能的使用体验。In this way, the first device first sends the first request and then receives the second request from the second device, which can ensure that when the second device accesses the first SIM card based on the second request, the second device can promptly send the changes in the SIM card status during the cellular communication capability continuation process to the first device, so that the user can promptly detect whether there is any abnormality in the cellular communication capability continuation according to the changes in the SIM card status, thereby improving the user's experience of using the cellular communication capability continuation function.
在一种可能的实现方式中,第一设备通过建立的连接,向第二设备发送第一请求之后,方法还包括:第一设备接收来自第二设备的与第一请求对应的响应消息;其中,与第一请求对应的响应消息用于指示第二设备允许第一设备访问第二设备的modem;第一设备在接收到第二请求后向第二设备发送第一SIM卡信息之后,方法还包括:第一设备接收来自第二设备的第三信息,第三信息为第二设备的modem基于第一SIM卡信息注册蜂窝网络时得到的信息。In a possible implementation, after the first device sends a first request to the second device through an established connection, the method further includes: the first device receives a response message corresponding to the first request from the second device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; after the first device receives the second request, the method further includes: the first device receives third information from the second device, the third information being information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
这样,第一设备可以根据第一请求对应的响应消息,及时将第二设备的modem的访问情况传递给第二设备;并且第二设备实现将驻网信息及时返回至第一设备,使得第一设备可以实现对于蜂窝通信能力接续的状态的查看。In this way, the first device can promptly transmit the access status of the modem of the second device to the second device according to the response message corresponding to the first request; and the second device can promptly return the network information to the first device, so that the first device can check the status of the cellular communication capability connection.
其中,该第一请求对应的消息消息可以为图5对应的实施例中描述的远程modem切换成功指令,第三信息可以为图5对应的实施例中描述的驻网信息。The message corresponding to the first request may be the remote modem switching success instruction described in the embodiment corresponding to FIG. 5 , and the third information may be the on-network information described in the embodiment corresponding to FIG. 5 .
在一种可能的实现方式中,第一设备通过建立的连接,向第二设备发送第一请求,包括:第一设备通过建立的连接,向第二设备发送第三请求;第三请求用于指示第一设备请求第二设备为第一设备提供蜂窝通信能力的接续;第一设备接收来自第二设备的与第三请求对应的响应消息,其中,与第三请求对应的响应消息用于指示第二设备同意为第一设备提供蜂窝通信能力的接续;第一设备在接收到第三请求对应的响应消息后,向第二设备发送第一请求。In one possible implementation, the first device sends a first request to the second device through an established connection, including: the first device sends a third request to the second device through the established connection; the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the first device receives a response message corresponding to the third request from the second device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; after receiving the response message corresponding to the third request, the first device sends the first request to the second device.
这样,使得第一设备可以在与第二设备建立通信连接的情况下,基于第三请求请求通知第二设备建立蜂窝通信能力的接续,并且通过接收该第三请求对应的响应消息,确定第二设备是否同意为第一设备提供该蜂窝通信能力的接续。In this way, the first device can, when establishing a communication connection with the second device, notify the second device to establish a connection for cellular communication capability based on the third request, and determine whether the second device agrees to provide the first device with a connection for the cellular communication capability by receiving a response message corresponding to the third request.
其中,该第三请求可以为图5对应的实施例中的接续模式切换指令;第三请求对应的响应消息为图5对应的实施例中的接续模式切换指令对应的响应消息。The third request may be the connection mode switching instruction in the embodiment corresponding to FIG. 5 ; and the response message corresponding to the third request may be the response message corresponding to the connection mode switching instruction in the embodiment corresponding to FIG. 5 .
在一种可能的实现方式中,第一业务包括下述一种或多种:电路交换CS通话业务、IMS通话业务、或短信业务。In a possible implementation manner, the first service includes one or more of the following: a circuit switched CS call service, an IMS call service, or a text message service.
这样,使得第一设备与第二设备之间可以通过蜂窝通信能力的接续实现多种业务,丰富蜂窝通信能力的接续功能的使用场景。In this way, the first device and the second device can realize multiple services through the connection of cellular communication capabilities, enriching the usage scenarios of the connection function of the cellular communication capabilities.
在一种可能的实现方式中,方法还包括:第一设备向第二设备发送第四请求;第四请求用于指示第一设备请求使用第二设备的网络互联协议多媒体子系统IMS能力; 第一设备接收来自第二设备的第四信息;第四信息用于指示第二设备允许第一设备使用第二设备的IMS能力;第一设备向第二设备发送第一信息,包括:第一设备在接收到第四信息后向第二设备发送第一信息。In a possible implementation, the method further includes: the first device sends a fourth request to the second device; the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; The first device receives fourth information from the second device; the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the first device sends the first information to the second device, including: the first device sends the first information to the second device after receiving the fourth information.
这样,第一设备可以利用该第四请求,请求第二设备提供IMS功能,保证蜂窝通信能力接续场景中与IMS相关的业务的正常运行。In this way, the first device can use the fourth request to request the second device to provide the IMS function, so as to ensure the normal operation of the IMS-related services in the cellular communication capability connection scenario.
其中,该第四请求可以为图5对应的实施例中的远程IMS切换指令,该第四信息可以为图5对应的实施例中的远程IMS切换成功指令(IMS注册信息)。The fourth request may be a remote IMS switching instruction in the embodiment corresponding to FIG. 5 , and the fourth information may be a remote IMS switching success instruction (IMS registration information) in the embodiment corresponding to FIG. 5 .
在一种可能的实现方式中,第一设备与第二设备建立连接,包括:在第一设备与第二设备满足预设条件的情况下,第一设备与第二设备建立连接;其中,预设条件包括:第一设备与第二设备均登录统一的设备账号、以及第一设备与第二设备均开启蜂窝通信能力接续功能。In one possible implementation, a first device establishes a connection with a second device, including: when the first device and the second device meet preset conditions, the first device establishes a connection with the second device; wherein the preset conditions include: both the first device and the second device log in to the same device account, and both the first device and the second device turn on a cellular communication capability connection function.
这样,使得第一设备与第二设备之间可以通过登录相同的设备账号以及均开启蜂窝通信能力接续功能,建立远场场景下第一设备与第二设备之间的通信连接。In this way, the first device and the second device can establish a communication connection in a far-field scenario by logging into the same device account and turning on the cellular communication capability connection function.
可能的实现方式中,在近场场景中,第一设备与第二设备也可以不满足该登录统一的设备账号,并通过其他条件建立通信连接,本申请实施例中对此不做限定。In a possible implementation, in a near-field scenario, the first device and the second device may not satisfy the requirement of logging into a unified device account, and establish a communication connection through other conditions, which is not limited in the embodiments of the present application.
在一种可能的实现方式中,预设条件还包括下述一种或多种:第一设备与第二设备均连接到WIFI、第一设备的至少一个SIM卡无蜂窝网络信号或蜂窝网络信号弱、或第二设备中包括至少一个空余卡槽。In one possible implementation, the preset conditions also include one or more of the following: both the first device and the second device are connected to WIFI, at least one SIM card of the first device has no cellular network signal or a weak cellular network signal, or the second device includes at least one free card slot.
在一种可能的实现方式中,第一设备包括:分布式通信服务模块,分布式通信服务模块中包括:远程IMS服务模块,远程IMS服务模块包括:IMS呼叫会话代理模块以及IMS呼叫会话监听代理模块;第一设备向第二设备发送第四请求,包括:分布式通信服务模块指示IMS呼叫会话代理模块向第二设备发送第四请求;第一设备接收来自第二设备的第四信息,包括:IMS呼叫会话监听代理模块接收来自第二设备的第四信息。In one possible implementation, the first device includes: a distributed communication service module, the distributed communication service module includes: a remote IMS service module, the remote IMS service module includes: an IMS call session agent module and an IMS call session monitoring agent module; the first device sends a fourth request to the second device, including: the distributed communication service module instructs the IMS call session agent module to send a fourth request to the second device; the first device receives fourth information from the second device, including: the IMS call session monitoring agent module receives the fourth information from the second device.
这样,使得第一设备可以通过远程IMS服务模块,使用第二设备的IMS能力,保障IMS业务的正常运行。In this way, the first device can use the IMS capability of the second device through the remote IMS service module to ensure the normal operation of the IMS service.
其中,分布式通信服务模块、远程IMS服务模块、IMS呼叫会话代理模块以及IMS呼叫会话监听代理模块的具体描述可以参见图8对应的实施例。For the detailed description of the distributed communication service module, the remote IMS service module, the IMS call session proxy module and the IMS call session monitoring proxy module, please refer to the embodiment corresponding to FIG. 8 .
在一种可能的实现方式中,分布式通信服务模块中还包括:远程modem服务模块、以及远程SIM服务模块;第一设备向第二设备发送第一请求,包括:分布式服务模块指示远程modem服务模块向第二设备发送第一请求;第一设备接收来自第二设备的第二请求,包括:远程SIM服务模块接收来自第二设备的第二请求。In a possible implementation, the distributed communication service module also includes: a remote modem service module and a remote SIM service module; the first device sends a first request to the second device, including: the distributed service module instructs the remote modem service module to send the first request to the second device; the first device receives a second request from the second device, including: the remote SIM service module receives the second request from the second device.
其中,远程modem服务模块的具体描述可以参见图6对应的实施例,远程SIM服务模块的具体描述可以参见图7对应的实施例。For a detailed description of the remote modem service module, please refer to the embodiment corresponding to FIG. 6 ; for a detailed description of the remote SIM service module, please refer to the embodiment corresponding to FIG. 7 .
这样,第一设备与第二设备之间可以通过远程modem服务模块、以及远程SIM服务模块,实现第一设备的第一SIM卡与第二设备的modem之间的绑定,进而实现蜂窝通信能力的接续。In this way, the first device and the second device can bind the first SIM card of the first device to the modem of the second device through the remote modem service module and the remote SIM service module, thereby achieving the continuation of cellular communication capabilities.
在一种可能的实现方式中,方法还包括:第一设备显示第一界面,第一界面中包括:用于设置移动网络的第一控件、以及用于设置与第一设备的更多连接的第二控件; 当第一设备接收针对第一控件的操作时,第一设备显示第二界面;第二界面中包括用于设置SIM卡管理的第三控件;响应于针对第三控件的操作,第一设备显示第三界面;第三界面中包括用于设置蜂窝通信能力接续的第四控件;响应于针对第四控件的操作,第一设备显示第四界面;第四界面中包括用于开启蜂窝通信能力接续的控件;响应于针对用于开启蜂窝通信能力接续的控件的操作,第一设备开启蜂窝通信能力接续功能;或者,当第一设备接收到针对第二控件的操作时,第一设备显示第五界面;第五界面中包括第四控件;响应于针对第四控件的操作,第一设备显示第四界面,第四界面中包括用于开启蜂窝通信能力接续的控件;响应于针对用于开启蜂窝通信能力接续的控件的操作,第一设备开启蜂窝通信能力接续功能。In a possible implementation, the method further includes: the first device displays a first interface, the first interface including: a first control for setting a mobile network, and a second control for setting more connections with the first device; When the first device receives an operation on the first control, the first device displays a second interface; the second interface includes a third control for setting SIM card management; in response to the operation on the third control, the first device displays a third interface; the third interface includes a fourth control for setting cellular communication capability continuation; in response to the operation on the fourth control, the first device displays a fourth interface; the fourth interface includes a control for turning on cellular communication capability continuation; in response to the operation on the control for turning on cellular communication capability continuation, the first device turns on the cellular communication capability continuation function; or, when the first device receives an operation on the second control, the first device displays a fifth interface; the fifth interface includes a fourth control; in response to the operation on the fourth control, the first device displays a fourth interface, and the fourth interface includes a control for turning on cellular communication capability continuation; in response to the operation on the control for turning on cellular communication capability continuation, the first device turns on the cellular communication capability continuation function.
这样,第一设备可以为用户提供控制蜂窝通信能力接续功能的总开关,使得用户根据自身需求在需要使用蜂窝通信能力接续功能时开启总开关,总开关可以为用于开启蜂窝通信能力接续的控件。In this way, the first device can provide the user with a main switch for controlling the cellular communication capability connection function, so that the user can turn on the main switch when the user needs to use the cellular communication capability connection function according to his own needs. The main switch can be a control for turning on the cellular communication capability connection.
其中,该第一界面可以为图11中的a所示的界面,第二界面可以为图11中的b所示的界面,第三界面可以为图11中的c所示的界面,第四界面可以图11中的d所示的界面或者图12中的c所示的界面,第五界面可以为图12中的b所示的界面。Among them, the first interface can be the interface shown in a in Figure 11, the second interface can be the interface shown in b in Figure 11, the third interface can be the interface shown in c in Figure 11, the fourth interface can be the interface shown in d in Figure 11 or the interface shown in c in Figure 12, and the fifth interface can be the interface shown in b in Figure 12.
在一种可能的实现方式中,第一界面的状态栏中还包括:用于指示第一SIM卡不具有蜂窝通信能力的标识,第一设备向第二设备发送第一信息之前,方法还包括:第一设备显示第六界面;其中,第六界面的状态栏中包括:用于指示目标SIM卡具有蜂窝通信能力的标识、以及用于指示第一设备处于蜂窝通信能力接续的标识。In one possible implementation, the status bar of the first interface also includes: an identifier for indicating that the first SIM card does not have cellular communication capability. Before the first device sends the first information to the second device, the method also includes: the first device displays a sixth interface; wherein the status bar of the sixth interface includes: an identifier for indicating that the target SIM card has cellular communication capability, and an identifier for indicating that the first device is in a cellular communication capability connection.
这样,第一设备可以基于该多个标识确定接续情况,增加用户使用蜂窝通信能力接续功能的使用体验。In this way, the first device can determine the connection status based on the multiple identifiers, thereby improving the user's experience of using the cellular communication capability connection function.
其中,该第六界面可以为图14中的a所示的界面。Among them, the sixth interface can be the interface shown in a in Figure 14.
在一种可能的实现方式中,第六界面中还包括:用于指示蜂窝通信能力接续的时长信息、提示信息、以及第五控件,提示信息用于提示第二设备正在为第一设备提供蜂窝通信能力接续,方法还包括:第一设备接收针对第五控件的操作;响应于针对第五控件的操作,第一设备结束蜂窝通信能力的接续。In one possible implementation, the sixth interface also includes: duration information for indicating the continuation of cellular communication capability, prompt information, and a fifth control, wherein the prompt information is used to prompt that the second device is providing cellular communication capability continuation for the first device, and the method also includes: the first device receives an operation on the fifth control; in response to the operation on the fifth control, the first device ends the continuation of cellular communication capability.
这样,使得第一设备可以根据用户需求关闭蜂窝通信能力的接续,提高用户使用蜂窝通信能力接续的使用体验。In this way, the first device can shut down the connection of the cellular communication capability according to user needs, thereby improving the user experience of using the connection of the cellular communication capability.
第二方面,本申请实施例提供一种蜂窝通信能力接续的方法,第二设备与第一设备建立连接;在连接建立后,方法还包括:第二设备通过建立的连接,接收来自第一设备的第一请求,第一请求用于指示第一设备请求访问第二设备的调制解调处理器modem;第二设备向第一设备发送第二请求,第二请求用于指示第二设备请求远程访问第一设备的第一用户识别模块SIM卡;第二设备在发送第二请求后接收来自第一设备的第一SIM卡信息;第二设备接收来自第一设备的第一信息,以将第一信息通过第二设备的modem基于第一SIM卡信息经由蜂窝网络发送至第三设备;第一信息与第一业务相关,第一业务与第一设备和第三设备相关;第二设备向第一设备发送第二信息,第二信息包括:第二设备的modem基于第一SIM卡信息经由蜂窝网络接收的来自第三设备的信息,第二信息与第一业务相关。In a second aspect, an embodiment of the present application provides a method for connecting cellular communication capabilities, wherein a second device establishes a connection with a first device; after the connection is established, the method further includes: the second device receives a first request from the first device through the established connection, the first request being used to indicate that the first device requests access to a modem of the second device; the second device sends a second request to the first device, the second request being used to indicate that the second device requests remote access to a first user identification module SIM card of the first device; the second device receives first SIM card information from the first device after sending the second request; the second device receives the first information from the first device to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information; the first information is related to a first service, and the first service is related to the first device and the third device; the second device sends second information to the first device, the second information including: information from the third device received by the modem of the second device via the cellular network based on the first SIM card information, and the second information is related to the first service.
这样,使得处于运营商网络无信号或者网络信号较弱的环境下的第一设备可以基 于第一请求以及第二请求,使用另一部网络信号较好环境下、具备蜂窝通信能力的第二设备进行蜂窝通信能力的接续。In this way, the first device in an environment where there is no signal or a weak network signal of the operator network can be based on In the first request and the second request, a second device with cellular communication capability in an environment with a good network signal is used to connect the cellular communication capability.
其中,该第一请求可以为图5中的远程modem切换指令,第二请求可以为图5中的远程SIM切换指令;第一消息可以为本申请实施例中的CS主叫通话业务请求、IMS主叫通话业务请求,或短信业务;第二消息可以为本申请实施例中的CS被叫通话业务请求、或IMS被叫通话业务请求等。Among them, the first request can be the remote modem switching instruction in Figure 5, and the second request can be the remote SIM switching instruction in Figure 5; the first message can be the CS calling call service request, the IMS calling call service request, or the SMS service in the embodiment of the present application; the second message can be the CS called call service request, or the IMS called call service request, etc. in the embodiment of the present application.
在一种可能的实现方式中,第二设备向第一设备发送第二请求,包括:第二设备通过建立的连接,接收来自第一设备的第一请求之后,第二设备向第一设备发送第二请求。In a possible implementation, the second device sends the second request to the first device, including: after the second device receives the first request from the first device through an established connection, the second device sends the second request to the first device.
这样,第二设备在接收到第一请求后向第二设备发送第二请求,可以保证第二设备在基于第二请求访问第一SIM卡的过程中,第二设备可以将蜂窝通信能力接续的过程中SIM卡状态的变化及时发送至第一设备,使得用户可以根据SIM卡状态的变化,及时察觉出蜂窝通信能力接续是否发生异常,进而提高用户使用蜂窝通信能力接续功能的使用体验。In this way, after receiving the first request, the second device sends the second request to the second device, which can ensure that when the second device accesses the first SIM card based on the second request, the second device can promptly send the changes in the SIM card status during the cellular communication capability continuation process to the first device, so that the user can promptly detect whether there is an abnormality in the cellular communication capability continuation according to the changes in the SIM card status, thereby improving the user's experience of using the cellular communication capability continuation function.
在一种可能的实现方式中,第二设备通过建立的连接,接收来自第一设备的第一请求之后,方法还包括:第二设备向第一设备发送第一请求对应的响应消息;其中,第一请求对应的响应消息用于指示第二设备允许第一设备访问第二设备的modem;第二设备在发送第二请求后接收来自第一设备的第一SIM卡信息之后,方法还包括:第二设备向第一设备发送第三信息,第三信息为第二设备的modem基于第一SIM卡信息注册蜂窝网络时得到的信息。In one possible implementation, after the second device receives the first request from the first device through the established connection, the method further includes: the second device sends a response message corresponding to the first request to the first device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; after the second device receives the first SIM card information from the first device after sending the second request, the method further includes: the second device sends third information to the first device, the third information being information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
这样,第一设备可以根据第一请求对应的响应消息,及时将第二设备的modem的访问情况传递给第二设备;并且第二设备实现将驻网信息及时返回至第一设备,使得第一设备可以实现对于蜂窝通信能力接续的状态的查看。In this way, the first device can promptly transmit the access status of the modem of the second device to the second device according to the response message corresponding to the first request; and the second device can promptly return the network information to the first device, so that the first device can check the status of the cellular communication capability connection.
其中,该第一请求对应的消息消息可以为图5对应的实施例中描述的远程modem切换成功指令,第三信息可以为图5对应的实施例中描述的驻网信息。The message corresponding to the first request may be the remote modem switching success instruction described in the embodiment corresponding to FIG. 5 , and the third information may be the on-network information described in the embodiment corresponding to FIG. 5 .
在一种可能的实现方式中,第二设备通过建立的连接接收来自第一设备的第一请求,包括:第二设备通过建立的连接,接收来自第一设备的第三请求,第三请求用于指示第一设备请求第二设备为第一设备提供蜂窝通信能力的接续;第二设备向第一设备发送与第三请求对应的响应消息,其中,与第三请求对应的响应消息用于指示第二设备同意为第一设备提供蜂窝通信能力的接续;第二设备向第一设备发送与第三请求对应的响应消息后,接收来自第一设备的第一请求。这样,使得第一设备可以在与第二设备建立通信连接的情况下,基于第三请求请求通知第二设备建立蜂窝通信能力的接续,并且通过接收该第三请求对应的响应消息,确定第二设备是否同意为第一设备提供该蜂窝通信能力的接续。In a possible implementation, the second device receives the first request from the first device through an established connection, including: the second device receives the third request from the first device through the established connection, the third request is used to indicate that the first device requests the second device to provide the first device with a continuation of cellular communication capabilities; the second device sends a response message corresponding to the third request to the first device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide the first device with a continuation of cellular communication capabilities; after the second device sends the response message corresponding to the third request to the first device, it receives the first request from the first device. In this way, the first device can, when establishing a communication connection with the second device, notify the second device to establish a continuation of cellular communication capabilities based on the third request, and determine whether the second device agrees to provide the first device with a continuation of the cellular communication capabilities by receiving the response message corresponding to the third request.
其中,该第三请求可以为图5对应的实施例中的接续模式切换指令;第三请求对应的响应消息为图5对应的实施例中的接续模式切换指令对应的响应消息。The third request may be the connection mode switching instruction in the embodiment corresponding to FIG. 5 ; and the response message corresponding to the third request may be the response message corresponding to the connection mode switching instruction in the embodiment corresponding to FIG. 5 .
在一种可能的实现方式中,方法还包括:第二设备接收来自第一设备的第四请求,第四请求用于指示第一设备请求使用第二设备的网络互联协议多媒体子系统IMS能力;第二设备向第一设备发送第四信息,第四信息用于指示第二设备允许第一设备使用第 二设备的IMS能力;第二设备接收来自第一设备的第一信息,包括:第二设备在发送第四信息后接收来自第一设备的第一信息。In a possible implementation, the method further includes: the second device receiving a fourth request from the first device, the fourth request being used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the second device sending fourth information to the first device, the fourth information being used to indicate that the second device allows the first device to use the fourth information. The IMS capability of the second device; the second device receives the first information from the first device, including: the second device receives the first information from the first device after sending the fourth information.
这样,第一设备与第二设备可以基于IMS功能,保证蜂窝通信能力接续场景中与IMS相关的业务的正常运行。In this way, the first device and the second device can ensure the normal operation of IMS-related services in the cellular communication capability connection scenario based on the IMS function.
第三方面,本申请实施例提供一种蜂窝通信能力接续的装置,该装置可以包括第一设备的通信单元,第一设备与第二设备建立连接之后:第一设备的通信单元用于通过建立的连接,向第二设备发送第一请求,第一请求用于指示第一设备请求访问第二设备的调制解调处理器modem;第一设备的通信单元还用于接收来自第二设备的第二请求,第二请求用于指示第二设备请求远程访问第一设备的第一用户识别模块SIM卡;第一设备的通信单元还用于在接收到第二请求后向第二设备发送第一SIM卡信息;第一设备的通信单元还用于向第二设备发送第一信息,以将第一信息通过第二设备的modem基于第一SIM卡信息经由蜂窝网络发送至第三设备,第一信息与第一业务相关,第一业务与第一设备和第三设备相关;第一设备的通信单元还用于接收来自第二设备的第二信息,第二信息包括:第二设备的modem用于基于第一SIM卡信息经由蜂窝网络接收的来自第三设备的信息,第二信息与第一业务相关。In a third aspect, an embodiment of the present application provides an apparatus for connecting cellular communication capabilities, which apparatus may include a communication unit of a first device. After the first device establishes a connection with a second device: the communication unit of the first device is used to send a first request to the second device through the established connection, and the first request is used to indicate that the first device requests to access the modulation and demodulation processor modem of the second device; the communication unit of the first device is also used to receive a second request from the second device, and the second request is used to indicate that the second device requests to remotely access the first user identification module SIM card of the first device; the communication unit of the first device is also used to send first SIM card information to the second device after receiving the second request; the communication unit of the first device is also used to send first information to the second device, so as to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information, the first information is related to the first service, and the first service is related to the first device and the third device; the communication unit of the first device is also used to receive second information from the second device, and the second information includes: the modem of the second device is used to receive information from the third device via the cellular network based on the first SIM card information, and the second information is related to the first service.
在一种可能的实现方式中,第一设备的通信单元具体用于,通过建立的连接向第二设备发送第一请求之后,接收来自第二设备的第二请求。In a possible implementation manner, the communication unit of the first device is specifically configured to receive a second request from the second device after sending the first request to the second device through the established connection.
在一种可能的实现方式中,第一设备的通信单元还用于接收来自第二设备的与第一请求对应的响应消息;其中,与第一请求对应的响应消息用于指示第二设备允许第一设备访问第二设备的modem;第一设备的通信单元具体还用于接收来自第二设备的第三信息,第三信息为第二设备的modem基于第一SIM卡信息注册蜂窝网络时得到的信息。In one possible implementation, the communication unit of the first device is also used to receive a response message corresponding to the first request from the second device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; the communication unit of the first device is specifically further used to receive third information from the second device, and the third information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
在一种可能的实现方式中,第一设备的通信单元具体还用于通过建立的连接,向第二设备发送第三请求;第三请求用于指示第一设备请求第二设备为第一设备提供蜂窝通信能力的接续;第一设备的通信单元具体还用于接收来自第二设备的与第三请求对应的响应消息,其中,与第三请求对应的响应消息用于指示第二设备同意为第一设备提供蜂窝通信能力的接续;第一设备的通信单元具体还用于在接收到第三请求对应的响应消息后,向第二设备发送第一请求。In one possible implementation, the communication unit of the first device is further used to send a third request to the second device through the established connection; the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the communication unit of the first device is further used to receive a response message corresponding to the third request from the second device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; the communication unit of the first device is further used to send the first request to the second device after receiving the response message corresponding to the third request.
在一种可能的实现方式中,第一业务包括下述一种或多种:电路交换CS通话业务、IMS通话业务、或短信业务。In a possible implementation manner, the first service includes one or more of the following: a circuit switched CS call service, an IMS call service, or a text message service.
在一种可能的实现方式中,第一设备的通信单元还用于向第二设备发送第四请求;第四请求用于指示第一设备请求使用第二设备的网络互联协议多媒体子系统IMS能力;第一设备的通信单元还用于接收来自第二设备的第四信息;第四信息用于指示第二设备允许第一设备使用第二设备的IMS能力;第一设备的通信单元具体还用于在接收到第四信息后向第二设备发送第一信息。In one possible implementation, the communication unit of the first device is also used to send a fourth request to the second device; the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the communication unit of the first device is also used to receive fourth information from the second device; the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the communication unit of the first device is specifically used to send the first information to the second device after receiving the fourth information.
在一种可能的实现方式中,在第一设备与第二设备满足预设条件的情况下,第一设备的通信单元具体还用于与第二设备建立连接;其中,预设条件包括:第一设备与第二设备均登录统一的设备账号、以及第一设备与第二设备均开启蜂窝通信能力接续功能。In one possible implementation, when the first device and the second device meet preset conditions, the communication unit of the first device is specifically used to establish a connection with the second device; wherein the preset conditions include: the first device and the second device are both logged in to the same device account, and the first device and the second device both have a cellular communication capability connection function enabled.
在一种可能的实现方式中,预设条件还包括下述一种或多种:第一设备与第二设备均连接到WIFI、第一设备的至少一个SIM卡无蜂窝网络信号或蜂窝网络信号弱、或第二设备 中包括至少一个空余卡槽。In a possible implementation, the preset condition also includes one or more of the following: the first device and the second device are both connected to WIFI, at least one SIM card of the first device has no cellular network signal or the cellular network signal is weak, or the second device The card slot includes at least one free card slot.
在一种可能的实现方式中,第一设备包括:分布式通信服务模块,分布式通信服务模块中包括:远程IMS服务模块,远程IMS服务模块包括:IMS呼叫会话代理模块以及IMS呼叫会话监听代理模块;第一设备的通信单元具体用于通过分布式通信服务模块指示IMS呼叫会话代理模块向第二设备发送第四请求;第一设备的通信单元具体用于通过IMS呼叫会话监听代理模块接收来自第二设备的第四信息。In one possible implementation, the first device includes: a distributed communication service module, the distributed communication service module includes: a remote IMS service module, the remote IMS service module includes: an IMS call session agent module and an IMS call session monitoring agent module; the communication unit of the first device is specifically used to instruct the IMS call session agent module to send a fourth request to the second device through the distributed communication service module; the communication unit of the first device is specifically used to receive the fourth information from the second device through the IMS call session monitoring agent module.
在一种可能的实现方式中,分布式通信服务模块中还包括:远程modem服务模块、以及远程SIM服务模块;第一设备的处理单元还用于指示远程modem服务模块向第二设备发送第一请求;第一设备的通信单元还用于接收来自第二设备的第二请求。In one possible implementation, the distributed communication service module also includes: a remote modem service module and a remote SIM service module; the processing unit of the first device is also used to instruct the remote modem service module to send a first request to the second device; the communication unit of the first device is also used to receive a second request from the second device.
在一种可能的实现方式中,方法还包括:第一设备的显示单元用于显示第一界面,第一界面中包括:用于设置移动网络的第一控件、以及用于设置与第一设备的更多连接的第二控件;第一设备的处理单元接收针对第一控件的操作时,第一设备的显示单元还用于显示第二界面;第二界面中包括用于设置SIM卡管理的第三控件;响应于针对第三控件的操作,第一设备的显示单元还用于显示第三界面;第三界面中包括用于设置蜂窝通信能力接续的第四控件;响应于针对第四控件的操作,第一设备的显示单元还用于显示第四界面;第四界面中包括用于开启蜂窝通信能力接续的控件;响应于针对用于开启蜂窝通信能力接续的控件的操作,第一设备的处理单元开启蜂窝通信能力接续功能;In a possible implementation, the method further includes: a display unit of the first device is used to display a first interface, the first interface includes: a first control for setting a mobile network, and a second control for setting more connections with the first device; when the processing unit of the first device receives an operation on the first control, the display unit of the first device is also used to display the second interface; the second interface includes a third control for setting SIM card management; in response to the operation on the third control, the display unit of the first device is also used to display the third interface; the third interface includes a fourth control for setting a cellular communication capability continuation; in response to the operation on the fourth control, the display unit of the first device is also used to display a fourth interface; the fourth interface includes a control for turning on the cellular communication capability continuation; in response to the operation on the control for turning on the cellular communication capability continuation, the processing unit of the first device turns on the cellular communication capability continuation function;
或者,当第一设备接收到针对第二控件的操作时,第一设备的显示单元还用于显示第五界面;第五界面中包括第四控件;响应于针对第四控件的操作,第一设备的显示单元还用于显示第四界面,第四界面中包括用于开启蜂窝通信能力接续的控件;响应于针对用于开启蜂窝通信能力接续的控件的操作,第一设备的处理单元开启蜂窝通信能力接续功能。Alternatively, when the first device receives an operation on the second control, the display unit of the first device is also used to display a fifth interface; the fifth interface includes a fourth control; in response to the operation on the fourth control, the display unit of the first device is also used to display a fourth interface, and the fourth interface includes a control for turning on cellular communication capability connection; in response to the operation on the control for turning on cellular communication capability connection, the processing unit of the first device turns on the cellular communication capability connection function.
在一种可能的实现方式中,第一界面的状态栏中还包括:用于指示第一SIM卡不具有蜂窝通信能力的标识,第一设备的显示单元还用于显示第六界面;其中,第六界面的状态栏中包括:用于指示目标SIM卡具有蜂窝通信能力的标识、以及用于指示第一设备处于蜂窝通信能力接续的标识。In one possible implementation, the status bar of the first interface also includes: an identifier for indicating that the first SIM card does not have cellular communication capability, and the display unit of the first device is also used to display the sixth interface; wherein the status bar of the sixth interface includes: an identifier for indicating that the target SIM card has cellular communication capability, and an identifier for indicating that the first device is in a cellular communication capability connection.
在一种可能的实现方式中,第六界面中还包括:用于指示蜂窝通信能力接续的时长信息、提示信息、以及第五控件,提示信息用于提示第二设备正在为第一设备提供蜂窝通信能力接续,第一设备的处理单元接收针对第五控件的操作;响应于针对第五控件的操作,第一设备的处理单元结束蜂窝通信能力的接续。In one possible implementation, the sixth interface also includes: duration information for indicating the continuation of cellular communication capability, prompt information, and a fifth control, wherein the prompt information is used to prompt that the second device is providing cellular communication capability continuation for the first device, and the processing unit of the first device receives an operation on the fifth control; in response to the operation on the fifth control, the processing unit of the first device ends the continuation of cellular communication capability.
第四方面,本申请实施例提供一种蜂窝通信能力接续的装置,方法包括:第二设备的通信单元用于与第一设备建立连接;在连接建立后,第二设备通过建立的连接,第二设备的通信单元还用于接收来自第一设备的第一请求,第一请求用于指示第一设备请求访问第二设备的调制解调处理器modem;第二设备的通信单元还用于向第一设备发送第二请求,第二请求用于指示第二设备请求远程访问第一设备的第一用户识别模块SIM卡;第二设备的通信单元还用于在发送第二请求后接收来自第一设备的第一SIM卡信息;第二设备的通信单元还用于接收来自第一设备的第一信息,以将第一信息通过第二设备的modem基于第一SIM卡信息经由蜂窝网络发送至第三设备;第一 信息与第一业务相关,第一业务与第一设备和第三设备相关;第二设备的通信单元还用于向第一设备发送第二信息,第二信息包括:第二设备的modem基于第一SIM卡信息经由蜂窝网络接收的来自第三设备的信息,第二信息与第一业务相关。In a fourth aspect, an embodiment of the present application provides an apparatus for connecting cellular communication capabilities, and the method includes: a communication unit of a second device is used to establish a connection with a first device; after the connection is established, the second device uses the established connection, and the communication unit of the second device is also used to receive a first request from the first device, the first request is used to indicate that the first device requests to access a modem processor of the second device; the communication unit of the second device is also used to send a second request to the first device, the second request is used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; the communication unit of the second device is also used to receive first SIM card information from the first device after sending the second request; the communication unit of the second device is also used to receive the first information from the first device, so as to send the first information to a third device via a cellular network through the modem of the second device based on the first SIM card information; the first The information is related to the first service, and the first service is related to the first device and the third device; the communication unit of the second device is also used to send second information to the first device, and the second information includes: information from the third device received by the modem of the second device via the cellular network based on the first SIM card information, and the second information is related to the first service.
在一种可能的实现方式中,第二设备通过建立的连接,接收来自第一设备的第一请求之后,第二设备的通信单元还用于向第一设备发送第二请求。In a possible implementation, after the second device receives the first request from the first device through the established connection, the communication unit of the second device is further configured to send a second request to the first device.
在一种可能的实现方式中,第二设备通过建立的连接,接收来自第一设备的第一请求之后,第二设备的通信单元还用于向第一设备发送第一请求对应的响应消息;其中,第一请求对应的响应消息用于指示第二设备允许第一设备访问第二设备的modem;第二设备的通信单元还用于向第一设备发送第三信息,第三信息为第二设备的modem基于第一SIM卡信息注册蜂窝网络时得到的信息。In one possible implementation, after the second device receives the first request from the first device through an established connection, the communication unit of the second device is also used to send a response message corresponding to the first request to the first device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device; the communication unit of the second device is also used to send third information to the first device, and the third information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
在一种可能的实现方式中,第二设备的通信单元还用于通过建立的连接,接收来自第一设备的第三请求,第三请求用于指示第一设备请求第二设备为第一设备提供蜂窝通信能力的接续;第二设备的通信单元还用于向第一设备发送与第三请求对应的响应消息,其中,与第三请求对应的响应消息用于指示第二设备同意为第一设备提供蜂窝通信能力的接续;第二设备的通信单元还用于向第一设备发送与第三请求对应的响应消息后,接收来自第一设备的第一请求。In one possible implementation, the communication unit of the second device is also used to receive a third request from the first device through the established connection, wherein the third request is used to indicate that the first device requests the second device to provide a continuation of cellular communication capability for the first device; the communication unit of the second device is also used to send a response message corresponding to the third request to the first device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide a continuation of cellular communication capability for the first device; the communication unit of the second device is also used to receive the first request from the first device after sending a response message corresponding to the third request to the first device.
在一种可能的实现方式中,第二设备的通信单元还用于接收来自第一设备的第四请求,第四请求用于指示第一设备请求使用第二设备的网络互联协议多媒体子系统IMS能力;第二设备的通信单元还用于向第一设备发送第四信息,第四信息用于指示第二设备允许第一设备使用第二设备的IMS能力;第二设备的通信单元还用于在发送第四信息后接收来自第一设备的第一信息。In one possible implementation, the communication unit of the second device is also used to receive a fourth request from the first device, the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device; the communication unit of the second device is also used to send fourth information to the first device, the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device; the communication unit of the second device is also used to receive first information from the first device after sending the fourth information.
第五方面,本申请实施例提供一种电子设备,包括处理器和存储器,存储器用于存储代码指令;处理器用于运行代码指令,使得电子设备执行如第一方面或第一方面的任一种实现方式中描述的方法,或者使得电子设备执行如第二方面或第二方面的任一种实现方式中描述的方法。In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, the memory being used to store code instructions; the processor being used to run the code instructions so that the electronic device executes the method described in the first aspect or any one of the implementations of the first aspect, or so that the electronic device executes the method described in the second aspect or any one of the implementations of the second aspect.
第六方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存储有指令,当指令被执行时,使得计算机执行如第一方面或第一方面的任一种实现方式中描述的方法,或者使得计算机执行如第二方面或第二方面的任一种实现方式中描述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the computer executes the method described in the first aspect or any one of the implementations of the first aspect, or the computer executes the method described in the second aspect or any one of the implementations of the second aspect.
第七方面,一种计算机程序产品,包括计算机程序,当计算机程序被运行时,使得计算机执行如第一方面或第一方面的任一种实现方式中描述的方法,或者使得计算机执行如第二方面或第二方面的任一种实现方式中描述的方法。In the seventh aspect, a computer program product comprises a computer program, which, when executed, enables a computer to execute a method as described in the first aspect or any one of the implementations of the first aspect, or enables a computer to execute a method as described in the second aspect or any one of the implementations of the second aspect.
应当理解的是,本申请的第三方面至第七方面与本申请的第一方面或第二方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the third to seventh aspects of the present application correspond to the technical solutions of the first or second aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种场景示意图;FIG1 is a schematic diagram of a scenario provided in an embodiment of the present application;
图2为本申请实施例提供的另一种场景示意图;FIG2 is a schematic diagram of another scenario provided in an embodiment of the present application;
图3为本申请实施例提供的一种电子设备的硬件结构示意图;FIG3 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
图4为本申请实施例提供一种蜂窝通信能力接续的方法的流程示意图; FIG4 is a schematic diagram of a flow chart of a method for connecting cellular communication capabilities according to an embodiment of the present application;
图5为本申请实施例提供的另一种蜂窝通信能力接续的方法的流程示意图;FIG5 is a schematic flow chart of another method for connecting cellular communication capabilities provided in an embodiment of the present application;
图6为本申请实施例提供的一种远程访问modem的系统架构示意图;FIG6 is a schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application;
图7为本申请实施例提供的一种远程访问SIM卡的系统架构示意图;FIG7 is a schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application;
图8为本申请实施例提供的一种远程使用IMS功能的系统架构示意图;FIG8 is a schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application;
图9为本申请实施例提供的一种CS域通话的流程示意图;FIG9 is a schematic diagram of a CS domain call flow provided in an embodiment of the present application;
图10为本申请实施例提供的一种IMS域通话的流程示意图;FIG10 is a schematic diagram of a flow chart of an IMS domain call provided in an embodiment of the present application;
图11为本申请实施例提供的一种开启蜂窝通信能力接续功能的界面示意图;FIG11 is a schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application;
图12为本申请实施例提供的另一种开启蜂窝通信能力接续功能的界面示意图;FIG12 is a schematic diagram of another interface for enabling a cellular communication capability connection function provided in an embodiment of the present application;
图13为本申请实施例提供的一种触发蜂窝通信能力接续的界面示意图;FIG13 is a schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application;
图14为本申请实施例提供的一种查看蜂窝通信能力接续情况的界面示意图;FIG14 is a schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application;
图15为本申请实施例提供的一种蜂窝通信能力接续的装置示意图。FIG. 15 is a schematic diagram of a device for connecting cellular communication capabilities provided in an embodiment of the present application.
具体实施方式Detailed ways
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一值和第二值仅仅是为了区分不同的值,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first value and the second value are only used to distinguish different values, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
为了对本申请实施例提出的蜂窝通信能力接续的方法描述清楚,首先给出与本申请实施例相关技术的简要介绍:In order to clearly describe the method for connecting the cellular communication capability proposed in the embodiment of the present application, a brief introduction to the technology related to the embodiment of the present application is first given:
本申请实施例中描述的蜂窝通信能力由调制解调处理器(modem)提供,modem运行于基带芯片和协处理器上,设备可以通过modem实现收发短信、5G相关功能、拨打电话、接听电话等一系列蜂窝通信功能。The cellular communication capability described in the embodiments of the present application is provided by a modem processor (modem), which runs on a baseband chip and a coprocessor. The device can use the modem to implement a series of cellular communication functions such as sending and receiving text messages, 5G-related functions, making calls, and answering calls.
本申请实施例中描述的用户识别模块(subscriber identity module,SIM)卡可以理解为在蜂窝网络中提供用户信息、或者使用移动蜂窝网络的模块。例如,具备SIM卡插槽以及读卡装置的电子设备可以通过插入SIM卡注册移动蜂窝网络。其中,该SIM卡可以为实体卡(或称为硬卡),也可以为虚拟SIM卡(或称为软卡),例如内置芯片式用户身份识别卡(embedded-subscriber identity module,eSIM)等,本申请实施例中对该SIM卡的具体形 态不做限定。The subscriber identity module (SIM) card described in the embodiments of the present application can be understood as a module that provides user information in a cellular network or uses a mobile cellular network. For example, an electronic device equipped with a SIM card slot and a card reader can register a mobile cellular network by inserting a SIM card. The SIM card can be a physical card (or hard card) or a virtual SIM card (or soft card), such as an embedded-subscriber identity module (eSIM). The specific form of the SIM card in the embodiments of the present application is not limited to the physical card (or hard card) or the virtual card (or soft card). No limitation on state.
本申请实施例中描述的网络互联协议多媒体子系统(internet protocol multimedia subsystem,IMS),是对IP多媒体业务进行控制的网络核心层逻辑功能实体的总称。IMS业务可以包括:IMS信息业务、以及IMS通话业务等。The internet protocol multimedia subsystem (IMS) described in the embodiments of the present application is a general term for the network core layer logical functional entities that control IP multimedia services. IMS services may include: IMS information services, and IMS call services, etc.
本申请实施例中描述的代理是一种设计模式,用于通过创建目标对象的代理对象的方式,提供对目标对象额外的访问方式。其中,目标对象为一种接口,通过代理对象访问目标对象,可以在不修改原目标对象的前提下,通过代理对象提供额外的功能操作,扩展原目标对象的功能。简言之,代理模式就是设置一个代理对象作为中间代理,来控制对原目标对象的访问,以达到增强原目标对象的功能和简化访问流程的目的。The proxy described in the embodiments of the present application is a design pattern for providing additional access to a target object by creating a proxy object of the target object. Wherein, the target object is an interface, and by accessing the target object through the proxy object, additional functional operations can be provided through the proxy object without modifying the original target object, thereby extending the functionality of the original target object. In short, the proxy pattern is to set a proxy object as an intermediate proxy to control access to the original target object, so as to enhance the functionality of the original target object and simplify the access process.
可以理解的是,本申请实施例中描述的、蜂窝通信能力接续的方法可以应用于多种场景,例如该多种场景可以包括:如图1对应的实施例中描述的近场场景,以及如图2对应的实施例中描述的远场场景等。It can be understood that the method for connecting cellular communication capabilities described in the embodiments of the present application can be applied to a variety of scenarios. For example, the various scenarios may include: the near-field scenario described in the embodiment corresponding to Figure 1, and the far-field scenario described in the embodiment corresponding to Figure 2, etc.
示例性的,图1为本申请实施例提供的一种场景示意图。在图1对应的实施例中,以电子设备为手机为例进行示例说明,该示例并不构成对本申请实施例的限定。For example, Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. In the embodiment corresponding to Figure 1, an electronic device is taken as an example of a mobile phone, which does not constitute a limitation on the embodiment of the present application.
如图1所示,该场景中可以包括设置于地下室的第一设备101、以及设置于客厅的第二设备102,第一设备101中可以设置有至少一个SIM卡,第二设备102可以不设置SIM卡也可以设置SIM卡。其中,地下室中的第一设备101的蜂窝网络信号较弱或者不具有蜂窝网络信号,客厅中的第二设备102的蜂窝网络信号较好。As shown in FIG1 , the scenario may include a first device 101 disposed in a basement and a second device 102 disposed in a living room. The first device 101 may be provided with at least one SIM card, and the second device 102 may or may not be provided with a SIM card. The cellular network signal of the first device 101 in the basement is weak or does not have a cellular network signal, and the cellular network signal of the second device 102 in the living room is good.
可以理解的是,在如图1所示的近场场景中,第一设备101与第二设备102均可以通过连接到同一WIFI等方式建立通信连接,且通过连接到同一WIFI方式建立通信连接的场景中,路由器103可以实现对于第一设备101与第二设备102之间的数据转发。It can be understood that in the near-field scenario shown in Figure 1, the first device 101 and the second device 102 can both establish a communication connection by connecting to the same WIFI, and in the scenario where a communication connection is established by connecting to the same WIFI, the router 103 can realize data forwarding between the first device 101 and the second device 102.
在如图1对应的近场场景中,由于地下室的蜂窝网络信号较弱,因此用户很难利用第一设备101独立执行如收发短信、或接打电话等蜂窝通信业务。In the near-field scenario corresponding to FIG. 1 , since the cellular network signal in the basement is weak, it is difficult for the user to use the first device 101 to independently perform cellular communication services such as sending and receiving text messages or making and receiving calls.
示例性的,图2为本申请实施例提供的另一种场景示意图。如图2所示,该场景中可以包括:位于公司的第一设备201、以及位于家中的第二设备202;第一设备201中可以设置有至少一个SIM卡,第二设备102可以不设置SIM卡或也可以设置SIM卡;第一设备201中可以设置有modem2(或简称M2),第二设备202中可以设置有modem1(或简称M1)。其中,位于公司的第一设备201的蜂窝网络信号较弱或者不具有蜂窝网络信号,位于家中的第二设备102的蜂窝网络信号较好。Exemplarily, FIG2 is another scenario schematic diagram provided by an embodiment of the present application. As shown in FIG2, the scenario may include: a first device 201 located in a company, and a second device 202 located at home; the first device 201 may be provided with at least one SIM card, and the second device 102 may not be provided with a SIM card or may also be provided with a SIM card; the first device 201 may be provided with a modem2 (or M2 for short), and the second device 202 may be provided with a modem1 (or M1 for short). Among them, the cellular network signal of the first device 201 located in the company is weak or has no cellular network signal, and the cellular network signal of the second device 102 located at home is better.
可以理解的是,本申请实施例中描述的第一设备的SIM卡可以理解为第一设备中蜂窝网络较弱的其中一个SIM卡,或称为第一SIM卡;本申请实施例中描述的第二设备的modem可以理解为第二设备中的其中一个蜂窝网络较好的modem。其中,该其中一个modem为第二设备中用于为第一设备中的其中一个SIM卡,提供蜂窝通信能力接续的modem(或可以理解为图2中的M1)。It can be understood that the SIM card of the first device described in the embodiment of the present application can be understood as one of the SIM cards in the first device with a weaker cellular network, or referred to as the first SIM card; the modem of the second device described in the embodiment of the present application can be understood as one of the modems in the second device with a better cellular network. Among them, the one of the modems is a modem in the second device used to provide cellular communication capability connection for one of the SIM cards in the first device (or can be understood as M1 in Figure 2).
可以理解的是,在如图2所示的远场场景中,第一设备201与第二设备202之间均可以通过连接至各自对应的WIFI等方式保证数据业务,使得第一设备201以及第二设备202均可以通过数据业务连接到通信业务云,并基于通信业务云实现第一设备201与第二设备202之间的数据交互、设备认证以及数据通道的建立等功能。It can be understood that in the far-field scenario shown in Figure 2, data services can be guaranteed between the first device 201 and the second device 202 by connecting to their respective corresponding WIFI, so that the first device 201 and the second device 202 can be connected to the communication service cloud through data services, and data interaction, device authentication, and establishment of data channels between the first device 201 and the second device 202 can be implemented based on the communication service cloud.
可能的实现方式中,无论是如图1所示的第一设备101与第二设备102通过连接到同一 WIFI等方式建立通信连接,还是如图2所示的第一设备201与第二设备202之间通过连接至各自对应的WIFI等方式建立通信连接,均是为了保证第一设备与第二设备之间的数据通信。因此,在如图1或图2所示的场景中,第一设备与第二设备之间也可以通过第一设备中的另一具有蜂窝网络(或可以理解为蜂窝网络信号较好)的SIM卡、或其他无线或有线方式等建立通信连接,本申请实施例中对此不做限定。In a possible implementation, whether the first device 101 and the second device 102 shown in FIG. 1 are connected to the same Whether the communication connection is established by means of WIFI or the communication connection is established between the first device 201 and the second device 202 as shown in FIG2 by connecting to their respective corresponding WIFI or the like, it is to ensure data communication between the first device and the second device. Therefore, in the scenario shown in FIG1 or FIG2, the communication connection can also be established between the first device and the second device through another SIM card with a cellular network (or it can be understood that the cellular network signal is better) in the first device, or other wireless or wired methods, etc., which is not limited in the embodiments of the present application.
在如图2对应的远场场景中,当公司的蜂窝网络信号较弱时,用户则很难利用第一设备201独立执行如收发短信、或接打电话等蜂窝通信业务。In the far-field scenario corresponding to FIG. 2 , when the company's cellular network signal is weak, it is difficult for the user to use the first device 201 to independently perform cellular communication services such as sending and receiving text messages, or making and receiving calls.
综合图1以及图2对应的场景,通常情况下,可以通过在网络信号较弱的环境中安装微型基站或者设置信号放大器的方式,提升该网络信号较弱的环境中网络覆盖情况。然而,上述通过安装微型基站或者设置信号放大器提高环境内网络信号的方式,较为繁琐,且安装微型基站或者设置信号放大器的位置无法灵活调节。Based on the scenarios corresponding to Figures 1 and 2, under normal circumstances, the network coverage in an environment with weak network signals can be improved by installing a micro base station or setting a signal amplifier in the environment with weak network signals. However, the above method of improving the network signal in the environment by installing a micro base station or setting a signal amplifier is relatively cumbersome, and the location of installing the micro base station or setting the signal amplifier cannot be flexibly adjusted.
有鉴于此,本申请实施例提供一种蜂窝通信能力接续的方法,第一设备通过建立的连接,向第二设备发送第一请求;第一请求用于指示第一设备请求访问第二设备的调制解调处理器modem;第一设备接收来自第二设备的第二请求;第二请求用于指示第二设备请求远程访问第一设备的第一用户识别模块SIM卡;第一设备在接收到第二请求后向第二设备发送第一设备的第一SIM卡信息;第一设备向第二设备发送第一信息,以将第一信息通过第二设备的modem基于第一SIM卡信息经由蜂窝网络发送至第三设备;第一信息与第一业务相关,第一业务与第一设备和第三设备相关;第一设备接收来自第二设备的第二信息;第二信息包括:第二设备的modem基于第一SIM卡信息经由蜂窝网络接收的来自第三设备的信息,第二信息与第一业务相关。这样,利用第二设备的modem以及第一设备的SIM卡,使得处于运营商网络无信号或者网络信号较弱的环境下的第一设备可以利用另一部网络信号较好环境下、具备蜂窝通信能力的第二设备进行蜂窝通信能力的接续。In view of this, an embodiment of the present application provides a method for connecting cellular communication capabilities, wherein a first device sends a first request to a second device through an established connection; the first request is used to indicate that the first device requests to access a modem processor of the second device; the first device receives a second request from the second device; the second request is used to indicate that the second device requests to remotely access a first user identification module SIM card of the first device; the first device sends the first SIM card information of the first device to the second device after receiving the second request; the first device sends the first information to the second device to send the first information to the third device through the modem of the second device based on the first SIM card information via a cellular network; the first information is related to a first service, and the first service is related to the first device and the third device; the first device receives the second information from the second device; the second information includes: information from the third device received by the modem of the second device via the cellular network based on the first SIM card information, and the second information is related to the first service. In this way, by using the modem of the second device and the SIM card of the first device, the first device in an environment where there is no signal or a weak network signal of the operator network can use another second device with cellular communication capabilities in an environment with a good network signal to connect the cellular communication capabilities.
可以理解的是,如图2所示,本申请实施例提供的一种蜂窝通信能力接续的方法,可以实现将第一设备201中SIM卡转移给第二设备202使用,并实现将第二设备202中的M1转移给第一设备201使用。It can be understood that, as shown in Figure 2, a method for connecting cellular communication capabilities provided in an embodiment of the present application can realize the transfer of the SIM card in the first device 201 to the second device 202 for use, and realize the transfer of M1 in the second device 202 to the first device 201 for use.
其中,第一请求可以理解为本申请实施例中描述的远程modem切换指令;第二请求可以为本申请实施例中描述的远程SIM切换指令。Among them, the first request can be understood as the remote modem switching instruction described in the embodiment of the present application; the second request can be the remote SIM switching instruction described in the embodiment of the present application.
在一些场景下,第一设备与第二设备之间可以通过应用侧数据的转发,实现蜂窝通信业务的中转,使得第一设备需使用第二设备的蜂窝通信能力进行通信。In some scenarios, the first device and the second device can transfer cellular communication services by forwarding application-side data, so that the first device needs to use the cellular communication capability of the second device to communicate.
示例性的,以该蜂窝通信业务为通话业务为例进行示例说明。例如,第一设备与第二设备中均配置有用于进行通话业务转移的电话应用,当第二设备的SIM卡接收到电话呼入时,电话呼入的控制流和数据流会通过配置在第二设备的电话应用,转移到配置在第一设备的电话应用上,使得用户可通过第一设备的电话应用接收电话呼入。For example, the cellular communication service is a call service. For example, both the first device and the second device are configured with a phone application for transferring the call service. When the SIM card of the second device receives an incoming call, the control flow and data flow of the incoming call will be transferred to the phone application configured on the first device through the phone application configured on the second device, so that the user can receive the incoming call through the phone application on the first device.
可以理解的是,在第一设备与第二设备之间通过应用侧数据的转发,实现蜂窝通信业务的中转的场景中,第一设备使用第二设备的SIM卡的接收通话业务,并且通话业务中使用的电话号码为第二设备的电话号码,并非第一设备当前正在使用的电话号码。It can be understood that in the scenario where cellular communication service is transferred between the first device and the second device by forwarding application-side data, the first device uses the SIM card of the second device to receive call services, and the telephone number used in the call service is the telephone number of the second device, not the telephone number currently being used by the first device.
而本申请实施例提供的一种蜂窝通信能力接续的方法,使得第一设备可以利用本机的SIM卡接收通话业务,且通话业务中使用的电话号码为第一设备的电话号码,以保证第一 设备的蜂窝通信业务。The embodiment of the present application provides a method for connecting cellular communication capabilities, so that the first device can use the SIM card of the local device to receive call services, and the phone number used in the call service is the phone number of the first device, so as to ensure that the first device Cellular communication service of the device.
可以理解的是,在第一设备与第二设备之间通过应用侧数据的转发,实现蜂窝通信业务的中转的场景中,第一设备与第二设备上需要安装相同的应用(例如电话应用)且每个应用只能实现一种业务的中转;此外,这种场景下的第一设备可以理解为显示和播放设备,真正的业务功能都运行在了第二设备上。It can be understood that in the scenario where the transfer of cellular communication services is achieved between the first device and the second device through the forwarding of application-side data, the same application (such as a telephone application) needs to be installed on the first device and the second device and each application can only achieve the transfer of one service; in addition, the first device in this scenario can be understood as a display and playback device, and the actual business functions are run on the second device.
而本申请实施例提供的一种蜂窝通信能力接续的方法,相当于在第一设备上虚拟出了一个新的modem(该新的modem可以理解为远程使用的第二设备的modem),并注册上了真实的运营商网络,从用户层面的感知可以为网络信号恢复了,通话/短信等能力也恢复了。同时,安装在第一设备上的所有应用对蜂窝通信能力的接续情况完全不感知,并且第二设备提供的蜂窝通信功能与用户在第一设备上使用的蜂窝通信功能完全一致。The method for connecting cellular communication capabilities provided in the embodiment of the present application is equivalent to creating a new virtual modem on the first device (the new modem can be understood as the modem of the second device used remotely) and registering the real operator network. From the user's perspective, the network signal has been restored, and the call/text messaging capabilities have also been restored. At the same time, all applications installed on the first device are completely unaware of the connection of the cellular communication capabilities, and the cellular communication function provided by the second device is completely consistent with the cellular communication function used by the user on the first device.
可以理解的是,在第一设备与第二设备之间通过应用侧数据的转发,实现蜂窝通信业务的中转的场景中,所有与通话业务等相关的要素(联系人、电话号码等)都是第二设备提供的,通话中产生的各种数据(如录音、通话记录等)也都会记录到第二设备中。It can be understood that in the scenario where cellular communication services are transferred between the first device and the second device through the forwarding of application-side data, all elements related to call services (contacts, telephone numbers, etc.) are provided by the second device, and various data generated during the call (such as recordings, call records, etc.) will also be recorded in the second device.
而本申请实施例提供的一种蜂窝通信能力接续的方法中,第一设备中的应用对是否发生了信号接续完全不感知,所有通话中产生的各种数据(如录音、通话记录等)都会记录在第一设备中,同时在第二设备中不会留下任何的业务痕迹。In a method for connecting cellular communication capabilities provided in an embodiment of the present application, the application in the first device is completely unaware of whether a signal connection has occurred, and all kinds of data generated in all calls (such as recordings, call records, etc.) will be recorded in the first device, and no business traces will be left in the second device.
可以理解的是,上述第一设备或第二设备也可以称为电子设备、终端设备、终端(terminal)、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等。例如,第一设备或第二设备可以为:手机(mobile phone)、智能电视、穿戴式设备、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备等。本申请的实施例对第一设备或第二设备所采用的具体技术和具体设备形态不做限定。It is understandable that the first device or the second device may also be referred to as an electronic device, a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. For example, the first device or the second device may be: a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) device, an augmented reality (AR) device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the first device or the second device.
因此,为了能够更好地理解本申请实施例,下面对本申请实施例的电子设备的结构进行介绍。Therefore, in order to better understand the embodiments of the present application, the structure of the electronic device of the embodiments of the present application is introduced below.
示例性的,图3为本申请实施例提供的一种电子设备的硬件结构示意图。Exemplarily, FIG3 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
图3所示的电子设备,可以为本申请实施例中描述的第一设备,或也可以为本申请实施例中描述的第二设备。当该电子设备为第一设备时,第一设备中可以包括Modem 210A以及SIM卡接口295,该SIM卡接口295的数量可以为至少一个,该至少一个SIM卡接口295中可以插有至少一个SIM卡;当该电子设备为第二设备时,第二设备中可以包括SIM卡接口295,该SIM卡接口295中可以插有SIM卡或也可以不插有SIM卡。The electronic device shown in FIG3 may be the first device described in the embodiment of the present application, or may be the second device described in the embodiment of the present application. When the electronic device is the first device, the first device may include a modem 210A and a SIM card interface 295, the number of which may be at least one, and at least one SIM card may be inserted into the at least one SIM card interface 295; when the electronic device is the second device, the second device may include a SIM card interface 295, and the SIM card interface 295 may or may not be inserted with a SIM card.
可以理解的是,第一设备的硬件结构与第二设备的硬件结构可以相同,或也可以不同,本申请实施例中对此不做限定。第一设备也可以称为用户机、第二设备也可以称为接续(relay)机。It is understandable that the hardware structure of the first device and the hardware structure of the second device may be the same or different, and this is not limited in the embodiments of the present application. The first device may also be called a user device, and the second device may also be called a relay device.
在本申请实施例中,电子设备可以包括处理器210,外部存储器接口220,内部存储器231,通用串行总线(universal serial bus,USB)接口230,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,传感器模块280,摄像头293,显示屏294,以及SIM卡接口295等。In an embodiment of the present application, the electronic device may include a processor 210, an external memory interface 220, an internal memory 231, a universal serial bus (USB) interface 230, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a camera 293, a display screen 294, and a SIM card interface 295, etc.
可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施 例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is understandable that the structure shown in this embodiment does not constitute a specific limitation on the electronic device. In the example, the electronic device may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
处理器210中还可以设置存储器,用于存储指令和数据。The processor 210 may also include a memory for storing instructions and data.
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,Modem 210A以及基带处理器等实现。The wireless communication function of the electronic device can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, Modem 210A and baseband processor.
天线1和天线2用于发射和接收电磁波信号。Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
移动通信模块250可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。The mobile communication module 250 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to electronic devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. In some embodiments, at least some functional modules of the mobile communication module 250 may be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 may be set in the same device as at least some modules of the processor 210.
Modem 210A可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器,受话器等)输出声音信号,或通过显示屏294显示图像或视频。在一些实施例中,Modem 210A可以是独立的器件。在另一些实施例中,Modem 210A可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。Modem 210A may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker, a receiver, etc.), or displays an image or video through a display screen 294. In some embodiments, Modem 210A may be an independent device. In other embodiments, Modem 210A may be independent of the processor 210 and may be set in the same device as the mobile communication module 250 or other functional modules.
无线通信模块260可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The wireless communication module 260 can provide wireless communication solutions for application in electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和电子设备的接触和分离。当电子设备为第一设备时,第一设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口295可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口295可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口295也可以兼容不同类型的SIM卡。SIM卡接口295也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. When the electronic device is a first device, the first device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The electronic device interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
另外,在上述部件之上,电子设备还运行有操作系统。例如iOS操作系统,安卓(Android)操作系统,或Windows操作系统等。在该操作系统上可以安装运行应用程序。In addition, on top of the above components, the electronic device also runs an operating system, such as an iOS operating system, an Android operating system, or a Windows operating system, etc. Application programs can be installed and run on the operating system.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以独立实现,也可以相互结合,对于相同 或相似的概念或过程可能在某些实施例中不再赘述。The following specific embodiments are used to explain in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. Or similar concepts or processes may not be repeatedly described in some embodiments.
本申请实施例中,第一设备可以位于蜂窝网络信号较弱或者没有蜂窝网络信号的场景中(例如,第一设备中的一个SIM卡SIM1在当前场景中蜂窝网络信号较弱),第二设备可以处于蜂窝网络信号较强的场景中,在此场景下第一设备与第二设备可以基于下述图4对应的实施例,实现本申请实施例中描述的一种蜂窝通信能力接续的方法。示例性的,图4为本申请实施例提供一种蜂窝通信能力接续的方法的流程示意图。In an embodiment of the present application, the first device may be located in a scenario where the cellular network signal is weak or there is no cellular network signal (for example, a SIM card SIM1 in the first device has a weak cellular network signal in the current scenario), and the second device may be located in a scenario where the cellular network signal is strong. In this scenario, the first device and the second device may implement a method for connecting cellular communication capabilities described in an embodiment of the present application based on the embodiment corresponding to FIG4 described below. Exemplarily, FIG4 is a flow chart of a method for connecting cellular communication capabilities provided in an embodiment of the present application.
在第一设备与第二设备执行蜂窝通信能力接续的方法前,第一设备与第二设备可以登录相同的设备账号(该设备账号或也可以称为用户账号)。Before the first device and the second device execute the method for connecting the cellular communication capability, the first device and the second device may log in to the same device account (the device account may also be referred to as a user account).
可能的实现方式中,第一设备与第二设备还可以均基于设备账号注册到通信业务云、第一设备与第二设备均具备上网条件、第一设备中可以包括至少一个SIM卡,和/或第二设备中可以包括至少一个空闲的SIM卡卡槽。In possible implementations, the first device and the second device can also be registered with the communication service cloud based on the device account, the first device and the second device can both have Internet access conditions, the first device can include at least one SIM card, and/or the second device can include at least one free SIM card slot.
其中,通信业务云具有下述一种或多种功能,例如:用于对连接到该通信业务云的设备进行设备认证、用于确定设备是否具有蜂窝通信能力接续功能(或也可以称为设备信号接力功能等)、用于确定设备是否具有空闲卡槽、用于确定设备是否已经连接到通信业务云、或用于在设备之间建立数据转发通道等。第一设备与第二设备均基于设备账号注册到通信业务云可以理解为:第一设备基于设备账号以及密码登录到通信业务云,并且第二设备也基于设备账号以及密码登录到通信业务云。The communication service cloud has one or more of the following functions, for example: for authenticating a device connected to the communication service cloud, for determining whether the device has a cellular communication capability connection function (or also referred to as a device signal relay function, etc.), for determining whether the device has a free card slot, for determining whether the device has been connected to the communication service cloud, or for establishing a data forwarding channel between devices, etc. The first device and the second device are both registered to the communication service cloud based on the device account, which can be understood as: the first device logs in to the communication service cloud based on the device account and password, and the second device also logs in to the communication service cloud based on the device account and password.
其中,第一设备与第二设备均具备上网条件可以理解为:第一设备与第二设备均可以通过有线方式连接到网络侧;或者第一设备与第二设备也可以通过WIFI、热点、或者第一设备中具有蜂窝网络信号的另一SIM卡SIM2(如,当前SIM2的蜂窝网络信号优于当前SIM1的蜂窝网络信号)等无线方式连接到网络侧,本申请实施例中对此不做限定。Among them, the first device and the second device both have Internet access conditions, which can be understood as: the first device and the second device can be connected to the network side through a wired manner; or the first device and the second device can also be connected to the network side through wireless methods such as WIFI, hotspot, or another SIM card SIM2 with a cellular network signal in the first device (for example, the current SIM2's cellular network signal is better than the current SIM1's cellular network signal), which is not limited to this in the embodiments of the present application.
可以理解的是,在远场连接的场景中,第一设备与第二设备均可以通过各自附近的WIFI热点连接到通信业务云、或者第一设备可以通过第一设备中具有蜂窝网络信号的另一SIM卡等方式连接到通信业务云,并基于通信业务云建立两设备之间的可信的连接通道;或者,在近场连接的场景中,第一设备与第二设备可以通过连接到同一WIFI等方式建立两设备之间的通信连接,本申请实施例中对近场连接或远场连接时的设备连接方式不做具体限定。It can be understood that in the far-field connection scenario, the first device and the second device can both be connected to the communication service cloud through their respective nearby WIFI hotspots, or the first device can be connected to the communication service cloud through another SIM card with a cellular network signal in the first device, and a trusted connection channel is established between the two devices based on the communication service cloud; or, in the near-field connection scenario, the first device and the second device can establish a communication connection between the two devices by connecting to the same WIFI, etc. The embodiments of the present application do not specifically limit the device connection method during near-field connection or far-field connection.
如图4所示,该蜂窝通信能力接续的方法可以包括如下步骤:As shown in FIG. 4 , the method for connecting the cellular communication capability may include the following steps:
S401、在第一设备与第二设备均开启蜂窝通信能力接续功能的情况下,第一设备与第二设备建立通信连接。S401: When the cellular communication capability connection function is enabled on both the first device and the second device, the first device establishes a communication connection with the second device.
其中,该蜂窝通信能力接续功能可以理解为:在第一设备检测到网络信号较弱或者没有网络信号的场景中,利用网络信号较好的第二设备,对第一设备进行蜂窝通信能力的接续,使得第一设备可以在网络信号较差的场景中使用第一设备中的SIM卡以及第二设备的modem执行任一蜂窝通信功能。Among them, the cellular communication capability connection function can be understood as: in a scenario where the first device detects that the network signal is weak or there is no network signal, the cellular communication capability of the first device is connected by using the second device with a better network signal, so that the first device can use the SIM card in the first device and the modem of the second device to perform any cellular communication function in a scenario where the network signal is poor.
可以理解的是,本申请实施例中描述多处第一设备与第二设备之间的数据交互均是在第一设备与所述第二设备建立通信连接的情况下实现的。It can be understood that the data interactions between the first device and the second device described in the embodiments of the present application are all implemented when the first device and the second device establish a communication connection.
S402、第二设备与第一设备利用远程modem功能,将第二设备的modem转移给第一设备使用。S402: The second device and the first device use a remote modem function to transfer the modem of the second device to the first device for use.
本申请实施例中,远程modem功能可以理解为:A设备可以利用远程modem功能,远 程访问B设备的modem。In the embodiment of the present application, the remote modem function can be understood as: device A can use the remote modem function to remotely program to access the modem of device B.
在S402所示的步骤中,A设备可以为第一设备且B设备可以为第二设备,例如第一设备可以远程访问具有蜂窝通信能力的第二设备的modem,使得第一设备可以共享第二设备的modem,并利用第二设备的modem正常使用蜂窝通信功能;或也可以理解为第二设备的modem可以实现整体迁移,该第二设备的modem可以作为第一设备的一个虚拟modem。其中,该远程modem功能的具体实现可以参见图6对应的实施例。In the step shown in S402, device A can be the first device and device B can be the second device. For example, the first device can remotely access the modem of the second device with cellular communication capability, so that the first device can share the modem of the second device and use the cellular communication function normally using the modem of the second device; or it can also be understood that the modem of the second device can achieve overall migration, and the modem of the second device can be used as a virtual modem of the first device. The specific implementation of the remote modem function can refer to the embodiment corresponding to FIG6.
示例性的,在第一设备检测到网络信号较弱、没有网络信号、或者第一设备接收到用户的触发操作时,第一设备可以向第二设备发起relay模式切换指令,该relay模式切换指令用于指示第二设备对第一设备的蜂窝通信能力进行接续。第二设备可以在接收到relay模式切换指令后,向第一设备返回relay模式切换指令对应的响应消息,该relay模式切换指令对应的响应消息用于指示第二设备同意为第一设备提供蜂窝通信能力的接续。第一设备在接收到该relay模式切换指令对应的响应消息后,可以向第二设备发起用于远程访问第二设备的modem的指令(或称为远程modem切换指令),请求访问第二设备的modem。进一步的,在第二设备接收到该远程modem切换指令时,可以向第一设备发送远程modem切换成功指令,进而执行S403所示的步骤。Exemplarily, when the first device detects that the network signal is weak, there is no network signal, or the first device receives a trigger operation from the user, the first device may initiate a relay mode switching instruction to the second device, and the relay mode switching instruction is used to instruct the second device to continue the cellular communication capability of the first device. After receiving the relay mode switching instruction, the second device may return a response message corresponding to the relay mode switching instruction to the first device, and the response message corresponding to the relay mode switching instruction is used to indicate that the second device agrees to provide the first device with a continuation of cellular communication capability. After receiving the response message corresponding to the relay mode switching instruction, the first device may initiate an instruction for remotely accessing the modem of the second device (or a remote modem switching instruction) to the second device, requesting access to the modem of the second device. Furthermore, when the second device receives the remote modem switching instruction, it may send a remote modem switching success instruction to the first device, and then execute the steps shown in S403.
其中,与relay模式切换指令相关的描述可以参见图5对应的实施例中S502所示的步骤;与relay模式切换指令对应的响应消息相关的描述可以参见图5对应的实施例中S503所示的步骤;与远程modem切换指令相关的描述可以参见图5对应的实施例中S504所示的步骤;与远程modem切换成功指令相关的描述可以参见图5对应的实施例中S506所示的步骤。Among them, the description related to the relay mode switching instruction can refer to the step shown in S502 in the embodiment corresponding to Figure 5; the description related to the response message corresponding to the relay mode switching instruction can refer to the step shown in S503 in the embodiment corresponding to Figure 5; the description related to the remote modem switching instruction can refer to the step shown in S504 in the embodiment corresponding to Figure 5; the description related to the remote modem switching success instruction can refer to the step shown in S506 in the embodiment corresponding to Figure 5.
S403、第一设备与第二设备利用远程(remote)SIM功能,将第一设备的SIM卡远程转移给第二设备使用,使得第二设备的modem访问第一设备的SIM卡。S403: The first device and the second device use a remote SIM function to remotely transfer the SIM card of the first device to the second device for use, so that the modem of the second device accesses the SIM card of the first device.
本申请实施例中,远程SIM功能可以理解为:A设备可以利用远程SIM功能,远程访问B设备的SIM卡。In the embodiment of the present application, the remote SIM function can be understood as: device A can use the remote SIM function to remotely access the SIM card of device B.
在S403所示的步骤中,A设备可以为第二设备且B设备可以为第一设备,例如第一设备的SIM卡可以远程转移给第二设备使用,使得第二设备远程访问第一设备的SIM卡,模拟将第一设备中的SIM卡拔出并插入到第二设备中使用的场景。其中,远程SIM功能的具体实现可以参见图7对应的实施例。In the step shown in S403, device A can be the second device and device B can be the first device. For example, the SIM card of the first device can be remotely transferred to the second device for use, so that the second device remotely accesses the SIM card of the first device, simulating the scenario of pulling out the SIM card in the first device and inserting it into the second device for use. The specific implementation of the remote SIM function can refer to the embodiment corresponding to FIG. 7.
示例性的,第二设备在向第一设备发送远程modem切换成功指令之后,可以继续向第一设备发起用于远程访问第一设备的SIM卡的指令(或称为远程SIM切换指令),请求访问第一设备的SIM,使得第一设备可以将自身的SIM卡信息发送给第二设备,进而第二设备可以利用该SIM卡信息注册蜂窝网络。在第二设备利用第一设备的SIM卡信息注册蜂窝网络之后,也可以向第一设备返回驻网信息。该第一设备的SIM卡信息可以为第一设备中的其中一个SIM卡的SIM卡信息。Exemplarily, after sending a remote modem switching success command to the first device, the second device may continue to initiate a command for remotely accessing the SIM card of the first device (or a remote SIM switching command) to the first device, requesting access to the SIM of the first device, so that the first device can send its own SIM card information to the second device, and then the second device can register the cellular network using the SIM card information. After the second device registers the cellular network using the SIM card information of the first device, it may also return the network information to the first device. The SIM card information of the first device may be the SIM card information of one of the SIM cards in the first device.
其中,与远程SIM切换指令相关的描述可以参见图5对应的实施例中S507所示的步骤;该SIM卡信息的传递以及使用过程可以参见图5对应的实施例中S511-S513所示的步骤;与驻网信息相关的描述可以参见图5对应的实施例中S515-S516所示的步骤。Among them, the description related to the remote SIM switching instruction can refer to the step S507 shown in the embodiment corresponding to Figure 5; the transmission and use process of the SIM card information can refer to the steps S511-S513 shown in the embodiment corresponding to Figure 5; the description related to the network information can refer to the steps S515-S516 shown in the embodiment corresponding to Figure 5.
可能的实现方式中,S404、第一设备与第二设备实现电路交换(circuit switched,CS)通话业务。In a possible implementation, S404, the first device and the second device implement a circuit switched (CS) call service.
其中,该CS通话业务可以包括:CS主叫通话业务以及CS被叫通话业务,该CS主叫通 话业务可以理解为由第一设备发起的通话业务,CS被叫通话业务可以理解为由第一设备接听的通话业务。The CS call service may include: a CS calling call service and a CS called call service. The call service may be understood as a call service initiated by the first device, and the CS called call service may be understood as a call service answered by the first device.
示例性的,当第一设备接收到CS主叫通话业务时,第一设备可以将该CS主叫通话业务远程转发至第二设备,并由第二设备的modem将该CS主叫通话业务继续发送至需要呼叫的设备(或可以理解为第三设备)。或者,当第二设备的modem接收到CS被叫通话业务时,第二设备可以将接收到的CS被叫通话业务发送至第一设备,使得第一设备可以显示该CS被叫通话业务对应的电话接听界面。其中,在第一设备与第二设备实现CS通话业务的过程中,第一设备与第二设备可以基于S406所示的步骤实现语音的接听和发送。Exemplarily, when the first device receives a CS outgoing call service, the first device can remotely forward the CS outgoing call service to the second device, and the modem of the second device can continue to send the CS outgoing call service to the device that needs to be called (or can be understood as a third device). Alternatively, when the modem of the second device receives a CS incoming call service, the second device can send the received CS incoming call service to the first device, so that the first device can display the phone answering interface corresponding to the CS incoming call service. In the process of the first device and the second device implementing the CS call service, the first device and the second device can implement voice answering and sending based on the steps shown in S406.
可能的实现方式中,第一设备与第二设备也可以基于S405所示的步骤,实现如IMS通话业务等与IMS相关的业务的处理和转发。In a possible implementation, the first device and the second device may also implement processing and forwarding of IMS-related services such as IMS call services based on the steps shown in S405.
可以理解的是,该CS通话业务可以基于远程modem功能以及远程SIM功能实现,因此第一设备与第二设备可以基于S401-S404以及S407所示的步骤实现CS通话业务的接续。It is understandable that the CS call service can be implemented based on the remote modem function and the remote SIM function, so the first device and the second device can implement the connection of the CS call service based on the steps shown in S401-S404 and S407.
S405、第一设备与第二设备利用远程IMS功能,将第二设备的IMS通信能力转移给第一设备使用。S405: The first device and the second device use the remote IMS function to transfer the IMS communication capability of the second device to the first device for use.
本申请实施例中,远程IMS功能可以理解为:设备A可以利用远程IMS功能远程使用B设备的IMS通信能力。In the embodiment of the present application, the remote IMS function can be understood as: device A can use the remote IMS function to remotely use the IMS communication capability of device B.
在S404所示的步骤中,A设备可以为第一设备且B设备可以为第二设备,例如第一设备远程使用第二设备的IMS通信能力,使得第一设备可以利用该第二设备的IMS通信能力实现IMS业务。其中,远程IMS功能的具体实现可以参见图8对应的实施例,且该IMS业务可以包括:IMS通话业务和/或IMS短信业务等。In the step shown in S404, device A may be a first device and device B may be a second device, for example, the first device remotely uses the IMS communication capability of the second device, so that the first device can use the IMS communication capability of the second device to implement IMS services. The specific implementation of the remote IMS function can refer to the embodiment corresponding to FIG8, and the IMS service may include: IMS call service and/or IMS SMS service, etc.
示例性的,以获取第二设备的IMS通信能力为例进行示例说明。例如,第一设备可以向第二设备发起用于远程访问第二设备的IMS通信能力的指令(或称为远程IMS切换指令),使得第二设备可以将IMS注册信息、业务状态等消息通过远程IMS切换成功指令等指令返回至第一设备。Exemplarily, obtaining the IMS communication capability of the second device is used as an example for explanation. For example, the first device may initiate an instruction (or a remote IMS switching instruction) to the second device for remotely accessing the IMS communication capability of the second device, so that the second device may return messages such as IMS registration information and service status to the first device through instructions such as a remote IMS switching success instruction.
其中,与远程IMS切换指令相关的描述可以参见图5对应的实施例中S512-S522所示的步骤;获取IMS注册信息的描述可以参见图5对应的实施例中S523所示的步骤;与远程IMS切换成功指令相关的描述可以参见图5对应的实施例中S524所示的步骤。Among them, the description related to the remote IMS switching instruction can refer to the steps S512-S522 shown in the embodiment corresponding to Figure 5; the description of obtaining IMS registration information can refer to the step S523 shown in the embodiment corresponding to Figure 5; the description related to the remote IMS switching success instruction can refer to the step S524 shown in the embodiment corresponding to Figure 5.
可能的实现方式中,S406、第一设备与第二设备实现IMS通话业务。In a possible implementation, S406, the first device and the second device implement an IMS call service.
其中,IMS通话业务可以包括IMS主叫通话以及IMS被叫通话。The IMS call service may include an IMS calling call and an IMS called call.
例如,在第一设备允许使用第二设备的远程IMS通信能力的情况下,当第一设备接收到IMS主叫通话业务时,第一设备可以将该IMS主叫通话业务远程转发至第二设备,并由第二设备的modem将该IMS主叫通话业务继续发送至呼叫的第三设备;或者,当第二设备的modem接收到IMS被叫通话业务时,第二设备可以将接收到的IMS被叫通话业务发送至第一设备,使得第一设备可以显示该IMS被叫通话业务对应的电话接听界面。For example, when the first device allows the use of the remote IMS communication capability of the second device, when the first device receives an IMS outgoing call service, the first device can remotely forward the IMS outgoing call service to the second device, and the modem of the second device can continue to send the IMS outgoing call service to the called third device; or, when the modem of the second device receives an IMS called call service, the second device can send the received IMS called call service to the first device, so that the first device can display the phone answering interface corresponding to the IMS called call service.
其中,在第一设备与第二设备实现IMS通话业务的过程中,第一设备与第二设备可以基于S407所示的步骤实现语音的接听和发送。In the process of implementing the IMS call service between the first device and the second device, the first device and the second device can implement voice reception and transmission based on the steps shown in S407.
S407、第二设备将modem从网络侧接收到的网络语音包转发给第一设备,且第一设备将接收到的本地语音包转发给第二设备的modem,由modem上报到网络侧。S407: The second device forwards the network voice packet received by the modem from the network side to the first device, and the first device forwards the received local voice packet to the modem of the second device, and the modem reports it to the network side.
示例性的,在第一设备与第二设备建立IMS通话业务(或CS通话业务)的情况下,第 二设备可以实现将第二设备的modem从网络侧接收到的网络语音包转发给第一设备,第一设备也可以将基于第一设备的麦克风接收到的本地语音包转发给第二设备的modem,并由第二设备的modem上报到网络侧。其中,该网络语音包可以理解为第二设备的modem从网络侧接收到的语音包,或也可以理解为由第三设备产生的语音包;该本地语音包可以理解为第一设备从本地采集到的语音包。For example, when the first device establishes an IMS call service (or CS call service) with the second device, the first The second device can forward the network voice packet received by the modem of the second device from the network side to the first device, and the first device can also forward the local voice packet received based on the microphone of the first device to the modem of the second device, and the modem of the second device reports it to the network side. Among them, the network voice packet can be understood as the voice packet received by the modem of the second device from the network side, or it can also be understood as the voice packet generated by the third device; the local voice packet can be understood as the voice packet collected by the first device from the local.
可以理解的是,该IMS通话业务可以基于远程modem功能、远程SIM功能以及远程IMS功能实现,因此第一设备与第二设备可以基于S401-S403以及S405-S407所示的步骤实现IMS通话业务的接续。It is understandable that the IMS call service can be implemented based on the remote modem function, the remote SIM function and the remote IMS function, so the first device and the second device can implement the continuation of the IMS call service based on the steps shown in S401-S403 and S405-S407.
基于此,第一设备可以在蜂窝网络信号较弱的场景中,利用第二设备实现蜂窝通信能力的接续。Based on this, the first device can use the second device to connect the cellular communication capability in a scenario where the cellular network signal is weak.
可以理解的是,图4对应的实施例中描述的各步骤的顺序仅作为一种示例,各步骤的顺序可以进行调整,如可以先后进行或并行进行等。It can be understood that the order of the steps described in the embodiment corresponding to FIG. 4 is only an example, and the order of the steps can be adjusted, such as being performed sequentially or in parallel.
在一些可能的实现方式中,第一设备与第二设备可以先执行S402所示的步骤中的远程modem功能,再执行S403所示的步骤中的远程SIM功能;或者,第一设备与第二设备可以先执行S403所示的步骤中的远程SIM功能,再执行S402所示的步骤中的远程modem功能等。In some possible implementations, the first device and the second device may first execute the remote modem function in the step shown in S402, and then execute the remote SIM function in the step shown in S403; or, the first device and the second device may first execute the remote SIM function in the step shown in S403, and then execute the remote modem function in the step shown in S402, etc.
示例性的,当第一设备与第二设备先执行S403所示的步骤中的远程SIM功能再执行S402所示的步骤中的远程modem功能的情况下,由于远程SIM功能过程中第二设备对第一设备的SIM卡数据的读取过程较长,第一设备会在远程SIM功能的过程中在第一设备的屏幕上一直呈现出无卡状态,使得第一设备的用户难以根据第一设备一直呈现出的无卡状态确定SIM卡的转移情况(这样会给带来用户困扰和误解,如,用户可能误以为SIM卡出问题了或误以为“设备信号接力”(或称之为“蜂窝通信能力接续”等等)功能未正常运行),并且第一设备只能在远程SIM功能以及远程modem功能执行后才在第一设备的屏幕上呈现出有卡状态。Exemplarily, when the first device and the second device first execute the remote SIM function in the step shown in S403 and then execute the remote modem function in the step shown in S402, since the second device takes a long time to read the SIM card data of the first device during the remote SIM function, the first device will always show a card-free state on the screen of the first device during the remote SIM function, making it difficult for the user of the first device to determine the transfer status of the SIM card based on the card-free state that the first device always shows (this will cause trouble and misunderstanding to the user, for example, the user may mistakenly believe that there is a problem with the SIM card or that the "device signal relay" (or "cellular communication capability relay", etc.) function is not operating normally), and the first device can only show a card-available state on the screen of the first device after the remote SIM function and the remote modem function are executed.
研究发现远程modem功能中modem远程访问的速度快于远程SIM功能中SIM远程访问的速度。故当第一设备与第二设备先执行S402所示的步骤中的远程modem功能,进而执行远程SIM功能的过程中,第二设备的各种状态变化均可以通过远程modem功能随时传输到第一设备。从而在远程SIM功能的过程中,第一设备的屏幕上可以呈现出由无卡状态切换为有卡状态、进而从无服务状态切换为有服务状态,便于第一设备的用户及时察觉蜂窝通信能力接续的过程中SIM卡状态的变化。Research has found that the speed of modem remote access in the remote modem function is faster than the speed of SIM remote access in the remote SIM function. Therefore, when the first device and the second device first execute the remote modem function in step S402, and then execute the remote SIM function, various state changes of the second device can be transmitted to the first device at any time through the remote modem function. Therefore, during the process of the remote SIM function, the screen of the first device can show the switching from no card state to card state, and then from no service state to service state, so that the user of the first device can timely perceive the change of SIM card state during the process of connecting the cellular communication capability.
示例性的,当第一设备与第二设备先执行S403所示的步骤中的远程SIM功能的过程中,SIM卡触发个人识别密码(personal identification number,PIN)的输入,则用于输入PIN码的指示消息可以显示在第二设备中,但由于此时远程modem功能还未执行完,从而第二设备中显示的信息不能通过远程modem功能传输给第一设备,故第一设备中不会显示用于输入PIN码的指示消息,因此第一设备的用户则不会通过输入PIN码来解锁SIM卡,故第二设备无法正常访问第一设备的SIM卡,使得整个蜂窝通信能力接续无法继续进行。Exemplarily, when the first device and the second device first execute the remote SIM function in the step shown in S403, the SIM card triggers the input of a personal identification number (PIN), and an instruction message for entering the PIN code can be displayed in the second device. However, since the remote modem function has not been completed at this time, the information displayed in the second device cannot be transmitted to the first device through the remote modem function. Therefore, the instruction message for entering the PIN code will not be displayed in the first device. Therefore, the user of the first device will not unlock the SIM card by entering the PIN code, so the second device cannot normally access the SIM card of the first device, so that the entire cellular communication capability connection cannot continue.
而当第一设备与第二设备先执行S402所示的步骤中的远程modem功能,进而执行远程SIM功能的过程中,当SIM卡触发PIN码的输入,则该用于输入PIN码的指示消息可以通过远程modem功能转发至第一设备,使得第一设备可以在界面中显示该用于输入PIN码的指示消息,便于用户及时输入PIN码解锁SIM卡,进而便于第二设备正常访问第一设备的SIM 卡以实现蜂窝通信能力接续功能。When the first device and the second device first execute the remote modem function in step S402 and then execute the remote SIM function, when the SIM card triggers the input of the PIN code, the instruction message for inputting the PIN code can be forwarded to the first device through the remote modem function, so that the first device can display the instruction message for inputting the PIN code in the interface, so that the user can input the PIN code in time to unlock the SIM card, and then the second device can normally access the SIM card of the first device. The card is used to realize the cellular communication capability connection function.
因此,第一设备与第二设备先执行S402所示的步骤中的远程modem功能,再执行S403所示的步骤中的远程SIM功能能提升用户的体验,还可以提升蜂窝通信能力接续功能的效率和/或有效性。Therefore, the first device and the second device first execute the remote modem function in step S402 and then execute the remote SIM function in step S403 to improve the user experience and the efficiency and/or effectiveness of the cellular communication capability connection function.
基于上述图4对应的实施例中描述的内容,本申请实施例提供一种蜂窝通信能力接续的方法。Based on the contents described in the embodiment corresponding to FIG. 4 above, an embodiment of the present application provides a method for connecting cellular communication capabilities.
示例性的,图5为本申请实施例提供的另一种蜂窝通信能力接续的方法的流程示意图。在图5对应的实施例中,第一设备中可以包括:分布式通信服务模块以及modem,第二设备中也可以包括分布式通信服务模块以及modem。并且,第一设备中可以包括至少一个SIM卡,例如第一设备中可以包括:SIM卡1(或简称卡1)以及SIM卡2(或简称卡2),第二设备中可以包括:SIM卡3(或简称卡3)。其中,该卡3可以理解为第二设备中的其中一个SIM卡,例如当第二设备中包括两个SIM卡时,该卡3可以理解为该两个SIM卡中的任一SIM卡,示例的,该卡3可以理解为第一设备和/或第二设备确定出的用于支持蜂窝通信能力接续功能的那个modem所对应的SIM卡。Exemplarily, FIG5 is a flow chart of another method for cellular communication capability connection provided in an embodiment of the present application. In the embodiment corresponding to FIG5, the first device may include: a distributed communication service module and a modem, and the second device may also include a distributed communication service module and a modem. In addition, the first device may include at least one SIM card, for example, the first device may include: SIM card 1 (or card 1 for short) and SIM card 2 (or card 2 for short), and the second device may include: SIM card 3 (or card 3 for short). Among them, the card 3 can be understood as one of the SIM cards in the second device. For example, when the second device includes two SIM cards, the card 3 can be understood as any one of the two SIM cards. For example, the card 3 can be understood as the SIM card corresponding to the modem determined by the first device and/or the second device to support the cellular communication capability connection function.
如图5所示,该蜂窝通信能力接续的方法可以包括如下步骤:As shown in FIG5 , the method for connecting the cellular communication capability may include the following steps:
S501、第一设备的分布式通信服务模块与第二设备的分布式通信服务模块建立通信连接。S501. A distributed communication service module of a first device establishes a communication connection with a distributed communication service module of a second device.
示例性的,在第一设备与第二设备均基于图11(或图12)对应的实施例开启蜂窝通信能力接续功能、第一设备与第二设备登录相同的设备账号、并且第一设备与第二设备均保证数据业务(例如第一设备与第二设备均登录WIFI或热点等)的情况下,第一设备与第二设备均可以通过设备账号注册到通信业务云,并基于通信业务云建立设备之间的通信连接。Exemplarily, when the first device and the second device both turn on the cellular communication capability connection function based on the embodiment corresponding to Figure 11 (or Figure 12), the first device and the second device log in to the same device account, and the first device and the second device both guarantee data services (for example, the first device and the second device both log in to WIFI or hotspot, etc.), the first device and the second device can both register to the communication service cloud through the device account and establish a communication connection between the devices based on the communication service cloud.
S502、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送relay(接续)模式切换指令。S502: The distributed communication service module of the first device sends a relay mode switching instruction to the distributed communication service module of the second device.
本申请实施例中,该relay模式切换指令(该指令的名称仅为一种示例,也可以用其他名称)用于指示第二设备对第一设备的蜂窝通信能力进行接续,或理解为relay模式切换指令用于指示第一设备请求第二设备为其进行蜂窝通信能力的接续。In an embodiment of the present application, the relay mode switching instruction (the name of the instruction is only an example and other names may also be used) is used to instruct the second device to connect to the cellular communication capability of the first device, or it can be understood that the relay mode switching instruction is used to instruct the first device to request the second device to connect to its cellular communication capability.
示例性的,当第一设备检测到网络信号较弱或者没有网络信号时,第一设备可以自动向第一设备搜索到的第二设备发起蜂窝通信能力的接续,使得第一设备执行S502所示的步骤。或者,第一设备可以基于图13对应的实施例手动发起蜂窝通信能力的接续,使得第一设备执行S502所示的步骤。Exemplarily, when the first device detects that the network signal is weak or there is no network signal, the first device may automatically initiate the connection of the cellular communication capability to the second device searched by the first device, so that the first device executes the step shown in S502. Alternatively, the first device may manually initiate the connection of the cellular communication capability based on the embodiment corresponding to FIG. 13, so that the first device executes the step shown in S502.
例如,当第一设备接收到用户在图13中的b所示的界面中针对卡1接力控件的触发操作时,第一设备的分布式通信服务模块可以向第二设备的分布式通信服务模块发送relay模式切换指令。在此场景中,该relay模式切换指令中可以包括卡1的信息,该relay模式切换指令可以指示第二设备对第一设备的卡1的蜂窝通信能力进行接续。For example, when the first device receives a trigger operation of the user on the relay control of card 1 in the interface shown in b of FIG. 13, the distributed communication service module of the first device may send a relay mode switching instruction to the distributed communication service module of the second device. In this scenario, the relay mode switching instruction may include information of card 1, and the relay mode switching instruction may instruct the second device to connect to the cellular communication capability of card 1 of the first device.
可能的实现方式中,参见图6(或图7或图8)对应的实施例中的描述,第一设备的分布式通信服务模块可以利用第一设备的云服务模块,将该relay模式切换指令发送至第二设备;适应的,第二设备的分布式通信服务模块可以利用云服务模块接收到该relay模 式切换指令。其中,该云服务模块也可以称为图6(或图7或图8)中描述的分布式总线。In a possible implementation, referring to the description in the embodiment corresponding to FIG. 6 (or FIG. 7 or FIG. 8), the distributed communication service module of the first device can use the cloud service module of the first device to send the relay mode switching instruction to the second device; adapted, the distributed communication service module of the second device can use the cloud service module to receive the relay mode switching instruction. The cloud service module may also be referred to as the distributed bus described in FIG. 6 (or FIG. 7 or FIG. 8 ).
S503、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送relay模式切换指令对应的响应消息。S503: The distributed communication service module of the second device sends a response message corresponding to the relay mode switching instruction to the distributed communication service module of the first device.
其中,该relay模式切换指令对应的响应消息用于指示第二设备接收到relay模式切换指令,并同意为第一设备提供蜂窝通信能力的接续。The response message corresponding to the relay mode switching instruction is used to indicate that the second device has received the relay mode switching instruction and agrees to provide the first device with a connection for cellular communication capability.
S504、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送远程modem切换指令。S504: The distributed communication service module of the first device sends a remote modem switching instruction to the distributed communication service module of the second device.
本申请实施例中,远程modem切换指令用于指示第一设备请求访问第二设备的modem,使得第二设备可以将modem对应的工作模式切换为远程modem模式,便于第一设备随时访问。In the embodiment of the present application, the remote modem switching instruction is used to instruct the first device to request access to the modem of the second device, so that the second device can switch the working mode corresponding to the modem to the remote modem mode, so that the first device can access it at any time.
可能的实现方式中,如图6所示,第一设备的分布式通信服务模块中的远程modem服务模块6011可以基于S6001所示的步骤,向第二设备的分布式通信服务模块发送远程modem切换指令。In a possible implementation, as shown in FIG. 6 , the remote modem service module 6011 in the distributed communication service module of the first device may send a remote modem switching instruction to the distributed communication service module of the second device based on the steps shown in S6001 .
可能的实现方式中,S505、第二设备的分布式通信服务模块将远程modem切换指令发送至第二设备的modem。In a possible implementation, S505 , the distributed communication service module of the second device sends a remote modem switching instruction to the modem of the second device.
可以理解的是,第二设备的modem在接收到该远程modem切换指令时,可以执行远程modem功能对应的准备工作,使得第二设备的modem可以配合第一设备加快完成远程modem功能。It is understandable that when the modem of the second device receives the remote modem switching instruction, it can perform the preparation work corresponding to the remote modem function, so that the modem of the second device can cooperate with the first device to speed up the completion of the remote modem function.
可能的实现方式中,如图6所示,第二设备可以基于S6002-S6003所示的步骤,将远程modem切换指令发送至第二设备modem。In a possible implementation, as shown in FIG. 6 , the second device may send a remote modem switching instruction to the second device modem based on the steps shown in S6002 - S6003 .
S506、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送远程modem切换成功指令。S506. The distributed communication service module of the second device sends a remote modem switching success instruction to the distributed communication service module of the first device.
其中,该远程modem切换成功指令用于指示第二设备允许第一设备远程访问第二设备的modem。The remote modem switching success instruction is used to instruct the second device to allow the first device to remotely access the modem of the second device.
示例性的,如图6所示,第二设备的分布式通信服务模块可以基于S6006所示的步骤向第一设备的分布式通信服务模块发送远程modem切换成功指令。Exemplarily, as shown in FIG. 6 , the distributed communication service module of the second device may send a remote modem switching success instruction to the distributed communication service module of the first device based on the step shown in S6006 .
S507、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送远程SIM切换指令。S507: The distributed communication service module of the second device sends a remote SIM switching instruction to the distributed communication service module of the first device.
其中,该远程SIM切换指令用于指示第二设备请求远程访问第一设备中的SIM卡,并获取第一设备中的任一SIM卡的SIM卡信息。例如,当第一设备接收到用户在图13中的b所示的界面中针对卡1接力控件的触发操作时,第一设备可以确定对卡1进行蜂窝通信能力的接续,此时该远程SIM切换指令用于指示第二设备请求远程访问第一设备中的S卡1,并获取第一设备中的卡1的SIM卡信息。其中,该卡1的信息可以基于S502所示的步骤返回至第二设备。The remote SIM switching instruction is used to instruct the second device to request remote access to the SIM card in the first device and obtain the SIM card information of any SIM card in the first device. For example, when the first device receives a trigger operation of the user on the card 1 relay control in the interface shown in b in Figure 13, the first device can determine to connect the cellular communication capability of card 1. At this time, the remote SIM switching instruction is used to instruct the second device to request remote access to the S card 1 in the first device and obtain the SIM card information of card 1 in the first device. The information of card 1 can be returned to the second device based on the step shown in S502.
示例性的,如图7所示,第二设备的分布式通信模块可以基于S7001所示的步骤将远程SIM切换指令发送至第一设备的分布式通信服务模块。Exemplarily, as shown in FIG. 7 , the distributed communication module of the second device may send the remote SIM switching instruction to the distributed communication service module of the first device based on the step shown in S7001 .
S508、第二设备的分布式通信服务模块向第二设备的modem发送远程SIM切换指令。S508: The distributed communication service module of the second device sends a remote SIM switching instruction to the modem of the second device.
示例性的,如图7所示,第二设备分布式通信服务模块可以基于S7007-S7008所示的步骤中描述的通路,向第二设备的modem发送远程SIM切换指令。 Exemplarily, as shown in FIG. 7 , the distributed communication service module of the second device may send a remote SIM switching instruction to the modem of the second device based on the path described in steps S7007 - S7008 .
S509、第二设备的modem基于远程SIM切换指令,将第二设备的SIM卡模式切换为远程客户模式。S509: The modem of the second device switches the SIM card mode of the second device to the remote client mode based on the remote SIM switching instruction.
示例性的,当第二设备的modem接收到远程SIM切换指令时,第二设备的modem可以实现将SIM卡模式切换为远程客户模式。其中,如图7所示,该远程客户模式用于指示第二设备不通过本地SIM卡模块读取卡3的SIM卡信息,而是从远程SIM卡模块读取第一设备的卡1的SIM卡信息。Exemplarily, when the modem of the second device receives the remote SIM switching instruction, the modem of the second device can switch the SIM card mode to the remote client mode. As shown in FIG7 , the remote client mode is used to instruct the second device not to read the SIM card information of the card 3 through the local SIM card module, but to read the SIM card information of the card 1 of the first device from the remote SIM card module.
S510、第一设备的分布式通信服务模块向第一设备的modem发送远程SIM切换指令。S510: The distributed communication service module of the first device sends a remote SIM switching instruction to a modem of the first device.
示例性的,如图7所示,第一设备的分布式通信服务模块可以基于S7002-S7003所示的步骤向第一设备的modem发送远程SIM切换指令;适应的,第一设备的modem将第一设备的SIM卡模式切换至远程服务模块,并且从卡1的SIM卡槽中获取卡1的SIM卡信息。其中,该远程服务模块用于指示第一设备允许将第一设备的卡1的SIM卡信息共享给第二设备使用。Exemplarily, as shown in FIG7 , the distributed communication service module of the first device can send a remote SIM switching instruction to the modem of the first device based on the steps shown in S7002-S7003; adapted, the modem of the first device switches the SIM card mode of the first device to the remote service module, and obtains the SIM card information of card 1 from the SIM card slot of card 1. The remote service module is used to instruct the first device to allow the SIM card information of card 1 of the first device to be shared with the second device for use.
S511、第一设备的modem向第一设备的分布式通信服务模块发送卡1的SIM卡信息。S511. The modem of the first device sends the SIM card information of card 1 to the distributed communication service module of the first device.
示例性的,如图7所示,第一设备的modem可以基于S7004-S7005所示的步骤向第一设备的分布式通信服务模块发送卡1的SIM卡信息。Exemplarily, as shown in FIG. 7 , the modem of the first device may send the SIM card information of card 1 to the distributed communication service module of the first device based on the steps shown in S7004 - S7005 .
S512、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送卡1的SIM卡信息。S512. The distributed communication service module of the first device sends the SIM card information of card 1 to the distributed communication service module of the second device.
示例性的,如图7所示,第一设备的分布式通信服务模块可以基于S7006所示的步骤向第二设备的分布式通信服务模块发送卡1的SIM卡信息。Exemplarily, as shown in FIG. 7 , the distributed communication service module of the first device may send the SIM card information of card 1 to the distributed communication service module of the second device based on the step shown in S7006 .
S513、第二设备的分布式通信服务模块向第二设备的modem发送卡1的SIM卡信息。S513. The distributed communication service module of the second device sends the SIM card information of card 1 to the modem of the second device.
示例性的,如图7所示,第二设备的分布式通信服务模块可以基于S7007-S7008所示的步骤向第二设备的modem发送卡1的SIM卡信息。Exemplarily, as shown in FIG. 7 , the distributed communication service module of the second device may send the SIM card information of card 1 to the modem of the second device based on the steps shown in S7007 - S7008 .
S514、第二设备的modem利用卡1的SIM卡信息注册蜂窝网络。S514: The modem of the second device registers the cellular network using the SIM card information of card 1.
示例性的,第二设备的modem在利用卡1的SIM卡信息注册蜂窝网络后,第二设备的modem可以得到驻网信息。Exemplarily, after the modem of the second device registers the cellular network using the SIM card information of card 1, the modem of the second device can obtain the network information.
S515、第二设备的modem向第二设备的分布式通信服务模块发送驻网信息。S515. The modem of the second device sends the network information to the distributed communication service module of the second device.
示例性的,如图6所示,第二设备的modem可以基于S6004-6005所示的步骤中描述的通路向第二设备的分布式通信服务模块发送驻网信息。Exemplarily, as shown in FIG. 6 , the modem of the second device may send the on-network information to the distributed communication service module of the second device based on the path described in steps S6004 - 6005 .
S516、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送驻网信息。S516. The distributed communication service module of the second device sends the network information to the distributed communication service module of the first device.
示例性的,如图6所示,第二设备的分布式通信服务模块可以基于S6006所示的步骤中描述的通路向第一设备的分布式通信服务模块发送驻网信息。Exemplarily, as shown in FIG. 6 , the distributed communication service module of the second device may send the on-network information to the distributed communication service module of the first device based on the path described in step S6006 .
可能的实现方式中,第一设备的分布式通信服务模块可以基于S6007-S6008所示的步骤继续将驻网信息发送至第一设备的应用层。In a possible implementation, the distributed communication service module of the first device may continue to send the on-network information to the application layer of the first device based on the steps shown in S6007-S6008.
可以理解的是,在第一设备接收到驻网信息后,第二设备中的驻网状态、信号水平、运营商名称等信息则可以显示在第一设备的界面中。It is understandable that after the first device receives the network information, the network status, signal level, operator name and other information in the second device can be displayed in the interface of the first device.
可能的实现方式中,第一设备与第二设备可以基于S501-S516所示的步骤实现CS通话业务。In a possible implementation, the first device and the second device may implement the CS call service based on the steps shown in S501-S516.
一种实现中,当第一设备接收到CS主叫通话业务请求时,第一设备与第二设备可以 基于S517-S518所示的步骤将CS主叫通话业务请求转发到第二设备的modem,使得modem可以实现将该主叫通话业务通过网络转发至第三设备。In one implementation, when the first device receives a CS calling service request, the first device and the second device may Based on the steps shown in S517-S518, the CS outgoing call service request is forwarded to the modem of the second device, so that the modem can forward the outgoing call service to the third device through the network.
另一种实现中,当第二设备的modem接收到CS被叫通话业务时,第一设备与第二设备可以基于S519-S520所示的步骤将CS被叫通话业务转发到第一设备。In another implementation, when the modem of the second device receives the CS called call service, the first device and the second device may forward the CS called call service to the first device based on the steps shown in S519-S520.
S517、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送CS主叫通话业务请求。S517: The distributed communication service module of the first device sends a CS calling service request to the distributed communication service module of the second device.
其中,该CS主叫通话业务请求中可以包括:主叫时的拨号信息,例如电话号码等。The CS outgoing call service request may include: dialing information when making a call, such as a telephone number.
示例性的,当第一设备接收到用户拨号的操作时,第一设备可以生成CS主叫通话业务请求,并执行S517所示的步骤。其中,该CS主叫通话业务请求可以基于图6对应的实施例中S6001所示的步骤由第一设备转发至第二设备。Exemplarily, when the first device receives a dialing operation from the user, the first device may generate a CS calling service request and execute the steps shown in S517. The CS calling service request may be forwarded from the first device to the second device based on the steps shown in S6001 in the embodiment corresponding to FIG. 6.
S518、第二设备的分布式通信服务模块向第二设备的modem发送CS主叫通话业务请求。S518. The distributed communication service module of the second device sends a CS calling service request to the modem of the second device.
其中,该CS主叫通话业务请求可以基于图6对应的实施例中S6002-S6003所示的步骤由第二设备的分布式通信服务模块转发至第二设备的modem。The CS outgoing call service request may be forwarded by the distributed communication service module of the second device to the modem of the second device based on the steps S6002-S6003 in the embodiment corresponding to FIG. 6 .
适应的,当第二设备的modem接收到该CS主叫通话业务请求时,第二设备可以将CS主叫通话业务请求通过网络转发至第三设备;并将CS主叫通话业务请求对应的响应消息基于S6004-S6007等步骤发送至第一设备的电话应用。其中,该CS主叫通话业务请求对应的响应消息用于指示CS通话业务建立成功。Suitably, when the modem of the second device receives the CS outgoing call service request, the second device may forward the CS outgoing call service request to the third device through the network, and send a response message corresponding to the CS outgoing call service request to the phone application of the first device based on steps S6004-S6007, etc. The response message corresponding to the CS outgoing call service request is used to indicate that the CS call service is successfully established.
S519、第二设备的modem向第二设备的分布式通信服务模块发送CS被叫通话业务请求。S519: The modem of the second device sends a CS called call service request to the distributed communication service module of the second device.
其中,该CS被叫通话业务请求中可以包括:被叫的电话号码、以及该电话号码对应的所属地等信息。The CS called call service request may include: the called phone number, the location corresponding to the phone number and other information.
S520、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送CS被叫通话业务请求。S520: The distributed communication service module of the second device sends a CS called call service request to the distributed communication service module of the first device.
进一步的,第一设备的分布式通信服务模块将CS被叫通话业务请求发送至第一设备的电话应用;当第一设备的电话应用在接收到该CS被叫通话业务请求时,可以在第一设备的界面中显示被叫通话业务对应的电话号码、以及电话号码归属地等信息。Furthermore, the distributed communication service module of the first device sends the CS called call service request to the telephone application of the first device; when the telephone application of the first device receives the CS called call service request, the telephone number corresponding to the called call service and information such as the location of the telephone number can be displayed in the interface of the first device.
适应的,当第一设备接收到用户接听该CS被叫通话业务时,第一设备也可以生成CS被叫通话业务对应的响应消息,并将该CS被叫通话业务对应的响应消息发送至第二设备的modem,该CS被叫通话业务对应的响应消息用于指示CS通话建立成功。Suitably, when the first device receives a signal that the user has answered the CS called call service, the first device may also generate a response message corresponding to the CS called call service, and send the response message corresponding to the CS called call service to the modem of the second device. The response message corresponding to the CS called call service is used to indicate that the CS call is successfully established.
可能的实现方式中,第一设备与第二设备可以基于S521-S525所示的步骤实现远程IMS功能,并基于S526-S529所示的步骤实现IMS通话业务。In a possible implementation, the first device and the second device may implement the remote IMS function based on the steps shown in S521-S525, and implement the IMS call service based on the steps shown in S526-S529.
S521、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送远程IMS切换指令。S521. The distributed communication service module of the first device sends a remote IMS switching instruction to the distributed communication service module of the second device.
其中,该远程IMS切换指令用于指示第一设备远程使用第二设备的IMS通信能力。The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
示例性的,如图8所示,第一设备的分布式通信服务模块可以基于S8001所示的步骤向第二设备的分布式通信服务模块发送远程IMS切换指令。Exemplarily, as shown in FIG8 , the distributed communication service module of the first device may send a remote IMS switching instruction to the distributed communication service module of the second device based on the step shown in S8001 .
S522、第二设备的分布式通信服务模块向第二设备的modem发送远程IMS切换指令。S522: The distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device.
示例性的,如图8所示,第二设备的分布式通信服务模块基于S8002-S8004所示的步 骤向第二设备的modem发送远程IMS切换指令。Exemplarily, as shown in FIG8, the distributed communication service module of the second device is based on the steps shown in S8002-S8004. The step of sending a remote IMS switching instruction to a modem of the second device.
适应的,第二设备的modem基于该远程IMS切换指令获取IMS注册信息。其中,该IMS注册信息使得第一设备可以支持VOLTE或VONR等通话功能。Suitably, the modem of the second device obtains IMS registration information based on the remote IMS switching instruction, wherein the IMS registration information enables the first device to support call functions such as VOLTE or VONR.
S523、第二设备的modem向第二设备的分布式通信服务模块发送IMS注册信息。S523: The modem of the second device sends IMS registration information to the distributed communication service module of the second device.
示例性的,如图8所示,第二设备的modem基于S8005-S8007所示的步骤向第二设备的分布式通信服务模块发送IMS注册信息。Exemplarily, as shown in FIG8 , the modem of the second device sends the IMS registration information to the distributed communication service module of the second device based on the steps shown in S8005 - S8007 .
S524、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送远程IMS切换成功指令(IMS注册信息)。S524: The distributed communication service module of the second device sends a remote IMS switching success instruction (IMS registration information) to the distributed communication service module of the first device.
示例性的,如图8所示,第二设备的分布式通信服务模块基于S8008所示的步骤向第一设备的分布式通信服务模块发送远程IMS切换成功指令。Exemplarily, as shown in FIG8 , the distributed communication service module of the second device sends a remote IMS switching success instruction to the distributed communication service module of the first device based on the step shown in S8008 .
其中,该远程IMS切换成功指令用于指示第二设备允许第一设备远程使用IMS通信能力,该远程IMS切换成功指令中可以包括IMS注册信息等信息。The remote IMS switching success instruction is used to instruct the second device to allow the first device to remotely use the IMS communication capability, and the remote IMS switching success instruction may include information such as IMS registration information.
S525、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送relay模式切换完成指令。S525. The distributed communication service module of the first device sends a relay mode switching completion instruction to the distributed communication service module of the second device.
其中,该relay模式切换完成指令用于指示第二设备完成对第一设备的蜂窝通信能力进行接续的准备工作。The relay mode switching completion instruction is used to instruct the second device to complete preparations for connecting to the cellular communication capability of the first device.
可能的实现方式中,当第一设备接收到IMS主叫通话业务请求时,第一设备与第二设备可以基于S526-S527所示的步骤将IMS主叫通话业务请求转发到第二设备的modem,使得modem可以实现将该主叫通话业务通过网络转发至第三设备。另一种实现中,当第二设备的modem接收到IMS被叫通话业务时,第一设备与第二设备可以基于S528-S529所示的步骤将IMS被叫通话业务转发到第一设备。其中,该IMS主叫通话业务请求中可以包括主叫时的拨号信息,例如电话号码等。In a possible implementation, when the first device receives an IMS outgoing call service request, the first device and the second device can forward the IMS outgoing call service request to the modem of the second device based on the steps shown in S526-S527, so that the modem can forward the outgoing call service to the third device through the network. In another implementation, when the modem of the second device receives an IMS incoming call service, the first device and the second device can forward the IMS incoming call service to the first device based on the steps shown in S528-S529. The IMS outgoing call service request can include dialing information when calling, such as a telephone number.
S526、第一设备的分布式通信服务模块向第二设备的分布式通信服务模块发送IMS主叫通话业务请求。S526: The distributed communication service module of the first device sends an IMS outgoing call service request to the distributed communication service module of the second device.
示例性的,当第一设备接收到用户拨号的操作时,第一设备可以生成IMS主叫通话业务请求,并执行S526所示的步骤。其中,该IMS主叫通话业务请求可以基于图8对应的实施例中S8001所示的步骤由第一设备转发至第二设备。Exemplarily, when the first device receives a dialing operation from the user, the first device may generate an IMS outgoing call service request and execute the steps shown in S526. The IMS outgoing call service request may be forwarded from the first device to the second device based on the steps shown in S8001 in the embodiment corresponding to FIG8.
S527、第二设备的分布式通信服务模块向第二设备的modem发送IMS主叫通话业务请求。S527: The distributed communication service module of the second device sends an IMS outgoing call service request to the modem of the second device.
其中,该IMS主叫通话业务请求可以基于图8对应的实施例中S8002-S8004所示的步骤由第二设备的分布式通信服务模块转发至第二设备的modem。The IMS outgoing call service request may be forwarded by the distributed communication service module of the second device to the modem of the second device based on the steps shown in S8002-S8004 in the embodiment corresponding to FIG. 8 .
适应的,当第二设备的modem接收到该IMS主叫通话业务请求时,第二设备可以将IMS主叫通话业务请求转发到网络侧;并将IMS主叫通话业务请求对应的响应消息基于S8005-S6009等步骤发送至第一设备的电话应用。其中,该IMS主叫通话业务请求对应的响应消息用于指示,IMS通话业务建立成功。Suitably, when the modem of the second device receives the IMS outgoing call service request, the second device may forward the IMS outgoing call service request to the network side, and send a response message corresponding to the IMS outgoing call service request to the phone application of the first device based on steps S8005-S6009, etc. The response message corresponding to the IMS outgoing call service request is used to indicate that the IMS call service is successfully established.
S528、第二设备的modem向第二设备的分布式通信服务模块发送IMS被叫通话业务请求。S528: The modem of the second device sends an IMS called call service request to the distributed communication service module of the second device.
其中,该IMS被叫通话业务请求中可以包括:被叫的电话号码、以及该电话号码对应的所属地等信息。 The IMS called call service request may include: the called telephone number, the location corresponding to the telephone number and other information.
示例性的,如图8所示,该IMS被叫通话业务请求可以基于图8对应的实施例中S8005-S8007所示的步骤由第二设备的modem发送至第二设备的分布式通信服务模块。Exemplarily, as shown in FIG8 , the IMS called call service request may be sent from the modem of the second device to the distributed communication service module of the second device based on the steps shown in S8005-S8007 in the embodiment corresponding to FIG8 .
S529、第二设备的分布式通信服务模块向第一设备的分布式通信服务模块发送IMS被叫通话业务请求。S529: The distributed communication service module of the second device sends an IMS called call service request to the distributed communication service module of the first device.
示例性的,如图8所示,该IMS被叫通话业务请求可以基于图8对应的实施例中S8008所示的步骤由第二设备的分布式通信服务模块发送至第一设备的分布式通信服务模块。Exemplarily, as shown in FIG8 , the IMS called call service request may be sent from the distributed communication service module of the second device to the distributed communication service module of the first device based on the step shown in S8008 in the embodiment corresponding to FIG8 .
进一步的,第一设备的分布式通信服务模块将IMS被叫通话业务请求发送至第一设备的电话应用;当第一设备的电话应用在接收到该IMS被叫通话业务请求时,可以在第一设备所在的界面中显示被叫通话业务对应的电话号码、以及电话号码归属地等信息。Furthermore, the distributed communication service module of the first device sends the IMS called call service request to the telephone application of the first device; when the telephone application of the first device receives the IMS called call service request, it can display the telephone number corresponding to the called call service and information such as the location of the telephone number in the interface where the first device is located.
适应的,当第一设备接收到用户接听该IMS被叫通话业务时,第一设备也可以生成IMS被叫通话业务对应的响应消息,并将该IMS被叫通话业务对应的响应消息发送至第二设备的modem,该IMS被叫通话业务对应的响应消息用于指示IMS通话建立成功。Suitably, when the first device receives a signal that the user has answered the IMS called call service, the first device may also generate a response message corresponding to the IMS called call service, and send the response message corresponding to the IMS called call service to the modem of the second device. The response message corresponding to the IMS called call service is used to indicate that the IMS call is successfully established.
基于此,使得第一设备可以实现在网络信号较弱的场景中利用其他闲置的第二设备对第一设备进行蜂窝通信能力的接续。Based on this, the first device can use other idle second devices to connect the cellular communication capability of the first device in a scenario where the network signal is weak.
在图4对应的实施例的基础上,S402所示的步骤中第一设备远程访问第二设备的modem的方法可以参见图6对应的实施例。On the basis of the embodiment corresponding to FIG. 4 , the method for the first device to remotely access the modem of the second device in step S402 may refer to the embodiment corresponding to FIG. 6 .
示例性的,图6为本申请实施例提供的一种远程访问modem的系统架构示意图。Exemplarily, FIG6 is a schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application.
如图6所示,第一设备的分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,Android系统从上至下分别为:应用程序层,应用程序框架层,以及系统库。第一设备中还可以包括modem。As shown in FIG6 , the layered architecture of the first device divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is respectively divided into: application layer, application framework layer, and system library from top to bottom. The first device may also include a modem.
应用程序层可以包括一系列应用程序包。如图6所示,应用程序包可以包括:电话、导航、蓝牙、以及短信息等应用程序。The application layer may include a series of application packages. As shown in FIG6 , the application package may include applications such as telephone, navigation, Bluetooth, and short message.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。可能的实现方式中,应用程序框架层中还可以包括:分布式通信服务模块、以及电话管理器6016(telephony)等。The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. In a possible implementation, the application framework layer may also include: a distributed communication service module, and a telephone manager 6016 (telephony), etc.
分布式通信服务模块用于支持如远程modem功能、远程SIM功能、和/或远程IMS功能中的通信业务;电话管理器6016用于提供第一设备的蜂窝通信功能,例如通话状态的管理(包括接通,以及挂断等)。The distributed communication service module is used to support communication services such as remote modem function, remote SIM function, and/or remote IMS function; the phone manager 6016 is used to provide cellular communication functions of the first device, such as management of call status (including connection and disconnection, etc.).
分布式通信服务模块中可以包括:分布式蜂窝通信控制模块、远程modem服务模块6011、以及分布式总线6012。The distributed communication service module may include: a distributed cellular communication control module, a remote modem service module 6011 , and a distributed bus 6012 .
分布式蜂窝通信控制模块可以理解为分布式通信服务模块中的总控制模块,用于基于不同的分布式通信业务确定分布式通信服务模块中的不同模块的调用方式。The distributed cellular communication control module can be understood as a general control module in the distributed communication service module, which is used to determine the calling mode of different modules in the distributed communication service module based on different distributed communication services.
远程modem服务模块6011用于将远程modem切换指令转发至第二设备的远程modem服务模块6011,或者也可以将远程modem切换指令对应的响应消息,例如远程modem切换成功指令、驻网信息等数据转发至第一设备的电话管理器6016。其中,该远程modem切换指令用于指示第一设备请求访问第二设备的modem,使得第二设备可以将modem对应的工作模式切换为远程modem模式,便于第一设备随时访问。 The remote modem service module 6011 is used to forward the remote modem switching instruction to the remote modem service module 6011 of the second device, or it can also forward the response message corresponding to the remote modem switching instruction, such as the remote modem switching success instruction, the network information and other data to the telephone manager 6016 of the first device. The remote modem switching instruction is used to instruct the first device to request to access the modem of the second device, so that the second device can switch the working mode corresponding to the modem to the remote modem mode, so that the first device can access it at any time.
分布式总线6012用于建立第一设备的分布式蜂窝通信模块和第二设备的分布式蜂窝通信模块的连接通道,连接第一设备的分布式蜂窝通信模块和第二设备的分布式蜂窝通信模块。The distributed bus 6012 is used to establish a connection channel between the distributed cellular communication module of the first device and the distributed cellular communication module of the second device, and connect the distributed cellular communication module of the first device and the distributed cellular communication module of the second device.
可能的实现方式中,分布式总线6012可以负责近距离、局域网、或者远场同账号下的设备发现、自连接、鉴权管理等。该分布式总线6012还可以负责不同通道的调度管理、服务质量体验评估等,对应用程序层透明。该分布式总线6012还可以负责通道的保持,提供低功耗待机机制。还可以负责控制面信令(例如本申请实施例提及的远程modem切换指令、远程modem切换指令对应的响应消息)的转发/响应,以及加密封装等功能。In a possible implementation, the distributed bus 6012 can be responsible for device discovery, self-connection, authentication management, etc. under the same account in a short distance, a local area network, or a far field. The distributed bus 6012 can also be responsible for the scheduling management of different channels, service quality experience evaluation, etc., which is transparent to the application layer. The distributed bus 6012 can also be responsible for the maintenance of the channel and provide a low-power standby mechanism. It can also be responsible for the forwarding/response of control plane signaling (such as the remote modem switching instruction mentioned in the embodiment of the present application, the response message corresponding to the remote modem switching instruction), as well as encryption encapsulation and other functions.
本申请实施例中,在分布式总线6012负责远场同账号下的设备认证、设备状态上报的场景中,该分布式总线6012也可以称为云服务模块。例如,云服务模块可以用于将设备认证对应的数据、以及设备状态对应的数据等发送至通信业务云;或者,云服务模块还可以用于各设备向推送(push)云查询数据。In the embodiment of the present application, in the scenario where the distributed bus 6012 is responsible for device authentication and device status reporting under the same account in the far field, the distributed bus 6012 can also be called a cloud service module. For example, the cloud service module can be used to send data corresponding to device authentication and data corresponding to device status to the communication service cloud; or, the cloud service module can also be used for each device to push cloud query data.
系统库可以包括硬件抽象层(hardware abstraction layer,HAL),HAL层中可以包括无线接口层(radio interface layer,RIL)。The system library may include a hardware abstraction layer (HAL), and the HAL layer may include a radio interface layer (RIL).
可能的实现方式中,RIL中可以包括无线电接口层守护进程(radio interface layer demon,RILD)等(图6中未示出)。In a possible implementation, the RIL may include a radio interface layer daemon (RILD) and the like (not shown in FIG. 6 ).
可能的实现方式中,第一设备中还可以设置有modem,该第一设备中的modem连接有SIM硬卡。In a possible implementation, a modem may also be provided in the first device, and the modem in the first device is connected to a SIM card.
可以理解的是,第二设备的软件架构与图6对应的实施例中的第一设备的软件架构类似,且软件架构中的各功能的作用可以与图6对应的实施例中描述的功能类似。It can be understood that the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to Figure 6, and the functions of each function in the software architecture can be similar to the functions described in the embodiment corresponding to Figure 6.
其中,第二设备中的远程modem服务模块6014用于将第一设备的远程modem服务模块6011发送的远程modem切换指令发送至第二设备的RIL,或者也可以将第二设备的RIL返回的远程modem切换指令对应的响应消息返回至第一设备的远程modem服务模块6011。Among them, the remote modem service module 6014 in the second device is used to send the remote modem switching instruction sent by the remote modem service module 6011 of the first device to the RIL of the second device, or it can also return the response message corresponding to the remote modem switching instruction returned by the RIL of the second device to the remote modem service module 6011 of the first device.
第二设备的RIL用于将第二设备的远程modem服务模块6014发送的远程modem切换指令发送至第二设备的modem6015,或者也可以将modem6015返回的远程modem切换指令对应的响应消息发送至第二设备的远程modem服务模块6014。The RIL of the second device is used to send the remote modem switching instruction sent by the remote modem service module 6014 of the second device to the modem 6015 of the second device, or to send the response message corresponding to the remote modem switching instruction returned by the modem 6015 to the remote modem service module 6014 of the second device.
结合图6对应的实施例,在第一设备向第二设备发起relay模式切换指令后,第二设备可以向第一设备返回relay模式切换指令对应的响应消息。具体的,第一设备的分布式蜂窝通信控制模块可以确定向第二设备发起relay模式切换指令,例如第一设备的分布式通信服务模块可以利用第一设备的分布式总线6012、以及第二设备的分布式总线6013将该relay模式切换指令发送至第二设备的分布式通信服务模块。其中,该relay模式切换指令对应的响应消息可以用于指示第二设备接收到relay模式切换指令。In conjunction with the embodiment corresponding to FIG6 , after the first device initiates a relay mode switching instruction to the second device, the second device may return a response message corresponding to the relay mode switching instruction to the first device. Specifically, the distributed cellular communication control module of the first device may determine to initiate a relay mode switching instruction to the second device. For example, the distributed communication service module of the first device may use the distributed bus 6012 of the first device and the distributed bus 6013 of the second device to send the relay mode switching instruction to the distributed communication service module of the second device. Among them, the response message corresponding to the relay mode switching instruction may be used to indicate that the second device has received the relay mode switching instruction.
可能的实现方式中,第二设备的分布式通信服务模块也可以将该relay模式切换指令对应的响应消息返回至第一设备的分布式通信服务模块。进一步的,第二设备以及第一设备可以基于S6001-S6008所示的步骤,使得第一设备远程访问第二设备的modem。In a possible implementation, the distributed communication service module of the second device may also return a response message corresponding to the relay mode switching instruction to the distributed communication service module of the first device. Further, the second device and the first device may enable the first device to remotely access the modem of the second device based on the steps shown in S6001-S6008.
S6001、第一设备的远程modem服务模块6011利用分布式总线6012以及分布式总线6013,将远程modem切换指令发送至第二设备的远程modem服务模块6014。S6001 , the remote modem service module 6011 of the first device sends a remote modem switching instruction to the remote modem service module 6014 of the second device using the distributed bus 6012 and the distributed bus 6013 .
S6002、远程modem服务模块6014将该远程modem切换指令发送至RIL。S6002. The remote modem service module 6014 sends the remote modem switching instruction to the RIL.
S6003、RIL将该远程modem切换指令发送至modem6015。 S6003, RIL sends the remote modem switching instruction to modem6015.
适应的,modem6015可以接收到该RIL发送的modem切换指令,并生成该远程modem切换指令对应的响应消息,该远程modem切换指令对应的响应消息可以为:远程modem切换成功指令,该远程modem切换成功指令用于指示第二设备允许第一设备远程访问modem。Suitably, modem6015 can receive the modem switching instruction sent by the RIL and generate a response message corresponding to the remote modem switching instruction. The response message corresponding to the remote modem switching instruction can be: a remote modem switching success instruction, and the remote modem switching success instruction is used to instruct the second device to allow the first device to remotely access the modem.
S6004、modem6015将远程modem切换成功指令发送至RIL。S6004 and modem6015 send the remote modem switching success instruction to the RIL.
S6005、RIL将远程modem切换成功指令发送至远程modem服务模块6014。S6005. RIL sends a remote modem switching success instruction to the remote modem service module 6014.
S6006、远程modem服务模块6014利用分布式总线6013、以及分布式总线6012,将该远程modem切换成功指令发送至第一设备的远程modem服务模块6011。S6006. The remote modem service module 6014 uses the distributed bus 6013 and the distributed bus 6012 to send the remote modem switching success instruction to the remote modem service module 6011 of the first device.
S6007、远程modem服务模块6011将该远程modem切换成功指令发送至电话管理器6016。S6007. The remote modem service module 6011 sends the remote modem switching success instruction to the telephone manager 6016.
S6008、电话管理器6016将该远程modem切换成功指令返回至应用层。S6008. The telephone manager 6016 returns the remote modem switching success instruction to the application layer.
进一步的,应用层可以基于该远程modem切换成功指令,在第一设备中显示第二设备对应的网络状态、以及第二设备对应的无卡状态等。Furthermore, the application layer may display the network status corresponding to the second device and the card-free status corresponding to the second device in the first device based on the remote modem switching success instruction.
可能的实现方式中,在第一设备的应用层接收到远程modem切换成功指令的情况下,后续当第一设备需要访问第二设备的modem时,第一设备的应用层可以向电话管理器6016下发相应的蜂窝通信业务的请求,使得该蜂窝通信业务的请求可以由第一设备的电话管理器6016发送至第一设备的远程modem服务模块6011;进一步的,第一设备基于S6001-S6003所示的步骤将该蜂窝通信业务的请求发送至第二设备的modem6015。适应的,第二设备的modem6015可以生成该蜂窝通信业务的请求对应的响应消息,并基于S6004-S6008所示的步骤将该蜂窝通信业务的请求对应的响应消息返回至第一设备的应用层。In a possible implementation, when the application layer of the first device receives the remote modem switching success instruction, when the first device needs to access the modem of the second device later, the application layer of the first device can send a corresponding cellular communication service request to the phone manager 6016, so that the cellular communication service request can be sent by the phone manager 6016 of the first device to the remote modem service module 6011 of the first device; further, the first device sends the cellular communication service request to the modem 6015 of the second device based on the steps shown in S6001-S6003. Suitably, the modem 6015 of the second device can generate a response message corresponding to the cellular communication service request, and return the response message corresponding to the cellular communication service request to the application layer of the first device based on the steps shown in S6004-S6008.
其中,蜂窝通信业务的请求是用于请求执行应用相关的蜂窝通信业务功能的请求,例如短信应用触发的短信发送请求、电话应用触发的电话拨打请求、电话接听请求等。蜂窝通信业务的请求对应的响应消息是Modem处理了蜂窝通信业务的请求之后的处理结果数据,例如若蜂窝通信业务的请求为短信发送请求,那么该蜂窝通信业务的请求对应的响应消息可以是说明了短信是否发送成功、短信发送失败的具体原因等。The request for cellular communication service is a request for executing a cellular communication service function related to an application, such as a text message sending request triggered by a text message application, a phone call making request triggered by a phone application, a phone call answering request, etc. The response message corresponding to the request for cellular communication service is the processing result data after the modem processes the request for cellular communication service. For example, if the request for cellular communication service is a text message sending request, the response message corresponding to the request for cellular communication service may be a message indicating whether the text message is sent successfully, the specific reason for the failure of the text message sending, etc.
可以理解的是,第一设备的远程modem服务模块6011可以通过创建接口的代理对象的方式,实现将第一设备的电话管理器6016所接收到的蜂窝通信业务的请求不再通过接口发送给第一设备的modem,而是通过接口的代理对象将蜂窝通信业务的请求转发给第二设备的远程modem服务模块6014。进而,第二设备的远程modem服务模块6014就能够将蜂窝通信业务的请求发送至第二设备的modem6015进行处理,帮助第一设备使用蜂窝通信能力。适应的,第二设备的远程modem服务模块6014创建接口的代理对象,该接口的代理对象用于将蜂窝通信业务的请求对应的响应消息转发至第一设备的远程modem服务模块6011。It is understandable that the remote modem service module 6011 of the first device can create a proxy object of the interface so that the request for the cellular communication service received by the phone manager 6016 of the first device is no longer sent to the modem of the first device through the interface, but forwards the request for the cellular communication service to the remote modem service module 6014 of the second device through the proxy object of the interface. Then, the remote modem service module 6014 of the second device can send the request for the cellular communication service to the modem 6015 of the second device for processing, thereby helping the first device to use the cellular communication capability. Suitably, the remote modem service module 6014 of the second device creates a proxy object of the interface, and the proxy object of the interface is used to forward the response message corresponding to the request for the cellular communication service to the remote modem service module 6011 of the first device.
基于此,第一设备可以基于图6对应的实施例实现对于第二设备的modem的访问。Based on this, the first device can access the modem of the second device based on the embodiment corresponding to FIG. 6 .
在图4对应的实施例的基础上,S403所示的步骤中第二设备远程访问第一设备的SIM卡的过程可以参见图7对应的实施例。On the basis of the embodiment corresponding to FIG. 4 , the process of the second device remotely accessing the SIM card of the first device in step S403 may refer to the embodiment corresponding to FIG. 7 .
示例性的,图7为本申请实施例提供的一种远程访问SIM卡的系统架构示意图。Exemplarily, FIG7 is a schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application.
如图7所示,第一设备的分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统从上至下分别为应用程序层,应用程序框架层,HAL。第一设备中还可以包括modem。 As shown in FIG. 7 , the layered architecture of the first device divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided from top to bottom into an application layer, an application framework layer, and a HAL. The first device may also include a modem.
针对图7中的第一设备,应用程序层与应用程序框架层之间可以通过常规的接口进行数据交互;应用程序框架层与RIL之间可以通过安卓原生的硬件抽象层接口定义语言(hardware abstraction layer interface definition language,HIDL)接口、以及扩展的远程SIM(remote SIM,rSIM)HIDL接口7104进行数据交互;RIL与Modem之间可以通过rSIM接口7106以及常规的接口等进行数据交互。For the first device in Figure 7, the application layer and the application framework layer can exchange data through conventional interfaces; the application framework layer and the RIL can exchange data through the Android native hardware abstraction layer interface definition language (HIDL) interface and the extended remote SIM (rSIM) HIDL interface 7104; the RIL and the Modem can exchange data through the rSIM interface 7106 and conventional interfaces.
其中,应用程序层可以包括一系列应用程序。如图7所示,应用程序包以包括:电话、导航、蓝牙、以及短信息等应用程序。应用程序框架层为应用程序层的应用程序提供应用编程接口API和编程框架。应用程序框架层包括一些预先定义的函数。The application layer may include a series of applications. As shown in FIG7 , the application package may include applications such as phone, navigation, Bluetooth, and short message. The application framework layer provides an application programming interface API and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
如图7所示,应用程序框架层可以包括电话管理器(telephony),以及分布式通信服务模块等。其中,电话管理器用于为第一设备提供与SIM卡相关的功能。例如,电话管理器用于提供通话状态的管理(包括接通,以及挂断等)。分布式通信服务模块用于实现分布式通信,例如分布式通信服务模块可以用于将第一设备的SIM卡转移到第二设备中使用。该分布式通信服务模块中可以包括:分布式蜂窝通信控制模块、远程SIM服务模块7103,该远程SIM服务模块7103用于实现本申请实施例中描述的远程SIM功能。其中,该分布式蜂窝通信控制模块的功能可以参见图6对应的实施例中的描述,在此不再赘述。As shown in Figure 7, the application framework layer may include a telephony manager, a distributed communication service module, etc. Among them, the telephony manager is used to provide SIM card-related functions for the first device. For example, the telephony manager is used to provide call status management (including connecting, hanging up, etc.). The distributed communication service module is used to implement distributed communication. For example, the distributed communication service module can be used to transfer the SIM card of the first device to the second device for use. The distributed communication service module may include: a distributed cellular communication control module, a remote SIM service module 7103, and the remote SIM service module 7103 is used to implement the remote SIM function described in the embodiment of the present application. Among them, the function of the distributed cellular communication control module can be found in the description in the embodiment corresponding to Figure 6, which will not be repeated here.
该远程SIM服务模块7103中可以包括:远程SIM访问接口适配模块、SIM连接管理模块、SIM指令编解码模块、以及RIL接口代理模块。The remote SIM service module 7103 may include: a remote SIM access interface adaptation module, a SIM connection management module, a SIM instruction encoding and decoding module, and a RIL interface proxy module.
远程SIM访问接口适配模块:可以用于适配不同的芯片厂商RIL模块的远程SIM访问、以及控制接口。可以理解的是,不同芯片厂商对于rSIM HIDL接口7104的定义不同,其中携带消息的数据结构也可能不同,因此该远程SIM访问接口适配模块可以实现远程SIM切换指令(或者远程SIM请求等)、以及SIM卡信息的正常调用。可能的实现方式中,该远程SIM访问接口适配模块也可以设置在RIL层中的远程SIM RIL模块7105中,其作用与上述类似,在此不再赘述。Remote SIM access interface adapter module: can be used to adapt the remote SIM access and control interface of RIL modules of different chip manufacturers. It is understandable that different chip manufacturers have different definitions of rSIM HIDL interface 7104, and the data structure of the messages carried therein may also be different. Therefore, the remote SIM access interface adapter module can implement remote SIM switching instructions (or remote SIM requests, etc.) and normal calls of SIM card information. In a possible implementation, the remote SIM access interface adapter module can also be set in the remote SIM RIL module 7105 in the RIL layer. Its function is similar to the above and will not be repeated here.
其中,该远程SIM切换指令用于指示第二设备远程访问第一设备中的SIM卡,并获取第一设备中的SIM卡信息;该远程SIM请求可以为用于访问第一设备的SIM卡的业务请求。The remote SIM switching instruction is used to instruct the second device to remotely access the SIM card in the first device and obtain the SIM card information in the first device; the remote SIM request may be a service request for accessing the SIM card of the first device.
SIM连接管理模块:用于实现第一设备与第二设备之间的设备连接功能。SIM指令编解码模块:用于实现对于要发送的SIM卡信息等的编码功能、以及对于接收到远程SIM切换指令等的解码功能。RIL接口代理模块:用于与rSIM HIDL接口7104进行对接,实现对于数据面消息以及控制面消息的接收或转发等功能。SIM connection management module: used to implement the device connection function between the first device and the second device. SIM instruction encoding and decoding module: used to implement the encoding function of the SIM card information to be sent, and the decoding function of the received remote SIM switching instruction. RIL interface proxy module: used to connect with the rSIM HIDL interface 7104 to implement the functions of receiving or forwarding data plane messages and control plane messages.
分布式总线7111用于建立第一设备的远程SIM服务模块7103和第二设备的远程SIM服务模块7102之间的连接通道,连接第一设备的远程SIM服务模块7103和第二设备的远程SIM服务模块7102。在一些实施例中,分布式总线7111可以负责近距离、局域网、或者远场同账号下的设备发现、自连接、鉴权管理等。分布式总线7111还可以负责不同通道的调度管理、服务质量体验评估等,对应用程序层透明。分布式总线7111还可以负责通道的保持,提供低功耗待机机制等。The distributed bus 7111 is used to establish a connection channel between the remote SIM service module 7103 of the first device and the remote SIM service module 7102 of the second device, and connect the remote SIM service module 7103 of the first device and the remote SIM service module 7102 of the second device. In some embodiments, the distributed bus 7111 can be responsible for device discovery, self-connection, authentication management, etc. under the same account in a short distance, a local area network, or a far field. The distributed bus 7111 can also be responsible for the scheduling management of different channels, service quality experience evaluation, etc., which is transparent to the application layer. The distributed bus 7111 can also be responsible for maintaining the channel, providing a low-power standby mechanism, etc.
可能的实现方式中,应用程序框架层中还可以包括:窗口管理器、通知管理器、内容管理器、视图系统以及资源管理器等(图7中未示出),本申请实施例中对此不做限定。In a possible implementation, the application framework layer may also include: a window manager, a notification manager, a content manager, a view system, and a resource manager, etc. (not shown in FIG. 7 ), which is not limited in the embodiments of the present application.
HAL中包括RIL,RIL负责提供电话服务,是上层应用以及下层modem之间的中间层,负责数据的可靠传输。该RIL中可以包括RILD,该RILD中可以包括:原生RIL服务模块(或 称标准RIL服务模块)、以及远程SIM RIL模块7105。HAL includes RIL, which is responsible for providing telephone services. It is the middle layer between the upper layer application and the lower layer modem and is responsible for reliable data transmission. The RIL may include RILD, which may include: native RIL service module (or called standard RIL service module), and remote SIM RIL module 7105.
其中,原生RIL服务模块:原生RIL服务模块和modem之间的通信接口可以是常规的RIL服务模块和modem之间的通信接口。远程SIM RIL模块7105:用于将modem经由rSIM接口7106发送的远程SIM请求对应的响应消息,如SIM卡信息等,通过rSIM HIDL接口7104转发至远程SIM服务模块7103;以及将该远程SIM服务模块7103经由rSIM HIDL接口7104发送的远程SIM切换指令,通过rSIM接口7106转发至modem。Wherein, native RIL service module: the communication interface between the native RIL service module and the modem can be the communication interface between the conventional RIL service module and the modem. Remote SIM RIL module 7105: used to forward the response message corresponding to the remote SIM request sent by the modem via the rSIM interface 7106, such as SIM card information, to the remote SIM service module 7103 via the rSIM HIDL interface 7104; and forward the remote SIM switching instruction sent by the remote SIM service module 7103 via the rSIM HIDL interface 7104 to the modem via the rSIM interface 7106.
远程SIM RIL模块7105中可以包括:rSIM指令处理模块。该rSIM指令处理模块用于对远程SIM切换指令进行消息处理。例如,该rSIM指令处理模块用于对modem发送的远程SIM请求对应的响应消息转换为rSIM HIDL接口7104可以处理的消息类型;或者,该rSIM指令处理模块还用于对经由rSIM HIDL接口7104传输的远程SIM切换指令进行解析,并转化为modem可以识别的消息类型。The remote SIM RIL module 7105 may include: an rSIM instruction processing module. The rSIM instruction processing module is used to process the remote SIM switching instruction. For example, the rSIM instruction processing module is used to convert the response message corresponding to the remote SIM request sent by the modem into a message type that can be processed by the rSIM HIDL interface 7104; or, the rSIM instruction processing module is also used to parse the remote SIM switching instruction transmitted via the rSIM HIDL interface 7104 and convert it into a message type that can be recognized by the modem.
modem中包括:SIM卡模块、本地SIM卡模块、远程SIM卡模块7107、以及SIM卡槽驱动7108等。其中,该SIM卡槽驱动7108可以连接有SIM硬卡7109。The modem includes: a SIM card module, a local SIM card module, a remote SIM card module 7107, and a SIM card slot driver 7108. The SIM card slot driver 7108 can be connected to a SIM hard card 7109.
SIM卡模块:用于提供网络注册、鉴权等以及与SIM卡信息相关的功能。该SIM卡模块可以支持SIM卡的两种调用模式,如本地SIM卡模块提供的本地SIM卡调用模式、以及远程SIM卡模块7107提供的远程SIM卡调用模式。本地SIM卡模块:用于使用SIM卡槽驱动7108实现对于本地SIM卡信息的访问。远程SIM卡模块7107:用于调用远程SIM卡,实现对于远程SIM卡信息的访问。可能的实现方式中,第一设备的modem中可以设置有SIM卡槽驱动7108以及SIM硬卡7109。SIM card module: used to provide network registration, authentication and other functions related to SIM card information. The SIM card module can support two calling modes of the SIM card, such as the local SIM card calling mode provided by the local SIM card module and the remote SIM card calling mode provided by the remote SIM card module 7107. Local SIM card module: used to use the SIM card slot driver 7108 to access the local SIM card information. Remote SIM card module 7107: used to call the remote SIM card to access the remote SIM card information. In a possible implementation, the modem of the first device may be provided with a SIM card slot driver 7108 and a SIM hard card 7109.
可以理解的是,第二设备的软件架构与图7对应的实施例中的第一设备的软件架构类似,且软件架构中的各功能的作用可以与图7对应的实施例中描述的功能类似,在此不再赘述。其中,第二设备的modem中可以设置有SIM硬卡或者也可以不设置SIM硬件,本申请实施例中对此不做限定。It is understandable that the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to FIG7 , and the functions of the functions in the software architecture can be similar to the functions described in the embodiment corresponding to FIG7 , which will not be described in detail here. Among them, the modem of the second device may be provided with a SIM card or may not be provided with SIM hardware, which is not limited in the embodiments of the present application.
结合图7对应的实施例,第二设备以及第一设备可以基于S7001-S7010所示的步骤,使得第二设备远程访问第一设备的SIM卡,并且第一设备向第二设备返回SIM卡信息。In combination with the embodiment corresponding to FIG. 7 , the second device and the first device may be based on the steps shown in S7001-S7010, so that the second device remotely accesses the SIM card of the first device, and the first device returns the SIM card information to the second device.
可以理解的是,第二设备的分布式蜂窝通信控制模块可以确定向第一设备发送远程SIM切换指令,例如第二设备的分布式蜂窝通信控制模块可以指示远程SIM服务模块7102向第一设备的远程SIM服务模块7103发送远程SIM切换指令。It can be understood that the distributed cellular communication control module of the second device can determine to send a remote SIM switching instruction to the first device. For example, the distributed cellular communication control module of the second device can instruct the remote SIM service module 7102 to send a remote SIM switching instruction to the remote SIM service module 7103 of the first device.
S7001、第二设备的远程SIM服务模块7102利用第二设备的分布式总线7110、以及第一设备的分布式总线7111,将远程SIM切换指令发送至第一设备的远程SIM服务模块7103。S7001 , the remote SIM service module 7102 of the second device sends a remote SIM switching instruction to the remote SIM service module 7103 of the first device by using the distributed bus 7110 of the second device and the distributed bus 7111 of the first device.
可能的实现方式中,第二设备的远程SIM服务模块也可以将远程SIM切换指令发送至第二设备的modem。适应的,第二设备中的modem可以实现将SIM卡模式切换为远程客户模式,该远程客户模式用于指示第二设备不通过本地SIM卡槽读取SIM卡信息,而是通过rSIM接口等远程读取第一设备的SIM卡信息。In a possible implementation, the remote SIM service module of the second device may also send a remote SIM switching instruction to the modem of the second device. Suitably, the modem in the second device may switch the SIM card mode to a remote client mode, which is used to instruct the second device not to read the SIM card information through the local SIM card slot, but to remotely read the SIM card information of the first device through the rSIM interface, etc.
S7002、第一设备的远程SIM服务模块7103将远程SIM切换指令通过rSIM HIDL接口7104发送至远程SIM RIL模块7105。S7002. The remote SIM service module 7103 of the first device sends the remote SIM switching instruction to the remote SIM RIL module 7105 through the rSIM HIDL interface 7104.
S7003、远程SIM RIL模块7105将远程SIM切换指令通过rSIM接口7106发送至modem中的远程SIM卡模块7107。S7003, the remote SIM RIL module 7105 sends the remote SIM switching instruction to the remote SIM card module 7107 in the modem through the rSIM interface 7106.
适应的,在远程SIM卡模块7107接收到远程SIM切换指令时,可以将第一设备的SIM卡 模式切换至远程服务模块,该远程服务模块用于指示第一设备允许将第一设备的SIM卡共享给第二设备使用。进一步的,远程SIM卡模块7107可以通过SIM卡槽驱动7108获取SIM硬卡7109中的SIM卡信息,并将获取到的SIM卡信息通过S7004-S7008所示的步骤发送至第二设备的modem。Suitably, when the remote SIM card module 7107 receives the remote SIM switching instruction, the SIM card of the first device can be The mode is switched to the remote service module, which is used to instruct the first device to allow the SIM card of the first device to be shared with the second device. Further, the remote SIM card module 7107 can obtain the SIM card information in the SIM hard card 7109 through the SIM card slot driver 7108, and send the obtained SIM card information to the modem of the second device through the steps shown in S7004-S7008.
可以理解的是,该SIM卡信息可以使得第二设备进行蜂窝网络的注册。例如,该SIM卡信息中可以包括:国际移动用户标识(international mobile subscriber identity,IMSI)、移动用户的手机号、网络标识、以及密钥等信息。It is understandable that the SIM card information can enable the second device to register with the cellular network. For example, the SIM card information may include: international mobile subscriber identity (IMSI), mobile phone number of the mobile user, network identification, key and other information.
S7004、远程SIM卡模块7107将SIM卡信息通过rSIM接口7106发送至远程SIM RIL模块7105。S7004, the remote SIM card module 7107 sends the SIM card information to the remote SIM RIL module 7105 through the rSIM interface 7106.
S7005、远程SIM RIL模块7105将SIM卡信息通过rSIM HIDL接口7104发送至远程SIM服务模块7103。S7005, the remote SIM RIL module 7105 sends the SIM card information to the remote SIM service module 7103 through the rSIM HIDL interface 7104.
S7006、远程SIM服务模块7103利用第一设备的分布式总线7111、以及第二设备的分布式总线7110将SIM卡信息发送至第二设备的远程SIM服务模块7102。S7006. The remote SIM service module 7103 sends the SIM card information to the remote SIM service module 7102 of the second device by using the distributed bus 7111 of the first device and the distributed bus 7110 of the second device.
S7007、第二设备的远程SIM服务模块7102将SIM卡信息通过rSIM HIDL接口7116发送至远程SIM RIL模块7115。S7007. The remote SIM service module 7102 of the second device sends the SIM card information to the remote SIM RIL module 7115 through the rSIM HIDL interface 7116.
S7008、远程SIM RIL模块7115将SIM卡信息通过rSIM接口7114发送至modem中的远程SIM卡模块7113。S7008, remote SIM RIL module 7115 sends the SIM card information to the remote SIM card module 7113 in the modem through the rSIM interface 7114.
可能的实现方式中,第二设备的modem中的SIM卡模块7112可以利用该SIM卡信息注册蜂窝网络,并在将驻网信息基于S7009-S7010所示的步骤、以及S7001-S7003所示的步骤中描述的通路返回至第一设备的modem。In a possible implementation, the SIM card module 7112 in the modem of the second device can use the SIM card information to register the cellular network, and return the network information to the modem of the first device based on the path described in the steps shown in S7009-S7010 and the steps shown in S7001-S7003.
S7009、第二设备的modem将驻网信息通过rSIM接口7114发送至远程SIM RIL模块7115。S7009. The modem of the second device sends the network information to the remote SIM RIL module 7115 through the rSIM interface 7114.
S7010、远程SIM RIL模块7115通过rSIM HIDL接口7116将驻网信息发送至第二设备的远程SIM服务模块7102。S7010, the remote SIM RIL module 7115 sends the network information to the remote SIM service module 7102 of the second device through the rSIM HIDL interface 7116.
进一步的,第二设备的远程SIM服务模块7102可以基于S7001-S7003所示的步骤中描述的通路,将该驻网信息返回至第一设备的modem,本申请实施例中对此不再赘述。Furthermore, the remote SIM service module 7102 of the second device may return the network information to the modem of the first device based on the path described in steps S7001-S7003, which will not be described in detail in the embodiments of the present application.
可以理解的是,在第一设备与第二设备基于图7对应的实施例中描述的步骤完成远程SIM卡切换的情况下,第二设备可以基于远程SIM请求,如复位应答(ATR)请求、以及应用协议数据单元(application protocol data unit,APDU)请求等,访问第一设备中的SIM卡。其中,该ATR请求以及APDU请求均可以基于S7009-S7010、以及S7001-S7003所示的通路发送至第一设备的modem。It can be understood that, when the first device and the second device complete the remote SIM card switching based on the steps described in the embodiment corresponding to FIG. 7 , the second device can access the SIM card in the first device based on a remote SIM request, such as a reset answer (ATR) request and an application protocol data unit (APDU) request. The ATR request and the APDU request can be sent to the modem of the first device based on the paths shown in S7009-S7010 and S7001-S7003.
适应的,第一设备也可以将远程SIM请求对应的响应消息,如ATR请求对应的ATR响应、以及APDU请求对应的APDU响应等数据,通过S7004-S7008所示的步骤返回至第二设备的modem。其中,ATR请求、ATR响应、APDU请求、以及APDU结果均可以为SIM卡通信协议中常用的请求或响应方式,在此不再赘述。Suitably, the first device may also return the response message corresponding to the remote SIM request, such as the ATR response corresponding to the ATR request and the APDU response corresponding to the APDU request, to the modem of the second device through the steps shown in S7004-S7008. Among them, the ATR request, the ATR response, the APDU request, and the APDU result may all be the request or response methods commonly used in the SIM card communication protocol, which will not be described in detail here.
在图4对应的实施例的基础上,S404所示的步骤中,第二设备基于远程IMS功能将第二设备的IMS通信能力转移给第一设备使用的过程可以参见图8对应的实施例。On the basis of the embodiment corresponding to FIG. 4 , in the step shown in S404 , the process in which the second device transfers the IMS communication capability of the second device to the first device for use based on the remote IMS function can refer to the embodiment corresponding to FIG. 8 .
示例性的,图8为本申请实施例提供的一种远程使用IMS功能的系统架构示意图。Exemplarily, FIG8 is a schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application.
如图8所示,第一设备的分层架构将软件分成若干个层,每一层都有清晰的角色和分 工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,IMS APK、以及HAL层。第一设备中还可以包括modem。As shown in FIG8 , the layered architecture of the first device divides the software into several layers, each with clear roles and divisions. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are application layer, application framework layer, IMS APK, and HAL layer from top to bottom. The first device may also include a modem.
应用程序层中包含的内容可以参见图6(或图7)对应的实施例中的应用程序层中的内容,在此不再赘述。The contents included in the application layer can refer to the contents in the application layer in the embodiment corresponding to FIG. 6 (or FIG. 7 ), which will not be described in detail here.
应用程序框架层中可以包括电话管理器、以及分布式通信服务模块。其中,电话管理器中可以包括:IMS电话模块、以及IMS管理模块(IMS manager)。IMS电话模块可以用于对外提供接口;IMS管理模块用于提供与IMS服务模块交互的API,管理IMS相关功能;并且该IMS管理模块也可以为IMS服务模块的调用者。其中,该IMS管理模块可以理解为安卓系统架构中指定的模块。The application framework layer may include a phone manager and a distributed communication service module. The phone manager may include: an IMS phone module and an IMS management module (IMS manager). The IMS phone module may be used to provide an interface to the outside world; the IMS management module is used to provide an API for interacting with the IMS service module and manage IMS related functions; and the IMS management module may also be the caller of the IMS service module. The IMS management module may be understood as a module specified in the Android system architecture.
分布式服务模块中可以包括:远程IMS服务模块8101。其中,该远程IMS服务模块8101中可以包括:IMS呼叫会话代理(IMS call session proxy)模块、以及SIM呼叫会话监听代理(IMS call session listener proxy)模块。第一设备的IMS呼叫会话代理模块可以用于将本地的远程IMS切换指令(或IMS业务请求等)发送第二设备的IMS呼叫会话代理模块。第一设备的SIM呼叫会话监听代理模块用于将由第二设备发送来的远程IMS切换成功指令(或IMS业务请求对应的响应消息)返回至电话管理器中的IMS管理模块。The distributed service module may include: a remote IMS service module 8101. The remote IMS service module 8101 may include: an IMS call session proxy module and a SIM call session listener proxy module. The IMS call session proxy module of the first device may be used to send a local remote IMS switching instruction (or an IMS service request, etc.) to the IMS call session proxy module of the second device. The SIM call session listener proxy module of the first device is used to return the remote IMS switching success instruction (or a response message corresponding to the IMS service request) sent by the second device to the IMS management module in the phone manager.
该分布式服务模块中还可以包括分布式蜂窝通信控制模块、以及分布式总线8103等,该分布式蜂窝通信控制模块、以及分布式总线8103的作用可以参见图6(或图7)对应的实施例中的描述,在此不再赘述。第一设备中还可以包括:IMS APK,该IMS APK中可以包括IMS服务模块,IMS服务模块提供与IMS相关的服务,该IMS服务模块用于与modem侧或音频侧等交互实现IMS相关功能。The distributed service module may also include a distributed cellular communication control module and a distributed bus 8103. The functions of the distributed cellular communication control module and the distributed bus 8103 can be found in the description of the embodiment corresponding to FIG. 6 (or FIG. 7), which will not be described here. The first device may also include: an IMS APK, which may include an IMS service module. The IMS service module provides services related to the IMS, and the IMS service module is used to interact with the modem side or the audio side to implement IMS related functions.
HAL中可以包括:音频HAL8105、以及音频流转发模块8106。其中,音频HAL8105用于根据远程IMS服务模块发送的用于指示通道切换的指令,实现对于音频数据的转发方式的切换,例如音频HAL可以将音频数据的转发方式由本地模式切换至远程模式。进一步的,音频HAL8105可以将用于指示通道切换的指令发送至音频流转发模块8106,使得音频流转发模块8106可以对音频数据的传输通道进行切换,实现将接收到的语音包远程转发至第二设备。The HAL may include: an audio HAL 8105, and an audio stream forwarding module 8106. The audio HAL 8105 is used to switch the forwarding mode of the audio data according to the instruction for indicating the channel switching sent by the remote IMS service module. For example, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. Further, the audio HAL 8105 can send the instruction for indicating the channel switching to the audio stream forwarding module 8106, so that the audio stream forwarding module 8106 can switch the transmission channel of the audio data, and realize the remote forwarding of the received voice packet to the second device.
可能的实现方式中,第二设备的HAL中可以包括:音频HAL8108、音频流转发模块8107、以及RIL,该RIL可以实现对于IMS服务模块以及modem之间的数据转发。该第二设备中的音频HAL8108的作用可以与第一设备中的音频HAL8105的作用类似,该第二设备中的音频流转发模块8107的作用可以与第一设备中的音频流转发模块8106的作用类似,在此不再赘述。In a possible implementation, the HAL of the second device may include: an audio HAL 8108, an audio stream forwarding module 8107, and a RIL, and the RIL may implement data forwarding between the IMS service module and the modem. The function of the audio HAL 8108 in the second device may be similar to that of the audio HAL 8105 in the first device, and the function of the audio stream forwarding module 8107 in the second device may be similar to that of the audio stream forwarding module 8106 in the first device, which will not be described in detail here.
音频流转发模块8106可以实现对于语音包的转发。例如,第二设备中的音频流转发模块8107可以用于将第二设备的modem从网络侧接收到的语音包转发给第一设备,使得第一设备可以基于扬声器对第二设备发送的语音包进行播放。或者,第一设备中的音频流转发模块8106还可以用于将基于麦克风接收到的语音包转发给第二设备的modem,并由第二设备的modem转发到网络侧。The audio stream forwarding module 8106 can realize the forwarding of voice packets. For example, the audio stream forwarding module 8107 in the second device can be used to forward the voice packets received by the modem of the second device from the network side to the first device, so that the first device can play the voice packets sent by the second device based on the speaker. Alternatively, the audio stream forwarding module 8106 in the first device can also be used to forward the voice packets received based on the microphone to the modem of the second device, and the modem of the second device forwards them to the network side.
可能的实现方式中,第一设备的HAL中也可以包括RIL等,该RIL可以用于实现第一设备的IMS服务模块与第一设备的modem之间的数据转发。其中,该RIL中可以包括RILD。 In a possible implementation, the HAL of the first device may also include a RIL, etc., and the RIL may be used to implement data forwarding between the IMS service module of the first device and the modem of the first device. The RIL may include a RILD.
第一设备的modem中可以连接有SIM硬卡;第二设备的modem可以连接SIM硬卡或也可以不连接SIM硬卡。A SIM card may be connected to the modem of the first device; and a SIM card may or may not be connected to the modem of the second device.
可以理解的是,第二设备的软件架构与图8对应的实施例中的第一设备的软件架构类似,且软件架构中的各功能的作用可以与图8对应的实施例中描述的功能类似,在此不再赘述。It can be understood that the software architecture of the second device is similar to the software architecture of the first device in the embodiment corresponding to Figure 8, and the functions of each function in the software architecture can be similar to the functions described in the embodiment corresponding to Figure 8, which will not be repeated here.
可以理解的是,第一设备的分布式蜂窝通信控制模块可以确定向第二设备发送远程IMS切换指令,例如第一设备的分布式蜂窝通信控制模块可以指示远程IMS服务模块8101向第二设备的远程SIM服务模块8102发送远程IMS切换指令。It can be understood that the distributed cellular communication control module of the first device can determine to send a remote IMS switching instruction to the second device. For example, the distributed cellular communication control module of the first device can instruct the remote IMS service module 8101 to send a remote IMS switching instruction to the remote SIM service module 8102 of the second device.
其中,该远程IMS切换指令用于指示第一设备远程使用第二设备的IMS通信能力。The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
S8001、第一设备的远程IMS服务模块8101中的IMS呼叫会话代理模块将远程IMS切换指令,发送至第二设备的远程IMS服务模块8102中的IMS呼叫会话代理模块。S8001. The IMS call session proxy module in the remote IMS service module 8101 of the first device sends a remote IMS switching instruction to the IMS call session proxy module in the remote IMS service module 8102 of the second device.
示例性的,远程IMS服务模块8101中的IMS呼叫会话代理模块基于第一设备的分布式总线8103、以及第二设备的分布式总线8104,将该远程IMS切换指令发送至第二设备的IMS呼叫会话代理模块中。Exemplarily, the IMS call session proxy module in the remote IMS service module 8101 sends the remote IMS switching instruction to the IMS call session proxy module of the second device based on the distributed bus 8103 of the first device and the distributed bus 8104 of the second device.
本申请实施例中,第一设备可以在IMS管理模块中创建接口的代理对象,例如创建IMS呼叫会话代理模块的代理对象,使得IMS管理模块不会将接收到的远程IMS切换指令的请求转发到本地的IMS服务模块中,而是经由IMS呼叫会话代理模块转发到第二设备。In an embodiment of the present application, the first device can create a proxy object of the interface in the IMS management module, for example, create a proxy object of the IMS call session proxy module, so that the IMS management module will not forward the received request for the remote IMS switching instruction to the local IMS service module, but forward it to the second device via the IMS call session proxy module.
S8002、第二设备的IMS呼叫会话代理模块将该远程IMS切换指令发送至电话管理器中的IMS管理模块。S8002: The IMS call session proxy module of the second device sends the remote IMS switching instruction to the IMS management module in the telephone manager.
S8003、IMS管理模块将该远程IMS切换指令发送至IMS服务模块。S8003. The IMS management module sends the remote IMS switching instruction to the IMS service module.
S8004、IMS服务模块将该远程IMS切换指令发送至第二设备的modem。S8004. The IMS service module sends the remote IMS switching instruction to the modem of the second device.
可能的实现方式中,IMS服务模块可以将远程IMS切换指令发送至RIL,并由RIL将该远程IMS切换指令继续发送至第二设备的modem。In a possible implementation, the IMS service module may send the remote IMS switching instruction to the RIL, and the RIL may further send the remote IMS switching instruction to the modem of the second device.
适应的,modem在接收到该远程IMS切换指令时,可以获取IMS注册信息,并将带有IMS注册信息的远程IMS切换成功指令返回至第一设备。其中,该IMS注册信息使得第一设备可以支持长期演进语音承载(voice over long term evolution,VOLTE)或新空口承载语音(voice over new radio,VONR)等的通话功能。Suitably, when receiving the remote IMS switching instruction, the modem can obtain IMS registration information and return a remote IMS switching success instruction with the IMS registration information to the first device. The IMS registration information enables the first device to support call functions such as voice over long term evolution (VOLTE) or voice over new radio (VONR).
S8005、第二设备的modem将远程IMS切换成功指令发送至IMS服务模块。S8005. The modem of the second device sends a remote IMS switching success instruction to the IMS service module.
可能的实现方式中,第二设备的modem将该远程IMS切换成功指令发送至RIL,并由RIL继续将该远程IMS切换成功指令发送至IMS服务模块。In a possible implementation, the modem of the second device sends the remote IMS switching success instruction to the RIL, and the RIL continues to send the remote IMS switching success instruction to the IMS service module.
S8006、IMS服务模块将远程IMS切换成功指令发送至电话管理器中的IMS管理模块。S8006. The IMS service module sends a remote IMS switching success instruction to the IMS management module in the phone manager.
S8007、IMS管理模块将远程IMS切换成功指令发送远程IMS服务模块8102中的IMS呼叫会话监听代理模块。S8007 . The IMS management module sends a remote IMS switching success instruction to the IMS call session monitoring proxy module in the remote IMS service module 8102 .
可以理解的是,IMS管理模块可以创建IMS呼叫会话监听代理模块的代理对象,使得IMS管理模块不会将接收到的远程IMS切换成功指令的请求转发到本地的IMS电话模块中,而是经由IMS呼叫会话监听代理模块转发到第一设备。It is understandable that the IMS management module can create a proxy object of the IMS call session monitoring proxy module so that the IMS management module will not forward the received remote IMS handover success instruction request to the local IMS phone module, but forward it to the first device via the IMS call session monitoring proxy module.
S8008、第二设备的IMS呼叫会话监听代理模块将远程IMS切换成功指令发送至第一设备的IMS呼叫会话监听代理模块。S8008. The IMS call session monitoring proxy module of the second device sends a remote IMS switching success instruction to the IMS call session monitoring proxy module of the first device.
具体的,第二设备的IMS呼叫会话监听代理模块可以利用第二设备的分布式总线8104、 以及第一设备的分布式总线8103,将远程IMS切换成功指令发送至第一设备的IMS呼叫会话监听代理模块。Specifically, the IMS call session monitoring agent module of the second device can use the distributed bus 8104 of the second device, And the distributed bus 8103 of the first device sends the remote IMS switching success instruction to the IMS call session monitoring agent module of the first device.
可能的实现方式中,IMS呼叫会监听代理模块可以将远程IMS切换成功指令基于S8009-S8011所示的步骤返回至第一设备的应用层。In a possible implementation, the IMS call monitoring proxy module may return the remote IMS switching success instruction to the application layer of the first device based on the steps shown in S8009-S8011.
可以理解的是,由于在IMS业务的处理过程中,存在大量、频繁的查询当前状态信息的IMS呼叫会话的方法调用,例如查询通话身份标志号(getCallId)、查询通话状态(getState)、查询多方会议消息(multiparty)等。因此,考虑到网络开销和实时性,不将所有第一设备的调用请求直接转发给第二设备调用,而是采用本地缓存的方式:即第二设备可以将自己的状态主动同步到第一设备,并保存在第一设备的本地缓存模块中;当第一设备需要查询当前状态时,IMS呼叫会话代理模块可以直接从本地缓存模块中获取数据。It is understandable that, in the process of processing IMS services, there are a large number of frequent IMS call session method calls for querying current status information, such as querying call identity number (getCallId), querying call status (getState), querying multi-party conference messages (multiparty), etc. Therefore, considering network overhead and real-time performance, all call requests of the first device are not directly forwarded to the second device for calling, but a local cache method is adopted: that is, the second device can actively synchronize its own status to the first device and save it in the local cache module of the first device; when the first device needs to query the current status, the IMS call session proxy module can directly obtain data from the local cache module.
可以理解的是,此时IMS呼叫会话代理模块中的部分接口可以由同步调用机制改为通知缓存机制。其中,该本地缓存模块可以设置在远程IMS服务模块中,或也可以在其他位置处,本申请实施例中对此不做限定。It is understandable that at this time, some interfaces in the IMS call session proxy module can be changed from a synchronous call mechanism to a notification cache mechanism. Among them, the local cache module can be set in the remote IMS service module, or can also be located at other locations, which is not limited in the embodiments of the present application.
S8009、第一设备的IMS呼叫会话监听代理模块将远程IMS切换成功指令发送至IMS管理模块。S8009. The IMS call session monitoring agent module of the first device sends a remote IMS switching success instruction to the IMS management module.
S8010、IMS管理模块将远程IMS切换成功指令发送至IMS电话模块。S8010. The IMS management module sends a remote IMS switching success instruction to the IMS telephone module.
S8011、IMS电话模块将远程IMS切换成功指令发送至第一设备的应用层。S8011. The IMS phone module sends a remote IMS switching success instruction to the application layer of the first device.
适应的,在第一设备的应用层接收到来自第二设备的IMS切换成功指令中的IMS注册信息时,第一设备可以在界面的状态栏中显示高清(high definition,HD)标识,该HD标识用于指示第一设备开启高清语音通话功能。Suitably, when the application layer of the first device receives the IMS registration information in the IMS switching success instruction from the second device, the first device can display a high definition (HD) logo in the status bar of the interface, and the HD logo is used to instruct the first device to enable the high-definition voice call function.
可能的实现方式中,在基于S8001-S8011所示的步骤使得第一设备具备第二设备的IMS通信能力的情况下,第一设备可以基于与第二设备的数据交互完成任意IMS业务。In a possible implementation, when the first device has the IMS communication capability of the second device based on the steps shown in S8001-S8011, the first device can complete any IMS service based on data interaction with the second device.
示例性的,以IMS业务为IMS通话业务为例进行示例说明。例如当第一设备的应用层接收到IMS通话业务请求时,第一设备的应用层可以将主叫业务请求发送至第一设备的电话管理器中的IMS电话模块,并由IMS电话模块将主叫业务请求发送至IMS管理模块,IMS管理模块采用代理模式将该IMS业务请求发送至第一设备的IMS呼叫会话代理模块,进而由第一设备基于S8001-S8004所示的步骤中描述的通路,将该主叫业务请求转发至第二设备的modem。适应的,第二设备可以基于S8005-S8011所示的步骤将该主叫业务请求对应的响应消息发送至第一设备的应用层。其中,该IMS通话业务请求对应的响应消息用于指示第二设备允许第一设备执行IMS通话业务。Exemplarily, an IMS service is an IMS call service. For example, when the application layer of the first device receives an IMS call service request, the application layer of the first device can send the calling service request to the IMS phone module in the phone manager of the first device, and the IMS phone module sends the calling service request to the IMS management module. The IMS management module uses the proxy mode to send the IMS service request to the IMS call session proxy module of the first device, and then the first device forwards the calling service request to the modem of the second device based on the path described in the steps shown in S8001-S8004. Suitably, the second device can send a response message corresponding to the calling service request to the application layer of the first device based on the steps shown in S8005-S8011. The response message corresponding to the IMS call service request is used to indicate that the second device allows the first device to execute the IMS call service.
进一步的,第一设备可以将本地生成的语音包通过第一设备的音频流转发模块8106、以及第二设备的音频流转发模块8107,发送至第二设备的modem,由第二设备的modem将该语音包发送到网络侧。或者,第二设备的modem可以将从网络侧接收到的语音包通过第二设备的音频流转发模块8107、以及第一设备的音频流转发模块8106,返回至第一设备。使得第一设备可以利用第二设备完成IMS业务中通话的接续。Furthermore, the first device can send the locally generated voice packet to the modem of the second device through the audio stream forwarding module 8106 of the first device and the audio stream forwarding module 8107 of the second device, and the modem of the second device sends the voice packet to the network side. Alternatively, the modem of the second device can return the voice packet received from the network side to the first device through the audio stream forwarding module 8107 of the second device and the audio stream forwarding module 8106 of the first device. This allows the first device to use the second device to complete the call connection in the IMS service.
可以理解的是,由于目前3GPP支持两种提供通话服务的方式,即CS域通话和分组交换(packet switch,PS)域通话。其中,IMS域通话可以为PS域通话中常用的通话方式。It is understandable that, since 3GPP currently supports two methods of providing call services, namely, CS domain call and packet switch (PS) domain call, among which, IMS domain call can be a commonly used call method in PS domain call.
针对CS域通话,CS域通话的软件实现方式可以参见图9对应的实施例。示例性的,图9 为本申请实施例提供的一种CS域通话的流程示意图。For CS domain calls, the software implementation of CS domain calls can refer to the embodiment corresponding to FIG9 . A schematic diagram of a CS domain call flow provided in an embodiment of the present application.
如图9所示,CS域通话流程可以涉及电话应用、电话管理器、RILD以及modem。其中,电话应用以及电话管理器可以理解为安卓平台通用的与芯片无关的软件模块;RILD以及modem可以理解为与芯片相关的软件模块。其中,该与芯片相关的软件模块可以理解为芯片厂商提供的模块,或理解为与芯片相关的软件模块只能运行在相应芯片厂商提供的芯片中;该与芯片无关的软件模块为安卓平台原生的软件模块,其可以运行在任一芯片厂商提供的芯片中。As shown in Figure 9, the CS domain call process may involve a phone application, a phone manager, RILD, and a modem. Among them, the phone application and the phone manager can be understood as software modules that are common to the Android platform and are not related to the chip; RILD and modem can be understood as software modules related to the chip. Among them, the chip-related software module can be understood as a module provided by a chip manufacturer, or understood as a chip-related software module that can only run in the chip provided by the corresponding chip manufacturer; the chip-independent software module is a native software module of the Android platform, which can run in a chip provided by any chip manufacturer.
可以理解的是,参见图9对应的CS通话流程以及图6对应的远程modem功能,telephony均需要通过标准的IRadio HIDL/AIDL接口与RILD进行交互。因此CS通话业务可以基于远程modem功能对应的数据传输流程实现。It can be understood that, referring to the CS call process corresponding to FIG9 and the remote modem function corresponding to FIG6, telephony needs to interact with RILD through the standard IRadio HIDL/AIDL interface. Therefore, the CS call service can be implemented based on the data transmission process corresponding to the remote modem function.
针对IMS域通话,IMS域通话的软件实现方式可以参见图10对应的实施例。示例性的,图10为本申请实施例提供的一种IMS域通话的流程示意图。For IMS domain calls, the software implementation of IMS domain calls can refer to the embodiment corresponding to Figure 10. For example, Figure 10 is a flow chart of an IMS domain call provided in an embodiment of the present application.
如图10所示,IMS域通话流程可以涉及电话应用、电话管理器、IMS APK、RILD以及modem。其中,电话应用以及电话管理器可以理解为安卓平台通用的与芯片无关的软件模块;IMS APK、RILD以及modem可以理解为与芯片相关的软件模块。As shown in Figure 10, the IMS domain call process may involve phone application, phone manager, IMS APK, RILD and modem. Among them, phone application and phone manager can be understood as software modules common to the Android platform and not related to the chip; IMS APK, RILD and modem can be understood as software modules related to the chip.
可以理解的是,参见图10对应的IMS通话流程,由于安卓软件架构中只定义了应用程序框架层中的接口,而IMS通话中与RILD交互的HIDL/安卓接口定义语言(android interface definition language,AIDL)接口则依赖于各自芯片厂商的IMS APK实现,并没有统一的接口定义,因此无法通过代理HIDL接口/AIDL接口的方式实现IMS业务的消息转发。例如,芯片厂商1则需要使用该芯片厂商1提供的IMS APK,且该芯片厂商1不能使用其他提供的IMS APK。It is understandable that, referring to the IMS call process corresponding to FIG10, since only the interface in the application framework layer is defined in the Android software architecture, and the HIDL/Android interface definition language (AIDL) interface that interacts with RILD in the IMS call depends on the IMS APK implementation of each chip manufacturer, and there is no unified interface definition, it is impossible to implement the message forwarding of the IMS service by proxying the HIDL interface/AIDL interface. For example, chip manufacturer 1 needs to use the IMS APK provided by chip manufacturer 1, and chip manufacturer 1 cannot use the IMS APK provided by others.
因此,可以将远程IMS功能的代理切入点上移至电话管理器中的IMS管理模块中,使得IMS业务可以通过IMS管理模块的代理转发至远程IMS服务模块中。其中,该IMS管理模块进行代理时的具体过程可以参见图8对应的实施例,在此不再赘述。Therefore, the proxy entry point of the remote IMS function can be moved up to the IMS management module in the phone manager, so that the IMS service can be forwarded to the remote IMS service module through the proxy of the IMS management module. The specific process of the IMS management module performing the proxy can refer to the embodiment corresponding to FIG8, which will not be repeated here.
基于此,第一设备可以利用第二设备实现如CS通话业务、以及IMS通话业务等多种业务的接续,丰富蜂窝通信能力接续方法的使用范畴,进而提高用户对于设备的使用体验。Based on this, the first device can use the second device to implement the connection of various services such as CS call service and IMS call service, enrich the application scope of the cellular communication capability connection method, and thus improve the user experience of the device.
在上述图4对应的实施例的基础上,S401中第一设备或第二设备开启蜂窝通信能力接续功能的过程可以参见图11或图12对应的实施例。On the basis of the embodiment corresponding to FIG. 4 , the process of enabling the cellular communication capability connection function of the first device or the second device in S401 may refer to the embodiment corresponding to FIG. 11 or FIG. 12 .
本申请实施例中,第一设备可以支持从SIM卡管理功能对应的界面中开启蜂窝通信能力接续功能(参见图11对应的实施例),或者第一设备也可以支持从用于设置与第一设备的更多连接功能对应的界面中开启蜂窝通信能力接续功能(参见图12对应的实施例)。可以理解的是,开启蜂窝通信能力接续功能的具体方式可以不限于上述两种,本申请实施例中对此不做限定。In the embodiment of the present application, the first device may support enabling the cellular communication capability continuation function from the interface corresponding to the SIM card management function (see the embodiment corresponding to FIG. 11 ), or the first device may also support enabling the cellular communication capability continuation function from the interface corresponding to the more connection functions for setting the first device (see the embodiment corresponding to FIG. 12 ). It is understandable that the specific manner of enabling the cellular communication capability continuation function may not be limited to the above two, and this is not limited in the embodiment of the present application.
一种实现中,第一设备支持从SIM卡管理功能对应的界面中开启蜂窝通信能力接续功能。In one implementation, the first device supports enabling a cellular communication capability connection function from an interface corresponding to a SIM card management function.
示例性的,图11为本申请实施例提供的一种开启蜂窝通信能力接续功能的界面示意图。在图11对应的实施例中,以第一设备开启蜂窝通信能力接续功能、且第一设备为手机为例进行示例说明,第二设备开启蜂窝通信能力接续功能的方法可以参见图11对应的实施例中 的描述,后文将不再赘述。For example, FIG11 is a schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application. In the embodiment corresponding to FIG11, the first device enables the cellular communication capability connection function, and the first device is a mobile phone. The method for enabling the cellular communication capability connection function of the second device can refer to the embodiment corresponding to FIG11. The description will not be repeated later.
当第一设备接收到用户打开设置功能的操作时,第一设备可以显示如图11中的a所示的界面,该界面中可以包括:用于搜索设置项的文本框、用于登录账号的控件、用于设置WLAN的控件、用于设置蓝牙的控件、用于设置移动网络的控件1101、用于设置超级终端的控件、以及用于设置更多连接的控件等。其中,该登录的账号可以为1234567XXXX。When the first device receives the user's operation to open the setting function, the first device can display an interface as shown in a of FIG. 11 , which may include: a text box for searching for setting items, a control for logging in to an account, a control for setting WLAN, a control for setting Bluetooth, a control 1101 for setting a mobile network, a control for setting a hyperterminal, and a control for setting more connections, etc. The logged-in account may be 1234567XXXX.
可能的实现方式中,该打开设置功能的操作可以为:用户在桌面中针对设置功能对应的控件的触发打开设置功能,或者用户在后台多任务界面中针对设置功能对应的缩略图的触发打开设置功能等,本申请实施例中对此不做限定。In possible implementations, the operation of opening the settings function can be: the user triggers the control corresponding to the settings function in the desktop to open the settings function, or the user triggers the thumbnail corresponding to the settings function in the background multi-tasking interface to open the settings function, etc. This is not limited in the embodiments of the present application.
在如图11中的a所示的界面中,当第一设备接收到用户针对用于设置移动网络的控件1101的触发操作时,第一设备可以显示如图11中的b所示的界面。如图11中的b所示的界面,该界面中可以包括:用于开启飞行模式的控件、用于设置移动数据的控件、用于设置个人热点的控件、用于设置SIM卡管理的控件1102、用于进行流量管理的控件、用于指示是否在寻找其他设置项的指示信息、以及用于进行通话设置的控件等。In the interface shown in a of FIG. 11 , when the first device receives a trigger operation of the user on the control 1101 for setting the mobile network, the first device may display an interface shown in b of FIG. 11 . The interface shown in b of FIG. 11 may include: a control for turning on the airplane mode, a control for setting the mobile data, a control for setting the personal hotspot, a control 1102 for setting the SIM card management, a control for performing traffic management, an indication information for indicating whether to search for other setting items, and a control for performing call settings, etc.
在如图11中的b所示的界面中,当第一设备接收到用户针对用于设置SIM卡管理的控件1102的触发操作时,第一设备可以显示如图11中的c所示的界面。如图11中的c所示的界面,该界面可以为SIM卡管理功能对应的界面,该界面中可以包括:处于插卡状态的卡1,以及处于插卡状态的卡2,用于设置默认移动数据的控件、用于设置默认拨号卡的控件、用于设置双卡间呼叫转移的控件、以及用于设置设备信号接力的控件1103等。其中,该卡1可以对应于1234567XXXX的手机号码,该卡1可以为第一设备提供XX移动厂商下的5G/4G/3G/2G网络;该卡2可以对应于1324567XXXX的手机号码,该卡2可以为第一设备提供XX移动厂商下的5G/4G/3G/2G网络,该默认移动数据可以对应于卡1或者卡2。In the interface shown in b of FIG. 11 , when the first device receives a trigger operation of the user for the control 1102 for setting SIM card management, the first device may display the interface shown in c of FIG. 11 . As shown in c of FIG. 11 , the interface may be an interface corresponding to the SIM card management function, and the interface may include: card 1 in the card insertion state, and card 2 in the card insertion state, a control for setting the default mobile data, a control for setting the default dial card, a control for setting call forwarding between dual cards, and a control 1103 for setting the device signal relay, etc. Among them, the card 1 may correspond to the mobile phone number 1234567XXXX, and the card 1 may provide the first device with a 5G/4G/3G/2G network under the XX mobile manufacturer; the card 2 may correspond to the mobile phone number 1324567XXXX, and the card 2 may provide the first device with a 5G/4G/3G/2G network under the XX mobile manufacturer, and the default mobile data may correspond to the card 1 or the card 2.
可能的实现方式中,该用于设置设备信号接力的控件1103也可以设置在如图11中的b所示的移动网络功能所在的界面中,本申请实施例中对此不做限定。In a possible implementation, the control 1103 for setting the device signal relay may also be set in the interface where the mobile network function is located as shown in b in FIG. 11 , which is not limited in the embodiments of the present application.
在如图11中的c所示的界面中,当第一设备接收到用户针对用于设置设备信号接力的控件1103的触发操作时,第一设备可以显示如图11中的d所示的界面。如图11中的d所示的界面,该界面中可以包括:用于开启或关闭设备信号接力的控件1104、用于退出设备信号接力的控件、用于指示设备进行蜂窝通信能力接续功能的指示信息、用于指示触发设备信号接力需要满足的条件的指示信息。其中,该用于指示设备蜂窝通信能力接续功能的指示信息可以显示为:在地下室等无蜂窝网络信号的情况下,利用其他闲置设备的蜂窝网络进行通话和收发短信;该用于指示触发设备信号接力需要满足的条件的指示信息可以显示为:触发设备信号接力需要满足以下条件:1.用户有多个手机/平板且都登陆了设备账号;2.设备都开启信号接力开关;3.用于接力的其他设备需要有空余卡槽。其中,该信号接力开关可以为图11中的d所示的用于开启或关闭设备信号接力的控件1104;该用于接力的其他设备中可以包括一个或多个空余卡槽,或者该用于接力的其他设备中也可以没有空闲卡槽,本申请实施例中对此不做限定。In the interface shown in c of FIG. 11 , when the first device receives a trigger operation of the user on the control 1103 for setting the device signal relay, the first device may display the interface shown in d of FIG. 11 . As shown in d of FIG. 11 , the interface may include: a control 1104 for turning on or off the device signal relay, a control for exiting the device signal relay, an indication information for instructing the device to perform a cellular communication capability relay function, and an indication information for indicating the conditions that need to be met to trigger the device signal relay. Among them, the indication information for indicating the device cellular communication capability relay function may be displayed as: in the case of no cellular network signal in the basement, etc., use the cellular network of other idle devices to make calls and send and receive text messages; the indication information for indicating the conditions that need to be met to trigger the device signal relay may be displayed as: the following conditions need to be met to trigger the device signal relay: 1. The user has multiple mobile phones/tablets and all are logged in to the device account; 2. The signal relay switch is turned on for all devices; 3. The other devices used for relay need to have a free card slot. Among them, the signal relay switch can be the control 1104 shown in d in Figure 11 for turning on or off the device signal relay; the other device used for relay may include one or more free card slots, or the other device used for relay may not have a free card slot, which is not limited in the embodiments of the present application.
可能的实现方式中,该图11中的d所示的界面中的用于指示设备蜂窝通信能力接续功能的指示信息中还可以包括下述一种或多种,例如:本机无蜂窝网络的信号,设备都需连接WI-FI等,本申请实施例中对此不做限定。In a possible implementation, the indication information for indicating the device's cellular communication capability connection function in the interface shown in d in Figure 11 may also include one or more of the following, for example: the local device has no cellular network signal, the devices need to be connected to WI-FI, etc., which is not limited in the embodiments of the present application.
在图11中的d所示的界面中,在该设备蜂窝通信能力接续功能为关闭状态下,当第一 设备接收到用户针对用于开启或关闭设备信号接力的控件1104的触发操作时,第一设备可以开启设备蜂窝通信能力接续功能,并利用设备账号在通信业务云中进行注册。In the interface shown in d of FIG. 11, when the cellular communication capability connection function of the device is turned off, when the first When the device receives a trigger operation from the user on the control 1104 for turning on or off the device signal relay, the first device can turn on the device cellular communication capability connection function and register in the communication service cloud using the device account.
另一种实现中,第一设备支持从用于设置与第一设备的更多连接功能对应的界面中开启蜂窝通信能力接续功能。In another implementation, the first device supports enabling the cellular communication capability connection function from an interface for setting more connection functions corresponding to the first device.
示例性的,图12为本申请实施例提供的另一种开启蜂窝通信能力接续功能的界面示意图。Exemplarily, FIG12 is a schematic diagram of an interface for enabling another cellular communication capability connection function provided in an embodiment of the present application.
第一设备显示如图12中的a所示的界面,该界面中可以包括:用于设置更多连接的控件1201,该界面中显示的内容可以与图11中的a所示的内容类似,在此不再赘述。The first device displays an interface as shown in a of FIG. 12 , which may include: a control 1201 for setting more connections. The content displayed in the interface may be similar to the content shown in a of FIG. 11 , and will not be repeated here.
在如图12中的a所示的界面中,当第一设备接收到用户针对用于设置更多连接的控件1201的触发操作时,第一设备可以显示如图12中的b所示的界面。如图12中的b所示的界面,该界面中可以包括:用于设置设备分享的控件、用于设置无线投屏的控件、用于设置打印功能的控件、用于设置虚拟专用网络(virtual private network,VPN)的控件、用于设置加密域名系统(domain name system,DNS)的控件、以及用于设置设备信号接力的控件1202等。In the interface shown in a of FIG. 12 , when the first device receives a trigger operation from the user for a control 1201 for setting more connections, the first device may display an interface shown in b of FIG. 12 . The interface shown in b of FIG. 12 may include: a control for setting device sharing, a control for setting wireless screen projection, a control for setting a printing function, a control for setting a virtual private network (VPN), a control for setting an encrypted domain name system (DNS), and a control 1202 for setting a device signal relay.
在如图12中的b所示的界面中,当第一设备接收到用户针对用于设置设备信号接力的控件1202的触发操作时,第一设备显示如图12中的c所示的界面。该图12中的c所示的界面中显示的内容与图11中的d所示的界面中类似,在此不再赘述。In the interface shown in b of FIG. 12, when the first device receives a trigger operation of the user on the control 1202 for setting the device signal relay, the first device displays the interface shown in c of FIG. 12. The content displayed in the interface shown in c of FIG. 12 is similar to that in the interface shown in d of FIG. 11, and will not be described in detail here.
可以理解的是,在第二设备也基于图11或图12对应的实施例开启蜂窝通信能力接续功能的情况下,第二设备也可以利用设备账号等信息在通信业务云中进行注册,进而通信业务云可以为第一设备以及第二设备进行设备认证,并建立安全的数据通道。It can be understood that when the second device also turns on the cellular communication capability connection function based on the embodiment corresponding to Figure 11 or Figure 12, the second device can also register in the communication service cloud using information such as the device account, and then the communication service cloud can perform device authentication for the first device and the second device and establish a secure data channel.
可以理解的是,第一设备与第二设备均开启蜂窝通信能力接续功能的总开关,可以为第一设备与第二设备实现接续的前提条件。It is understandable that turning on the main switch of the cellular communication capability connection function on both the first device and the second device can be a prerequisite for the first device and the second device to achieve connection.
基于此,设备可以基于图11或图12对应的实施例,为用户提供控制蜂窝通信能力接续功能的总开关,使得用户根据自身需求在需要使用蜂窝通信能力接续功能时开启总开关。例如,用户可以在网络信号较弱时开启蜂窝通信能力接续功能的总开关,并触发第二设备完成蜂窝通信能力的接续;或者,用户也可以在网络信号较好时提前开启蜂窝通信能力接续功能的总开关,以便后续设备可以在网络信号较弱时,触发第二设备完成蜂窝通信能力的接续。Based on this, the device can provide the user with a master switch for controlling the cellular communication capability continuation function based on the embodiments corresponding to FIG11 or FIG12, so that the user can turn on the master switch when the cellular communication capability continuation function is needed according to their own needs. For example, the user can turn on the master switch of the cellular communication capability continuation function when the network signal is weak, and trigger the second device to complete the continuation of the cellular communication capability; or the user can also turn on the master switch of the cellular communication capability continuation function in advance when the network signal is good, so that the subsequent device can trigger the second device to complete the continuation of the cellular communication capability when the network signal is weak.
在第一设备与第二设备基于图11(或图12)对应的实施例均开启蜂窝通信能力接续功能的情况下,第一设备可以基于图13对应的实施例指示第二设备进行蜂窝通信能力的接续。When the first device and the second device both turn on the cellular communication capability connection function based on the embodiment corresponding to FIG. 11 (or FIG. 12 ), the first device may instruct the second device to connect the cellular communication capability based on the embodiment corresponding to FIG. 13 .
示例性的,图13为本申请实施例提供的一种触发蜂窝通信能力接续的界面示意图。Exemplarily, FIG13 is a schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application.
如图11中的d所示的界面,在该设备蜂窝通信能力接续功能为关闭状态下,当第一设备接收到用户针对用于开启或关闭设备信号接力的控件1104的触发操作时,第一设备可以开启设备蜂窝通信能力接续功能,并显示如图13中的a所示的界面。如图13中的a所示的界面,该界面中可以包括:第一设备可以检测到的可接力设备,例如第二设备1301、第二设备1302以及第二设备1303,该界面中显示的其他内容可以与图11中的d所示的界 面中类似,在此不再赘述。As shown in the interface d of FIG11, when the cellular communication capability relay function of the device is turned off, when the first device receives a trigger operation of the user for the control 1104 for turning on or off the device signal relay, the first device can turn on the device cellular communication capability relay function and display the interface shown in FIG13a. As shown in the interface a of FIG13, the interface may include: relay-capable devices that can be detected by the first device, such as the second device 1301, the second device 1302, and the second device 1303. Other contents displayed in the interface may be different from those shown in the interface d of FIG11. The above is similar, so I will not repeat it here.
图13中的a所示的界面中,当第一设备接收到用户针对任一可接力设备,如第二设备1301的触发操作时,第一设备可以确定由第二设备1301进行信号接力,并显示如图13中的b所示的界面。如图13中的b所示的界面,该界面中可以包括:弹窗1304,该弹窗1304中可以包括:用于指示蜂窝通信能力接续的效果的指示信息、取消控件、用于指示对第一设备的卡1进行接力的控件(或称为卡1控件)、以及用于对第一设备的卡2进行接力的控件(或称为卡2控件)等。In the interface shown in a of FIG13, when the first device receives a trigger operation from the user for any relayable device, such as the second device 1301, the first device may determine that the second device 1301 will relay the signal, and display the interface shown in b of FIG13. The interface shown in b of FIG13 may include: a pop-up window 1304, and the pop-up window 1304 may include: indication information for indicating the effect of the cellular communication capability relay, a cancel control, a control for indicating relaying the card 1 of the first device (or referred to as the card 1 control), and a control for relaying the card 2 of the first device (or referred to as the card 2 control), etc.
其中,该用于指示蜂窝通信能力接续的效果的指示信息可以为:使用第二设备1301为您信号接力,接力后可使用第二设备1301的闲置蜂窝信号进行通话和发送短信。该第二设备1301也可以显示为设备型号。The indication information for indicating the effect of the cellular communication capability connection may be: using the second device 1301 to relay your signal, after which you can use the idle cellular signal of the second device 1301 to make calls and send text messages. The second device 1301 may also be displayed as a device model.
可以理解的是,当第一设备中包含两个SIM卡时,则第一设备可以显示如图13中的b所示的界面;或者,当第一设备中只存在一个SIM卡时,第一设备可以在图13中的b所示的界面中显示卡1控件或者卡2控件。It can be understood that when the first device contains two SIM cards, the first device can display the interface shown in b in Figure 13; or, when there is only one SIM card in the first device, the first device can display the card 1 control or the card 2 control in the interface shown in b in Figure 13.
在如图13中的b所示的界面中,当第一设备接收到用户针对弹窗1304中的卡1控件的触发操作时,第一设备将会向第二设备的至少一个空闲卡槽发起蜂窝通信能力的接续,使得第二设备可以为第一设备的卡1提供接续。In the interface shown in b in Figure 13, when the first device receives a trigger operation from the user on the card 1 control in the pop-up window 1304, the first device will initiate a connection of cellular communication capabilities to at least one free card slot of the second device, so that the second device can provide a connection for card 1 of the first device.
可以理解的是,图13对应的实施例可以为用户手动发起蜂窝通信能力的接续方式,此时无论第一设备的网络信号如何,均可以利用第二设备进行信号接续。例如,图13对应的实施例中,第一设备的状态栏中可以显示用于指示卡1的网络信号以及卡2的网络信号均保持较好的标识,此时第一设备也可以利用第二设备进行信号接续。It is understandable that the embodiment corresponding to FIG13 can be a user manually initiating a connection mode of cellular communication capability, and at this time, regardless of the network signal of the first device, the second device can be used for signal connection. For example, in the embodiment corresponding to FIG13, the status bar of the first device can display an indicator indicating that the network signal of card 1 and the network signal of card 2 are both maintained at a good level, and at this time, the first device can also use the second device for signal connection.
可能的实现方式中,当第一设备的状态栏中显示用于指示卡1的网络信号以及卡2的网络信号均较差的情况下,第一设备也可以基于图13对应的实施例利用第二设备进行信号接续。In a possible implementation, when the status bar of the first device displays an indication that the network signal of card 1 and the network signal of card 2 are both poor, the first device may also use the second device for signal connection based on the embodiment corresponding to FIG. 13 .
可以理解的是,发起蜂窝通信能力的接续方式不限于上述图13对应的实施例,本申请实施例中对此不做限定。It is understandable that the connection method for initiating cellular communication capabilities is not limited to the embodiment corresponding to FIG. 13 above, and is not limited to this in the embodiments of the present application.
基于此,用户可以根据使用需求随时发起蜂窝通信能力的接续,提高用户使用蜂窝通信能力接续功能的体验感。Based on this, users can initiate the connection of cellular communication capabilities at any time according to their usage needs, thereby improving the user experience of using the cellular communication capability connection function.
在第一设备与第二设备基于图13对应的实施例实现蜂窝通信能力接续的一段时间后,第一设备与第二设备均可以在各自的界面中查看到蜂窝通信能力接续的情况。After a period of time has passed since the first device and the second device have achieved cellular communication capability continuity based on the embodiment corresponding to FIG. 13 , both the first device and the second device can view the status of the cellular communication capability continuity in their respective interfaces.
示例性的,图14为本申请实施例提供的一种查看蜂窝通信能力接续情况的界面示意图。Exemplarily, FIG14 is a schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application.
在第一设备的卡1以及卡2的网络信号均较差的情况下,第一设备可以基于图13对应的实施例利用第二设备为第一设备中的任一SIM卡提供蜂窝通信能力接续。进一步的,第一设备与第二设备实现蜂窝通信能力接续的52分钟后,第一设备可以显示如图14中的a所示的界面,该界面中可以包括:弹窗1402,该弹窗1402中可以包括:用于指示蜂窝通信能力接续情况的指示信息、用于指示接力时间的信息、用于停止接力的控件、用于切换接力设备的控件、以及用于切换接力卡的控件。其中,该用于指示蜂窝通信能力接续情况的指示信息可以显示为:正在使用第二设备1301为您的卡1进行信号接力,该用于指示 接力时间的信息可以为显示为52:00。在如图14中的a所示的界面中,该第二设备1301可以显示为设备型号。When the network signals of both Card 1 and Card 2 of the first device are poor, the first device can use the second device to provide cellular communication capability connection for any SIM card in the first device based on the embodiment corresponding to Figure 13. Furthermore, 52 minutes after the first device and the second device achieve cellular communication capability connection, the first device can display an interface as shown in a in Figure 14, which may include: a pop-up window 1402, and the pop-up window 1402 may include: indication information indicating the cellular communication capability connection status, information indicating the relay time, controls for stopping the relay, controls for switching relay devices, and controls for switching relay cards. Among them, the indication information indicating the cellular communication capability connection status can be displayed as: the second device 1301 is being used to relay the signal for your card 1, and the information for indicating The relay time information may be displayed as 52:00. In the interface shown in a of FIG. 14 , the second device 1301 may be displayed as a device model.
该图14中的a所示的界面中还可以包括:时间信息、时钟控件、日历控件、图库控件、备忘录控件、以及停靠栏中的相机控件、通讯录控件、电话控件以及信息控件等。The interface shown in a in FIG. 14 may also include: time information, clock controls, calendar controls, gallery controls, memo controls, and camera controls, address book controls, phone controls, and information controls in the dock.
可以理解的是,图14中的a所示的界面的状态栏中也可以显示用于指示第二设备中的任一SIM卡的网络信号情况的标识1400、以及用于指示设备正在进行信号接力的标识1401。第一设备可以由网络信号较弱或无网络信号的状态,切换为当前标识1400对应的网络信号较好的状态。It is understandable that the status bar of the interface shown in a of FIG14 may also display an identifier 1400 indicating the network signal status of any SIM card in the second device, and an identifier 1401 indicating that the device is relaying a signal. The first device may switch from a state of weak network signal or no network signal to a state of good network signal corresponding to the current identifier 1400.
可能的实现方式中,该图14中的a所示的界面的状态栏中还可以显示第二设备的运营商名称等信息,本申请实施例中对此不做限定。In a possible implementation, the status bar of the interface shown in a in FIG. 14 may also display information such as the operator name of the second device, which is not limited in the embodiments of the present application.
可能的实现方式中,当第一设备接收到用户针对用于停止接力的控件的触发操作时,第一设备与第二设备可以中断蜂窝通信能力的接续。In a possible implementation, when the first device receives a trigger operation from the user on a control for stopping the relay, the first device and the second device may interrupt the connection of the cellular communication capability.
适应的,在第一设备与第二设备实现蜂窝通信能力接续的52分钟后,第二设备可以显示如图14中的b所示的界面,该界面中可以包括:用于指示设备正在进行信号接力的标识1401、以及弹窗1403。该弹窗1403中可以包括:用于指示接力时间的信息、用于指示蜂窝通信能力接续情况的指示信息、以及用于断开第一设备连接的控件(或称为停止接力控件)等。其中,该用于指示蜂窝通信能力接续情况的指示信息可以显示为:本机正在为您的第一设备进行信号接力,已经接力52分钟。本机通话短信业务可能会受影响。该用于指示接力时间的信息可以为显示为52:00。在如图14中的b所示的界面中,该第一设备可以显示为设备型号。Suitably, 52 minutes after the first device and the second device achieve cellular communication capability connection, the second device can display an interface as shown in b of FIG. 14, which may include: an identification 1401 for indicating that the device is performing signal relay, and a pop-up window 1403. The pop-up window 1403 may include: information for indicating the relay time, indication information for indicating the cellular communication capability connection status, and a control for disconnecting the first device (or called a stop relay control), etc. Among them, the indication information for indicating the cellular communication capability connection status can be displayed as: This machine is relaying the signal for your first device, and has been relaying for 52 minutes. The local call and text message services may be affected. The information for indicating the relay time can be displayed as 52:00. In the interface shown in b of FIG. 14, the first device can be displayed as a device model.
可能的实现方式中,当第二设备接收到用户针对停止接力控件的触发操作时,第二设备与第一设备可以中断蜂窝通信能力的接续。In a possible implementation, when the second device receives a trigger operation from the user for stopping the relay control, the second device and the first device may interrupt the connection of the cellular communication capability.
该图14中的b所示的界面中还可以包括以下至少一项:时间信息、停靠栏中的时钟控件、日历控件、电话控件以及信息控件等。The interface shown in b in FIG. 14 may also include at least one of the following items: time information, a clock control in the dock, a calendar control, a phone control, and an information control, etc.
基于此,第一设备与第二设备均可以在设备中提示用户当前蜂窝通信能力的接续情况,便于用户及时根据接续情况使用第一设备或第二设备,进而增强用户使用接续功能的使用体验。Based on this, both the first device and the second device can prompt the user of the connection status of the current cellular communication capability in the device, so that the user can use the first device or the second device in time according to the connection status, thereby enhancing the user's experience of using the connection function.
可以理解的是,本申请实施例提供的界面仅作为一种示例,并不能构成对本申请实施例的限定。It should be understood that the interface provided in the embodiment of the present application is merely an example and does not constitute a limitation on the embodiment of the present application.
下面对本申请实施例提供的执行上述方法的装置进行描述。如图15所示,图15为本申请实施例提供的一种蜂窝通信能力接续的装置的结构示意图,该蜂窝通信能力接续的装置可以是本申请实施例中的第一设备(或第二设备),也可以是第一设备(或第二设备)内的芯片或芯片系统。The following describes the device for executing the above method provided in the embodiment of the present application. As shown in Figure 15, Figure 15 is a schematic diagram of the structure of a device for connecting cellular communication capabilities provided in the embodiment of the present application. The device for connecting cellular communication capabilities can be the first device (or second device) in the embodiment of the present application, or it can be a chip or chip system in the first device (or second device).
如图15所示,蜂窝通信能力接续的装置1500可以用于通信设备、电路、硬件组件或者芯片中,该蜂窝通信能力接续的装置1500包括:显示单元1501、处理单元1502、通信单元1503其中,显示单元1501用于支持音频处理装置1500执行的显示的步骤;处理单元1502用于支持音频处理装置1500执行信息处理的步骤;通信单元1503用于指示音频处理装置1500执行数据的发送和接收等步骤。其中,该通信单元1503可以是输入或者输出接口、管脚或者电路等。 As shown in FIG15 , the cellular communication capability connection device 1500 can be used in a communication device, circuit, hardware component or chip, and the cellular communication capability connection device 1500 includes: a display unit 1501, a processing unit 1502, and a communication unit 1503, wherein the display unit 1501 is used to support the display step performed by the audio processing device 1500; the processing unit 1502 is used to support the audio processing device 1500 to perform the information processing step; and the communication unit 1503 is used to instruct the audio processing device 1500 to perform the steps of sending and receiving data. The communication unit 1503 can be an input or output interface, a pin or a circuit, etc.
可能的实施例中,音频处理装置还可以包括:存储单元1504。处理单元1502、存储单元1504通过线路相连。存储单元1504可以包括一个或者多个存储器,存储器可以是一个或者多个设备、电路中用于存储程序或者数据的器件。存储单元1504可以独立存在,通过通信线路与音频处理装置具有的处理单元1502相连。存储单元1504也可以和处理单元1502集成在一起。In a possible embodiment, the audio processing device may further include: a storage unit 1504. The processing unit 1502 and the storage unit 1504 are connected via a line. The storage unit 1504 may include one or more memories, and the memory may be a device used to store programs or data in one or more devices or circuits. The storage unit 1504 may exist independently and be connected to the processing unit 1502 of the audio processing device via a communication line. The storage unit 1504 may also be integrated with the processing unit 1502.
存储单元1504可以存储第一设备(或第二设备)中的方法的计算机执行指令,以使处理单元1502执行上述实施例中的方法。存储单元1504可以是寄存器、缓存或者RAM等,存储单元1504可以和处理单元1502集成在一起。存储单元1504可以是只读存储器(read-only memory,ROM)或者可存储静态信息和指令的其他类型的静态存储设备,存储单元1504可以与处理单元1502相独立。The storage unit 1504 may store computer-executable instructions of the method in the first device (or the second device) so that the processing unit 1502 executes the method in the above embodiment. The storage unit 1504 may be a register, a cache, or a RAM, etc. The storage unit 1504 may be integrated with the processing unit 1502. The storage unit 1504 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1504 may be independent of the processing unit 1502.
计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。例如,可用介质可以包括磁性介质(例如,软盘、硬盘或磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or tapes), optical media (e.g., digital versatile discs (DVD)), or semiconductor media (e.g., solid-state drives (SSD)), etc.
本申请实施例还提供了一种计算机可读存储介质。上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。The present application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium that can be accessed by a computer.
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compact disc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。As a possible design, the computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include a magnetic disk storage or other magnetic disk storage device. Moreover, any connecting line may also be appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium. Disks and optical discs as used herein include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers.
上述的组合也应包括在计算机可读介质的范围内。以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above combinations should also be included in the scope of computer-readable media. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims (21)

  1. 一种蜂窝通信能力接续的方法,其特征在于,所述方法包括:A method for connecting cellular communication capabilities, characterized in that the method comprises:
    第一设备与第二设备建立连接;The first device establishes a connection with the second device;
    在所述连接建立后,所述方法还包括:After the connection is established, the method further includes:
    所述第一设备通过所述建立的连接,向所述第二设备发送第一请求,所述第一请求用于指示所述第一设备请求访问所述第二设备的调制解调处理器modem;The first device sends a first request to the second device through the established connection, where the first request is used to indicate that the first device requests to access a modem processor of the second device;
    所述第一设备接收来自所述第二设备的第二请求,所述第二请求用于指示所述第二设备请求远程访问所述第一设备的第一用户识别模块SIM卡;The first device receives a second request from the second device, where the second request is used to indicate that the second device requests to remotely access a first subscriber identity module SIM card of the first device;
    所述第一设备在接收到所述第二请求后向所述第二设备发送所述第一SIM卡信息;The first device sends the first SIM card information to the second device after receiving the second request;
    所述第一设备向所述第二设备发送第一信息,以将所述第一信息通过所述第二设备的modem基于所述第一SIM卡信息经由蜂窝网络发送至第三设备,所述第一信息与第一业务相关,所述第一业务与所述第一设备和所述第三设备相关;The first device sends first information to the second device, so as to send the first information to a third device via a cellular network through a modem of the second device based on the first SIM card information, wherein the first information is related to a first service, and the first service is related to the first device and the third device;
    所述第一设备接收来自所述第二设备的第二信息,所述第二信息包括:所述第二设备的modem基于所述第一SIM卡信息经由所述蜂窝网络接收的来自所述第三设备的信息,所述第二信息与所述第一业务相关。The first device receives second information from the second device, where the second information includes: information from the third device received by a modem of the second device via the cellular network based on the first SIM card information, and the second information is related to the first service.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备接收来自所述第二设备的第二请求包括:The method according to claim 1, wherein the first device receiving the second request from the second device comprises:
    在所述第一设备通过所述建立的连接向所述第二设备发送所述第一请求之后,所述第一设备接收来自所述第二设备的第二请求。After the first device sends the first request to the second device through the established connection, the first device receives a second request from the second device.
  3. 根据权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that
    所述第一设备通过所述建立的连接,向所述第二设备发送第一请求之后,所述方法还包括:所述第一设备接收来自所述第二设备的与所述第一请求对应的响应消息;其中,与所述第一请求对应的响应消息用于指示所述第二设备允许所述第一设备访问所述第二设备的modem;After the first device sends the first request to the second device through the established connection, the method further includes: the first device receiving a response message corresponding to the first request from the second device; wherein the response message corresponding to the first request is used to instruct the second device to allow the first device to access the modem of the second device;
    所述第一设备在接收到所述第二请求后向所述第二设备发送所述第一SIM卡信息之后,所述方法还包括:所述第一设备接收来自所述第二设备的第三信息,所述第三信息为所述第二设备的modem基于所述第一SIM卡信息注册蜂窝网络时得到的信息。After the first device sends the first SIM card information to the second device after receiving the second request, the method further includes: the first device receives third information from the second device, and the third information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一设备通过所述建立的连接,向所述第二设备发送第一请求,包括:The method according to any one of claims 1 to 3, characterized in that the first device sends a first request to the second device through the established connection, comprising:
    所述第一设备通过所述建立的连接,向所述第二设备发送第三请求;所述第三请求用于指示所述第一设备请求所述第二设备为所述第一设备提供蜂窝通信能力的接续;The first device sends a third request to the second device through the established connection; the third request is used to instruct the first device to request the second device to provide a continuation of cellular communication capability for the first device;
    所述第一设备接收来自所述第二设备的与所述第三请求对应的响应消息,其中,与所述第三请求对应的响应消息用于指示所述第二设备同意为所述第一设备提供所述蜂窝通信能力的接续;The first device receives a response message corresponding to the third request from the second device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide the first device with a connection of the cellular communication capability;
    所述第一设备在接收到所述第三请求对应的响应消息后,向所述第二设备发送所述第一请求。After receiving the response message corresponding to the third request, the first device sends the first request to the second device.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述第一业务包括下述一种或多种:电路交换CS通话业务、IMS通话业务、或短信业务。The method according to any one of claims 1 to 4 is characterized in that the first service includes one or more of the following: a circuit switched CS call service, an IMS call service, or a text message service.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括: The method according to any one of claims 1 to 5, characterized in that the method further comprises:
    所述第一设备向所述第二设备发送第四请求;所述第四请求用于指示所述第一设备请求使用所述第二设备的网络互联协议多媒体子系统IMS能力;The first device sends a fourth request to the second device; the fourth request is used to indicate that the first device requests to use the Internet Protocol Multimedia Subsystem IMS capability of the second device;
    所述第一设备接收来自所述第二设备的第四信息;所述第四信息用于指示所述第二设备允许所述第一设备使用所述第二设备的IMS能力;The first device receives fourth information from the second device; the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device;
    所述第一设备向所述第二设备发送所述第一信息,包括:所述第一设备在接收到所述第四信息后向所述第二设备发送所述第一信息。The first device sending the first information to the second device includes: the first device sending the first information to the second device after receiving the fourth information.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一设备与第二设备建立连接,包括:The method according to any one of claims 1 to 6, wherein the first device establishes a connection with the second device, comprising:
    在所述第一设备与所述第二设备满足预设条件的情况下,所述第一设备与所述第二设备建立连接;其中,所述预设条件包括:所述第一设备与所述第二设备均登录统一的设备账号、以及所述第一设备与所述第二设备均开启蜂窝通信能力接续功能。When the first device and the second device meet preset conditions, the first device establishes a connection with the second device; wherein the preset conditions include: the first device and the second device are both logged in to the same device account, and the first device and the second device both have cellular communication capability connection functions enabled.
  8. 根据权利要求7所述的方法,其特征在于,所述预设条件还包括下述一种或多种:所述第一设备与所述第二设备均连接到WIFI、所述第一设备的至少一个SIM卡无蜂窝网络信号或蜂窝网络信号弱、或所述第二设备中包括至少一个空余卡槽。The method according to claim 7 is characterized in that the preset conditions also include one or more of the following: the first device and the second device are both connected to WIFI, at least one SIM card of the first device has no cellular network signal or a weak cellular network signal, or the second device includes at least one free card slot.
  9. 根据权利要求6所述的方法,其特征在于,所述第一设备包括:分布式通信服务模块,所述分布式通信服务模块中包括:远程IMS服务模块,所述远程IMS服务模块包括:IMS呼叫会话代理模块以及IMS呼叫会话监听代理模块;The method according to claim 6 is characterized in that the first device comprises: a distributed communication service module, the distributed communication service module comprises: a remote IMS service module, the remote IMS service module comprises: an IMS call session proxy module and an IMS call session monitoring proxy module;
    所述第一设备向所述第二设备发送所述第四请求,包括:所述分布式通信服务模块指示所述IMS呼叫会话代理模块向所述第二设备发送所述第四请求;The first device sending the fourth request to the second device comprises: the distributed communication service module instructing the IMS call session agent module to send the fourth request to the second device;
    所述第一设备接收来自所述第二设备的第四信息,包括:所述IMS呼叫会话监听代理模块接收来自所述第二设备的所述第四信息。The first device receiving fourth information from the second device includes: the IMS call session monitoring agent module receiving the fourth information from the second device.
  10. 根据权利要求9所述的方法,其特征在于,所述分布式通信服务模块中还包括:远程modem服务模块、以及远程SIM服务模块;The method according to claim 9, characterized in that the distributed communication service module further comprises: a remote modem service module and a remote SIM service module;
    所述第一设备向所述第二设备发送所述第一请求,包括:所述分布式服务模块指示所述远程modem服务模块向所述第二设备发送所述第一请求;The first device sending the first request to the second device includes: the distributed service module instructing the remote modem service module to send the first request to the second device;
    所述第一设备接收来自所述第二设备的所述第二请求,包括:所述远程SIM服务模块接收来自所述第二设备的所述第二请求。The first device receiving the second request from the second device includes: the remote SIM service module receiving the second request from the second device.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, characterized in that the method further comprises:
    所述第一设备显示第一界面,所述第一界面中包括:用于设置移动网络的第一控件、以及用于设置与所述第一设备的更多连接的第二控件;The first device displays a first interface, wherein the first interface includes: a first control for setting a mobile network, and a second control for setting more connections with the first device;
    当所述第一设备接收针对所述第一控件的操作时,所述第一设备显示第二界面;所述第二界面中包括用于设置SIM卡管理的第三控件;响应于针对所述第三控件的操作,所述第一设备显示第三界面;所述第三界面中包括用于设置蜂窝通信能力接续的第四控件;响应于针对所述第四控件的操作,所述第一设备显示第四界面;所述第四界面中包括用于开启蜂窝通信能力接续的控件;响应于针对所述用于开启蜂窝通信能力接续的控件的操作,所述第一设备开启所述蜂窝通信能力接续功能;When the first device receives an operation on the first control, the first device displays a second interface; the second interface includes a third control for setting SIM card management; in response to the operation on the third control, the first device displays a third interface; the third interface includes a fourth control for setting cellular communication capability continuation; in response to the operation on the fourth control, the first device displays a fourth interface; the fourth interface includes a control for enabling cellular communication capability continuation; in response to the operation on the control for enabling cellular communication capability continuation, the first device enables the cellular communication capability continuation function;
    或者,当所述第一设备接收到针对所述第二控件的操作时,所述第一设备显示第五界面;所述第五界面中包括所述第四控件;响应于针对所述第四控件的操作,所述第一设备显示所述第四界面,所述第四界面中包括用于开启蜂窝通信能力接续的控件; 响应于针对所述用于开启蜂窝通信能力接续的控件的操作,所述第一设备开启所述蜂窝通信能力接续功能。Alternatively, when the first device receives an operation on the second control, the first device displays a fifth interface; the fifth interface includes the fourth control; in response to the operation on the fourth control, the first device displays the fourth interface, and the fourth interface includes a control for opening a cellular communication capability connection; In response to the operation on the control for starting the cellular communication capability connection, the first device starts the cellular communication capability connection function.
  12. 根据权利要求11所述的方法,其特征在于,所述第一界面的状态栏中还包括:用于指示所述第一SIM卡不具有所述蜂窝通信能力的标识,所述第一设备向所述第二设备发送第一信息之前,所述方法还包括:The method according to claim 11, characterized in that the status bar of the first interface further includes: an identifier for indicating that the first SIM card does not have the cellular communication capability, and before the first device sends the first information to the second device, the method further includes:
    所述第一设备显示第六界面;其中,所述第六界面的状态栏中包括:用于指示所述第一SIM卡具有所述蜂窝通信能力的标识、以及用于指示所述第一设备处于所述蜂窝通信能力接续的标识。The first device displays a sixth interface; wherein the status bar of the sixth interface includes: an identifier for indicating that the first SIM card has the cellular communication capability, and an identifier for indicating that the first device is in the state of connecting the cellular communication capability.
  13. 根据权利要求12所述的方法,其特征在于,所述第六界面中还包括:用于指示蜂窝通信能力接续的时长信息、提示信息、以及第五控件,所述提示信息用于提示所述第二设备正在为所述第一设备提供所述蜂窝通信能力接续,所述方法还包括:The method according to claim 12, characterized in that the sixth interface further includes: duration information for indicating the cellular communication capability connection, prompt information, and a fifth control, wherein the prompt information is used to prompt that the second device is providing the cellular communication capability connection for the first device, and the method further includes:
    所述第一设备接收针对所述第五控件的操作;The first device receives an operation on the fifth control;
    响应于针对所述第五控件的操作,所述第一设备结束所述蜂窝通信能力的接续。In response to the operation on the fifth control, the first device ends the connection of the cellular communication capability.
  14. 一种蜂窝通信能力接续的方法,其特征在于,所述方法包括:A method for connecting cellular communication capabilities, characterized in that the method comprises:
    第二设备与第一设备建立连接;The second device establishes a connection with the first device;
    在所述连接建立后,所述方法还包括:After the connection is established, the method further includes:
    所述第二设备通过所述建立的连接,接收来自所述第一设备的第一请求,所述第一请求用于指示所述第一设备请求访问所述第二设备的调制解调处理器modem;The second device receives a first request from the first device through the established connection, where the first request is used to indicate that the first device requests to access a modem processor of the second device;
    所述第二设备向所述第一设备发送第二请求,所述第二请求用于指示所述第二设备请求远程访问所述第一设备的第一用户识别模块SIM卡;The second device sends a second request to the first device, where the second request is used to indicate that the second device requests to remotely access a first subscriber identity module SIM card of the first device;
    所述第二设备在发送所述第二请求后接收来自所述第一设备的所述第一SIM卡信息;The second device receives the first SIM card information from the first device after sending the second request;
    所述第二设备接收来自所述第一设备的第一信息,以将所述第一信息通过所述第二设备的modem基于所述第一SIM卡信息经由蜂窝网络发送至第三设备;所述第一信息与第一业务相关,所述第一业务与所述第一设备和所述第三设备相关;The second device receives the first information from the first device, and sends the first information to the third device via a cellular network through a modem of the second device based on the first SIM card information; the first information is related to a first service, and the first service is related to the first device and the third device;
    所述第二设备向所述第一设备发送第二信息,所述第二信息包括:所述第二设备的modem基于所述第一SIM卡信息经由所述蜂窝网络接收的来自所述第三设备的信息,所述第二信息与所述第一业务相关。The second device sends second information to the first device, where the second information includes: information from the third device received by a modem of the second device via the cellular network based on the first SIM card information, and the second information is related to the first service.
  15. 根据权利要求14所述的方法,其特征在于,所述第二设备向所述第一设备发送所述第二请求,包括:The method according to claim 14, wherein the second device sending the second request to the first device comprises:
    所述第二设备通过所述建立的连接,接收来自所述第一设备的所述第一请求之后,所述第二设备向所述第一设备发送所述第二请求。After the second device receives the first request from the first device through the established connection, the second device sends the second request to the first device.
  16. 根据权利要求14或15所述的方法,其特征在于,The method according to claim 14 or 15, characterized in that
    所述第二设备通过所述建立的连接,接收来自所述第一设备的第一请求之后,所述方法还包括:所述第二设备向所述第一设备发送所述第一请求对应的响应消息;其中,所述第一请求对应的响应消息用于指示所述第二设备允许所述第一设备访问所述第二设备的modem;After the second device receives the first request from the first device through the established connection, the method further includes: the second device sends a response message corresponding to the first request to the first device; wherein the response message corresponding to the first request is used to indicate that the second device allows the first device to access the modem of the second device;
    所述第二设备在发送所述第二请求后接收来自所述第一设备的所述第一SIM卡信息之后,所述方法还包括:所述第二设备向所述第一设备发送第三信息,所述第三信 息为所述第二设备的modem基于所述第一SIM卡信息注册蜂窝网络时得到的信息。After the second device receives the first SIM card information from the first device after sending the second request, the method further includes: the second device sends third information to the first device, the third information The information is information obtained when the modem of the second device registers the cellular network based on the first SIM card information.
  17. 根据权利要求13-16任一项所述的方法,其特征在于,所述第二设备通过所述建立的连接接收来自所述第一设备的第一请求,包括:The method according to any one of claims 13 to 16, wherein the second device receives the first request from the first device through the established connection, comprising:
    所述第二设备通过所述建立的连接,接收来自所述第一设备的第三请求,所述第三请求用于指示所述第一设备请求所述第二设备为所述第一设备提供蜂窝通信能力的接续;The second device receives a third request from the first device through the established connection, wherein the third request is used to instruct the first device to request the second device to provide a connection of cellular communication capability for the first device;
    所述第二设备向所述第一设备发送与所述第三请求对应的响应消息,其中,与所述第三请求对应的响应消息用于指示所述第二设备同意为所述第一设备提供所述蜂窝通信能力的接续;The second device sends a response message corresponding to the third request to the first device, wherein the response message corresponding to the third request is used to indicate that the second device agrees to provide the first device with a continuation of the cellular communication capability;
    所述第二设备向所述第一设备发送与所述第三请求对应的响应消息后,接收来自所述第一设备的所述第一请求。After the second device sends a response message corresponding to the third request to the first device, it receives the first request from the first device.
  18. 根据权利要求14-17任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14 to 17, characterized in that the method further comprises:
    所述第二设备接收来自所述第一设备的第四请求,所述第四请求用于指示所述第一设备请求使用所述第二设备的网络互联协议多媒体子系统IMS能力;The second device receives a fourth request from the first device, where the fourth request is used to indicate that the first device requests to use an Internetworking Protocol Multimedia Subsystem (IMS) capability of the second device;
    所述第二设备向所述第一设备发送第四信息,所述第四信息用于指示所述第二设备允许所述第一设备使用所述第二设备的IMS能力;The second device sends fourth information to the first device, where the fourth information is used to indicate that the second device allows the first device to use the IMS capability of the second device;
    所述第二设备接收来自所述第一设备的第一信息,包括:所述第二设备在发送所述第四信息后接收来自所述第一设备的所述第一信息。The second device receives the first information from the first device, including: the second device receives the first information from the first device after sending the fourth information.
  19. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,使得所述电子设备执行如权利要求1至13任一项所述的方法,或者执行如权利要求14至18任一项所述的方法。An electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device executes a method as claimed in any one of claims 1 to 13, or executes a method as claimed in any one of claims 14 to 18.
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,使得计算机执行如权利要求1至13任一项所述的方法,或者执行如权利要求14至18任一项所述的方法。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the computer executes the method according to any one of claims 1 to 13, or executes the method according to any one of claims 14 to 18.
  21. 一种计算机程序产品,其特征在于,包括计算机程序,当所述计算机程序被运行时,使得计算机执行如权利要求1至13任一项所述的方法,或者执行如权利要求14至18任一项所述的方法。 A computer program product, characterized in that it comprises a computer program, and when the computer program is executed, it enables a computer to execute the method according to any one of claims 1 to 13, or execute the method according to any one of claims 14 to 18.
PCT/CN2023/118105 2022-09-30 2023-09-11 Cellular communication capability handover method and apparatus WO2024067054A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211214782.X 2022-09-30
CN202211214782.XA CN116390042A (en) 2022-09-30 2022-09-30 Method and apparatus for cellular communication capability connection

Publications (1)

Publication Number Publication Date
WO2024067054A1 true WO2024067054A1 (en) 2024-04-04

Family

ID=86962039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/118105 WO2024067054A1 (en) 2022-09-30 2023-09-11 Cellular communication capability handover method and apparatus

Country Status (2)

Country Link
CN (1) CN116390042A (en)
WO (1) WO2024067054A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116390042A (en) * 2022-09-30 2023-07-04 荣耀终端有限公司 Method and apparatus for cellular communication capability connection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104770055A (en) * 2012-11-08 2015-07-08 苹果公司 Mixtures for the coating of metallic surfaces
CN106060908A (en) * 2016-05-26 2016-10-26 王家城 Method and equipment for prolonging usage time of battery of mobile communication terminal
CN113630910A (en) * 2021-07-21 2021-11-09 荣耀终端有限公司 Method for using cellular communication function and related device
CN113923611A (en) * 2020-07-09 2022-01-11 荣耀终端有限公司 Call forwarding system and related device
US20220109969A1 (en) * 2020-10-01 2022-04-07 Apple Inc. Emergency Communication in Non-cellular Coverage
CN116390042A (en) * 2022-09-30 2023-07-04 荣耀终端有限公司 Method and apparatus for cellular communication capability connection

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190062402A (en) * 2016-10-12 2019-06-05 모하메드 하마드 알 하즈리 Substitute cellularless roaming
CN113037929B (en) * 2019-12-24 2022-04-15 腾讯科技(深圳)有限公司 Information relay output method and device, electronic equipment and storage medium
GB2601205A (en) * 2020-05-18 2022-05-25 Pismo Labs Technology Ltd Method and system for providing communication services using a plurality of remote subscriber identity modules

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104770055A (en) * 2012-11-08 2015-07-08 苹果公司 Mixtures for the coating of metallic surfaces
CN106060908A (en) * 2016-05-26 2016-10-26 王家城 Method and equipment for prolonging usage time of battery of mobile communication terminal
CN113923611A (en) * 2020-07-09 2022-01-11 荣耀终端有限公司 Call forwarding system and related device
US20220109969A1 (en) * 2020-10-01 2022-04-07 Apple Inc. Emergency Communication in Non-cellular Coverage
CN113630910A (en) * 2021-07-21 2021-11-09 荣耀终端有限公司 Method for using cellular communication function and related device
CN116390042A (en) * 2022-09-30 2023-07-04 荣耀终端有限公司 Method and apparatus for cellular communication capability connection

Also Published As

Publication number Publication date
CN116390042A (en) 2023-07-04

Similar Documents

Publication Publication Date Title
US9014038B2 (en) Intelligent multi-streaming for enhancing or avoiding dropped and interrupted communication sessions
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
EP2630756B1 (en) Method and apparatus for sharing internet connection based on automatic configuration of network interface
EP4007374A1 (en) Information processing method and apparatus, communication device and storage medium
US10477030B2 (en) LTE cellular mobile network access system and corresponding communication method
EP1931061B1 (en) Managing the connection status of wireless communication
KR20130124405A (en) Connection manager for a wireless communication device
WO2024067054A1 (en) Cellular communication capability handover method and apparatus
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
US20140044125A1 (en) Outbound Communication Session Establishment on a Telecommunications Network
KR20150128814A (en) Enhanced call control for directing a content path over multiple connections
CN108353348A (en) A kind of data connection establishing method and terminal device
CN116709583B (en) Method and device for realizing double-card double-pass
US20220007171A1 (en) Communication service transmission method and apparatus, storage medium and electronic apparatus
CN113709826A (en) Communication method, device and system
WO2022170914A1 (en) Disaster roaming method, apparatus and system
CN114980224B (en) WiFi hotspot switching method, terminal equipment and storage medium
CN106488470B (en) Method, device and terminal for realizing Miracast and wireless hotspot coexistence
WO2023124258A1 (en) Method and apparatus for remotely accessing subscriber identity module (sim) card
CN116743916A (en) Communication method and device based on cellular communication capability connection
WO2022160183A1 (en) Method and apparatus for accessing network
WO2024098937A1 (en) Communication method, communication apparatus, and storage medium
WO2024032543A1 (en) Information acquisition method, and terminal and access network device
US20240146663A1 (en) Gateway device and method therefor, medium and application product
WO2023004697A1 (en) User plane forwarding between user plane function and application function

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: 23870293

Country of ref document: EP

Kind code of ref document: A1