Method and device for connecting cellular communication capabilities
Through the connection between the first device and the second device, the modem and SIM card of the second device are used to realize the connection of cellular communication capabilities in a weak or signal-free environment, and solve the problem of weak signal environment in the prior art The problem of business failure to use normally improves the user experience.
Patent Information
- Application Number
- CN202211214782.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-09-30
AI Technical Summary
In an environment where cellular communication network signals are weak or without signals, the prior art requires the installation of micro base stations or the setting of signal amplifiers. The process is cumbersome and the installation position of the equipment cannot be flexibly adjusted, resulting in the inability to use cellular communication services normally.
By establishing a connection between the first device and the second device, the modem processor modem of the second device and the user identification module SIM card are used to achieve the connection of cellular communication capabilities, so that the first device can be carried out in a better network signal environment Business operations.
In an environment where the network signal is weak or signalless, the first device can be connected through the cellular communication capabilities of the second device, improving the user's cellular communication service experience and avoiding the cumbersome process of installing a micro base station or signal amplifier.
Smart Images

Figure CN116390042B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a method and device for connecting cellular communication capabilities. Background Art
[0002] 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 inter-zone switching 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.
[0003] 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.
[0004] 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
[0005] 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 with a good network signal and cellular communication capability to connect the cellular communication capability.
[0006] 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.
[0007] 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.
[0008] The first request may be Figure 5 The remote modem switching command in the second request can be Figure 5 The remote SIM switching instruction in the embodiment of the present application may be a CS calling call service request, an IMS calling call service request, or a text message service; the second message may be a CS called call service request, or an IMS called call service request, etc. in the embodiment of the present application.
[0009] 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.
[0010] 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.
[0011] 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, it sends the first SIM card information to the second device, 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.
[0012] 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.
[0013] The message corresponding to the first request can be Figure 5The remote modem switching success instruction described in the corresponding embodiment, the third information can be Figure 5 The network information described in the corresponding embodiment.
[0014] 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.
[0015] 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.
[0016] The third request may be Figure 5 The corresponding connection mode switching instruction in the embodiment; the response message corresponding to the third request is Figure 5 The response message corresponding to the connection mode switching instruction in the corresponding embodiment.
[0017] 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.
[0018] 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.
[0019] In a possible implementation, the method also 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 first information to the second device, including: the first device sends the first information to the second device after receiving the fourth information.
[0020] 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.
[0021] The fourth request may be Figure 5 In the corresponding embodiment of the remote IMS switching instruction, the fourth information may be Figure 5 The remote IMS switching success instruction (IMS registration information) in the corresponding embodiment.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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 the 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.
[0027] 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.
[0028] 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 can be found in Figure 8 The corresponding embodiments.
[0029] 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.
[0030] The detailed description of remote modem service module can be found in Figure 6 For the detailed description of the remote SIM service module, please refer to Figure 7 The corresponding embodiments.
[0031] 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.
[0032] In a possible implementation, the method also includes: the first device displays 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 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, 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.
[0033] 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.
[0034] The first interface can be Fig.11 The interface shown in a in the figure, the second interface can be Fig.11 The interface shown in b in the figure, the third interface can be Fig.11 The fourth interface can be Fig.11 The interface shown in d or Fig.12 The fifth interface can be Fig.12 The interface shown in b.
[0035] 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.
[0036] 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.
[0037] Among them, the sixth interface can be Fig.14 The interface shown in a.
[0038] 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, the prompt information being 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 receiving 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.
[0039] 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.
[0040] 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 processor 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.
[0041] 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.
[0042] The first request may be Figure 5 The remote modem switching command in the second request can be Figure 5 The remote SIM switching instruction in the embodiment of the present application may be a CS calling call service request, an IMS calling call service request, or a text message service; the second message may be a CS called call service request, or an IMS called call service request, etc. in the embodiment of the present application.
[0043] 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.
[0044] 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.
[0045] In a 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.
[0046] 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.
[0047] The message corresponding to the first request can be Figure 5 The remote modem switching success instruction described in the corresponding embodiment, the third information can be Figure 5 The network information described in the corresponding embodiment.
[0048] 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.
[0049] The third request may be Figure 5 The corresponding connection mode switching instruction in the embodiment; the response message corresponding to the third request is Figure 5 The response message corresponding to the connection mode switching instruction in the corresponding embodiment.
[0050] In a possible implementation, the method also includes: the second device receives 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 second device sends 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 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] 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;
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 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 the modulation and demodulation processor modem 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 the 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 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 information is related to a 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, 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.
[0067] 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.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] 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.
[0074] 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
[0075] Figure 1 A schematic diagram of a scenario provided for an embodiment of the present application;
[0076] Figure 2 Another scenario schematic diagram provided for an embodiment of the present application;
[0077] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0078] Figure 4 A schematic flow chart of a method for connecting cellular communication capabilities is provided for an embodiment of the present application;
[0079] Figure 5A flowchart of another method for connecting cellular communication capabilities provided in an embodiment of the present application;
[0080] Figure 6 A schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application;
[0081] Figure 7 A schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application;
[0082] Figure 8 A schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application;
[0083] Fig. 9 A schematic diagram of a CS domain call flow provided in an embodiment of the present application;
[0084] Fig.10 A schematic diagram of a flow chart of an IMS domain call provided in an embodiment of the present application;
[0085] Fig.11 A schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application;
[0086] Fig.12 A schematic diagram of another interface for enabling a cellular communication capability connection function provided in an embodiment of the present application;
[0087] Fig.13 A schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application;
[0088] Fig.14 A schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application;
[0089] Fig.15 A schematic diagram of a device for connecting cellular communication capabilities provided in an embodiment of the present application. DETAILED DESCRIPTION
[0090] 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.
[0091] 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.
[0092] In the present 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 objects associated before and after 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.
[0093] 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:
[0094] 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.
[0095] 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 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), etc. The specific form of the SIM card is not limited in the embodiments of the present application.
[0096] 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.
[0097] 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.
[0098] 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: Figure 1 The near-field scenario described in the corresponding embodiment, and Figure 2 The far-field scenarios described in the corresponding embodiments, etc.
[0099] For example, Figure 1 A schematic diagram of a scenario provided in an embodiment of the present application. Figure 1 In the corresponding embodiments, an electronic device is taken as a mobile phone as an example for illustration, and this example does not constitute a limitation on the embodiments of the present application.
[0100] like Figure 1 As shown, the scenario may include a first device 101 set in the basement and a second device 102 set in the 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.
[0101] It is understandable that in Figure 1 In the near-field scenario shown, 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 implement data forwarding between the first device 101 and the second device 102.
[0102] In such Figure 1In the corresponding near-field scenario, 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.
[0103] For example, Figure 2 Another scenario diagram provided for an embodiment of the present application. Figure 2 As shown, 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 or may not be provided with a SIM card; the first device 201 may be provided with a modem 2 (or M2 for short), and the second device 202 may be provided with a modem 1 (or M1 for short). The cellular network signal of the first device 201 located in the company is weak or does not have a cellular network signal, and the cellular network signal of the second device 102 located at home is good.
[0104] 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 Figure 2 M1 in ).
[0105] It is understandable that in Figure 2 In the far-field scenario shown, 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.
[0106] Among the possible implementations, either Figure 1 The first device 101 and the second device 102 are connected to the same WIFI to establish a communication connection, or as shown in Figure 2 The first device 201 and the second device 202 are connected to each other by connecting to the corresponding WIFI, etc., in order to ensure data communication between the first device and the second device. Figure 1 or Figure 2In the scenario shown, a communication connection can also be established between the first device and the second device through another SIM card in the first device with a cellular network (or which can be understood as a cellular network with a better signal), or other wireless or wired methods, which is not limited to this in the embodiments of the present application.
[0107] In such Figure 2 In the corresponding far-field scenario, 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.
[0108] comprehensive Figure 1 as well as Figure 2 In the corresponding scenario, usually, the network coverage in the environment with weak network signal can be improved by installing a micro base station or setting a signal amplifier in the environment with weak network signal. 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.
[0109] 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 based on the first SIM card information via a cellular network, 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.
[0110] It is understandable that if Figure 2 As shown, a method for connecting cellular communication capabilities provided in an embodiment of the present application can realize transferring a SIM card in a first device 201 to a second device 202 for use, and realize transferring M1 in the second device 202 to the first device 201 for use.
[0111] 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.
[0112] 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.
[0113] 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.
[0114] It can be understood that in the scenario where cellular communication services are 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.
[0115] The embodiment of the present application provides a method for connecting cellular communication capabilities, so that the first device can use the local SIM card to receive call services, and the telephone number used in the call service is the telephone number of the first device to ensure the cellular communication service of the first device.
[0116] It can be understood that in the scenario where the transfer of cellular communication services is achieved by forwarding application-side data between the first device and the second 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; 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.
[0117] 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.
[0118] 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.
[0119] 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.
[0120] 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 a 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.
[0121] 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.
[0122] For example, Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0123] Figure 3 The electronic device shown 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.
[0124] 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.
[0125] 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.
[0126] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split 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.
[0127] The processor 210 may also be provided with a memory for storing instructions and data.
[0128] 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.
[0129] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, Modem 210A and baseband processor.
[0130] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
[0131] 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 arranged in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 may be arranged in the same device as at least some modules of the processor 210.
[0132] 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 processor 210 and may be arranged in the same device as mobile communication module 250 or other functional modules.
[0133] 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 technology (NFC), infrared technology (IR), etc.
[0134] 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.
[0135] 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.
[0136] The following specific embodiments are used to describe 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, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0137] In the embodiment of the present application, the first device may be located in a scene 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 scene), and the second device may be in a scene where the cellular network signal is strong. In this scene, the first device and the second device may be based on the following Figure 4 The corresponding embodiment implements a method for connecting cellular communication capabilities described in the embodiment of the present application. Exemplarily, Figure 4 A flowchart of a method for connecting cellular communication capabilities is provided for an embodiment of the present application.
[0138] 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).
[0139] In possible implementations, the first device and the second device can also be registered to 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.
[0140] 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 an idle 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.
[0141] 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.
[0142] 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.
[0143] like Figure 4 As shown, the method for connecting the cellular communication capability may include the following steps:
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] 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 access the modem of device B.
[0149] 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 be referred to Figure 6 The corresponding embodiments.
[0150] 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.
[0151] For descriptions of relay mode switching instructions, see Figure 5 The corresponding step S502 in the embodiment; the description of the response message corresponding to the relay mode switching instruction can be found in Figure 5 The corresponding embodiment of the step S503 shown; the description of the remote modem switching instruction can be found in Figure 5 The corresponding embodiment of the step S504 shown; the description of the remote modem switching success instruction can be found in Figure 5 The corresponding step is shown in S506 in the embodiment.
[0152] 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.
[0153] 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.
[0154] 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 be seen in Figure 7 The corresponding embodiments.
[0155] 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.
[0156] For the description of remote SIM switching instructions, please refer to Figure 5 The corresponding embodiment of the step S507 shown; the transmission and use of the SIM card information can be found in Figure 5 The steps shown in S511-S513 in the corresponding embodiment; the description related to the network information can be found in Figure 5 The corresponding steps are shown in S515-S516 in the embodiment.
[0157] In a possible implementation, S404, the first device and the second device implement a circuit switched (CS) call service.
[0158] The CS call service may include: a CS calling call service and a CS called call service. The CS calling 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.
[0159] 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.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] 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.
[0164] 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 be found in Figure 8 Corresponding embodiments, and the IMS service may include: IMS call service and / or IMS text message service, etc.
[0165] Exemplarily, obtaining the IMS communication capability of the second device is used as an example for illustration. 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.
[0166] For a description of remote IMS switching instructions, see Figure 5 The steps shown in S512-S522 in the corresponding embodiment; the description of obtaining IMS registration information can be found in Figure 5 The corresponding embodiment of the step S523 shown; the description of the remote IMS switching success instruction can be found in Figure 5 The corresponding step is shown in S524 in the embodiment.
[0167] In a possible implementation, S406, the first device and the second device implement an IMS call service.
[0168] The IMS call service may include an IMS calling call and an IMS called call.
[0169] 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.
[0170] 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.
[0171] 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.
[0172] Exemplarily, when the first device and the second device establish an IMS call service (or CS call service), 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 side.
[0173] 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.
[0174] 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.
[0175] Understandably, Figure 4 The order of the steps described in the corresponding embodiments is only an example, and the order of the steps can be adjusted, such as being performed sequentially or in parallel.
[0176] 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.
[0177] 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 reading process of the SIM card data of the first device by the second device during the remote SIM function is relatively long, the first device will always present 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 presents (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 present a card-available state on the screen of the first device after the remote SIM function and the remote modem function are executed.
[0178] 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 the step shown in 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 the no card state to the card state, and then from the no service state to the service state, so that the user of the first device can timely perceive the change of the SIM card state during the process of connecting the cellular communication capability.
[0179] 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 inputting 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 inputting 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.
[0180] When the first device and the second device first execute the remote modem function in the step shown in 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 to realize the cellular communication capability continuation function.
[0181] 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.
[0182] Based on the above Figure 4 Corresponding to the content described in the embodiment, the embodiment of the present application provides a method for connecting cellular communication capabilities.
[0183] For example, Figure 5 A flowchart of another method for connecting cellular communication capabilities provided in an embodiment of the present application. Figure 5 In the corresponding embodiment, 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.
[0184] like Figure 5 As shown, the method for connecting the cellular communication capability may include the following steps:
[0185] S501. A distributed communication service module of a first device establishes a communication connection with a distributed communication service module of a second device.
[0186] Exemplarily, the first device and the second device are both based on Fig.11 (or Fig.12) In the corresponding embodiment, when the cellular communication capability connection function is turned on, 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.
[0187] 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.
[0188] 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.
[0189] For example, when the first device detects that the network signal is weak or there is no network signal, the first device can automatically initiate a 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. Fig.13 The corresponding embodiment manually initiates the connection of the cellular communication capability, so that the first device executes the step shown in S502.
[0190] For example, when the first device receives the user's Fig.13 When the relay control of card 1 is triggered in the interface shown in b, the distributed communication service module of the first device can send a relay mode switching instruction to the distributed communication service module of the second device. In this scenario, the relay mode switching instruction can include information of card 1, and the relay mode switching instruction can instruct the second device to connect the cellular communication capability of card 1 of the first device.
[0191] For possible implementations, see Figure 6 (or Figure 7 or Figure 8 ) In the description of the corresponding embodiment, 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 can also be referred to as Figure 6 (or Figure 7 or Figure 8 ) described in the distributed bus.
[0192] 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.
[0193] 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.
[0194] 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.
[0195] 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.
[0196] Possible implementations include Figure 6 As shown, the remote modem service module 6011 in the distributed communication service module of the first device can send a remote modem switching instruction to the distributed communication service module of the second device based on the steps shown in S6001.
[0197] 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.
[0198] It is understandable that, upon receiving the remote modem switching instruction, the modem of the second device may perform preparation work corresponding to the remote modem function, so that the modem of the second device may cooperate with the first device to expedite the completion of the remote modem function.
[0199] Possible implementations include Figure 6 As shown, the second device can send the remote modem switching instruction to the second device modem based on the steps shown in S6002-S6003.
[0200] 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.
[0201] 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.
[0202] For example, Figure 6As shown, the distributed communication service module of the second device can send a remote modem switching success instruction to the distributed communication service module of the first device based on the steps shown in S6006.
[0203] 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.
[0204] 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. Fig.13 When the card 1 relay control is triggered in the interface shown in b, the first device can determine to continue 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 the card 1 in the first device. The information of the card 1 can be returned to the second device based on the step shown in S502.
[0205] For example, Figure 7 As shown, the distributed communication module of the second device can send the remote SIM switching instruction to the distributed communication service module of the first device based on the steps shown in S7001.
[0206] S508: The distributed communication service module of the second device sends a remote SIM switching instruction to the modem of the second device.
[0207] For example, Figure 7 As shown, the distributed communication service module of the second device can send a remote SIM switching instruction to the modem of the second device based on the path described in steps S7007-S7008.
[0208] 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.
[0209] 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. Figure 7 As shown, the remote client mode is used to instruct the second device not to read the SIM card information of card 3 through the local SIM card module, but to read the SIM card information of card 1 of the first device from the remote SIM card module.
[0210] S510: The distributed communication service module of the first device sends a remote SIM switching instruction to a modem of the first device.
[0211] For example, Figure 7 As shown, 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.
[0212] 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.
[0213] For example, Figure 7 As shown, the modem of the first device can 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.
[0214] 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.
[0215] For example, Figure 7 As shown, the distributed communication service module of the first device can send the SIM card information of card 1 to the distributed communication service module of the second device based on the steps shown in S7006.
[0216] 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.
[0217] For example, Figure 7 As shown, the distributed communication service module of the second device can send the SIM card information of card 1 to the modem of the second device based on the steps shown in S7007-S7008.
[0218] S514: The modem of the second device registers the cellular network using the SIM card information of card 1.
[0219] 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.
[0220] S515. The modem of the second device sends the network information to the distributed communication service module of the second device.
[0221] For example, Figure 6As shown, the modem of the second device can send the on-network information to the distributed communication service module of the second device based on the path described in the steps shown in S6004-6005.
[0222] S516. The distributed communication service module of the second device sends the network information to the distributed communication service module of the first device.
[0223] For example, Figure 6 As shown, the distributed communication service module of the second device can send the on-network information to the distributed communication service module of the first device based on the path described in the step shown in S6006.
[0224] 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.
[0225] 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.
[0226] 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.
[0227] In one implementation, when the first device receives a CS calling call service request, the first device and the second device can forward the CS calling call service request to the modem of the second device based on the steps shown in S517-S518, so that the modem can forward the calling call service to the third device through the network.
[0228] 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.
[0229] 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.
[0230] The CS outgoing call service request may include: dialing information when making an outgoing call, such as a telephone number.
[0231] For example, when the first device receives a dialing operation from the user, the first device may generate a CS outgoing call service request and execute the steps shown in S517. The CS outgoing call service request may be based on Figure 6 In the corresponding embodiment, the step shown in S6001 is forwarded by the first device to the second device.
[0232] S518. The distributed communication service module of the second device sends a CS calling call service request to the modem of the second device.
[0233] The CS calling service request can be based on Figure 6 In the corresponding embodiment, the steps shown in S6002-S6003 are forwarded by the distributed communication service module of the second device to the modem of the second device.
[0234] 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.
[0235] S519: The modem of the second device sends a CS called call service request to the distributed communication service module of the second device.
[0236] The CS called call service request may include: the called phone number, the location corresponding to the phone number and other information.
[0237] 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.
[0238] 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.
[0239] 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.
[0240] 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.
[0241] 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.
[0242] The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
[0243] For example, Figure 8 As shown, the distributed communication service module of the first device can send a remote IMS switching instruction to the distributed communication service module of the second device based on the step shown in S8001.
[0244] S522: The distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device.
[0245] For example, Figure 8 As shown, the distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device based on the steps shown in S8002-S8004.
[0246] 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.
[0247] S523: The modem of the second device sends IMS registration information to the distributed communication service module of the second device.
[0248] For example, Figure 8 As shown, 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.
[0249] 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.
[0250] For example, Figure 8 As shown, 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.
[0251] 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.
[0252] 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.
[0253] 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.
[0254] 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.
[0255] 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.
[0256] For example, 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 based on Figure 8 In the corresponding embodiment, the step shown in S8001 is forwarded by the first device to the second device.
[0257] S527: The distributed communication service module of the second device sends an IMS outgoing call service request to the modem of the second device.
[0258] The IMS calling service request can be based on Figure 8 In the corresponding embodiment, the steps shown in S8002-S8004 are forwarded by the distributed communication service module of the second device to the modem of the second device.
[0259] 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.
[0260] S528: The modem of the second device sends an IMS called call service request to the distributed communication service module of the second device.
[0261] The IMS called call service request may include: the called telephone number, the location corresponding to the telephone number and other information.
[0262] For example, Figure 8 As shown, the IMS called call service request can be based on Figure 8 In the corresponding embodiment, the steps shown in S8005-S8007 are sent by the modem of the second device to the distributed communication service module of the second device.
[0263] 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.
[0264] For example, Figure 8 As shown, the IMS called call service request can be based on Figure 8 In the corresponding embodiment, the step shown in S8008 is sent by the distributed communication service module of the second device to the distributed communication service module of the first device.
[0265] 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.
[0266] 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.
[0267] 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.
[0268] exist Figure 4 Based on the corresponding embodiment, the method of the first device remotely accessing the modem of the second device in step S402 can be referred to Figure 6 The corresponding embodiments.
[0269] For example, Figure 6 A schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application.
[0270] like Figure 6As shown, the layered architecture of the first device divides the software into several layers, each layer has 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: application layer, application framework layer, and system library. The first device may also include a modem.
[0271] The application layer can include a series of application packages. Figure 6 As shown, the application package may include: telephone, navigation, Bluetooth, short message and other applications.
[0272] The application framework layer provides an application programming interface (API) and a programming framework for the applications of 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.
[0273] 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.).
[0274] The distributed communication service module may include: a distributed cellular communication control module, a remote modem service module 6011 , and a distributed bus 6012 .
[0275] 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.
[0276] 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.
[0277] 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.
[0278] 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.
[0279] 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.
[0280] The system library may include a hardware abstraction layer (HAL), and the HAL layer may include a radio interface layer (RIL).
[0281] In a possible implementation, the RIL may include a radio interface layer daemon (RILD) and the like ( Figure 6 not shown).
[0282] 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.
[0283] It is understandable that the software architecture of the second device is different from Figure 6 The software architecture of the first device in the corresponding embodiment is similar, and the functions of each function in the software architecture can be the same as Figure 6 The functions described in the corresponding embodiments are similar.
[0284] 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.
[0285] 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.
[0286] Combination Figure 6 In a corresponding embodiment, 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. 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.
[0287] 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.
[0288] 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 .
[0289] S6002. The remote modem service module 6014 sends the remote modem switching instruction to the RIL.
[0290] S6003, RIL sends the remote modem switching instruction to modem6015.
[0291] 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.
[0292] S6004 and modem6015 send the remote modem switching success instruction to the RIL.
[0293] S6005. RIL sends the remote modem switching success instruction to the remote modem service module 6014.
[0294] 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.
[0295] S6007. The remote modem service module 6011 sends the remote modem switching success instruction to the telephone manager 6016.
[0296] S6008. The telephone manager 6016 returns the remote modem switching success instruction to the application layer.
[0297] 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.
[0298] 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.
[0299] 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.
[0300] 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.
[0301] Based on this, the first device can be based on Figure 6 The corresponding embodiment implements access to the modem of the second device.
[0302] exist Figure 4 Based on the corresponding embodiment, the process of the second device remotely accessing the SIM card of the first device in step S403 can be referred to Figure 7 The corresponding embodiments.
[0303] For example, Figure 7 A schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application.
[0304] like Figure 7 As shown, the layered architecture of the first device divides the software into several layers, each layer has 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.
[0305] against Figure 7In the first device, 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.
[0306] The application layer can include a series of applications. Figure 7 As shown, the application package includes: telephone, navigation, Bluetooth, short message and other applications. 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.
[0307] like Figure 7 As shown, 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 Figure 6 The description in the corresponding embodiments will not be repeated here.
[0308] 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.
[0309] 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 the rSIM HIDL interface 7104, and the data structure carrying the message 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 to 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 that described above and will not be repeated here.
[0310] 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.
[0311] 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.
[0312] 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.
[0313] 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. ( Figure 7 (not shown in the figure), which is not limited in the embodiments of the present application.
[0314] HAL includes RIL, which is responsible for providing telephone services, 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 standard RIL service module), and remote SIM RIL module 7105.
[0315] Among them, 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 through 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 through the rSIM interface 7106.
[0316] The remote SIM RIL module 7105 may include: an rSIM instruction processing module. The rSIM instruction processing module is used to perform message processing on 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.
[0317] 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.
[0318] 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.
[0319] It is understandable that the software architecture of the second device is different from Figure 7 The software architecture of the first device in the corresponding embodiment is similar, and the functions of each function in the software architecture can be the same as Figure 7 The functions described in the corresponding embodiments are similar and 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.
[0320] Combination Figure 7 In a corresponding embodiment, 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.
[0321] 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.
[0322] 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.
[0323] 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.
[0324] S7002 . The remote SIM service module 7103 of the first device sends a remote SIM switching instruction to the remote SIM RIL module 7105 through the rSIM HIDL interface 7104 .
[0325] 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 .
[0326] Suitably, when the remote SIM card module 7107 receives the remote SIM switching instruction, the SIM card mode of the first device can be switched to the remote service module, and the remote service module 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.
[0327] 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.
[0328] S7004 . The remote SIM card module 7107 sends the SIM card information to the remote SIM RIL module 7105 through the rSIM interface 7106 .
[0329] 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 .
[0330] 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.
[0331] 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 .
[0332] S7008 . The 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 .
[0333] 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.
[0334] S7009 . The modem of the second device sends the network information to the remote SIM RIL module 7115 through the rSIM interface 7114 .
[0335] S7010 . The remote SIM RIL module 7115 sends the on-network information to the remote SIM service module 7102 of the second device through the rSIM HIDL interface 7116 .
[0336] 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.
[0337] It is understandable that the first device and the second device are based on Figure 7 When the steps described in the corresponding embodiment complete the remote SIM card switching, 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, etc. 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.
[0338] 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.
[0339] exist Figure 4 On the basis of the corresponding embodiment, 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 be referred to in Figure 8 The corresponding embodiments.
[0340] For example, Figure 8 A schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application.
[0341] like Figure 8As shown, the layered architecture of the first device divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the IMS APK, and the HAL layer. The first device may also include a modem.
[0342] The contents of the application layer can be found in Figure 6 (or Figure 7 ) The contents of the application layer in the corresponding embodiment will not be repeated here.
[0343] 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.
[0344] 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 an IMS 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.
[0345] 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 Figure 6 (or Figure 7 The first device may also include: an IMS APK, which may include an IMS service module, which 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.
[0346] 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.
[0347] 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.
[0348] 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.
[0349] 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.
[0350] 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.
[0351] It is understandable that the software architecture of the second device is different from Figure 8 The software architecture of the first device in the corresponding embodiment is similar, and the functions of each function in the software architecture can be the same as Figure 8 The functions described in the corresponding embodiments are similar and will not be repeated here.
[0352] 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.
[0353] The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.
[0354] 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.
[0355] 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.
[0356] 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.
[0357] 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.
[0358] S8003. The IMS management module sends the remote IMS switching instruction to the IMS service module.
[0359] S8004. The IMS service module sends the remote IMS switching instruction to the modem of the second device.
[0360] 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.
[0361] Suitably, when receiving the remote IMS switching instruction, the modem can obtain the IMS registration information and return the 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).
[0362] S8005. The modem of the second device sends a remote IMS switching success instruction to the IMS service module.
[0363] 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.
[0364] S8006. The IMS service module sends a remote IMS switching success instruction to the IMS management module in the phone manager.
[0365] 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 .
[0366] 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.
[0367] 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.
[0368] Specifically, the IMS call session monitoring proxy module of the second device may use the distributed bus 8104 of the second device and the distributed bus 8103 of the first device to send the remote IMS switching success instruction to the IMS call session monitoring proxy module of the first device.
[0369] 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.
[0370] 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.
[0371] 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.
[0372] S8009. The IMS call session monitoring agent module of the first device sends a remote IMS switching success instruction to the IMS management module.
[0373] S8010. The IMS management module sends a remote IMS switching success instruction to the IMS telephone module.
[0374] S8011. The IMS phone module sends a remote IMS switching success instruction to the application layer of the first device.
[0375] 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.
[0376] 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.
[0377] 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.
[0378] 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 complete the call connection in the IMS service using the second device.
[0379] It is understandable that, since 3GPP currently supports two modes of providing call services, namely, CS domain call and packet switch (PS) domain call, the IMS domain call may be a commonly used call mode in the PS domain call.
[0380] For CS domain calls, the software implementation of CS domain calls can be found in Fig. 9 Corresponding embodiments. Exemplarily, Fig. 9 A schematic diagram of a CS domain call flow provided in an embodiment of the present application.
[0381] like Fig. 9As shown, 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 a chip provided by a 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.
[0382] Understandably, see Fig. 9 The corresponding CS call process and Figure 6 The corresponding remote modem function and telephony need 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.
[0383] For IMS domain calls, the software implementation of IMS domain calls can be found in Fig.10 Corresponding embodiments. Exemplarily, Fig.10 A flowchart of an IMS domain call provided in an embodiment of the present application.
[0384] like Fig.10 As shown, the IMS domain call process may involve a phone application, a phone manager, an IMS APK, a RILD, and a modem. Among them, the phone application and the phone manager can be understood as software modules common to the Android platform and not related to the chip; the IMS APK, the RILD, and the modem can be understood as software modules related to the chip.
[0385] Understandably, see Fig.10 For the corresponding IMS call process, since the Android software architecture only defines the interface in the application framework layer, 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 message forwarding of IMS services 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 other chip manufacturers.
[0386] 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 be found in Figure 8 The corresponding embodiments will not be described in detail here.
[0387] Based on this, the first device can use the second device to achieve 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.
[0388] In the above Figure 4 On the basis of the corresponding embodiment, the process of the first device or the second device enabling the cellular communication capability connection function in S401 can be referred to Fig.11 or Fig.12 The corresponding embodiments.
[0389] In the embodiment of the present application, the first device can support opening the cellular communication capability connection function from the interface corresponding to the SIM card management function (see Fig.11 Corresponding embodiments), or the first device may also support enabling the cellular communication capability connection function from an interface for setting more connection functions corresponding to the first device (see Fig.12 It can be understood that the specific manner of enabling the cellular communication capability connection function may not be limited to the above two, and this is not limited in the embodiments of the present application.
[0390] In one implementation, the first device supports enabling a cellular communication capability connection function from an interface corresponding to a SIM card management function.
[0391] For example, Fig.11 A schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application. Fig.11 In the corresponding embodiment, the first device is used as an example to illustrate the method of enabling the cellular communication capability connection function, and the first device is a mobile phone. The method of enabling the cellular communication capability connection function of the second device can be referred to in Fig.11 The description in the corresponding embodiments will not be repeated hereafter.
[0392] When the first device receives an operation from the user to open the setting function, the first device may display Fig.11The interface shown in a in FIG. 1 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.
[0393] 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.
[0394] In such Fig.11 In the interface shown in a of FIG. 1 , when the first device receives a trigger operation from the user for the control 1101 for setting the mobile network, the first device may display the following Fig.11 The interface shown in b in the figure. Fig.11 The interface shown in b in the figure may include: a control for turning on airplane mode, a control for setting mobile data, a control for setting a personal hotspot, a control 1102 for setting SIM card management, a control for traffic management, an indication of whether to search for other setting items, and a control for call settings, etc.
[0395] In such Fig.11 In the interface shown in b in FIG. 1 , when the first device receives a trigger operation from the user for the control 1102 for setting SIM card management, the first device may display the following Fig.11 The interface shown in c in Figure 1 is as follows. Fig.11 The interface shown in c in the figure may be an interface corresponding to the SIM card management function, and may include: card 1 in the card insertion state, card 2 in the card insertion state, controls for setting the default mobile data, controls for setting the default dial card, controls for setting call forwarding between dual cards, and controls 1103 for setting device signal relay, etc. Among them, card 1 may correspond to the mobile phone number 1234567XXXX, and card 1 may provide the first device with a 5G / 4G / 3G / 2G network under the XX mobile manufacturer; card 2 may correspond to the mobile phone number 1324567XXXX, and 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 card 1 or card 2.
[0396] In a possible implementation, the control 1103 for setting the device signal relay can also be set as follows: Fig.11In the interface where the mobile network function is located as shown in b, this is not limited in the embodiments of the present application.
[0397] In such Fig.11 In the interface shown in c of FIG. 1 , when the first device receives a trigger operation from the user for the control 1103 for setting the device signal relay, the first device may display the following Fig.11 The interface shown in d. Fig.11 The interface shown in d in the figure may include: a control 1104 for turning on or off device signal relay, a control for exiting device signal relay, instruction information for instructing the device to perform a cellular communication capability continuation function, and instruction information for indicating the conditions that need to be met to trigger device signal relay. Among them, the instruction information for indicating the device cellular communication capability continuation function may be displayed as: in the absence of cellular network signals such as in the basement, use the cellular network of other idle devices to make calls and send and receive text messages; the instruction information for indicating the conditions that need to be met to trigger device signal relay may be displayed as: triggering device signal relay requires the following conditions to be met: 1. The user has multiple mobile phones / tablets and all are logged in to the device account; 2. The devices all have signal relay switches turned on; 3. Other devices used for relay need to have free card slots. Among them, the signal relay switch can be Fig.11 The control 1104 shown in d in the figure is used to turn 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 also have no free card slots, which is not limited in the embodiments of the present application.
[0398] In a possible implementation, the Fig.11 The indication information used to indicate the device's cellular communication capability connection function in the interface shown in d may also include one or more of the following, for example: the local device has no cellular network signal, the device must be connected to WI-FI, etc., which is not limited in the embodiments of the present application.
[0399] exist Fig.11 In the interface shown in d, when the cellular communication capability connection function of the device is in the off state, when the first 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.
[0400] 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.
[0401] For example, Fig.12 A schematic diagram of another interface for enabling the cellular communication capability connection function provided in an embodiment of the present application.
[0402] The first device displays Fig.12 The interface shown in a in the figure may include: a control 1201 for setting more connections. The content displayed in the interface may be the same as Fig.11 The content shown in a is similar and will not be repeated here.
[0403] In such Fig.12 In the interface shown in a of FIG. 1 , when the first device receives a trigger operation from the user for the control 1201 for setting more connections, the first device may display the following Fig.12 The interface shown in b in the figure. Fig.12 The interface shown in b in the figure may include: controls for setting device sharing, controls for setting wireless screen projection, controls for setting printing functions, controls for setting virtual private networks (VPN), controls for setting encrypted domain name systems (DNS), and controls 1202 for setting device signal relay, etc.
[0404] In such Fig.12 In the interface shown in b in FIG. 1 , when the first device receives a trigger operation from the user for the control 1202 for setting the device signal relay, the first device displays the following Fig.12 The interface shown in c in the figure. Fig.12 The content displayed in the interface shown in c is the same as Fig.11 The interface is similar to that shown in d, and will not be repeated here.
[0405] It is understood that the second device is also based on Fig.11 or Fig.12 When the cellular communication capability connection function is enabled in the corresponding embodiment, the second device can also register in the communication service cloud using the device account and other information, and then the communication service cloud can perform device authentication for the first device and the second device and establish a secure data channel.
[0406] It can be understood 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.
[0407] Based on this, the device can be based on Fig.11 or Fig.12In a corresponding embodiment, a master switch for controlling the cellular communication capability connection function is provided to the user, so that the user can turn on the master switch when the cellular communication capability connection function is needed according to his / her own needs. For example, the user can turn on the master switch of the cellular communication capability connection function when the network signal is weak, and trigger the second device to complete the connection of the cellular communication capability; or the user can also turn on the master switch of the cellular communication capability connection function in advance when the network signal is good, so that the subsequent device can trigger the second device to complete the connection of the cellular communication capability when the network signal is weak.
[0408] The first device and the second device are based on Fig.11 (or Fig.12 ) In the case where the cellular communication capability connection function is enabled in all the corresponding embodiments, the first device can be based on Fig.13 A corresponding embodiment instructs the second device to perform a connection of the cellular communication capability.
[0409] For example, Fig.13 A schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application.
[0410] like Fig.11 In the interface shown in d in the figure, when the cellular communication capability connection function of the device is in the off state, 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 cellular communication capability connection function of the device and display the following Fig.13 The interface shown in a. Fig.13 The interface shown in a in the figure may include: relayable devices that can be detected by the first device, such as the second device 1301, the second device 1302 and the second device 1303, and other content displayed in the interface may be the same as Fig.11 The interface is similar to that shown in d, and will not be repeated here.
[0411] Fig.13 In the interface shown in a of FIG. 1 , 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 perform signal relay and display the following information: Fig.13 The interface shown in b in the figure. Fig.13 The interface shown in b in the figure may include: a pop-up window 1304, which may include: indication information for indicating the effect of the continuation of the cellular communication capability, a cancel control, a control for indicating that the card 1 of the first device is relayed (or called the card 1 control), and a control for relaying the card 2 of the first device (or called the card 2 control), etc.
[0412] 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.
[0413] It is understandable that when the first device includes two SIM cards, the first device may display the following information: Fig.13 or, when there is only one SIM card in the first device, the first device can Fig.13 In the interface shown in b, the card 1 control or the card 2 control is displayed.
[0414] In such Fig.13 In the interface shown in b, 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 capability to at least one free card slot of the second device, so that the second device can provide a connection for the card 1 of the first device.
[0415] Understandably, Fig.13 The corresponding embodiment may be a user manually initiating a connection mode of the cellular communication capability, in which case the second device may be used for signal connection regardless of the network signal of the first device. Fig.13 In a corresponding embodiment, the status bar of the first device may display an indicator indicating that the network signal of card 1 and the network signal of card 2 are both in good condition, and the first device may also use the second device for signal connection.
[0416] In a possible implementation, when the status bar of the first device displays a message indicating that the network signal of card 1 and the network signal of card 2 are both poor, the first device may also Fig.13 The corresponding embodiment utilizes the second device for signal connection.
[0417] It is understandable that the connection method for initiating cellular communication capability is not limited to the above Fig.13 The corresponding embodiments are not limited to this in the embodiments of the present application.
[0418] 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.
[0419] The first device and the second device are based on Fig.13 In the corresponding embodiment, after a period of time has passed since the cellular communication capability was connected, both the first device and the second device can view the status of the cellular communication capability connection in their respective interfaces.
[0420] For example, Fig.14A schematic diagram of an interface for checking the connection status of cellular communication capabilities provided in an embodiment of the present application.
[0421] When the network signals of card 1 and card 2 of the first device are both poor, the first device can Fig.13 The corresponding embodiment uses the second device to provide cellular communication capability connection for any SIM card in the first device. Further, 52 minutes after the first device and the second device achieve cellular communication capability connection, the first device can display the following Fig.14 The interface shown in a in the figure may include: a pop-up window 1402, which may include: indication information for indicating the continuity of cellular communication capability, information for indicating the relay time, a control for stopping the relay, a control for switching the relay device, and a control for switching the relay card. The indication information for indicating the continuity of cellular communication capability may 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 may be displayed as 52:00. Fig.14 In the interface shown in a, the second device 1301 can be displayed as a device model.
[0422] Should Fig.14 The interface shown in a in FIG. 1 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.
[0423] Understandably, Fig.14 The status bar of the interface shown in a in FIG. 1 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.
[0424] In a possible implementation, the Fig.14 The status bar of the interface shown in a in FIG. 1 may also display information such as the operator name of the second device, which is not limited in the embodiments of the present application.
[0425] 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.
[0426] Suitably, 52 minutes after the first device and the second device achieve cellular communication capabilities, the second device may display the following information: Fig.14The interface shown in b in the figure may include: an identifier 1401 for indicating that the device is relaying signals, and a pop-up window 1403. The pop-up window 1403 may include: information for indicating the relay time, indication information for indicating the continuity of cellular communication capabilities, and a control for disconnecting the first device (or called a stop relay control), etc. Among them, the indication information for indicating the continuity of cellular communication capabilities may be displayed as: This machine is relaying signals for your first device, and has been relaying for 52 minutes. The call and text message services of this machine may be affected. The information for indicating the relay time may be displayed as 52:00. In the example Fig.14 In the interface shown in b, the first device can be displayed as a device model.
[0427] 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.
[0428] Should Fig.14 The interface shown in b may also include at least one of the following: time information, a clock control in the dock, a calendar control, a phone control, and an information control, etc.
[0429] 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.
[0430] 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.
[0431] The following describes the apparatus for executing the above method provided in the embodiment of the present application. Fig.15 As shown, Fig.15 A structural schematic diagram of a device for connecting cellular communication capabilities provided in an embodiment of the present application. The device for connecting cellular communication capabilities may be the first device (or second device) in the embodiment of the present application, or may be a chip or chip system within the first device (or second device).
[0432] like Fig.15As shown, 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 information processing steps; and the communication unit 1503 is used to instruct the audio processing device 1500 to perform steps such as sending and receiving data. The communication unit 1503 can be an input or output interface, a pin or a circuit, etc.
[0433] 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.
[0434] 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.
[0435] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can 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, the available medium can include a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a digital versatile disc (digital versatile disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.
[0436] The embodiments of the present application also provide 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.
[0437] 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 connection 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 technology (such as infrared, radio and microwave), the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while optical discs reproduce data optically using lasers.
[0438] 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
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: 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; 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; The first device sends the first SIM card information to the second device after receiving the second request; 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; The first device receives second information from the second device, the second information comprising: information from the third device received by a 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; 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 the established connection, the first device receives a second request from the second device.
2. The method according to claim 1, characterized in that: 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; 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.
3. The method according to claim 2, characterized in that The first device sending a first request to the second device through the established connection includes: 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 connection 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 continuation 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.
4. The method according to claim 3, 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.
5. The method according to claim 4, characterized in that The method further comprises: 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 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.
6. The method according to claim 5, characterized in that The first device establishes a connection with the 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: 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.
7. The method according to claim 6, 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.
8. The method according to claim 5, characterized in that The application framework layer of 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 proxy module and an IMS call session monitoring proxy module; 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; 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.
9. The method according to claim 8, characterized in that The distributed communication service module also includes: a remote modem service module and a remote SIM service module; The first device sending the first request to the second device includes: the distributed communication service module instructing the remote modem service module to send the first request to the second device; 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.
10. The method according to claim 9, 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; 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 enabling cellular communication capability connection; in response to the operation on the control for enabling cellular communication capability connection, the first device enables the cellular communication capability connection function.
11. The method according to claim 10, characterized in that The status bar of the first interface also includes: an identifier for indicating that the first SIM card does not have the cellular communication capability. Before the first device sends the first information to the second device, the method further includes: 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.
12. The method according to claim 11, characterized in that The sixth interface also 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.
13. The method according to any one of claims 5 to 12, characterized in that: The first device includes a local cache module. After the first device receives the fourth information, the method further includes: The first device obtains the status information of the second device from the second device and stores it in the local cache module, wherein the status information includes one or more of the following: a call identity number, a call status, or a multi-party conference message; When the first device queries the status information, the first device obtains the status information of the second device from the local cache module, and does not forward the fifth request to the second device in real time, wherein the fifth request is used to request to obtain the status information from the second device.
14. The method according to any one of claims 5 to 12, characterized in that: The application framework layer of the first device includes: a phone manager of the first device and a remote IMS service module of the first device; the phone manager of the first device includes: an IMS management module and an IMS phone module of the first device; The first device sending a fourth request to the second device includes: The IMS phone module of the first device sends the fourth request to the IMS management module of the first device; The IMS management module of the first device sends the fourth request to the second device through the remote IMS service module of the first device.
15. 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: 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; 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; The second device receives the first SIM card information from the first device after sending the second request; 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; The second device sends second information to the first device, the second information comprising: information from the third device received by a 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; The second device sending the second request to the first device includes: 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. The method according to claim 15, characterized in that 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, 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.
17. The method according to claim 16, characterized in that The second device receiving the first request from the first device through the established connection includes: 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 connection 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. The method according to claim 17, characterized in that The method further comprises: 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; 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. The method according to claim 18, characterized in that After the second device sends the fourth information, the method further includes: The second device obtains state information of the second device and sends the state information to the first device, wherein the state information includes one or more of the following: a call identity number, a call state, or a multi-party conference message; The application framework layer of the second device includes a telephone manager of the second device; the telephone manager of the second device includes an IMS management module of the second device; The second device receiving a fourth request from the first device includes: The remote IMS service module of the second device receives the fourth request from the first device, and the remote IMS service module of the second device sends the fourth request to the IMS management module of the second device.
20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the electronic device executes the method according to any one of claims 1 to 14, or executes the method according to any one of claims 15 to 19.
21. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the computer executes the method according to any one of claims 1 to 14, or the method according to any one of claims 15 to 19.
22. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables a computer to execute the method according to any one of claims 1 to 14, or to execute the method according to any one of claims 15 to 19.
