Call method and device based on cellular communication capability connection

By establishing remote modem and remote SIM connection between the first device and the second device, the problem of call and data service connection in an environment with weak or no signal in the cellular communication network is solved, and flexible signal enhancement and user experience improvement are achieved.

CN116743916BActive Publication Date: 2024-08-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211223009.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-08
Publication Date
2024-08-27
Estimated Expiration
2042-10-08

AI Technical Summary

Technical Problem

In an environment where the cellular communication network signal is weak or no signal, the existing technology requires the installation of micro base stations or signal amplifiers. The process is cumbersome and the installation position of the equipment cannot be flexibly adjusted, resulting in limited cellular communication services.

Method used

By establishing a remote modem and remote SIM connection between the first device and the second device, the cellular communication capability of the second device is used to provide signal connection for the first device, thereby realizing the connection of the cellular communication capability. The user can view and manage it on the interface. Continue status.

Benefits of technology

In an environment where the network signal is weak or no signal, the first device can use the cellular communication capabilities of the second device to connect calls and data services, which improves the user experience, simplifies the signal enhancement process, and avoids the cumbersome steps of device installation. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743916B
    Figure CN116743916B
Patent Text Reader

Abstract

The embodiment of the present application provides a call method and device based on cellular communication capability connection, the method includes: when the first device meets the first preset condition, displaying the first interface; in response to the trigger operation of the first control, establishing the cellular communication capability connection with the second device; wherein, establishing the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection; establishing the remote modem connection includes: the first device remotely accesses the modem processor of the second device, and establishing the remote SIM connection includes: the second device remotely accesses the first SIM card of the first device. In this way, the first device in an environment where there is no signal or the network signal is weak in the operator network can use another second device with cellular communication capability to achieve the call capability connection in the cellular communication capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a call method and device based on cellular communication capability connection. Background Art

[0002] Cellular communication uses cellular wireless networking to connect 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 cross-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 the 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, the network coverage in an environment with weak network signals can be improved by installing micro base stations or setting up signal amplifiers in the environment, thereby realizing call services in cellular communication services in an environment with good 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 call method and apparatus based on cellular communication capability connection, so that a first device in an environment where there is no signal or the network signal is weak can use another second device with cellular communication capability to connect the call capability.

[0006] In the first aspect, the embodiment of the present application provides a call method based on cellular communication capability connection, using a first device, the method comprising: when the first device meets a first preset condition, displaying a first interface; wherein the first interface includes: at least one target control, the at least one target control corresponds to at least one SIM card in the first device; the at least one target control includes: a first control for connecting the first SIM card in the first device; in response to a trigger operation on the first control, establishing a cellular communication capability connection with a second device; wherein establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing the modem processor modem of the second device, and establishing a remote SIM connection includes: the second device remotely accessing the first SIM card of the first device. In this way, the first device in an environment where there is no signal or the network signal is weak in the operator network can use another second device with cellular communication capability to achieve the connection of the call capability in the cellular communication capability.

[0007] The first interface can be Fig.13 The interface shown in c or Fig.12 In the interface shown in a, the first control can be Fig.13 c in (or Fig.12 The card 1 relay control or the card 2 relay control in a) of the embodiment of the present application may be a remote modem connection, and the remote SIM connection may be a remote SIM function described in the embodiment of the present application.

[0008] In a possible implementation, the first preset condition includes: a triggering operation of a second control corresponding to the second device, and the second control belongs to at least one control in the device list in the second interface. In this way, the first device can also manually initiate the connection of the cellular communication capability based on the second device selected by the user, thereby improving the user experience of using the cellular communication capability connection function.

[0009] The second interface can be Fig.13 In the interface shown in b, the second control can be Fig.13 A control corresponding to any device in the device list in the interface shown in b.

[0010] In one possible implementation, a third interface is displayed; wherein the third interface includes a first pop-up window, and the first pop-up window includes one or more of the following: instruction information for recommending the continuation of cellular communication capability of the first device, a first confirmation control for confirming the continuation of cellular communication capability, or a first cancellation control for canceling the continuation of cellular communication capability; in response to the operation of the first confirmation control, the second interface is displayed.

[0011] Among them, the third interface can be Fig.13 The interface shown in a. Fig.13 In the interface shown in a, the first pop-up window may be pop-up window 1300, the indication information for recommending the continuation of cellular communication capability for the first device may be the indication information for recommending signal relay described in the embodiment of the present application, the first confirmation control for confirming the continuation of cellular communication capability may be the confirmation control in the pop-up window 1300, and the first cancel control for canceling the continuation of cellular communication capability may be the cancel control in the pop-up window 1300.

[0012] In a possible implementation, displaying the third interface includes: when the reference signal received power RSRP of the first device is lower than the first threshold and the signal strength of the wireless signal access point of the first device is greater than the second threshold, displaying the third interface. In this way, the first device can automatically display the third interface when it detects that the network status meets the connection condition, and the user can use the third interface to determine whether to continue the connection.

[0013] In a possible implementation manner, the first preset condition further includes: a reference signal received power RSRP of the first device is lower than a first threshold and a signal strength of a wireless signal access point of the first device is greater than a second threshold.

[0014] In a possible implementation, the method further includes: when the first device receives a CS outgoing call service, sending a CS outgoing call service request to the second device; receiving a response message corresponding to the CS outgoing call service request from the second device; and / or, when the first device receives a CS incoming call service request from the second device, sending a response message corresponding to the CS incoming call service request to the second device. In this way, the first device and the second device can use the cellular communication capability to connect to implement the CS call process, so that the first device in an environment where there is no signal or a weak network signal on the operator network can use another second device with cellular communication capability to connect the call capability.

[0015] In a possible implementation, establishing a cellular communication capability connection includes: establishing a remote Internet Protocol Multimedia Subsystem IMS connection, and establishing a remote IMS connection includes: the first device remotely uses the IMS capability of the second device. In this way, the first device and the second device can use the remote IMS connection to achieve the connection of IMS-related services, and improve the use scenario of the cellular communication capability connection function.

[0016] The remote IMS connection may be the remote IMS function described in the embodiments of the present application.

[0017] In a possible implementation, the method further includes: when the first device receives an IMS outgoing call service, sending an IMS outgoing call service request to the second device; receiving a response message corresponding to the IMS outgoing call service request from the second device; and / or, when the first device receives an IMS called call service request from the second device, sending a response message corresponding to the IMS called call service request to the second device. In this way, the first device and the second device can use the cellular communication capability to connect to implement the IMS call process, so that the first device in an environment where there is no signal or a weak network signal on the operator network can use another second device with cellular communication capability to connect the call capability.

[0018] In a possible implementation, the method further includes: when the first device collects the first voice packet, sending the first voice packet to the second device; and / or, the first device receives the second voice packet from the second device; the second voice packet is a voice packet from a third device received by the modem of the second device based on the network side. In this way, in the process of realizing the call capability connection, the first device and the second device can realize the exchange of voice data through the first voice packet and the second voice packet.

[0019] Among them, the first voice packet may be a local voice packet described in the embodiment of the present application, and the second voice packet may be a network voice packet described in the embodiment of the present application.

[0020] In a possible implementation, after establishing a cellular communication capability connection with the second device, the method further includes: displaying a fourth interface; wherein the fourth interface includes one or more of the following: indication information for indicating the cellular communication capability connection status, information for indicating the relay time, a control for stopping the relay, a control for switching the relay device, a control for switching the relay card, a first identifier for indicating that the first device is connecting the cellular communication capability, or a second identifier for indicating the network signal of the second device. In this way, the first device can determine the current connection status of the first device based on the multiple identifiers and indication information displayed in the fourth interface, thereby improving the user experience of using the cellular communication capability connection function.

[0021] Among them, the fourth interface can be Fig.12 The interface shown in b or Fig.16 The interface shown in a. Fig.12 In the interface shown in b, the indication information for indicating the connection status of cellular communication capability may be the indication information for indicating the connection status of cellular communication capability described in the embodiment of the present application, the controls for switching relay devices, the controls for switching relay cards, and the information for indicating the relay time may all be controls in pop-up window 1203, the first identifier may be identifier 1205, and the second identifier may be identifier 1204.

[0022] In a possible implementation, the method further includes: when the first device meets the second preset condition, stopping the cellular communication capability connection with the second device. In this way, the first device can end the entire connection process with the second device, so that both the first device and the second device can be restored to the state before the connection.

[0023] In a possible implementation, stopping the cellular communication capability connection with the second device includes: stopping the remote modem connection and the remote SIM connection with the second device. In this way, the first device and the second device can terminate the entire connection process by stopping the remote modem connection and the remote SIM connection, so that both the first device and the second device can be restored to the state before the connection.

[0024] In a possible implementation, the method further includes: when a remote IMS connection is established between the first device and the second device, stopping the remote IMS connection with the second device; wherein establishing the remote IMS connection includes: the first device remotely using the IMS capability of the second device. Thus, when a remote IMS connection is established between the first device and the second device, the first device can terminate the entire connection process with the second device by stopping the remote IMS connection, so that both the first device and the second device can be restored to the state before the connection.

[0025] In a possible implementation, when the second preset condition is receiving a trigger operation for a control for stopping the relay, after stopping the cellular communication capability connection with the second device, the method further includes: displaying a fifth interface; wherein the fifth interface includes: indication information for indicating that the cellular communication capability connection is interrupted. In this way, when the first device stops the cellular communication capability connection function, the indication information can be displayed in the interface, so that the user can be aware of the connection status of the first device in a timely manner.

[0026] Among them, the fifth interface can be Fig.16 In the interface shown in b, the indication information for indicating the interruption of the cellular communication capability connection may be the indication information for indicating the interruption of the signal relay described in the embodiment of the present application.

[0027] In a possible implementation, the second preset condition is that the first device detects that the time for which any cellular communication function has not been used exceeds a time threshold. In this way, the first device can automatically interrupt the process of connecting the cellular communication capability, thereby improving the user experience of using the cellular communication capability connection function.

[0028] In a possible implementation, after the cellular communication capability connection with the second device is stopped, the method further includes: displaying a sixth interface; wherein the sixth interface includes: indication information for indicating that the first device has detected that any cellular communication function is not in use and has interrupted the cellular communication capability connection. In this way, the first device can display indication information in the interface when the cellular communication capability connection function is stopped, so that the user can be aware of the connection status of the first device in a timely manner.

[0029] Among them, the sixth interface can be Fig.17In the interface shown in FIG. 1 , the indication information for indicating that the first device detects that any cellular communication function is not used and interrupts the connection of the cellular communication function can be Fig.17 Instructions 1701 in.

[0030] In a possible implementation, the second preset condition is an operation on the second confirmation control in the second pop-up window; wherein the second pop-up window is a pop-up window displayed based on the closing operation of the third control when the cellular communication capability continuation function is turned on, and the second confirmation control is used to reconfirm whether to turn off the cellular communication capability continuation function; the third control is used to turn on or off the cellular communication capability continuation function; the third control belongs to the seventh interface; the seventh interface is an interface displayed in response to the triggering operation of the control for setting the cellular communication capability continuation function. In this way, the first device can support, when turning off the switch of the cellular communication capability continuation function, prompting the user that the cellular communication capability continuation will be interrupted when turning off, to avoid the situation where the first device cannot perform cellular communication services when the user directly turns off the switch of the cellular communication capability continuation function, thereby improving the user's experience of using the cellular communication capability continuation function.

[0031] Among them, Fig.18 In the interface shown in b, the second confirmation control may be a close control, and the second pop-up window may be pop-up window 1802; Fig.18 In the interface shown in a (or referred to as the seventh interface), the third control may be a control 1801 for turning on or off the device signal relay; the control for setting the cellular communication capability connection function may be Fig.11 The control 1103 for setting device signal relay shown in c in FIG.

[0032] In a possible implementation, the first device further includes a second SIM card, and after establishing a cellular communication capability connection with the second device, the method further includes: when the first device determines that the second SIM card has not established a cellular communication capability connection with the second device, and the second SIM card is a secondary card, switching the second SIM card to a primary card. In this way, the first device switches the SIM card that has not initiated the connection to the primary card to ensure that the data service of the primary card is not affected.

[0033] In the second aspect, the embodiment of the present application provides a call method based on cellular communication capability connection, which is applied to a second device, and the method includes: receiving a first message from a first device; the first message is used to indicate that the first device requests to establish a long link with the second device; based on the first message, establishing a cellular communication capability connection with the first device; establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, establishing a remote modem connection includes: the first device remotely accesses the modem of the second device, and establishing a remote SIM connection includes: the second device remotely accesses the first SIM card of the first device; displaying an eighth interface; wherein the eighth interface includes one or more of the following: information for indicating the connection time, indication information for indicating the connection status, or a control for stopping the connection. In this way, the first device in an environment where there is no signal or a weak network signal on the operator network can use another second device with cellular communication capability to achieve call capability connection; and the user can also view the current connection status at any time in the second device.

[0034] The first message may be a message for instructing the second device to establish a long link as described in the step S521. Fig.14 In the interface shown, the information for indicating the connection time, the indication information for indicating the connection status, and the control for stopping the connection can all be the content in the pop-up window 1401.

[0035] In a possible implementation, establishing a cellular communication capability connection includes: establishing a remote IMS connection, and establishing a remote IMS connection includes: the first device remotely using the IMS capability of the second device. In this way, the first device and the second device can use the remote IMS connection to achieve the connection of IMS-related services, and improve the use scenario of the cellular communication capability connection function.

[0036] In a possible implementation, the method further includes: when receiving a CS outgoing call service from the first device, sending a response message corresponding to the CS outgoing call service request to the first device; and / or, when the second device receives a CS incoming call service based on the modem of the second device, sending a CS incoming call service request to the first device; receiving a response message corresponding to the CS incoming call service request from the first device. In this way, the first device and the second device can use the cellular communication capability to connect and implement the CS call process, so that the first device in an environment where there is no signal or a weak network signal on the operator network can use another second device with cellular communication capability to connect and implement the call capability.

[0037] In a possible implementation, the method further includes: when the second device receives the IMS outgoing call service from the first device, sending a response message corresponding to the IMS outgoing call service request to the first device; and / or, when the second device receives the IMS incoming call service based on the modem of the second device, sending an IMS incoming call service request to the first device; receiving a response message corresponding to the IMS incoming call service request from the first device. In this way, the first device and the second device can use the cellular communication capability to connect to implement the IMS call process, so that the first device in an environment where there is no signal or the network signal is weak in the operator network can use another second device with cellular communication capability to connect the call capability.

[0038] In a possible implementation, the method further includes: receiving a first voice packet sent from the first device, and sending the first voice packet to the network side through the modem of the second device; and / or sending a second voice packet obtained based on the network side to the first device; the second voice packet is a voice packet received from the third device by the modem of the second device based on the network side. In this way, in the process of realizing call capability continuity, the first device and the second device can realize the exchange of voice data through the first voice packet and the second voice packet.

[0039] In a possible implementation, the method further includes: when the second device receives a second message from the first device or the second device receives a trigger operation for a control for stopping the connection, the second device stops the remote modem connection and the remote SIM connection with the first device; the second message is used to indicate that the first device requests to stop the cellular communication capability connection. In this way, the first device and the second device can terminate the entire connection process by stopping the remote modem connection and the remote SIM connection, so that both the first device and the second device can be restored to the state before the connection.

[0040] In a possible implementation, the method further includes: when a remote IMS connection is established between the second device and the first device, the remote IMS connection between the second device and the first device is also stopped; in the remote IMS connection, the first device remotely uses the IMS capability of the second device. In this way, when a remote IMS connection is established between the first device and the second device, the first device can terminate the entire connection process with the second device by stopping the remote IMS connection, so that both the first device and the second device can be restored to the state before the connection.

[0041] In a third aspect, an embodiment of the present application provides a calling device based on cellular communication capability connection, when a first device satisfies a first preset condition, a display unit of the first device is used to display a first interface; wherein the first interface includes: at least one target control, at least one target control corresponds to at least one SIM card in the first device; at least one target control includes: a first control for connecting the first SIM card in the first device; in response to a trigger operation on the first control, a communication unit of the first device is used to establish a cellular communication capability connection with a second device; wherein establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing the modem processor modem of the second device, and establishing a remote SIM connection includes: the second device remotely accessing the first SIM card of the first device.

[0042] In a possible implementation, the first preset condition includes: a triggering operation on a second control corresponding to the second device, the second control belonging to at least one control in a device list in the second interface.

[0043] In one possible implementation, the display unit of the first device is also used to display a third interface; wherein the third interface includes a first pop-up window, and the first pop-up window includes one or more of the following: instruction information for recommending the continuation of cellular communication capability of the first device, a first confirmation control for confirming the continuation of cellular communication capability, or a first cancellation control for canceling the continuation of cellular communication capability; in response to an operation on the first confirmation control, the display unit of the first device is also used to display a second interface.

[0044] In a possible implementation, when the reference signal received power RSRP of the first device is lower than a first threshold and the signal strength of the wireless signal access point of the first device is greater than a second threshold, the display unit of the first device is specifically used to display a third interface.

[0045] In a possible implementation manner, the first preset condition further includes: a reference signal received power RSRP of the first device is lower than a first threshold and a signal strength of a wireless signal access point of the first device is greater than a second threshold.

[0046] In one possible implementation, when the first device receives a CS calling call service, the communication unit of the first device is further used to send a CS calling call service request to the second device; the communication unit of the first device is further used to receive a response message corresponding to the CS calling call service request from the second device; and / or, when the first device receives a CS called call service request from the second device, the communication unit of the first device is further used to send a response message corresponding to the CS called call service request to the second device.

[0047] In a possible implementation, establishing the cellular communication capability connection includes: establishing a remote Internet Multimedia Subsystem IMS connection, and establishing the remote IMS connection includes: the first device remotely using the IMS capability of the second device.

[0048] In one possible implementation, when the first device receives an IMS calling call service, the communication unit of the first device is also used to send an IMS calling call service request to the second device; the communication unit of the first device is also used to receive a response message corresponding to the IMS calling call service request from the second device; and / or, when the first device receives an IMS called call service request from the second device, the communication unit of the first device is also used to send a response message corresponding to the IMS called call service request to the second device.

[0049] In one possible implementation, when the first device collects the first voice packet, the communication unit of the first device is also used to send the first voice packet to the second device; and / or, the communication unit of the first device is also used to receive the second voice packet from the second device; the second voice packet is a voice packet from a third device received by the modem of the second device based on the network side.

[0050] In one possible implementation, the display unit of the first device is also used to display a fourth interface; wherein the fourth interface includes one or more of the following: indication information for indicating the connection status of cellular communication capability, information for indicating the relay time, a control for stopping the relay, a control for switching the relay device, a control for switching the relay card, a first identifier for indicating that the first device is connecting the cellular communication capability, or a second identifier for indicating a network signal of the second device.

[0051] In a possible implementation, when the first device meets the second preset condition, the communication unit of the first device is further configured to stop the cellular communication capability connection with the second device.

[0052] In a possible implementation, the communication unit of the first device is further configured to stop the remote modem connection and the remote SIM connection with the second device.

[0053] In a possible implementation, when a remote IMS connection is established between a first device and a second device, the communication unit of the first device is further configured to stop the remote IMS connection with the second device; wherein establishing the remote IMS connection includes: the first device remotely using the IMS capability of the second device.

[0054] In a possible implementation, when the second preset condition is receiving a trigger operation for a control for stopping the relay, the display unit of the first device is also used to display a fifth interface; wherein the fifth interface includes: indication information for indicating the interruption of the cellular communication capability connection.

[0055] In a possible implementation manner, the second preset condition is that the first device detects that a time during which any cellular communication function is not used exceeds a time threshold.

[0056] In a possible implementation, the display unit of the first device is also used to display a sixth interface; wherein the sixth interface includes: indication information for indicating that the first device detects that any cellular communication function is not in use and interrupts the connection of the cellular communication capability.

[0057] In one possible implementation, the second preset condition is the operation of the second confirmation control in the second pop-up window; wherein the second pop-up window is a pop-up window displayed based on the closing operation of the third control when the cellular communication capability continuation function is turned on, and the second confirmation control is used to reconfirm whether to turn off the cellular communication capability continuation function; the third control is used to turn on or off the cellular communication capability continuation function; the third control belongs to the seventh interface; the seventh interface is an interface displayed in response to the triggering operation of the control used to set the cellular communication capability continuation function.

[0058] In a possible implementation, the first device also includes a second SIM card. When the first device determines that the second SIM card has not established a cellular communication capability connection with the second device and the second SIM card is a secondary card, the processing unit of the first device is further used to switch the second SIM card to a primary card.

[0059] In a fourth aspect, a call device based on cellular communication capability connection, a communication unit of a second device, used to receive a first message from a first device; the first message is used to indicate that the first device requests to establish a long link with the second device; the communication unit of the second device is used to establish a cellular communication capability connection with the first device based on the first message; establishing the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, establishing the remote modem connection includes: the first device remotely accessing the modem of the second device, and establishing the remote SIM connection includes: the second device remotely accessing the first SIM card of the first device; the display unit of the second device is used to display an eighth interface; wherein the eighth interface includes one or more of the following: information for indicating the connection time, indication information for indicating the connection status, or a control for stopping the connection.

[0060] In a possible implementation manner, establishing the cellular communication capability connection includes: establishing a remote IMS connection, and establishing the remote IMS connection includes: the first device remotely using the IMS capability of the second device.

[0061] In one possible implementation, when a CS calling call service is received from a first device, the communication unit of the second device is further used to send a response message corresponding to the CS calling call service request to the first device; and / or, when the second device receives a CS called call service based on a modem of the second device, the communication unit of the second device is further used to send a CS called call service request to the first device; and receive a response message corresponding to the CS called call service request from the first device.

[0062] In one possible implementation, when the second device receives an IMS calling call service from the first device, the communication unit of the second device is further used to send a response message corresponding to the IMS calling call service request to the first device; and / or, when the second device receives an IMS called call service based on a modem of the second device, the communication unit of the second device is further used to send an IMS called call service request to the first device; the communication unit of the second device is further used to receive a response message corresponding to the IMS called call service request from the first device.

[0063] In one possible implementation, the communication unit of the second device is also used to receive a first voice packet sent from the first device, and send the first voice packet to the network side through the modem of the second device; and / or, the communication unit of the second device is also used to send a second voice packet obtained based on the network side to the first device; the second voice packet is a voice packet from a third device received by the modem of the second device based on the network side.

[0064] In one possible implementation, when the second device receives a second message from the first device or the second device receives a trigger operation for a control for stopping the connection, the communication unit of the second device is also used to stop the remote modem connection and the remote SIM connection with the first device; the second message is used to indicate that the first device requests to stop the cellular communication capability connection.

[0065] In a possible implementation, when a remote IMS connection is established between the second device and the first device, the communication unit of the second device is further configured to stop the remote IMS connection with the first device; in the remote IMS connection, the first device remotely uses the IMS capability of the second device.

[0066] In a fifth aspect, an embodiment of the present application provides a call system based on cellular communication capability connection, and the call system involves a first device, a second device and a first cloud server; when the first device meets a first preset condition, the first device establishes a communication connection with the second device through the first cloud server; the first device establishes a cellular communication capability connection with the second device based on the established connection; establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, establishing a remote modem connection includes: the first device remotely accesses the modem processor modem of the second device, and establishing a remote SIM connection includes: the second device remotely accesses the first SIM card of the first device.

[0067] Among them, the first cloud server can be the communication service cloud described in the embodiment of the present application.

[0068] In a possible implementation, establishing the cellular communication capability connection includes: establishing a remote SIM connection, and establishing the remote IMS connection includes: the first device remotely using the IMS capability of the second device.

[0069] In a possible implementation, before the first device establishes a communication connection with the second device through the first cloud server, the method further includes: both the first device and the second device perform device authentication based on the first cloud server.

[0070] In a possible implementation, before both the first device and the second device perform device authentication based on the first cloud server, the method further includes: both the first device and the second device enable a cellular communication capability connection function.

[0071] In one possible implementation, the method also includes: when the first device receives a CS calling call service, the first device sends a CS calling call service request to the second device; the second device sends a response message corresponding to the CS calling call service request to the first device; and / or, when the first device receives a CS called call service request from the second device, the first device sends a response message corresponding to the CS called call service request to the second device.

[0072] In one possible implementation, the method also includes: when the first device receives an IMS calling call service, the first device sends an IMS calling call service request to the second device; the second device sends a response message corresponding to the IMS calling call service request to the first device; and / or, when the first device receives an IMS called call service request from the second device, the first device sends a response message corresponding to the IMS called call service request to the second device.

[0073] In a possible implementation, the method also includes: when the first device collects the first voice packet, the first device sends the first voice packet to the second device; the second device sends the first voice packet to the network side through the modem of the second device; and / or the second device sends the second voice packet obtained based on the network side to the first device; the second voice packet is a voice packet received from a third device by the modem of the second device based on the network side.

[0074] In a sixth 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.

[0075] In the seventh 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.

[0076] In an eighth 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.

[0077] It should be understood that the third to eighth 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

[0078] Figure 1 A schematic diagram of a scenario provided for an embodiment of the present application;

[0079] Figure 2 Another scenario schematic diagram provided for an embodiment of the present application;

[0080] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0081] Figure 4 A flowchart of a call method based on cellular communication capability connection provided in an embodiment of the present application;

[0082] Figure 5 A flowchart of a cellular communication capability connection method provided in an embodiment of the present application;

[0083] Figure 6 A schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application;

[0084] Figure 7 A schematic diagram of a system architecture for remotely accessing a SIM card provided in an embodiment of the present application;

[0085] Figure 8 A schematic diagram of a system architecture for remotely using an IMS function provided in an embodiment of the present application;

[0086] Fig. 9 A schematic diagram of a CS domain call flow provided in an embodiment of the present application;

[0087] Fig.10 A schematic diagram of a flow chart of an IMS domain call provided in an embodiment of the present application;

[0088] Fig.11 A schematic diagram of an interface for enabling a cellular communication capability connection function provided in an embodiment of the present application;

[0089] Fig.12 A schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application;

[0090] Fig.13 A schematic diagram of another interface for triggering cellular communication capability connection provided in an embodiment of the present application;

[0091] Fig.14 A schematic diagram of an interface for displaying a connection status of a second device provided in an embodiment of the present application;

[0092] Fig.15 A schematic diagram of an interface for displaying a connection status of another second device provided in an embodiment of the present application;

[0093] Fig.16 A schematic diagram of an interface for displaying a connection status of a first device provided in an embodiment of the present application;

[0094] Fig.17 A schematic diagram of an interface for stopping signal relay of a first device provided in an embodiment of the present application;

[0095] Fig.18 A schematic diagram of an interface for disabling a cellular communication capability connection function of a first device provided in an embodiment of the present application;

[0096] Fig.19 A flowchart of an IMS call method based on cellular communication capability connection provided in an embodiment of the present application;

[0097] Fig. 20A flowchart of a CS call method based on cellular communication capability connection provided in an embodiment of the present application;

[0098] Fig.21 A flow chart of remote forwarding of a voice packet provided in an embodiment of the present application;

[0099] Fig. 22 A schematic diagram of a process flow of stopping and continuing a process provided in an embodiment of the present application;

[0100] Fig.23 A flowchart of a method for selecting a SIM card when initiating a signal relay provided in an embodiment of the present application;

[0101] Fig.24 A schematic diagram of the structure of a call device based on cellular communication capability connection provided in an embodiment of the present application;

[0102] Fig.25 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0103] 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.

[0104] 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.

[0105] 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.

[0106] In order to clearly describe the call connection based on 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:

[0107] 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.

[0108] 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.

[0109] 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.

[0110] 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.

[0111] It can be understood that the call based on cellular communication capability connection 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.

[0112] 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.

[0113] 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.

[0114] 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.

[0115] In such Figure 1 In 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.

[0116] For example, Figure 2 Another scenario diagram provided for an embodiment of the present application. Figure 2As 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.

[0117] 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 ).

[0118] 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, etc., so that the first device 201 and the second device 202 can be connected to the communication service cloud (or called the first cloud server) 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.

[0119] 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 2 In 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.

[0120] In such Figure 2In 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.

[0121] 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. Therefore, it is difficult to use equipment such as micro base stations or signal amplifiers to improve the network coverage in the environment with weak network signal, which in turn affects the call function.

[0122] In view of this, an embodiment of the present application provides a call method based on cellular communication capability connection, when the first device meets the first preset condition, the first interface is displayed; in response to the trigger operation on the first control, a cellular communication capability connection is established with the second device; wherein, establishing the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection; establishing a remote modem connection includes: the first device remotely accesses the modem processor of the second device, and establishing a remote SIM connection includes: the second device remotely accesses the first SIM card of the first device. In this way, the first device in an environment where there is no signal or the network signal is weak in the operator network can use another second device with cellular communication capability to achieve the call capability connection in the cellular communication capability.

[0123] It is understandable that if Figure 2 As shown, a call based on cellular communication capability connection provided in an embodiment of the present application can realize the transfer of the SIM card in the first device 201 to the second device 202 for use, and realize the transfer of M1 in the second device 202 to the first device 201 for use.

[0124] 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.

[0125] 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.

[0126] 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.

[0127] The embodiment of the present application provides a call based on cellular communication capability connection, 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.

[0128] 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.

[0129] The call based on cellular communication capability provided by 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 cellular communication capability connection, 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.

[0130] 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.

[0131] In a call based on cellular communication capability connection provided by 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 the call (such as recordings, call records, etc.) will be recorded in the first device, and no business traces will be left in the second device.

[0132] 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.

[0133] 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.

[0134] For example, Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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.

[0139] The processor 210 may also be provided with a memory for storing instructions and data.

[0140] 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.

[0141] 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.

[0142] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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.

[0147] 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.

[0148] 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.

[0149] 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 4The corresponding embodiment implements a call based on cellular communication capability connection described in the embodiment of the present application. Exemplarily, Figure 4 A flowchart of a call method based on cellular communication capability connection provided in an embodiment of the present application.

[0150] Before the first device and the second device perform a call based on the cellular communication capability connection, 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).

[0151] 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.

[0152] 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.

[0153] 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.

[0154] 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.

[0155] like Figure 4As shown, the call continued based on the cellular communication capability may include the following steps:

[0156] 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.

[0157] 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.

[0158] 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.

[0159] 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.

[0160] In the embodiment of the present application, the remote modem function (or remote modem connection) can be understood as: device A can use the remote modem function to remotely access the modem of device B.

[0161] 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.

[0162] 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.

[0163] 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.

[0164] In the embodiment of the present application, the remote SIM function (or remote SIM connection) can be understood as: device A can use the remote SIM function to remotely access the SIM card of device B.

[0165] 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.

[0166] 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.

[0167] In a possible implementation, S404, the first device and the second device implement a circuit switched (CS) call service.

[0168] 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.

[0169] 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.

[0170] 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.

[0171] 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.

[0172] 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.

[0173] In the embodiment of the present application, the remote IMS function (or referred to as remote IMS connection) can be understood as: device A can use the remote IMS function to remotely use the IMS communication capability of device B.

[0174] 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.

[0175] 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.

[0176] In a possible implementation, S406, the first device and the second device implement an IMS call service.

[0177] The IMS call service may include an IMS calling call and an IMS called call.

[0178] 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.

[0179] 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.

[0180] 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.

[0181] Exemplarily, when an IMS call service (or CS call service) is established between a first device and a second device, the second device can forward a network voice packet (or second voice packet) received by a modem of the second device from the network side to the first device. The first device can also forward a local voice packet (or first voice packet) received based on a 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.

[0182] Among them, the network voice packet can be understood as a voice packet received by the modem of the second device from the network side, or can also be understood as a voice packet generated by a third device; the local voice packet can be understood as a voice packet collected locally by the first device.

[0183] 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.

[0184] Based on this, the first device can use the second device to connect the call capability in the cellular communication capability in a scenario where the cellular network signal is weak.

[0185] 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.

[0186] 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.

[0187] 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.

[0188] 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.

[0189] 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.

[0190] 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.

[0191] 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.

[0192] Based on the above Figure 4 In the corresponding embodiment, before the first device and the second device execute the call service, they need to Figure 5 The corresponding embodiment establishes a connection of cellular communication capabilities.

[0193] For example, Figure 5 A flowchart of a cellular communication capability connection method provided in an embodiment of the present application. Figure 5 In the corresponding embodiment, the first device may include: an interface processing module, a distributed communication service module and a modem, and the second device may also include: an interface processing module, a distributed communication service module and a modem. The interface processing module may be understood as a processing module for controlling the display of the device, and the interface processing module may be set in the application layer of the device.

[0194] The cellular communication capability connection method may also involve: a communication service cloud and a push cloud. The communication service cloud is used to authenticate the first device and the second device and establish a data transmission path for the first device and the second device; the push cloud is used to wake up the peer device, for example, the first device and the second device can notify the peer device through the push cloud that they need to connect to the communication service cloud.

[0195] It is understandable that since the communication service cloud cannot directly send messages to the first device and the second device, the first device or the second device can be woken up through the push cloud. Specifically, if the communication service cloud and the first device, or the communication service cloud and the second device are connected for a long time, it will cause certain power consumption problems and increase the load of the communication service cloud. Therefore, the first device can use the push cloud to wake up the second device before entering the connection mode, and notify the second device to establish a connection.

[0196] exist Figure 5 In the corresponding embodiment, the method of initiating the connection of the cellular communication capability is to initiate the connection of the cellular communication capability based on the second device selected by the user as an example (see Fig.13 Corresponding embodiment), the cellular communication capability connection method is illustrated by way of example.

[0197] like Figure 5 As shown, the cellular communication capability connection method may include the following steps:

[0198] S501. When a first device receives a signal from a user to turn on a switch for a cellular communication capability connection function, an interface processing module of the first device sends a message for instructing a distributed communication service module of the first device to turn on a switch for the cellular communication capability function.

[0199] For example, Fig.11 In the interface shown in d, when the first device receives a trigger operation from the user for the control 1104 for turning on or off the device signal relay, the interface processing module of the first device can send a message to the distributed communication service module of the first device to indicate the switch for turning on the cellular communication capability function.

[0200] S502: The distributed communication service module of the first device sends a message indicating the query push status to the push cloud.

[0201] In the embodiment of the present application, the push status can be reflected by a push message, for example, the push message can be a push token of the first device. The push token of the first device can be a message automatically generated by the push cloud or the push token of the first device can also be pre-stored in the first device. The generation method of the push token is not limited in the embodiment of the present application. Any first device can correspond to a push token.

[0202] Suitably, the push cloud may store a push token corresponding to any first device.

[0203] S503. The push cloud sends a push message to the distributed communication service module of the first device.

[0204] The push message may be a push token of the first device.

[0205] S504. The distributed communication service module of the first device sends a message indicating device authentication to the communication service cloud.

[0206] Among them, the message used to indicate device authentication may include one or more of the following: a pushtoken of the first device, a device account, a password for logging into the device account, security certificate information, and / or a device ID, etc. The method of device authentication is not limited in the embodiment of the present application.

[0207] In a possible implementation, the communication service cloud may return a message to the distributed communication service module of the first device indicating that the communication service cloud has successfully performed device authentication.

[0208] S505. The distributed communication service module of the first device sends the device status information of the first device to the communication service cloud.

[0209] The device status information may include one or more of the following: whether there is an empty card slot, device power status, WIFI network signal status, SIM card status, whether the device account is logged in, and / or whether cellular communication capability is supported, etc. The WIFI network status may be: a received signal strength indicator (RSSI) value, and the RSSI value may be understood as one of the signal strengths of a wireless signal access point.

[0210] In a possible implementation, the communication service cloud may also return a message to the distributed communication service module of the first device indicating that the device status information of the first device has been received.

[0211] It can be understood that the steps shown in S504-S505 are the process of performing device authentication based on the communication service cloud and the push cloud and reporting device status information when the first device receives the switch of the user turning on the cellular communication capability connection function. Suitably, the second device can also perform device authentication based on the steps shown in S506-S510 and report device status information; and the steps shown in S501-S505 and the steps shown in S506-S510 can be executed simultaneously or the steps shown in S506-S510 can be executed in priority to S501-S505, which is not limited in the embodiments of the present application.

[0212] S506: When the second device receives a signal from the user to turn on the switch for the cellular communication capability connection function, the interface processing module of the second device sends a message for instructing the distributed communication service module of the second device to turn on the switch for the cellular communication capability function.

[0213] S507. The distributed communication service module of the second device sends a message indicating the query push status to the push cloud.

[0214] Suitably, the push cloud may store a push token corresponding to any second device.

[0215] S508. The push cloud sends a push message to the distributed communication service module of the second device.

[0216] The push message may be a push token of the second device.

[0217] S509. The distributed communication service module of the second device sends a message indicating device authentication to the communication service cloud.

[0218] Among them, the message used to indicate device authentication may include one or more of the following: a pushtoken of the second device, a device account, a password for logging into the device account, security certificate information, and / or a device ID, etc. The method of device authentication is not limited in the embodiment of the present application.

[0219] S510. The distributed communication service module of the second device sends the device status information of the second device to the communication service cloud.

[0220] The type of the device status information of the second device may be similar to the type of the device status information of the first device described in the step shown in S505, and will not be described in detail here.

[0221] In a possible implementation, the distributed communication service module of the second device may also periodically send the device status information of the second device to the communication service cloud to ensure the accuracy of the device status information of the second device stored in the communication service cloud. The content of the device status information in the second device can refer to the content of the device status information of the first device in the step shown in S505, which will not be repeated here.

[0222] It can be understood that, based on the steps shown in S501-S510, the communication service cloud may store a push token of any first device and a push token of any second device.

[0223] It can be understood that the description in the steps shown in S506-S510 can be similar to the process described in the steps shown in S501-S505, and will not be repeated here; and the steps shown in S501-S510 can be understood as the preparation work before the first device and the second device perform cellular communication capability connection.

[0224] It is understandable that other steps may be involved in the preparation work before the first device and the second device establish cellular communication capabilities, which is not limited in the embodiments of the present application.

[0225] S511. When the distributed communication service module of the first device detects that the network signal is weak or there is no network signal, the distributed communication service module of the first device may send a message indicating that the network signal is weak or there is no network signal to the interface processing module of the first device.

[0226] Exemplarily, when the first device detects that the connection condition is met, the distributed communication service module of the first device may send a message indicating that the network signal is weak or there is no network signal to the interface processing module of the first device.

[0227] In an embodiment of the present application, the connection condition may be that the reference signal receiving power (RSRP) in the LTE / NR network is lower than the first RSRP threshold for a period of time greater than T1 (or the period of time during which no network signal is detected is greater than T2, or the RSRP value is lower than the first RSRP threshold), and the RSSI value of the first device is higher than the first RSSI threshold (or the signal strength of the wireless signal access point of the first device is higher than a certain threshold).

[0228] Among them, the value of the first RSRP threshold can be a value such as -125dBm, and the value of the first RSSI threshold can be a value such as -90dBm.

[0229] In a possible implementation, the first device may also send a message indicating that the network signal is weak or there is no network signal to the interface processing module of the first device based on a user's trigger operation when the network signal is good. This is not limited in the embodiments of the present application.

[0230] S512: The interface processing module of the first device displays indication information on whether to use the cellular communication capability connection function.

[0231] Exemplarily, the interface processing module of the first device may call the display to display Fig.13 The pop-up window 1300 in the interface shown in a of FIG. 1 , or the interface processing module of the first device can also call the display to display the pop-up window 1300 as shown in FIG. 1 . Fig.12 Pop-up window 1202 shown in a in FIG.

[0232] S513: When the first device receives an operation from the user to start the connection mode, the interface processing module of the first device sends a message for instructing the start of the connection mode to the distributed communication service module of the first device.

[0233] The operation of the user to start the connection mode may be: Fig.13 In the interface shown in a, the first device receives a trigger operation for a confirmation control.

[0234] S514. The distributed communication service module of the first device sends a message to the communication service cloud for querying the relayable device.

[0235] The relayable device may be a second device that meets the following requirements: includes at least one free card slot, and / or has an RSSI value higher than a first RSSI threshold.

[0236] Exemplarily, when the communication service cloud receives the message for querying the relayable device, the communication service cloud can filter the device status information of the second device stored in the cloud, and when a relayable device including at least one free card slot and / or an RSSI value higher than a first RSSI threshold is detected, the relayable device is returned to the distributed communication service module of the first device based on the steps shown in S515.

[0237] In a possible implementation, the distributed communication service module of the first device may periodically send a message to the communication service cloud for querying the relayable device until the communication service cloud determines that there is a relayable device, and then executes the step shown in S515.

[0238] S515. The communication service cloud sends a relayable device to the distributed communication service module of the first device.

[0239] S516. The distributed communication service module of the first device sends a message for instructing the interface processing module of the first device to select a relayable device.

[0240] S517: The interface processing module of the first device displays the relayable device.

[0241] For example, when the interface processing module of the first device receives the message for instructing to select a relayable device, the interface processing module of the first device may display the following information: Fig.13 The interface shown in b in FIG. 1 may include at least one relayable device.

[0242] S518: When the first device receives an operation from the user to select any subsequent second device, the interface processing module of the first device sends a message indicating the second device selected by the user to the distributed communication service module of the first device.

[0243] In an embodiment of the present application, when the first device receives an operation from the user to select any second device to be connected, the first device can select any SIM card that can be relayed according to the dual-card or single-card situation; further, the interface processing module of the first device sends a message to the distributed communication service module of the first device to indicate the second device selected by the user.

[0244] In one implementation, when there is only one SIM card in the first device, the first device receives a request from a user for Fig.13 The interface processing module of the first device sends a message indicating the second device selected by the user to the distributed communication service module of the first device. The second device selected by the user may be the second device 1301.

[0245] In another implementation, when there are two SIM cards in the first device, the first device receives a request from the user for Fig.13 Any relay device in the interface shown in b, such as the trigger operation of the second device 1301, and then the first device can display Fig.13 The interface shown in c in FIG. 1 ; when the first device receives the user's Fig.13 When selecting an operation of a SIM card of any relay in the interface shown in c, the interface processing module of the first device sends a message indicating the second device selected by the user to the distributed communication service module of the first device.

[0246] In a possible implementation, the distributed communication service module of the first device can store the device information of the second device (such as the device ID of the second device) and the number of times the user selects the second device, so that the device information of the second device and the number of times the second device is selected can be used to guide the first device to perform the next cellular communication capability connection function.

[0247] It can be understood that the steps shown in the above S511-S518 can be understood as a process in which the manner of initiating the connection of the cellular communication capability is a process in which the connection of the cellular communication capability is initiated based on the second device selected by the user.

[0248] In a possible implementation, when the connection mode of initiating the cellular communication capability is based on the second device automatically recommended by the first device to initiate the connection of the cellular communication capability (see Fig.12 In the corresponding embodiment), the first device may query the second device based on the steps shown in S514-S516 after executing the step shown in S511, or the first device may query the second device based on the device information recorded by the first device and the number of times the user selects the second device, and then display the following information: Fig.12 Further, when the first device receives the user's Fig.12 When selecting the operation of any relay SIM card in the interface shown in a, the interface processing module of the first device can send a message to the distributed communication service module of the first device to instruct the establishment of a long link with any queried second device; and the first device executes the step shown in S519.

[0249] S519. The distributed communication service module of the first device sends a message to the communication service cloud to instruct the second device to establish a long link.

[0250] The message for instructing the second device to establish a long link may be used to wake up the second device, and the message for instructing the second device to establish a long link may include a device ID of the second device.

[0251] Suitably, when the communication service cloud receives the message for instructing the second device to establish a long link, the communication service cloud can obtain the push token corresponding to the device ID of the second device, and send the push token of the second device to the push cloud through the steps shown in S520, so that the push cloud can realize the pulling up of the second device.

[0252] S520: The communication service cloud sends a pull-up instruction to the push cloud.

[0253] The pull-up instruction may include a push token of the second device.

[0254] Suitably, when the push cloud receives the pull-up instruction, the push cloud can execute the step shown in S521 based on the pushtoken of the second device, and notify the second device that a long link needs to be established at this time.

[0255] S521. The push cloud sends a message to the second device to instruct the second device to establish a long link.

[0256] It is understandable that, since the communication service cloud cannot directly initiate a message to the peer device, the push cloud can be used to send the message for instructing the second device to establish a long link to the second device.

[0257] S522. The first device sends a message to the communication service cloud to instruct establishment of a long service link.

[0258] S523. The second device sends a message to the communication service cloud to instruct establishment of a long service link.

[0259] It can be understood that, based on the steps shown in S501-S523, the first device and the second device can establish a data path based on the communication service cloud.

[0260] S524. 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.

[0261] 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.

[0262] 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 S524. Alternatively, the first device can be based on Fig.13 The corresponding embodiment manually initiates the connection of the cellular communication capability, so that the first device executes the step shown in S524.

[0263] 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 c, 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.

[0264] 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.

[0265] S525. 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.

[0266] 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.

[0267] S526. 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.

[0268] 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.

[0269] 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.

[0270] In a possible implementation, S527, the distributed communication service module of the second device sends a remote modem switching instruction to the modem of the second device.

[0271] 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.

[0272] Possible implementations include Figure 6As shown, the second device can send the remote modem switching instruction to the second device modem based on the steps shown in S6002-S6003.

[0273] S528. 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.

[0274] 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.

[0275] For example, Figure 6 As 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.

[0276] S529: 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.

[0277] 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 SIM card information of the card 1 can be returned to the second device based on the step shown in S534.

[0278] 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.

[0279] S530: The distributed communication service module of the second device sends a remote SIM switching instruction to the modem of the second device.

[0280] 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.

[0281] S531. 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.

[0282] 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.

[0283] S532: The distributed communication service module of the first device sends a remote SIM switching instruction to the modem of the first device.

[0284] 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.

[0285] S533. The modem of the first device sends the SIM card information of card 1 to the distributed communication service module of the first device.

[0286] 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.

[0287] S534. 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.

[0288] 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.

[0289] S535. The distributed communication service module of the second device sends the SIM card information of card 1 to the modem of the second device.

[0290] 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.

[0291] S536: The modem of the second device registers the cellular network using the SIM card information of card 1.

[0292] 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.

[0293] S537. The modem of the second device sends the network access information to the distributed communication service module of the second device.

[0294] For example, Figure 6 As 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.

[0295] S538. The distributed communication service module of the second device sends the network information to the distributed communication service module of the first device.

[0296] 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.

[0297] 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.

[0298] 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.

[0299] In possible implementations, the first device and the second device can implement a CS call service. In one implementation, when the first device receives a CS outgoing call service request, the first device and the second device can forward the CS outgoing call service request to the modem of the second device, 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 a CS incoming call service, the first device and the second device can forward the CS incoming call service to the first device.

[0300] S539: 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.

[0301] The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.

[0302] 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.

[0303] S540: The distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device.

[0304] 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.

[0305] 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.

[0306] S541. The modem of the second device sends IMS registration information to the distributed communication service module of the second device.

[0307] 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.

[0308] S542: 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.

[0309] 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.

[0310] 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.

[0311] S543. 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.

[0312] 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.

[0313] In a possible implementation, when the first device receives an IMS outgoing call service request, the first device and the second device may forward the IMS outgoing call service request to the modem of the second device, 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 may forward the IMS incoming call service to the first device. The IMS outgoing call service request may include dialing information when calling, such as a telephone number.

[0314] S544. The distributed communication service module of the first device sends a message indicating that the first device is in a connected state to the interface processing module of the first device.

[0315] Exemplarily, when the interface processing module of the first device receives the message indicating that the first device is in the connected state, the first device may display the following information: Fig.12 In the interface shown in b, the pop-up window 1203 in the interface may display the message "A second device is being used to relay the signal for your card 1".

[0316] S545. The distributed communication service module of the second device sends a message indicating that the first device is in a connected state to the interface processing module of the second device.

[0317] Exemplarily, when the interface processing module of the second device receives the message indicating that the second device is in the connected state, the second device may display the following information: Fig.14 The interface shown in the figure can be found in the detailed description of the interface. Fig.14 The corresponding embodiments.

[0318] 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.

[0319] 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.

[0320] For example, Figure 6 A schematic diagram of a system architecture of a remote access modem provided in an embodiment of the present application.

[0321] 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.

[0322] 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.

[0323] 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.

[0324] 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.).

[0325] The distributed communication service module may include: a distributed cellular communication control module, a remote modem service module 6011 , and a distributed bus 6012 .

[0326] 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.

[0327] 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.

[0328] 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.

[0329] 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.

[0330] 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.

[0331] The system library may include a hardware abstraction layer (HAL), and the HAL layer may include a radio interface layer (RIL).

[0332] In a possible implementation, the RIL may include a radio interface layer daemon (RILD) and the like ( Figure 6 not shown).

[0333] 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.

[0334] 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.

[0335] 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.

[0336] 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.

[0337] 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.

[0338] 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.

[0339] 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 .

[0340] S6002. The remote modem service module 6014 sends the remote modem switching instruction to the RIL.

[0341] S6003, RIL sends the remote modem switching instruction to modem6015.

[0342] 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.

[0343] S6004 and modem6015 send the remote modem switching success instruction to the RIL.

[0344] S6005. RIL sends the remote modem switching success instruction to the remote modem service module 6014.

[0345] 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.

[0346] S6007. The remote modem service module 6011 sends the remote modem switching success instruction to the telephone manager 6016.

[0347] S6008. The telephone manager 6016 returns the remote modem switching success instruction to the application layer.

[0348] 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.

[0349] 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.

[0350] 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.

[0351] 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.

[0352] Based on this, the first device can be based on Figure 6 The corresponding embodiment implements access to the modem of the second device.

[0353] 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.

[0354] 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.

[0355] 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.

[0356] 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.

[0357] 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.

[0358] 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.

[0359] 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.

[0360] 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.

[0361] 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.

[0362] 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.

[0363] 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.

[0364] 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.

[0365] 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.

[0366] 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.

[0367] 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.

[0368] 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.

[0369] 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.

[0370] 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.

[0371] 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.

[0372] 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.

[0373] 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.

[0374] 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.

[0375] 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 .

[0376] 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 .

[0377] 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.

[0378] 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.

[0379] S7004 . The remote SIM card module 7107 sends the SIM card information to the remote SIM RIL module 7105 through the rSIM interface 7106 .

[0380] 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 .

[0381] 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.

[0382] 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 .

[0383] 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 .

[0384] 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.

[0385] S7009 . The modem of the second device sends the network information to the remote SIM RIL module 7115 through the rSIM interface 7114 .

[0386] 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 .

[0387] 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.

[0388] 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.

[0389] 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.

[0390] 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.

[0391] 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.

[0392] 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.

[0393] 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.

[0394] 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.

[0395] 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.

[0396] 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.

[0397] 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.

[0398] 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.

[0399] 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.

[0400] 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.

[0401] 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.

[0402] 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.

[0403] 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.

[0404] The remote IMS switching instruction is used to instruct the first device to remotely use the IMS communication capability of the second device.

[0405] 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.

[0406] 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.

[0407] 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.

[0408] 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.

[0409] S8003. The IMS management module sends the remote IMS switching instruction to the IMS service module.

[0410] S8004. The IMS service module sends the remote IMS switching instruction to the modem of the second device.

[0411] 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.

[0412] 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).

[0413] S8005. The modem of the second device sends a remote IMS switching success instruction to the IMS service module.

[0414] 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.

[0415] S8006. The IMS service module sends a remote IMS switching success instruction to the IMS management module in the phone manager.

[0416] 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 .

[0417] 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.

[0418] 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.

[0419] 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.

[0420] 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.

[0421] 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.

[0422] 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.

[0423] S8009. The IMS call session monitoring agent module of the first device sends a remote IMS switching success instruction to the IMS management module.

[0424] S8010. The IMS management module sends a remote IMS switching success instruction to the IMS telephone module.

[0425] S8011. The IMS phone module sends a remote IMS switching success instruction to the application layer of the first device.

[0426] 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.

[0427] 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.

[0428] 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.

[0429] 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.

[0430] 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.

[0431] 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.

[0432] 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.

[0433] 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.

[0434] 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.

[0435] 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.

[0436] 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.

[0437] 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.

[0438] 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.

[0439] 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 The corresponding embodiments.

[0440] 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 embodiment will not be repeated hereafter.

[0441] When the first device receives an operation from the user to open the setting function, the first device may display Fig.11 The 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.

[0442] 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.

[0443] 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.11The 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.

[0444] 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 the call forwarding between the two cards, and controls for setting the device signal relay (or controls for setting the cellular communication capability connection function) 1103, etc. Among them, the card 1 may correspond to the mobile phone number 1234567XXXX, and the card 1 may provide the first device with a 5G / 4G / 3G / 2G network under the XX mobile manufacturer; the card 2 may correspond to the mobile phone number 1324567XXXX, and the card 2 may provide the first device with a 5G / 4G / 3G / 2G network under the XX mobile manufacturer, and the default mobile data may correspond to the card 1 or the card 2.

[0445] In such Fig.11 In the interface shown in c of FIG. 1 , when the first device receives a trigger operation from a user for a control 1103 for setting a device signal relay (or a control for setting a cellular communication capability relay function), the first device may display the following Fig.11 The interface shown in d in the figure. 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, indication information for indicating device relay, and indication information for indicating signal relay conditions.

[0446] The indication information for indicating signal relay may be displayed as: when there is no cellular network signal in a basement or other place, using the cellular network of other idle devices to make calls and send and receive text messages.

[0447] The indication information for indicating the signal relay conditions may be displayed as follows: the following conditions need to be met to trigger device signal relay: 1. The user has multiple mobile phones / tablets and has logged into the device account; 2. The signal relay switches are turned on for all devices; 3. Other devices used for relay need to have free card slots.

[0448] In a possible implementation, there may be no free card slot in the other device (such as the second device) that the user relays, and this is not limited in the embodiments of the present application.

[0449] It is understandable that, in general, the first device can trigger the device signal relay when there is no cellular network signal and when the WI-FI is connected. Fig.11 The indication information in the interface shown in d in the figure for indicating the signal relay conditions may also be displayed: 1. The local device has no cellular network signal; 2. The user has multiple mobile phones / tablets and has logged into the device account; 3. All devices need to be connected to WI-FI; 4. All devices have signal relay switches turned on; 5. Other devices used for relay need to have free card slots.

[0450] In a possible implementation, the Fig.11 Other contents may also be displayed in the indication information for indicating the signal relay conditions in the interface shown in d, which is not limited in the embodiments of the present application.

[0451] 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.

[0452] It is understood that in the second device based on Fig.11 In the corresponding embodiment, when the cellular communication capability connection function is enabled, the second device can also register in the communication service cloud using the device account, and then the communication service cloud can establish a secure data channel for the first device and the second device.

[0453] The first device and the second device are based on Fig.11 In the corresponding embodiment, when the switch of the cellular communication capability connection function is turned on, the first device can initiate the connection of the cellular communication capability to the second device automatically recommended by the first device when detecting that the network signal is weak or there is no network signal (see Fig.12 Alternatively, the first device may also initiate a connection of the cellular communication capability based on the second device selected by the user when detecting that the network signal is weak or there is no network signal (see Fig.13 corresponding embodiments).

[0454] In one implementation, the first device may initiate connection of cellular communication capability to the second device automatically recommended by the first device when detecting that the network signal is weak or there is no network signal.

[0455] For example, Fig.12 A schematic diagram of an interface for triggering cellular communication capability connection provided in an embodiment of the present application.

[0456] When the first device detects that the network signal is weak or there is no network signal, the first device can display Fig.12 In the interface shown in a in the figure, the status bar of the interface may display: an indicator 1201 for indicating the network signal status, an indicator for indicating the connection to WIFI, and a pop-up window 1202. The indicator 1201 may be understood as the card 1 (or card 2) in the first device having no network signal; it may be understood that the indicator 1201 may also be displayed as a signal pattern with a signal grid, in which case the signal pattern with a signal grid is used to indicate that the current network signal is weak, which is not limited in the embodiments of the present application.

[0457] It is understandable that when the first device has dual SIM cards and both SIM card 1 and SIM card 2 have no network signal, the Fig.12 Two logos 1201 may be displayed in the status bar of the interface shown in a.

[0458] In a possible implementation, when the first device includes only one SIM card, the pop-up window 1202 may only include: a card 1 relay control or a card 2 relay control.

[0459] The pop-up window 1202 may include: instruction information for recommending the use of a second device for signal relay, a control for instructing the signal relay of card 1 in the first device (or called a card 1 relay control), a control for instructing the signal relay of card 2 in the first device (or called a card 2 relay control), and a control for canceling the cellular communication capability connection (or called a cancel control). The instruction information for recommending the use of a second device for signal relay may be: it is recommended to use a second device for signal relay, the local device has no cellular signal, and after the relay, the idle cellular signal of the second device can be used for calls and text messages.

[0460] It can be understood that the second device in the pop-up window 1202 can be a second device automatically recommended by the first device. For example, the second device can be: a second device that has provided a cellular communication capability connection function for the first device, a second device that is used most frequently among multiple second devices that have provided a cellular communication capability connection function for the first device, any second device among multiple second devices detected by the first device based on the communication service cloud, etc. Alternatively, the second device can also be understood as a second device that can provide a cellular communication capability connection for the first device, or can also be called Figure 5 One of the relay-capable devices described in the corresponding embodiment.

[0461] In a possible implementation, since the first device after the relay can use the idle cellular signal of the second device to perform multiple cellular communication functions, the cellular communication functions may include calls, text messages, one-click login, and Internet access, etc. Therefore, other indication information may also be displayed in the pop-up window 1202, for example, it may be displayed: there is no cellular signal on this device, and after the relay, the first device may use the idle cellular signal of the second device to perform multiple functions such as calls, text messages, one-click login, and Internet access, etc. The indication information displayed in the pop-up window 1202 is not specifically limited in the embodiment of the present application.

[0462] In a possible implementation, when there is a SIM card in the first device, the Fig.12 In the interface shown in a, only the card 1 relay control or the card 2 relay control may be displayed.

[0463] In such Fig.12 In the interface shown in a (or referred to as the first interface), when the first device receives a trigger operation of the user on the card 1 relay control (or the card 2 relay control), the first device can initiate a connection of the cellular communication capability to the second device, and display the following when the connection is completed: Fig.12 Alternatively, when the first device receives a trigger operation from the user to cancel the control, the first device may cancel the display of the pop-up window 1202, which may be understood as the user not needing to continue the cellular communication capability.

[0464] Among them, the card 1 relay control and the card 2 relay control can both be called target controls, and any control of the card 1 relay control and the card 2 relay control can be called a first control.

[0465] In a possible implementation, when the first device detects that the network signal is weak or there is no network signal, the first device may also only display the Fig.12 The interface shown in a in the figure provides indicative information for recommending the use of a second device for signal relay, and actively initiates a connection of cellular communication capability to the second device, so that the second device provides a connection of cellular communication capability for any SIM card in the first device that has a weak signal or no network signal.

[0466] In a possible implementation, the first device may store: device information of the second device that provided connection to the first device (such as the device ID of the second device). For example, in the case where the second device provides connection to the first device with cellular communication capability at least once, when the first device detects that the network signal is weak or there is no network signal, the first device may actively initiate connection with the second device that provided connection last time, so that the second device provides connection with cellular communication capability for any SIM card in the first device that has a weak signal or no network signal. In this scenario, the first device may not display the information. Fig.12 The interface shown in a.

[0467] In such Fig.12 In the interface shown in b, the interface may include: a pop-up window 1203, which may include: indication information for indicating the connection status of cellular communication capability (or may also be called indication information for indicating the signal relay status), 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.

[0468] The indication information for indicating the cellular communication capability connection status may be displayed as: the second device is being used to relay the signal for your card 2. The information for indicating the relay time may be displayed as 00:01. Fig.12 In the interface shown in a, the second device can be displayed as a device model.

[0469] Understandably, Fig.12 The status bar of the interface shown in b in FIG. 1 may also display an identifier 1204 for indicating the network signal status of the second device and an identifier 1205 (or first identifier) ​​for indicating that the device is relaying a signal. Fig.12 The state of no network signal corresponding to the mark 1201 shown in a in the figure is switched to Fig.12 The network signal status corresponding to the mark 1204 (or second mark) shown in b is better.

[0470] For example, Fig.12 In the interface shown in a of FIG. 1 , two identical logos 1201 may be displayed in the first device, and the two logos 1201 may indicate that both card 1 and card 2 in the first device are in a state of no network signal. When the first device receives a trigger operation of the user for the card 2 relay control in the pop-up window 1202, the first device may display the following: Fig.12 The interface shown in b in the figure can indicate that card 1 is still without network signal, and the mark 1204 in the interface is used to indicate that card 2 in the first device is in 5G network signal, and the signal quality of the 5G network signal is good. It can be understood that the network signal of card 2 in the first device can be relayed to the first device by the second device, and when the user uses card 2 in the first device, he will not feel whether card 2 is a local SIM card or a SIM card of the second device, which improves the user's experience of using the cellular communication function in the first device.

[0471] In possible implementations, when Fig.12 In the corresponding embodiment, when the second device recommended by the first device is not the device required by the user, the user can also Fig.12The control for switching the relay device in the interface shown in b in FIG. 1 is switched to another second device. For example, when the first device receives a user's Fig.12 When the trigger operation of the control for switching the relay device in the interface shown in b is performed, the first device may display the following Fig.13 The interface shown in b in the figure, Fig.13 The interface shown in b in FIG. 1 may display the second device that can be relayed.

[0472] In possible implementations, users can also Fig.12 The control for switching the relay card in the interface shown in b in FIG. 1 switches the SIM card that needs to be connected in the first device.

[0473] In a possible implementation, the Fig.12 The pop-up window 1203 in the interface shown in b can be canceled after being displayed for a certain period of time, so as to prevent the pop-up window 1203 from affecting the user's normal use of other functions of the first device. At this time, the user can continue to view the pop-up window 1203 in the control center of the first device.

[0474] In another implementation, the first device may initiate connection of cellular communication capability based on the second device selected by the user when detecting that the network signal is weak or there is no network signal.

[0475] For example, Fig.13 A schematic diagram of another interface for triggering cellular communication capability connection provided in an embodiment of the present application.

[0476] When the first device detects that the network signal is weak or there is no network signal, the first device displays Fig.13 The interface shown in a in (or called the third interface) may include a pop-up window 1300 (or called the first pop-up window), and the pop-up window 1300 may include: instruction information for recommending signal relay (or called instruction information for recommending cellular communication capability continuation of the first device), a confirmation control (or called the first confirmation control for confirming cellular communication capability continuation), and a cancel control (or called the first cancel control for canceling cellular communication capability continuation), etc. Among them, the instruction information for recommending signal relay can be displayed as: it is recommended to use the signal relay function, the local device has no cellular signal, and after the relay, the idle cellular signal of other devices can be used to make calls and send text messages. Among them, the confirmation control is used to confirm the cellular communication capability continuation, and the cancel control is used to cancel the cellular communication capability continuation.

[0477] In such Fig.13 In the interface shown in a of FIG. 1 , when the first device receives a trigger operation of the user for the confirmation control, the first device may display the following Fig.13The interface shown in b in FIG. (or referred to as the second interface) is as follows. Fig.13 The interface shown in b in the figure may include: a device list, for example, the device list may include: a second device 1301, a second device 1302, and a second device 1303. Other contents displayed in the interface may be the same as those in the figure. Fig.11 The interface shown in d is similar to that shown in , and will not be described again. Among them, the control corresponding to any device among the second device 1301, the second device 1302 and the second device 1303 can also be called a second control.

[0478] Fig.13 In the interface shown in b in 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 c in FIG. (or referred to as the first interface). Fig.13 The interface shown in c in the figure may include: a pop-up window 1304, which may include: instruction information for recommending the use of the second device 1301 for signal relay, a cancel control, a control for indicating relaying to card 1 of the first device (or called card 1 relay control), and a control for relaying to card 2 of the first device (or called card 2 relay control), etc.

[0479] The instruction information for recommending the use of the second device 1301 for signal relay may be displayed as: use the second device 1301 to relay your signal, and after the relay, 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.

[0480] In such Fig.13 In the interface shown in c in FIG. 1304 , when the first device receives the user's trigger operation for the card 2 relay control in the pop-up window 1304, the first device will initiate a connection of the cellular communication capability to the second device, so that the second device can provide a connection for the card 2 of the first device. Further, the first device can also be connected by Fig.13 The interface shown in c in the figure switches to Fig.12 The interface shown in b.

[0481] In a possible implementation, when there is a SIM card in the first device, the Fig.13 In the interface shown in c, only the card 1 relay control or the card 2 relay control may be displayed.

[0482] Based on this, the first device can automatically initiate the connection of cellular communication capability based on the recommended second device, or the first device can manually initiate the connection of cellular communication capability based on the second device selected by the user, thereby improving the user experience of using the cellular communication capability connection function.

[0483] In a possible implementation, the first device may also support the first device automatically initiating the connection of cellular communication capability based on the recommended second device, or the first device manually initiating the connection of cellular communication capability based on the second device selected by the user. For example, the first device may provide an automatic control for the user, and the automatic control may be used to instruct the first device to automatically initiate the connection of cellular communication capability based on the recommended second device. The on switch of the automatic control may be set at Fig.13 In the interface shown in b.

[0484] Exemplarily, when the automatic control is turned on, the first device can initiate the connection of cellular communication capability to the second device automatically recommended by the first device when it detects that the network signal is weak or there is no network signal; or, when the automatic control is turned off, the first device can initiate the connection of cellular communication capability based on the second device selected by the user when it detects that the network signal is weak or there is no network signal. In turn, the second device can automatically provide the connection of cellular communication capability for any SIM card in the first device that has a weak signal or no network signal.

[0485] Based on this, users can choose a method of initiating cellular communication capability connection that is more suitable for them according to their own needs, thereby enhancing the flexibility of users in using the cellular communication capability connection function.

[0486] Suitably, when the second device provides the cellular communication capability connection function for the first device, the second device may also display indication information for indicating the connection status.

[0487] For example, Fig.14 A schematic diagram of an interface for displaying a connection status of a second device provided in an embodiment of the present application.

[0488] In the first device based on the user Fig.13 In the interface shown in c, for the trigger operation of any SIM card relay control, when the cellular communication capability connection is initiated to the second device, the first device and the second device can be based on Figure 5 The corresponding embodiment realizes the continuation of the cellular communication capability, and then the second device displays as follows Fig.14 The interface shown in Fig.14 The interface shown may include: an indicator 1402 for indicating that the device is performing signal relay, and a pop-up window 1401.

[0489] The pop-up window 1401 may include: information for indicating the connection time, indication information for indicating the connection status, and / or a control for stopping the connection (or called a stop relay control). The indication information for indicating the connection status may be displayed as: device signal relay 00:01, this machine is relaying the signal for your first device, and has been relaying for 0 minutes. The call and text message services of this machine may be affected. Alternatively, the indication information for indicating the connection status may also be displayed as: device signal relay 00:01, this machine is relaying the signal for card 1 in your first device, and has been relaying for 0 minutes. The call and text message services of this machine may be affected. ( Fig.14 (not shown)

[0490] In such Fig.14 In the interface shown, the first device can be displayed as a device model. Fig.14 The interface shown may also include: time information, a clock control in the dock, a calendar control, a phone control, and an information control, etc.

[0491] In a possible implementation, the status bar of the second device may also display an indicator indicating that no SIM card is inserted into the second device, which is not limited in the embodiments of the present application.

[0492] Based on this, the first device and the second device can both prompt the user of the connection status of the current cellular communication capability in their respective devices, 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.

[0493] In possible implementations, Fig.14 On the basis of the corresponding embodiment, when the second device receives an operation of the user opening the interface for setting the cellular communication capability connection function, or the second device receives an operation of the user in Fig.14 When the pop-up window 1401 is triggered in the interface shown, the second device can view the device that is taking over the relay.

[0494] For example, Fig.15 A schematic diagram of an interface for displaying a connection status of another second device provided in an embodiment of the present application.

[0495] When the second device receives an operation by a user to open an interface for setting a cellular communication capability connection function, or the second device receives an operation by a user in Fig.14 When the trigger operation of the pop-up window 1401 is executed in the interface shown in FIG. Fig.15 The interface shown in the figure. Fig.15 The interface shown in the figure may display: a control for turning on or off the device signal relay, and the device being relayed, such as the first device. Other contents displayed in the interface are similar to Fig.11 The interface shown in d is similar and will not be described here.

[0496] Based on this, the second device can also check the device being relayed at any time based on user needs, so that the user can use the first device or the second device in time according to the connection situation, thereby enhancing the user's experience of using the connection function.

[0497] In the case where the second device provides cellular communication capability connection for the first device, the first device can also check the connection status in the control center.

[0498] For example, Fig.16 A schematic diagram of an interface for displaying a connection status of a first device provided in an embodiment of the present application.

[0499] When the first device receives an operation of the user sliding down along the top of the first device in the desktop state, the first device can display an interface corresponding to the pull-up control center, such as the first device displays Fig.16 The interface shown in a (or referred to as the fourth interface) may include: a pop-up window 1601, and the content displayed in the pop-up window 1601 may be the same as Fig.12 The content displayed in the pop-up window 1203 in the interface shown in b is similar and will not be repeated here.

[0500] In the embodiment of the present application, the first device may stop signal relay based on a user triggering a stop relay control, or may automatically stop signal relay when it is detected that the device has not been used for a long time.

[0501] In one implementation, the first device stops signal relay based on a user triggering a stop relay control.

[0502] In such Fig.16 In the interface shown in a of FIG. 16 , when the first device receives a trigger operation of the user for the stop relay control in the pop-up window 1601, the first device may display the following Fig.16 The interface shown in b in FIG. (or referred to as the fifth interface) is as follows. Fig.16 The interface shown in b in the figure may include a pop-up window 1603, and the pop-up window 1603 may display indication information for indicating signal relay interruption (or indication information for indicating cellular communication capability connection interruption). The indication information for indicating signal relay interruption may be displayed as: signal relay interruption, local signal has been restored.

[0503] In a possible implementation, when the first device receives Fig.12 When the trigger operation of the stop relay control in the interface shown in b is performed, the first device may also display the following Fig.16 The interface shown in b.

[0504] In the case of signal relay interruption, the top status bar of the interface shown in b in 16 may display two icons 1602 for indicating that there is no network signal, and the icon for indicating that the device is in signal relay may be cancelled in the status bar, and other contents displayed in the interface may be the same as those in FIG. Fig.13 The contents displayed in the interface shown in b are similar and will not be repeated here.

[0505] In another implementation, the first device automatically stops signal relaying when it detects that the first device has not been used for a long time.

[0506] For example, Fig.17 A schematic diagram of an interface for stopping signal relay of a first device provided in an embodiment of the present application. For example, when the first device detects that the time for which the first device has not used any cellular communication service exceeds a time threshold, the first device can automatically stop signal relay and display the following information: Fig.17 The interface shown (or the sixth interface). Fig.17 As shown, the interface may include: indication information 1701 for indicating that the first device has detected that any cellular communication function is not in use and has stopped signal relay, such as the indication information 1701 for indicating that the signal relay is stopped can be displayed as: it is detected that the local device has not been used for a long time, the signal relay has been stopped, and the local signal is restored. The indication information 1701 can also be: indication information for indicating that the first device has detected that any cellular communication function is not in use and has interrupted the cellular communication capability connection.

[0507] Fig.17 The status bar in the interface shown may also display an indicator 1702 for indicating that there is no network signal.

[0508] Based on this, when the first device stops signal relay, it can display indication information for indicating the stop of signal relay in the interface, so that the user can be aware of the connection status of the current device in time.

[0509] exist Fig.17 On the basis of the corresponding embodiment, the first device may also initiate a prompt when the user turns off a switch of the cellular communication capability connection function.

[0510] For example, Fig.18 A schematic diagram of an interface for disabling a cellular communication capability connection function of a first device provided in an embodiment of the present application.

[0511] The first device displays Fig.18 The interface shown in a (or called the seventh interface) in FIG. 1 can be used together with Fig.13 The content shown in b is similar to that shown in b, and will not be repeated here. Fig.18In the interface shown in a of FIG. 1 , when the control (or referred to as the third control) 1801 for turning on or off the device signal relay is turned on, when the first device receives a trigger operation of the user on the control 1801 for turning on or off the device signal relay, the first device may display the following Fig.18 The interface shown in b in the figure. Fig.18 The interface shown in b in the figure may include: a pop-up window 1802 (or a second pop-up window), and the pop-up window 1802 may include: a control for canceling the device signal relay (or a cancel control), a control for closing the device signal relay (or a close control), and an instruction for instructing to close the device signal relay. The instruction for instructing to close the device signal relay may be displayed as: After closing, the signal relay will be interrupted, and you will not be able to receive the signal relayed to the local device by the device logged in with the same device account. Do you want to close it?

[0512] In such Fig.18 In the interface shown in b in FIG. 1802 , when the first device receives a trigger operation of the user for closing the control in the pop-up window 1802, the first device may display the following Fig.18 In the interface shown in c, the Fig.18 The content displayed in the interface shown in c is the same as Fig.11 The content displayed in the interface shown in d is similar, and will not be repeated here. Among them, the close control in the pop-up window 1802 can also be called a second confirmation control, and the second confirmation control is used to reconfirm whether to close the cellular communication capability connection function.

[0513] In a possible implementation, when the first device and the second device maintain a connection, the first device receives a message from the user in the following manner: Fig.18 In the interface shown in b in FIG. 1 , when a trigger operation is performed to close the control, the first device may Fig.18 In the task bar of the interface shown in c, an icon 1803 indicating that there is no network signal is displayed. At this time, it can be understood that the first device forcibly interrupts the signal relay between the first device and the second device, so the first device can switch from a state with a good network signal to a state with a weak network signal or no network signal.

[0514] It is understandable that, when the first device and the second device are connected, when the first device turns off the switch of the cellular communication capability connection function, the signal relay between the first device and the second device can be interrupted. Adaptively, when the first device and the second device are connected, when the second device turns off the switch of the cellular communication capability connection function, the signal relay between the first device and the second device can also be interrupted.

[0515] In a possible implementation, the first device is based on Fig.18 or Fig.17In a corresponding embodiment, when the signal relay has been interrupted, the first device receives the user's Fig.18 In the interface shown in b in FIG. 1 , when a trigger operation is performed to close the control, the first device may display Fig.18 In this scenario, the first device Fig.18 The content displayed in the status bar of the interface shown in c can be Fig.17 The content displayed in the status bar in the interface shown is similar and will not be repeated here.

[0516] Based on this, the device can support, when turning off the switch of the cellular communication capability succession function, prompting the user that the signal relay will be interrupted when turning it off, thereby avoiding the situation where the first device cannot execute cellular communication services when the user directly turns off the switch of the cellular communication capability succession function, thereby improving the user experience of using the cellular communication capability succession function.

[0517] exist Figure 4 On the basis of the corresponding embodiment, when the first device receives any IMS call service, the first device can be based on the following Fig.19 The corresponding embodiment completes the IMS call.

[0518] For example, Fig.19 A flowchart of an IMS call method based on cellular communication capability connection provided in an embodiment of the present application.

[0519] like Fig.19 As shown, the IMS call method based on cellular communication capability connection may include the following steps:

[0520] S1901: When a first device receives an operation of a user making a call, a telephone application of the first device sends an IMS outgoing call service request to an IMS telephone module of the first device.

[0521] The IMS outgoing call service request may include dialing information of the outgoing call, such as a telephone number.

[0522] S1902: The IMS phone module of the first device sends an IMS outgoing call service request to the IMS management module.

[0523] S1903: The IMS management module of the first device sends an IMS calling call service request to the IMS call session proxy module.

[0524] Exemplarily, the IMS management module of the first device may send an IMS outgoing call service request to the IMS call session proxy module based on the proxy mode.

[0525] S1904: The IMS call session proxy module of the first device sends an IMS outgoing call service request to the cloud connection module of the first device.

[0526] S1905. The cloud connection module of the first device sends an IMS outgoing call service request to the cloud connection module of the second device.

[0527] In a possible implementation, the cloud connection module of the first device may send the IMS outgoing call service request to the communication service cloud, and the communication service cloud may further send the IMS outgoing call service request to the cloud connection module of the second device.

[0528] S1906. The cloud connection module of the second device sends an IMS outgoing call service request to the IMS call session proxy module of the second device.

[0529] S1907: The IMS call session proxy module of the second device sends an IMS outgoing call service request to the IMS management module of the second device.

[0530] S1908. The IMS management module of the second device sends an IMS outgoing call service request to the IMS APK of the second device.

[0531] Suitably, the IMS service module in the IMS APK of the second device may receive the IMS outgoing call service request.

[0532] S1909: The IMS APK of the second device sends an IMS outgoing call service request to the modem of the second device.

[0533] Exemplarily, the IMS APK of the second device may send an IMS outgoing call service request to a modem of the second device through the RIL.

[0534] 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 the response message corresponding to the IMS outgoing call service request to the telephone application of the first device based on the path described in the steps shown in the following S1910-S1920. The response message corresponding to the IMS outgoing call service request is used to indicate that the IMS call service is successfully established; or the response message corresponding to the IMS outgoing call service request can be understood as a message that the third device receives the IMS outgoing call service request sent by the second device and returns it to the second device.

[0535] It can be understood that, during the process in which the second device returns a response message corresponding to the IMS outgoing call service request, the other device may be in a ringing state.

[0536] S1910. The modem of the second device sends a response message corresponding to the IMS outgoing call service request to the IMS APK of the second device.

[0537] The modem of the second device may send a response message corresponding to the IMS outgoing call service request to the IMS APK of the second device through the RIL.

[0538] S1911. The IMS APK of the second device sends a response message corresponding to the IMS outgoing call service request to the IMS management module of the second device.

[0539] S1912: The IMS management module of the second device sends a response message corresponding to the IMS calling call service request to the IMS call session monitoring proxy module of the second device.

[0540] Exemplarily, the IMS management module of the second device sends a response message corresponding to the IMS calling call service request to the IMS call session monitoring proxy module of the second device based on the proxy mode.

[0541] S1913: The IMS call session monitoring agent module of the second device sends an indication message for indicating audio channel switching to the audio HAL of the second device.

[0542] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the second device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained by the modem of the second device to the first device, rather than sending it to the speaker or receiver of the local device through the local audio path.

[0543] In a possible implementation, the IMS management module of the second device may also send the indication message for indicating the audio channel switching to the audio HAL of the second device, which is not limited in the embodiment of the present application.

[0544] S1914. The IMS call session monitoring proxy module of the second device sends a response message corresponding to the IMS calling call service request to the cloud connection module of the second device.

[0545] It is understandable that the IMS call session monitoring proxy module of the second device may execute the steps shown in S1913 and S1914 synchronously, or may execute the steps shown in S1913 and S1914 one after another, which is not limited in the embodiments of the present application.

[0546] S1915. The cloud connection module of the second device sends a response message corresponding to the IMS outgoing call service request to the cloud connection module of the first device.

[0547] Exemplarily, the cloud connection module of the second device may send a response message corresponding to the IMS outgoing call service request to the communication service cloud, and the communication service cloud may continue to send a response message corresponding to the IMS outgoing call service request to the cloud connection module of the first device.

[0548] S1916. The cloud connection module of the first device sends a response message corresponding to the IMS calling call service request to the IMS call session monitoring proxy module of the first device.

[0549] S1917: The IMS call session monitoring agent module of the first device sends a response message corresponding to the IMS calling call service request to the IMS management module of the first device.

[0550] S1918. The IMS call session monitoring agent module of the first device sends an indication message for instructing audio channel switching to the audio HAL of the first device.

[0551] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the first device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained from the DSP to the second device.

[0552] In a possible implementation, the IMS management module of the first device may also send the indication message for indicating the audio channel switching to the audio HAL of the first device, which is not limited in the embodiment of the present application.

[0553] S1919. The IMS management module of the first device sends a response message corresponding to the IMS outgoing call service request to the IMS telephone module of the first device.

[0554] S1920. The IMS telephone module of the first device sends a response message corresponding to the IMS outgoing call service request to the telephone application of the first device.

[0555] It can be understood that, when the first device completes switching the forwarding mode of audio data to the remote mode based on the steps shown in S1918, and the second device also switches the forwarding mode of audio data to the remote mode based on the steps shown in S1913, when the modem of the second device receives the IMS calling service answered by other devices, the second device or the first device can remotely forward the voice packets obtained by the local device to the third device to achieve voice continuation. The specific process of the second device or the first device being able to remotely forward the voice packets obtained by the local device to the third device can be found in Fig.21 The corresponding embodiments will not be described in detail here.

[0556] In a possible implementation, when the modem of the second device receives the IMS called call service, the second device and the first device may also implement voice connection based on the steps shown in S1921-S1931.

[0557] S1921. The modem of the second device sends an IMS called call service request to the IMS APK of the second device.

[0558] The IMS called call service request may include: the called telephone number, the location corresponding to the telephone number and other information.

[0559] S1922. The IMS APK of the second device sends an IMS called call service request to the IMS management module of the second device.

[0560] S1923: The IMS management module of the second device sends an IMS called call service request to the IMS call session monitoring proxy module of the second device.

[0561] Exemplarily, the IMS management module of the second device sends the IMS called call service request to the IMS call session monitoring proxy module of the second device based on the proxy mode.

[0562] S1924: The IMS call session monitoring agent module of the second device sends an indication message for indicating audio channel switching to the audio HAL of the second device.

[0563] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the second device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained from the modem of the second device to the first device.

[0564] In a possible implementation, the IMS management module of the second device may also send the indication message for indicating the audio channel switching to the audio HAL of the second device, which is not limited in the embodiment of the present application.

[0565] S1925. The IMS call session monitoring proxy module of the second device sends an IMS called call service request to the cloud connection module of the second device.

[0566] S1926. The cloud connection module of the second device sends an IMS called call service request to the cloud connection module of the first device.

[0567] Exemplarily, the cloud connection module of the second device may send the IMS called call service request to the communication service cloud, and the communication service cloud may continue to send the IMS called call service request to the cloud connection module of the first device.

[0568] S1927. The cloud connection module of the first device sends an IMS called call service request to the IMS call session monitoring proxy module of the first device.

[0569] S1928. The IMS call session monitoring agent module of the first device sends an IMS called call service request to the IMS management module of the first device.

[0570] S1929: The IMS call session monitoring agent module of the first device sends an indication message for indicating audio channel switching to the audio HAL of the first device.

[0571] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the first device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained from the DSP to the second device.

[0572] In a possible implementation, the IMS management module of the first device may also send the indication message for indicating the audio channel switching to the audio HAL of the first device, which is not limited in the embodiment of the present application.

[0573] S1930. The IMS management module of the first device sends an IMS called call service request to the IMS telephone module of the first device.

[0574] S1931. The telephone management module of the first device sends an IMS called call service request to the telephone application of the first device.

[0575] Suitably, when receiving the IMS called call service request, the telephone application of the first device may display the telephone number corresponding to the called call service and information such as the location of the telephone number in the interface.

[0576] It can be understood that, when the first device completes switching the forwarding mode of audio data to remote mode based on the steps shown in S1929, and the second device also switches the forwarding mode of audio data to remote mode based on the steps shown in S1924, when the first device answers the IMS called call, the first device can also send the response message corresponding to the IMS called call request to the second device, so that the second device sends the response message corresponding to the IMS called call request to the third device via the modem. Further, the second device or the first device can Fig.21The corresponding embodiment realizes remotely forwarding the voice packet obtained by the local device to the third device, and / or returns the network voice packet generated by the third device to the first device, so as to realize the continuation of the voice.

[0577] It is understandable that, when the IMS service is an IMS SMS service, the first device and the second device may also complete the connection of the SMS service based on the steps shown in S1901-S1931.

[0578] It is understandable that, when there is a SIM card in the second device and there is an idle card slot in the second device for supporting the first device to connect, the call received by the SIM card in the second device will conflict with the call service in the first device during the connection process. For example, when the first device is connected to the second device and the user uses the cellular communication capability connection function in the first device to make (or answer) a call, the second device cannot make (or answer) its own call. Alternatively, when the first device is connected to the second device and the user does not use the cellular communication capability connection function in the first device to make (or answer) a call, the second device can make (or answer) its own call.

[0579] Based on this, both the first device and the second device can achieve distributed access to the IMS call service through the IMS call session proxy module and the IMS call session monitoring proxy module.

[0580] In possible implementations, Figure 4 On the basis of the corresponding embodiments, when the first device receives any CS call service, the first device can complete the CS call based on the following 20 corresponding embodiments.

[0581] For example, Fig. 20 A flowchart of a CS call method based on cellular communication capability connection provided in an embodiment of the present application.

[0582] like Fig. 20 The CS call method based on cellular communication capability connection may include the following steps:

[0583] S2001. When the first device receives an operation of a user making a call, the phone application of the first device may send a CS outgoing call service request to the phone manager of the first device.

[0584] The CS outgoing call service request may include dialing information when making the call, such as a telephone number.

[0585] S2002. The telephone manager of the first device sends a CS calling service request to the remote modem service module.

[0586] Exemplarily, the telephone manager of the first device may send a CS outgoing call service request to the remote modem service module based on the proxy mode.

[0587] S2003. The remote modem service module of the first device sends a CS calling call service request to the cloud connection module of the first device.

[0588] S2004. The cloud connection module of the first device sends a CS calling service request to the cloud connection module of the second device.

[0589] In a possible implementation, the cloud connection module of the first device may send the CS calling call service request to the communication service cloud, and the communication service cloud may further send the CS calling call service request to the cloud connection module of the second device.

[0590] S2005. The cloud connection module of the second device sends a CS calling call service request to the remote modem service module of the second device.

[0591] S2006. The remote modem service module of the second device sends a CS calling service request to the RIL of the second device.

[0592] S2007. The RIL of the second device sends a CS calling service request to the modem of the second device.

[0593] 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 network side, and send a response message corresponding to the CS outgoing call service request to the telephone application of the first device based on the path described in the steps shown in S2008-S2016 below. The response message corresponding to the CS outgoing call service request is used to indicate that the CS call service is successfully established.

[0594] S2008. The modem of the second device sends a response message corresponding to the CS outgoing call service request to the RIL of the second device.

[0595] S2009. The RIL of the second device sends a response message corresponding to the CS calling call service request to the remote modem service module of the second device.

[0596] S2010. The remote modem service module of the second device sends a response message corresponding to the CS calling call service request to the cloud connection module of the second device.

[0597] S2011. The remote modem service module of the second device sends an indication message for indicating audio channel switching to the audio HAL of the second device.

[0598] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the second device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained by the modem of the second device to the first device, rather than sending it to the speaker or receiver of the local device through the local audio path.

[0599] It is understandable that the remote modem service module of the second device can execute the steps shown in S2010 and S2011 synchronously, or can execute the steps shown in S2010 and S2011 one after another, which is not limited in the embodiments of the present application.

[0600] S2012. The cloud connection module of the second device sends a response message corresponding to the CS calling call service request to the cloud connection module of the first device.

[0601] Exemplarily, the cloud connection module of the second device may send a response message corresponding to the CS calling call service request to the communication service cloud, and the communication service cloud may continue to send a response message corresponding to the CS calling call service request to the cloud connection module of the first device.

[0602] S2013. The cloud connection module of the first device sends a response message corresponding to the CS calling call service request to the remote modem service module of the first device.

[0603] S2014. The remote modem service module of the first device sends a response message corresponding to the CS outgoing call service request to the telephone manager of the first device.

[0604] S2015. The remote modem service module of the first device sends an indication message for indicating audio channel switching to the audio HAL of the first device.

[0605] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the first device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained from the DSP to the second device.

[0606] S2016. The telephone manager of the first device sends a response message corresponding to the CS outgoing call service request to the telephone application of the first device.

[0607] It can be understood that, when the first device completes switching the forwarding mode of the audio data to the remote mode based on the step shown in S2015, and the second device also switches the forwarding mode of the audio data to the remote mode based on the step shown in S2011, when the modem of the second device receives the CS calling service answered by other devices, the second device or the first device can Fig.21 The corresponding embodiment realizes remotely forwarding the voice packets acquired by the local device to the third device to achieve voice continuation.

[0608] In a possible implementation, when the modem of the second device receives a CS called call service, the second device and the first device can also implement voice connection based on the steps shown in S2017-S2025.

[0609] S2017. The modem of the second device sends a CS called call service request to the RIL of the second device.

[0610] The CS called call service request may include: the called phone number, the location corresponding to the phone number and other information.

[0611] S2018. The RIL of the second device sends a CS called call service request to the remote modem service module of the second device.

[0612] S2019. The remote modem service module of the second device sends a CS called call service request to the cloud connection module of the second device.

[0613] S2020. The remote modem service module of the second device sends an indication message for indicating audio channel switching to the audio HAL of the second device.

[0614] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the second device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packets obtained by the modem of the second device to the first device.

[0615] S2021. The cloud connection module of the second device sends a CS called call service request to the cloud connection module of the first device.

[0616] Exemplarily, the cloud connection module of the second device may send the CS called call service request to the communication service cloud, and the communication service cloud may continue to send the CS called call service request to the cloud connection module of the first device.

[0617] S2022. The cloud connection module of the first device sends a CS called call service request to the remote modem service module of the first device.

[0618] S2023: The remote modem service module of the first device sends a CS called call service request to the telephone manager of the first device.

[0619] S2024: The remote modem service module of the first device sends an indication message for indicating audio channel switching to the audio HAL of the first device.

[0620] Suitably, upon receiving the indication message for indicating the audio channel switching, the audio HAL can switch the forwarding mode of the audio data from the local mode to the remote mode. In the remote mode, the first device starts the audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet obtained from the DSP to the second device.

[0621] S2025. The phone manager of the first device sends a CS called call service request to the phone application of the first device.

[0622] Suitably, when receiving the CS called call service request, the telephone application of the first device may display the telephone number corresponding to the called call service and information such as the location of the telephone number in the interface.

[0623] It can be understood that, when the first device completes switching the forwarding mode of audio data to remote mode based on the steps shown in S2024, and the second device also switches the forwarding mode of audio data to remote mode based on the steps shown in S2020, when the first device answers the CS called call, the first device can also send the response message corresponding to the CS called call service request to the second device, so that the second device sends the response message corresponding to the CS called call service request to the third device via the modem. Furthermore, the second device or the first device can remotely forward the voice packet obtained by the local device to the third device, and / or return the network voice packet generated by the third device to the first device, so as to achieve voice continuation.

[0624] Based on this, the first device and the second device can implement distributed access to the CS call service based on the remote modem function.

[0625] exist Fig.19 or Fig. 20 Based on the corresponding embodiment, the process of the first device or the second device remotely forwarding the voice packet obtained by the local device to the third device can be referred to Fig.21 The corresponding embodiments.

[0626] For example, Fig.21A flow chart of remote forwarding of a voice packet provided in an embodiment of the present application.

[0627] It is understandable that, when the first device and the second device execute the IMS calling call service (or CS calling call service) or the IMS called call service (or CS called call service), the manner of remotely forwarding the voice packet is similar.

[0628] like Fig.21 As shown, in the process of executing the IMS called call service (or IMS called call service, or CS called call service, or CS calling call service), the first device can remotely forward the locally obtained voice packets (or called local voice packets) to the second device based on the steps shown in S2101-S2106; and the second device can also remotely forward the voice packets (or called network voice packets) obtained from the network side to the first device based on the steps shown in S2107-S2112.

[0629] S2101. When the microphone of the first device collects local audio data, the local audio data is sent to the DSP for audio processing, and the local voice packet obtained after the audio processing is sent to the audio stream forwarding module of the first device.

[0630] Suitably, the DSP in the first device performs audio processing on the local audio data to obtain a local voice packet. The audio processing method may include: encoding processing and filtering processing of the audio data, which is not limited in the embodiment of the present application.

[0631] S2102. The audio stream forwarding module of the first device sends the local voice packet to the cloud connection module of the first device.

[0632] It can be understood that when the first device switches the forwarding mode of audio data to remote mode, the first device can start the use of the audio stream forwarding module, so that the audio stream forwarding module can send the local voice packet to the cloud connection module of the first device, and the cloud connection module can realize the remote forwarding of the voice packet.

[0633] S2103. The cloud connection module of the first device sends a local voice packet to the cloud connection module of the second device.

[0634] Exemplarily, the cloud connection module of the first device can send a local voice packet to the audio relay cloud, and then the audio relay cloud continues to forward the local voice packet to the cloud connection module of the second device. The audio relay cloud can be used to forward audio data, and the audio relay cloud and the communication service cloud can both be independently operated cloud servers.

[0635] S2104. The cloud connection module of the second device sends a local voice packet to the audio stream forwarding module of the second device.

[0636] S2105. The audio stream forwarding module of the second device sends a local voice packet to the DSP of the second device.

[0637] Suitably, when the DSP of the second device receives the local voice packet sent by the audio stream forwarding module, it can perform audio processing on the local voice packet to obtain a processed local voice packet.

[0638] S2106. The DSP of the second device sends the processed local voice packet to the modem of the second device.

[0639] Furthermore, the modem of the second device can send the processed local voice packet to the network side to report the processed local voice packet.

[0640] In a possible implementation, S2107, when the modem of the second device receives the network audio data from the network side, the second device sends the network audio data to the DSP of the second device.

[0641] S2108. The DSP of the second device performs audio processing on the network audio data to obtain a network voice packet, and sends the network voice packet to the audio stream forwarding module of the second device.

[0642] S2109. The audio stream forwarding module of the second device sends the network voice packet to the cloud connection module of the second device.

[0643] S2110. The cloud connection module of the second device sends the network voice packet to the cloud connection module of the first device.

[0644] Exemplarily, the cloud connection module of the second device may send the network voice packet to the audio relay cloud, and then the audio relay cloud may continue to forward the network voice packet to the cloud connection module of the first device.

[0645] S2111. The cloud connection module of the first device sends the network voice packet to the audio stream connection module of the first device.

[0646] S2112. The audio stream connection module of the first device sends the network voice packet to the DSP of the first device.

[0647] Suitably, when receiving the network voice packet from the audio stream connection module of the first device, the DSP of the first device can perform audio processing on the network voice packet to obtain a processed network voice packet. Further, the DSP of the first device sends the processed network voice packet to a speaker or a receiver for playback.

[0648] Based on this, both the first device and the second device can remotely forward the voice packets obtained by the local devices to the third device based on the audio stream forwarding module.

[0649] exist Figure 4 or Figure 5 On the basis of the corresponding embodiment, the first device or the second device may also stop the connection process.

[0650] For example, Fig. 22 A flow chart of a stop-connection process provided in an embodiment of the present application. Fig. 22 As shown, the process of stopping the connection process may include the following steps:

[0651] S2201. The interface processing module of the first device sends an instruction for instructing to exit the connection mode to the distributed communication service module of the first device.

[0652] In the embodiment of the present application, the first device may initiate a stop connection process (see the embodiment corresponding to method one), or the second device may also initiate a stop connection process (see the embodiment corresponding to method two).

[0653] Method 1: The first device initiates the stop connection process.

[0654] Among them, the first device can initiate a stop connection process when it detects that at least one of the following second preset conditions is met. For example, the second preset condition may include: the first device can stop the connection process based on the user's trigger operation for the stop relay control, the first device can stop the connection process when it detects that the cellular communication network signal is weak, the first device can stop the connection process when it detects that the WIFI network signal is weak, and / or the first device can stop the connection process when it detects that the screen is in an off state for a long time and there is no business function using the cellular communication capability connection function.

[0655] In one implementation, the first device may stop the relay process based on a user's trigger operation on the stop relay control. Fig.16 The interface shown in a (or Fig.12 The interface shown in b in FIG. 1 may include a stop relay control. When the first device receives a trigger operation from the user for the stop relay control, the first device may execute the steps shown in S2201.

[0656] In a possible implementation, the first device may also stop the connection process based on the user's operation of turning off the cellular communication capability connection function.

[0657] In another implementation, the first device may stop the connection process when it detects that the cellular communication network signal is weak. Exemplarily, when the first device detects that the RSRP value is lower than the second ISRP threshold for a period longer than T3 (or the first device detects that the RSRP value is lower than the second ISRP threshold), the first device may execute the steps shown in S2201. The value of the second RSRP threshold may be -120dBm; the second RSRP threshold may be the same as or different from the first RSRP threshold.

[0658] In another implementation, the first device may stop the connection process when it detects that the WIFI network signal is weak. For example, when the first device detects that the RSSI value is lower than the second RSSI threshold for a period longer than T4 (or the first device detects that the RSSI value is lower than the second RSSI threshold), the first device may execute the steps shown in S2201. The value of the second RSSI threshold may be 90dBm; the second RSSI threshold may be the same as or different from the first RSSI threshold.

[0659] In another implementation, the first device may stop the connection process when it detects that the screen is off for a long time and / or there is no business using the cellular communication capability connection function for a long time. Exemplarily, the first device may execute the steps shown in S2201 when it detects that the screen is off and / or there is no business using the cellular communication capability connection function for a long time for more than T5.

[0660] It is understandable that in order to avoid the first device frequently stopping the connection process and initiating a triggered connection, the first device can support: when the duration of the stop connection process is less than the duration T6, no longer initiating the connection process described in the step shown in S1724.

[0661] In a possible implementation, when the first device detects that the number of times the first device stops the connection process within the T7 duration is greater than M1, the first device may no longer initiate the connection process described in the step shown in S1724 when the duration of stopping the connection process is less than 2T6. For example, when T6 is 1 minute, 2T6 may be 2 minutes.

[0662] In a possible implementation, when the first device detects that the number of times the first device stops the connection process within the duration of T8 is greater than M2, the first device may no longer initiate the connection process described in the step shown in S1724 when the duration of stopping the connection process is less than 4T6. Among them, M2 may be greater than M1, and T8 may be greater than T7. For example, when T6 is 1 minute, 4T6 may be 4 minutes.

[0663] Method 2: The second device initiates the stop connection process.

[0664] Among them, the second device can initiate the stop connection process when it detects that at least one of the following conditions is met. For example, the condition may include: the second device can stop the connection process based on the user's trigger operation for the stop relay control, and / or the second device can stop the connection process when it detects that the WIFI network signal is weak.

[0665] In one implementation, the second device may stop the relay process based on the user's trigger operation on the stop relay control. Fig.14 The interface shown in the figure may include a stop relay control. When the second device receives a trigger operation of the user for the stop relay control, the interface processing module of the second device may send an instruction for instructing to exit the connection mode to the distributed communication service module of the second device. Further, the distributed communication service module of the second device may send an instruction for instructing to exit the connection mode to the communication service module of the first device, and then the distributed communication service module of the first device may execute the steps shown in the following S2202.

[0666] In a possible implementation, the first device may also stop the connection process based on the user's operation of turning off the cellular communication capability connection function.

[0667] In another implementation, the second device may stop the connection process when it detects that the WIFI network signal is weak. Exemplarily, when the second device detects that the RSSI value is lower than the second RSSI threshold for a period longer than T4, the distributed communication service module of the second device may send an instruction to the communication service module of the first device to instruct to exit the connection mode, and then the distributed communication service module of the first device may execute the steps shown in S2202 below.

[0668] S2202. The distributed communication service module of the first device sends an exit connection mode instruction to the distributed communication service module of the second device.

[0669] In a possible implementation, when the distributed communication service module of the second device receives the exit connection mode instruction (or referred to as the second message), it may also send a response message corresponding to the exit connection mode instruction to the distributed communication service module of the first device. The response message corresponding to the exit connection mode instruction is used to indicate that the second device has received the exit connection mode instruction.

[0670] S2203: The distributed communication service module of the first device sends a stop remote IMS function instruction to the distributed communication service module of the second device.

[0671] For example, Figure 8As shown, the distributed communication service module of the first device can send a stop remote IMS function instruction to the distributed communication service module of the second device based on the path described in the step shown in S8001.

[0672] S2204. The distributed communication service module of the second device sends a remote IMS function stop success instruction to the distributed communication service module of the first device.

[0673] For example, Figure 8 As shown, the distributed communication service module of the second device can send a remote IMS function stop success instruction to the distributed communication service module of the first device based on the path described in the step shown in S8008.

[0674] In a possible implementation, the distributed communication service module of the first device sends a response message corresponding to the remote IMS function stop success instruction to the distributed communication service module of the second device, wherein the response message corresponding to the remote IMS function stop success instruction is used to indicate that the first device has received the remote IMS function stop success instruction.

[0675] S2205. The distributed communication service module of the second device sends a remote SIM function stop instruction to the distributed communication service module of the first device.

[0676] For example, Figure 7 As shown, the distributed communication service module of the second device can send a remote SIM function instruction to the distributed communication service module of the first device based on the path described in the step shown in S7001; further, the distributed communication service module of the second device can execute the step shown in S2207.

[0677] S2206. The distributed communication service module of the second device sends a remote SIM function stop instruction to the modem of the second device.

[0678] For example, Figure 7 As shown, the distributed communication service module of the second device can send a stop remote SIM function instruction to the modem of the second device based on the path described in the steps shown in S7007-S7008.

[0679] S2207: The distributed communication service module of the first device sends a remote SIM function stop instruction to the modem of the first device.

[0680] S2208: The modem of the first device identifies the local SIM card and registers the cellular network using the SIM card information.

[0681] Exemplarily, when the modem of the first device receives the instruction to stop the remote SIM function, the modem of the first device identifies the local SIM card and registers the cellular network using the SIM card information, thereby obtaining the network information.

[0682] It is understandable that, since the first device is connected to the modem of the second device at this time, the network information obtained by the modem of the first device cannot be reported to the application layer of the first device temporarily.

[0683] S2209. The distributed communication service module of the first device sends a remote SIM function stop success instruction to the distributed communication service module of the second device.

[0684] For example, Figure 7 As shown, the distributed communication service module of the first device can send a remote SIM function stop success instruction to the distributed communication service module of the second device based on the path described in the step shown in S7006.

[0685] In a possible implementation, the distributed communication service module of the second device may send a response message corresponding to the remote SIM function stop success instruction to the distributed communication service module of the second device, wherein the response message corresponding to the remote SIM function stop success instruction is used to indicate that the second device has received the remote SIM function stop success instruction.

[0686] S2210. The distributed communication service module of the first device sends a stop remote modem function instruction to the distributed communication service module of the second device.

[0687] For example, Figure 6 As shown, the distributed communication service module of the first device can send a stop remote modem function instruction to the distributed communication service module of the second device based on the path described in the step shown in S6001.

[0688] S2211. The distributed communication service module of the second device sends a remote modem function stop success instruction to the distributed communication service module of the first device.

[0689] For example, Figure 6 As shown, the distributed communication service module of the second device can send a remote modem function stop success instruction to the distributed communication service module of the first device based on the path described in the step shown in S6006.

[0690] In a possible implementation, when the distributed communication service module of the first device receives the remote modem function stop success instruction, the distributed communication service module of the first device can determine that the remote access to the modem of the second device has been terminated. In addition, the distributed communication service module of the first device can send a query request to the phone manager of the first device, and the phone manager of the first device sends the query request to the modem of the first device through the RIL; further, the modem of the first device can obtain the network information based on the query request and execute the steps shown in S2212.

[0691] S2212. The modem of the first device sends the network access information to the interface processing module of the first device.

[0692] Exemplarily, the modem of the first device may report the network information to the interface processing module of the first device through the RIL of the first device and the phone manager of the first device. Suitably, when the interface processing module of the first device receives the network information, an indicator indicating that the network signal of the first device is weak or there is no network signal may be displayed in the status bar of the first device.

[0693] S2213. The distributed communication service module of the first device sends an exit connection mode completion instruction to the distributed communication service module of the second device.

[0694] S2214. The distributed communication service module of the first device sends an exit connection mode completion instruction to the interface processing module of the first device.

[0695] Exemplarily, the first device may cancel displaying an indicator for indicating the connection and indicating that the device is relaying a signal. For example, the status bar of the first device may be restored to a state before the first device performs the connection.

[0696] S2215. The distributed communication service module of the second device sends an exit connection mode completion instruction to the interface processing module of the second device.

[0697] Exemplarily, the second device may cancel displaying the mark used to indicate the connection and to indicate that the device is performing signal relay, and the status bar of the second device may be restored to the state before the second device performs the connection.

[0698] S2216. The distributed communication service module of the first device sends a message to the communication service cloud to instruct the disconnection of the long service link.

[0699] S2217. The distributed communication service module of the second device sends a message to the communication service cloud to instruct the disconnection of the long service link.

[0700] Based on this, the first device can terminate the entire connection process with the second device based on the user's operation of disconnecting the connection mode, so that both the first device and the second device can be restored to the state before the connection.

[0701] In the above Figure 4 or Figure 5 On the basis of the corresponding embodiment, since most first devices can support dual-card functions, the first device can determine the SIM card that initiates the connection based on the single-card or dual-card situation. For example, when two SIM cards are inserted into the first device and both SIM cards can be used for resident network at the same time, the first device can determine the SIM card that initiates the connection in the step shown in S518.

[0702] For example, Fig.23 The present invention provides a flow chart of a method for selecting a SIM card when initiating a signal relay. Fig.23 As shown, the method for the first device to manage the SIM card may include the following steps:

[0703] S2301. The first device determines whether there are dual SIM cards.

[0704] When the first device determines that a single card exists, the first device may execute the step shown in S2302; or, when the first device determines that dual cards exist, the first device may execute the step shown in S2303.

[0705] S2302: The first device connects the single card.

[0706] It is understandable that in the scenario of connecting a single card, if the second device includes two idle card slots, the first device can use the card slot of card 1 for connection by default. Alternatively, if the second device includes one idle card slot and one card slot with a SIM card inserted, the first device can use the idle card slot for connection by default, and the SIM card in the second device can be the primary card, and the SIM card can retain the data service of the primary card.

[0707] S2303: The first device determines whether both SIM cards meet the connection condition.

[0708] The connection conditions can be found in Figure 5 When the first device determines that only one SIM card meets the connection condition, the first device executes the step shown in S2304; or, when the first device confirms that both SIM cards meet the connection condition, the first device may execute the step shown in S2305.

[0709] S2304: The first device initiates a connection to a SIM card that meets the connection condition.

[0710] S2305: The first device prompts the user to select a SIM card.

[0711] Exemplarily, when the first device confirms that both SIM cards meet the connection condition, the first device may display the following information: Fig.13 The interface shown in c (or Fig.12 The interface shown in a in FIG), which may include a card 1 relay control and a card 2 relay control.

[0712] S2306: When the first device receives an operation from the user to select any SIM card, the first device initiates a connection to the SIM card selected by the user.

[0713] S2307: When the first device receives an operation from the user to select any SIM card, and the first device determines that the SIM card that has not initiated the connection is a secondary card, the first device may switch the SIM card that has not initiated the connection to a primary card.

[0714] The SIM card that has not initiated the connection can become the second SIM card. It is understandable that the way in which the first device switches the SIM card that has not initiated the connection to the primary card can ensure that the data service of the primary card is not affected.

[0715] Based on the description in steps S2301-2307, in a possible implementation, when the first device includes two SIM cards, the first device may also support simultaneous connection of the two SIM cards, and the two SIM cards may be respectively connected to different second devices.

[0716] In a possible implementation, when the first device includes two SIM cards, the first device may also support simultaneous connection of the two SIM cards, and the two SIM cards may be connected to the same second device; suitably, the second device may include two free card slots, and the two free card slots are used to support the connection of the two SIM cards in the first device.

[0717] In a possible implementation, when there are two first devices, the two first devices may also be connected to the same second device; suitably, the second device may include at least two idle card slots, and the two idle card slots are used to support the connection of the two first devices respectively.

[0718] 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.

[0719] The following describes the apparatus for executing the above method provided in the embodiment of the present application. Fig.24 As shown, Fig.24A structural schematic diagram of a call device based on cellular communication capability connection provided in an embodiment of the present application. The call device based on cellular communication capability connection can be the first device (or second device) in the embodiment of the present application, or it can be a chip or chip system in the first device (or second device).

[0720] like Fig.24 As shown, the communication device 2400 based on cellular communication capability connection can be used in communication equipment, circuits, hardware components or chips, and the communication device 2400 based on cellular communication capability connection includes: a display unit 2401, a processing unit 2402, and a communication unit 2403, wherein the display unit 2401 is used to support the display steps performed by the communication device 2400 based on cellular communication capability connection; the processing unit 2402 is used to support the communication device 2400 based on cellular communication capability connection to perform information processing steps; and the communication unit 2403 is used to instruct the communication device 2400 based on cellular communication capability connection to perform steps such as sending and receiving data. The communication unit 2403 can be an input or output interface, a pin or a circuit, etc.

[0721] Specifically, an embodiment of the present application provides a call device 2400 based on cellular communication capability connection. When the first device meets the first preset condition, the display unit 2401 of the first device is used to display a first interface; wherein the first interface includes: at least one target control, and the at least one target control corresponds to at least one SIM card in the first device; the at least one target control includes: a first control for connecting the first SIM card in the first device; in response to a trigger operation on the first control, the communication unit 2403 of the first device is used to establish a cellular communication capability connection with the second device; wherein establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing the modem processor modem of the second device, and establishing a remote SIM connection includes: the second device remotely accessing the first SIM card of the first device.

[0722] The embodiment of the present application also provides a calling device 2400 based on cellular communication capability connection, wherein the communication unit 2403 of the second device is used to receive a first message from the first device; the first message is used to indicate that the first device requests to establish a long link with the second device; the communication unit 2403 of the second device is used to establish a cellular communication capability connection with the first device based on the first message; establishing a cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, establishing a remote modem connection includes: the first device remotely accesses the modem of the second device, and establishing a remote SIM connection includes: the second device remotely accesses the first SIM card of the first device; the display unit 2401 of the second device is used to display an eighth interface; wherein the eighth interface includes one or more of the following: information for indicating the connection time, indication information for indicating the connection status, or a control for stopping the connection.

[0723] In a possible embodiment, the communication device based on cellular communication capability connection may further include: a storage unit 2404. The processing unit 2402 and the storage unit 2404 are connected via a line. The storage unit 2404 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 2404 may exist independently and be connected to the processing unit 2402 of the communication device based on cellular communication capability connection via a communication line. The storage unit 2404 may also be integrated with the processing unit 2402.

[0724] The storage unit 2404 may store computer-executable instructions of the method in the first device (or the second device) so that the processing unit 2402 executes the method in the above embodiment. The storage unit 2404 may be a register, a cache, or a RAM, etc. The storage unit 2404 may be integrated with the processing unit 2402. The storage unit 2404 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 2404 may be independent of the processing unit 2402.

[0725] For example, Fig.25 A schematic diagram of the structure of a chip provided in an embodiment of the present application. Fig.25 The chip 2500 described in the figure may be a chip in the first device or a chip in the second device.

[0726] The chip 2500 includes one or more than two (including two) processors 2520 and a communication interface 2530. The chip may be a chip in the first device or a chip in the second device.

[0727] In some embodiments, the memory 2540 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.

[0728] In the embodiment of the present application, the memory 2540 may include a read-only memory and a random access memory, and provide instructions and data to the processor 2520. A portion of the memory 2540 may also include a non-volatile random access memory (NVRAM).

[0729] In the embodiment of the present application, the memory 2540, the communication interface 2530 and the memory 2540 are coupled together through the bus system 2510. The bus system 2510 may include a power bus, a control bus and a status signal bus in addition to a data bus. Fig.25 Various buses are labeled as bus system 2510.

[0730] The method described in the above embodiment of the present application can be applied to the processor 2520, or implemented by the processor 2520. The processor 2520 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 2520. The above processor 2520 can be a general-purpose processor (for example, a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates, transistor logic devices or discrete hardware components. The processor 2520 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present invention.

[0731] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a mature storage medium in the field such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read only memory (EEPROM). The storage medium is located in the memory 2540, and the processor 2520 reads the information in the memory 2540 and completes the steps of the above method in combination with its hardware.

[0732] 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.

[0733] An embodiment of the present application provides a call system based on cellular communication capability connection, and the call system involves a first device, a second device and a first cloud server; when the first device meets a first preset condition, the first device establishes a communication connection with the second device through the first cloud server; based on the established connection, the first device establishes a cellular communication capability connection with the second device; establishing the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, establishing the remote modem connection includes: the first device remotely accesses the modem processor modem of the second device, and establishing the remote SIM connection includes: the second device remotely accesses the first SIM card of the first device.

[0734] 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.

[0735] 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.

[0736] 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 call method based on cellular communication capability connection, applied to a first device, characterized in that: The method comprises: When the first device meets the first preset condition, a first interface is displayed; wherein the first interface includes: at least one target control, the at least one target control corresponds to at least one user identification module SIM card in the first device; the at least one target control includes: a first control for connecting the first SIM card in the first device; In response to the trigger operation for the first control, the cellular communication capability connection is established with the second device; wherein the establishment of the cellular communication capability connection includes: establishing a remote modem connection, establishing a remote SIM connection, and establishing a remote Internet protocol multimedia subsystem IMS connection; the establishment of the remote modem connection includes: the second device and the first device use the remote modem function to transfer the modem of the second device to the first device for use, so that the first device remotely accesses the modem of the second device, the establishment of the remote SIM connection includes: the second device remotely accesses the first SIM card of the first device, and the establishment of the remote IMS connection includes: the first device remotely uses the IMS capability of the second device; The method further comprises: In the cellular communication capability connection, the IMS telephone module of the first device sends an IMS call service request to the IMS management module of the first device, and the IMS management module of the first device sends the IMS call service request to the second device through the remote IMS service module of the first device, wherein the IMS call service request is a calling call service request, the application framework layer of the first device is provided with a telephone manager of the first device and a remote IMS service module of the first device, and the telephone manager of the first device is provided with the IMS management module of the first device and the IMS telephone module; The IMS management module of the first device receives a response message corresponding to the IMS call service request from the second device.

2. The method according to claim 1, characterized in that The first preset condition includes: a triggering operation on a second control corresponding to the second device, the second control belonging to at least one control in the device list in the second interface.

3. The method according to claim 2, characterized in that The method further comprises: Displaying a third interface; wherein the third interface includes a first pop-up window, and the first pop-up window includes one or more of the following: instruction information for recommending the first device to continue the cellular communication capability, a first confirmation control for confirming the continuation of the cellular communication capability, or a first cancellation control for canceling the continuation of the cellular communication capability; In response to an operation on the first confirmation control, the second interface is displayed.

4. The method according to claim 3, characterized in that The displaying of the third interface includes: When the reference signal received power RSRP of the first device is lower than a first threshold and the signal strength of the wireless signal access point of the first device is greater than a second threshold, the third interface is displayed.

5. The method according to claim 1, characterized in that The first preset condition also includes: the RSRP of the first device is lower than a first threshold and the signal strength of the wireless signal access point of the first device is greater than a second threshold.

6. The method according to claim 1, characterized in that The method further comprises: When the first device receives a circuit switched CS calling call service, sending a CS calling call service request to the second device; and receiving a response message corresponding to the CS calling call service request from the second device; And / or, when the first device receives the CS called call service request from the second device, it returns a response message corresponding to the CS called call service request to the second device.

7. The method according to claim 1, characterized in that The IMS call service also includes an IMS called call service request, and the method further includes: The remote IMS service module of the first device receives an IMS called call service request from the remote IMS service module of the second device; The remote IMS service module of the first device sends the IMS called call service request to the IMS management module of the first device, the IMS management module of the first device sends the IMS called call service request to the IMS phone module of the first device, and the IMS phone module of the first device sends the IMS called call service request to the phone application of the first device; The telephone application of the first device generates a response message to the IMS called call service request, and sends the response message to the IMS called call service request to the IMS management module of the first device. The IMS management module of the first device sends the IMS called call service request to the remote IMS service module of the second device.

8. The method according to claim 6 or 7, characterized in that: The method further comprises: When the first device collects the first voice packet, it sends the first voice packet to the second device; and / or receives the second voice packet from the second device; the second voice packet is a voice packet received from a third device by the modem of the second device based on the network side.

9. The method according to claim 1, characterized in that: After establishing the cellular communication capability connection with the second device, the method further includes: The fourth interface is displayed; wherein the fourth interface includes one or more of the following: indication information for indicating the connection status of cellular communication capability, information for indicating the relay time, a control for stopping the relay, a control for switching the relay device, a control for switching the relay card, a first identifier for indicating that the first device is connecting the cellular communication capability, or a second identifier for indicating the network signal of the second device.

10. The method according to claim 9, characterized in that The method further comprises: When the first device meets a second preset condition, the cellular communication capability connection with the second device is terminated.

11. The method according to claim 10, characterized in that The step of stopping the cellular communication capability connection with the second device includes: The remote modem connection and the remote SIM connection with the second device are stopped.

12. The method according to claim 11, characterized in that The method further comprises: When a remote IMS connection is established between the first device and the second device, stopping the remote IMS connection with the second device; The establishing of the remote IMS connection includes: the first device remotely using the IMS capability of the second device.

13. The method according to claim 10, characterized in that When the second preset condition is receiving a trigger operation for the control for stopping the relay, after stopping the cellular communication capability connection with the second device, the method further includes: The fifth interface is displayed; wherein the fifth interface includes: indication information for indicating the interruption of the cellular communication capability connection.

14. The method according to claim 10, characterized in that The second preset condition is that the first device detects that the time for which any cellular communication function is not used exceeds a time threshold.

15. The method according to claim 14, characterized in that After stopping the cellular communication capability connection with the second device, the method further includes: The sixth interface is displayed; wherein the sixth interface includes: indication information for indicating that the first device detects that any cellular communication function is not in use and interrupts the connection of the cellular communication capability.

16. The method according to claim 10, characterized in that The second preset condition is the operation of the second confirmation control in the second pop-up window; wherein, the second pop-up window is a pop-up window displayed based on the closing operation of the third control when the cellular communication capability continuation function is turned on, and the second confirmation control is used to reconfirm whether to turn off the cellular communication capability continuation function; the third control is used to turn on or off the cellular communication capability continuation function; the third control belongs to the seventh interface; the seventh interface is an interface displayed in response to the triggering operation of the control used to set the cellular communication capability continuation function.

17. The method according to claim 1, characterized in that The first device also includes a second SIM card. After establishing the cellular communication capability connection with the second device, the method further includes: When the first device determines that the second SIM card has not established the cellular communication capability connection with the second device, and the second SIM card is a secondary card, the second SIM card is switched to a primary card.

18. A call method based on cellular communication capability connection, characterized in that: Applied to the second device, the method includes: Receiving a first message from a first device; the first message is used to indicate that the first device requests to establish a long link with the second device; Based on the first message, the cellular communication capability connection is established with the first device; the establishment of the cellular communication capability connection includes: establishing a remote modem connection, establishing a remote SIM connection and establishing a remote IMS connection; the establishment of the remote modem connection includes: 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, so that the first device remotely accesses the modem of the second device; the establishment of the remote SIM connection includes: the second device remotely accesses the first SIM card of the first device; the establishment of the remote IMS connection includes: the first device remotely uses the IMS capability of the second device; Displaying an eighth interface; wherein the eighth interface includes one or more of the following: information indicating a connection time, information indicating a connection status, or a control for stopping the connection; The method further comprises: In the cellular communication capability connection, the remote IMS service module of the second device sends an IMS call service request to the IMS management module of the second device, wherein the IMS call service request is a calling call service request, a phone manager of the second device is provided in the application framework layer of the second device, and the phone manager of the second device is provided with the IMS management module of the second device; The IMS management module of the second device forwards the IMS call service request to the network side through the modem of the second device, and receives a response message corresponding to the IMS call service request from the network side.

19. The method according to claim 18, characterized in that The method further comprises: When receiving the CS calling call service from the first device, sending a response message corresponding to the CS calling call service request to the first device; And / or, when the second device receives the CS called call service based on the modem of the second device, it sends a CS called call service request to the first device; and receives a response message corresponding to the CS called call service request from the first device.

20. The method according to claim 18, characterized in that The IMS call service also includes an IMS called call service request, and the method further includes: The modem of the second device receives the IMS called call service from the network side device; The modem of the second device sends the IMS called call service to the IMS management module of the second device, and the IMS management module of the second device sends the IMS called call service to the remote IMS service module of the second device; The remote IMS service module of the second device sends the IMS called call service request to the remote IMS service module of the first device; The remote IMS service module of the second device receives a response message corresponding to the IMS called call service request from the first device.

21. The method according to claim 19 or 20, characterized in that The method further comprises: receiving a first voice packet sent from the first device, and sending the first voice packet to a network side through a modem of the second device; And / or, sending a second voice packet obtained based on the network side to the first device; the second voice packet is a voice packet received from a third device by a modem of the second device based on the network side.

22. The method according to claim 18, characterized in that The method further comprises: When the second device receives a second message from the first device or the second device receives a trigger operation for the control for stopping the connection, the remote modem connection and the remote SIM connection are stopped between the second device and the first device; the second message is used to indicate that the first device requests to stop the cellular communication capability connection.

23. The method according to claim 22, characterized in that The method further comprises: When a remote IMS connection is established between the second device and the first device, the remote IMS connection is also terminated between the second device and the first device; in the remote IMS connection, the first device remotely uses the IMS capability of the second device.

24. A call system based on cellular communication capability connection, characterized in that: The call system involves a first device, a second device and a first cloud server; When the first device meets the first preset condition, the first device establishes a communication connection with the second device through the first cloud server; The first device establishes the cellular communication capability connection with the second device based on the established connection; The establishing of the cellular communication capability connection includes: establishing a remote modem connection, establishing a remote SIM connection and establishing a remote IMS connection. The establishing of the remote modem connection includes: the second device and the first device use the remote modem function to transfer the modem of the second device to the first device for use, so that the first device remotely accesses the modulation and demodulation processor modem of the second device. The establishing of the remote SIM connection includes: the second device remotely accesses the first SIM card of the first device. The establishing of the remote IMS connection includes: the first device remotely uses the IMS capability of the second device. In the cellular communication capability connection, the IMS telephone module of the first device sends an IMS call service request to the IMS management module of the first device, and the IMS management module of the first device sends the IMS call service request to the second device through the remote IMS service module of the first device, wherein the IMS call service request is a calling call service request, the application framework layer of the first device is provided with a telephone manager of the first device and a remote IMS service module of the first device, and the telephone manager of the first device is provided with the IMS management module of the first device and the IMS telephone module; The remote IMS service module of the second device sends the IMS call service request to the IMS management module of the second device, wherein the IMS call service request is a calling call service request, a phone manager of the second device is provided in the application framework layer of the second device, and the IMS management module of the second device is provided in the phone manager of the second device; The IMS management module of the second device forwards the IMS call service request to the network side through the modem of the second device, and receives a response message corresponding to the IMS call service request from the network side; The IMS management module of the first device receives a response message corresponding to the IMS call service request from the second device.

25. The communication system according to claim 24, characterized in that: Before the first device establishes a communication connection with the second device through the first cloud server, the method further includes: Both the first device and the second device perform device authentication based on the first cloud server.

26. The communication system according to claim 25, characterized in that: Before the first device and the second device both perform device authentication based on the first cloud server, the method further includes: The first device and the second device both enable a cellular communication capability connection function.

27. The communication system according to claim 24, characterized in that: Also includes: When the first device receives the CS outgoing call service, the first device sends a CS outgoing call service request to the second device; The second device sends a response message corresponding to the CS calling call service request to the first device; And / or, when the first device receives the CS called call service request from the second device, the first device sends a response message corresponding to the CS called call service request to the second device.

28. The communication system according to claim 24, characterized in that: The IMS call service also includes an IMS called call service request, and further includes: The remote IMS service module of the first device receives an IMS called call service request from the remote IMS service module of the second device; The remote IMS service module of the first device sends the IMS called call service request to the IMS management module of the first device, the IMS management module of the first device sends the IMS called call service request to the IMS phone module of the first device, and the IMS phone module of the first device sends the IMS called call service request to the phone application of the first device; The telephone application of the first device generates a response message to the IMS called call service request, and sends the response message to the IMS called call service request to the IMS management module of the first device, and the IMS management module of the first device sends the response message to the IMS called call service request to the remote IMS service module of the second device; The modem of the second device receives the IMS called call service from the network side device; The modem of the second device sends the IMS called call service to the IMS management module of the second device, and the IMS management module of the second device sends the IMS called call service to the remote IMS service module of the second device; The remote IMS service module of the second device sends the IMS called call service request to the remote IMS service module of the first device; The remote IMS service module of the second device receives a response message corresponding to the IMS called call service request from the first device.

29. The communication system according to claim 27 or 28, characterized in that: Also includes: When the first device collects the first voice packet, the first device sends the first voice packet to the second device; The second device sends the first voice packet to the network side through the modem of the second device; and / or, the second device sends the second voice packet obtained based on the network side to the first device; The second voice packet is a voice packet received by the modem of the second device from the third device based on the network side.

30. 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 17, or executes the method according to any one of claims 18 to 23.

31. 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 17, or the method according to any one of claims 18 to 23.

32. 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 17, or to execute the method according to any one of claims 18 to 23.