CN116743916A - Communication method and device based on cellular communication capability connection - Google Patents

Communication method and device based on cellular communication capability connection Download PDF

Info

Publication number
CN116743916A
CN116743916A CN202211223009.XA CN202211223009A CN116743916A CN 116743916 A CN116743916 A CN 116743916A CN 202211223009 A CN202211223009 A CN 202211223009A CN 116743916 A CN116743916 A CN 116743916A
Authority
CN
China
Prior art keywords
connection
ims
equipment
remote
cellular communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211223009.XA
Other languages
Chinese (zh)
Inventor
徐自翔
张文硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211223009.XA priority Critical patent/CN116743916A/en
Publication of CN116743916A publication Critical patent/CN116743916A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Abstract

The embodiment of the application provides a call method and a call device based on connection of cellular communication capability, wherein the method comprises the following steps: when the first equipment meets a first preset condition, a first interface is displayed; establishing a cellular communication capability connection with the second device in response to a triggering operation for the first control; wherein establishing the cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device. In this way, a first device in an environment where the operator network has no or weak network signals can utilize another second device with cellular communication capability to implement connection of call capability in the cellular communication capability.

Description

Communication method and device based on cellular communication capability connection
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a call method and apparatus based on connection of cellular communication capabilities.
Background
The cellular communication adopts a cellular wireless networking mode, and is connected between the electronic equipment and the network equipment through a wireless channel, so that the mutual communication of users in the activities is realized. When a device with cellular communication capability is in an environment where the operator network has no signal or the network signal is weak, the cellular communication service, such as receiving a call or sending a short message, cannot be used normally.
In general, a micro base station is installed or a signal amplifier is set in an environment with a weak network signal, so that network coverage in the environment with the weak network signal is improved, and call service in cellular communication service is further realized in the environment with the good network signal.
However, the above-mentioned manner of improving the network signal in the environment by installing the micro base station or setting the signal amplifier needs to be deployed by an operator, the process is complicated, and the installation position of the device cannot be flexibly adjusted.
Disclosure of Invention
The embodiment of the application provides a call method and a call device based on connection of cellular communication capability, which enable a first device in an environment where an operator network has no signal or a network signal is weak to realize connection of the call capability by using another second device with the cellular communication capability.
In a first aspect, an embodiment of the present application provides a call method based on connection of cellular communication capability, where a first device is applied, the method includes: when the first equipment meets a first preset condition, a first interface is displayed; wherein, the first interface comprises: at least one target control, the at least one target control corresponding to at least one SIM card in the first device; the at least one target control comprises: the first control is used for continuing the first SIM card in the first equipment; establishing a cellular communication capability connection with the second device in response to a triggering operation for the first control; wherein establishing the cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device. In this way, a first device in an environment where the operator network has no or weak network signals can utilize another second device with cellular communication capability to implement connection of call capability in the cellular communication capability.
The first interface may be the interface shown in c in fig. 13 or the interface shown in a in fig. 12, and the first control may be the card 1 relay control or the card 2 relay control in c in fig. 13 (or a in fig. 12). The remote modem connection may be the remote modem function described in the embodiments of the present application, and the remote SIM connection may be the remote SIM function described in the embodiments of the present application.
In one possible implementation, the first preset condition includes: and aiming at triggering operation of a second control corresponding to the second device, wherein the second control belongs to at least one control in a device list in the second interface. In this way, the first device can also manually initiate connection of the cellular communication capability based on the second device selected by the user, so that the user experience of using the cellular communication capability connection function is improved.
The second interface may be an interface shown in b in fig. 13, and the second control may be a control corresponding to any device in the list of devices in the interface shown in b in fig. 13.
In one possible implementation, a third interface is displayed; wherein the third interface includes a first popup window, the first popup window including one or more of: an indication for recommending a connection of the cellular communication capability to the first device, a first confirmation control for confirming the connection of the cellular communication capability, or a first cancellation control for canceling the connection of the cellular communication capability; the second interface is displayed in response to an operation for the first confirmation control.
The third interface may be an interface shown as a in fig. 13. In the interface shown in a in fig. 13, the first popup window may be a popup window 1300, the indication information for recommending that the first device perform cellular communication capability connection may be the indication information for recommending that the indication information perform signal relay as described in the embodiment of the present application, the first confirmation control for confirming that the cellular communication capability connection is performed may be a confirmation control in the popup window 1300, and the first cancellation control for canceling that the cellular communication capability connection may be a cancellation control in the popup window 1300.
In one possible implementation, displaying the third interface includes: and displaying a third interface 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. Therefore, the first equipment can automatically display the third interface when detecting that the network condition meets the connection condition, and the user can further determine whether to continue connection by using the third interface.
In one possible implementation, the first preset condition further includes: the reference signal received power RSRP of the first device is below a first threshold and the signal strength of the wireless signal access point of the first device is greater than a second threshold.
In one possible implementation, the method further includes: when the first equipment receives CS calling call service, a CS calling call service request is sent to the second equipment; receiving a response message corresponding to the CS calling call service request from the second equipment; and/or when the first equipment receives the CS called call service request from the second equipment, sending a response message corresponding to the CS called call service request to the second equipment. In this way, the first device and the second device can implement the CS call process by using the cellular communication capability, so that the first device in the environment where the operator network has no signal or the network signal is weaker can implement the call capability connection by using another second device with the cellular communication capability.
In one possible implementation, establishing a cellular communication capability connection includes: establishing a remote network interconnection protocol multimedia subsystem (IMS) connection, wherein the establishing the remote IMS connection comprises the following steps: the first device remotely uses the IMS capabilities of the second device. Thus, the first equipment and the second equipment can utilize remote IMS connection to realize connection of services related to IMS, and perfect the service scene of the connection function of the cellular communication capability.
The remote IMS connection may be a remote IMS function described in the embodiments of the present application.
In one possible implementation, the method further includes: when the first equipment receives the IMS calling call service, an IMS calling call service request is sent to the second equipment; receiving a response message corresponding to the IMS calling call service request from the second equipment; and/or when the first equipment receives the IMS called call service request from the second equipment, sending a response message corresponding to the IMS called call service request to the second equipment. In this way, the first device and the second device can implement the IMS call process by using the cellular communication capability, so that the first device in the environment where the operator network has no signal or the network signal is weak can implement the connection of the call capability by using another second device with the cellular communication capability.
In one possible implementation, the method further includes: when the first equipment collects the first voice packet, the first voice packet is sent to the second equipment; and/or the first device receives a second voice packet from the second 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. In this way, in the process of implementing connection of call capability, the first device and the second device can implement exchange of voice data through the first voice packet and the second voice packet.
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.
In one possible implementation, after establishing a cellular communication capability connection with the second device, the method further comprises: displaying a fourth interface; wherein the fourth interface includes one or more of the following: the method comprises the steps of indicating information for indicating a connection condition of the cellular communication capability, information for indicating relay time, a control for stopping relay, a control for switching relay equipment, a control for switching relay cards, a first identification for indicating that the first equipment is carrying out connection of the cellular communication capability, or a second identification for indicating a network signal of the second equipment. Thus, the first device can determine the current connection condition of the first device according to various identifications, indication information and the like displayed in the fourth interface, and the use experience of the user for using the connection function of the cellular communication capability is improved.
The fourth interface may be an interface shown in b in fig. 12 or an interface shown in a in fig. 16. As shown in the interface b in fig. 12, the indication information for indicating the connection situation of the cellular communication capability may be the indication information for indicating the connection situation of the cellular communication capability described in the embodiment of the present application, the control for switching the relay device, the control for switching the relay card, and the information for indicating the relay time may be the control in the popup window 1203, the first identifier may be the identifier 1205, and the second identifier may be the identifier 1204.
In one possible implementation, the method further includes: and stopping the connection of the cellular communication capability with the second device when the first device meets the second preset condition. Thus, the first device and the second device can finish the whole connection process, so that the first device and the second device can both recover to the state before connection.
In one possible implementation, ceasing the connection of cellular communication capabilities with the second device includes: stopping remote modem connection with the second device and stopping remote SIM connection. Thus, the first device and the second device can stop the remote modem connection and the remote SIM connection, and the whole connection flow is finished, so that the first device and the second device can both recover to the state before connection.
In one possible implementation, the method further includes: under the condition that the remote IMS connection is established between the first equipment and the second equipment, stopping the remote IMS connection with the second equipment; wherein establishing the remote IMS connection comprises: the first device remotely uses the IMS capabilities of the second device. In this way, under the condition that the remote IMS connection is established between the first device and the second device, the first device and the second device can also end the whole connection flow by stopping the remote IMS connection, so that the first device and the second device can both recover to the state before connection.
In one possible implementation, when the second preset condition is that a trigger operation for a control for stopping relay is received, after the second device stops the connection of the cellular communication capability, the method further includes: displaying a fifth interface; wherein, the fifth interface comprises: indication information for indicating a continued interruption of cellular communication capability. In this way, the first device can display the indication information in the interface when stopping the connection function of the cellular communication capability, so that the user can timely perceive the connection condition of the first device.
The fifth interface may be an interface shown in b in fig. 16, and 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 in the embodiment of the present application.
In one possible implementation, the second preset condition is that the first device detects that the time when any of the cellular communication functions is not in use exceeds a time threshold. Therefore, the first equipment can automatically interrupt the flow of the connection of the cellular communication capability, and the use experience of a user for using the connection function of the cellular communication capability is improved.
In one possible implementation, after stopping the connection of the cellular communication capability with the second device, the method further comprises: displaying a sixth interface; wherein, the sixth interface comprises: and the indication information is used for indicating that the first equipment detects that any cellular communication function is not used and interrupting the connection of the cellular communication capability. In this way, the first device can display the indication information in the interface when stopping the connection function of the cellular communication capability, so that the user can timely perceive the connection condition of the first device.
The sixth interface may be an interface shown in fig. 17, and the indication information for indicating that the first device detects that any cellular communication function is not used and interrupting the connection of the cellular communication capability may be indication information 1701 in fig. 17.
In one possible implementation, the second preset condition is an operation for a second confirmation control in a second popup window; the second popup window is a popup window displayed based on the closing operation of the third control when the cellular communication capability continuing function is opened, and the second confirmation control is used for confirming whether to close the cellular communication capability continuing function again; the third control is used for switching on or switching off the continuing function of the cellular communication capability; the third control belongs to a seventh interface; the seventh interface is an interface displayed in response to a trigger operation of a control for setting the cellular communication capability continuation function. In this way, the first device can support when the switch of the cellular communication capability connection function is closed, prompt the user to interrupt the cellular communication capability connection when the switch of the cellular communication capability connection function is closed, avoid the situation that the first device cannot execute the cellular communication service when the user directly closes the switch of the cellular communication capability connection function, and further improve the use experience of the user using the cellular communication capability connection function.
Wherein, as shown in interface b in fig. 18, the second confirmation control may be a close control and the second pop-up window may be pop-up window 1802; the interface shown as a in fig. 18 (or referred to as a 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 continuation function may be the control 1103 for setting the device signal relay shown in c in fig. 11.
In one possible implementation manner, the first device further includes a second SIM card, and after establishing a connection with the second device for cellular communication capability, the method further includes: and when the first equipment determines that the second SIM card does not establish cellular communication capability connection with the second equipment and the second SIM card is a secondary card, switching the second SIM card into a primary card. In this way, the first device can ensure that the data service of the main card is not affected by switching the SIM card which does not initiate connection to the main card.
In a second aspect, an embodiment of the present application provides a call method based on connection of cellular communication capability, which is applied to a second device, where the method includes: receiving a first message from a first device; the first message is used for indicating the first device to request to establish a long link with the second device; establishing 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, the establishing the remote modem connection comprising: the first device remotely accessing a modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a 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 a connection time, indication information for indicating a connection condition, or a control for stopping connection. In this way, the first equipment in the environment that the operator network has no signal or the network signal is weaker can realize connection of the call capability by using the second equipment with the cellular communication capability; and, make the user also can look over the condition that continues at any time in the second apparatus.
Wherein the first message may be a message for instructing the second device to establish a long link described in the step shown in S521. The eighth interface may be the interface shown in fig. 14, and the information for indicating the connection time, the information for indicating the connection condition, and the control for stopping the connection may be the content in the pop-up window 1401.
In one possible implementation, establishing a cellular communication capability connection includes: establishing a remote IMS connection, the establishing the remote IMS connection comprising: the first device remotely uses the IMS capabilities of the second device. Thus, the first equipment and the second equipment can utilize remote IMS connection to realize connection of services related to IMS, and perfect the service scene of the connection function of the cellular communication capability.
In one possible implementation, the method further includes: when receiving a CS calling call service from the first equipment, sending a response message corresponding to a CS calling call service request to the first equipment; and/or when the second device receives the CS called call service based on the modem of the second device, sending a CS called call service request to the first device; and receiving a response message corresponding to the CS called call service request from the first equipment. In this way, the first device and the second device can implement the CS call process by using the cellular communication capability, so that the first device in the environment where the operator network has no signal or the network signal is weaker can implement the call capability connection by using another second device with the cellular communication capability.
In one possible implementation, the method further includes: when the second equipment receives the IMS calling call service from the first equipment, a response message corresponding to the IMS calling call service request is sent to the first equipment; and/or when the second equipment receives the IMS called call service based on the modem of the second equipment, sending an IMS called call service request to the first equipment; and receiving a response message corresponding to the IMS called call service request from the first equipment. In this way, the first device and the second device can implement the IMS call process by using the cellular communication capability, so that the first device in the environment where the operator network has no signal or the network signal is weak can implement the connection of the call capability by using another second device with the cellular communication capability.
In one possible implementation, the method further includes: receiving a first voice packet sent by a first device, and sending the first voice packet to a network side through a modem of a second device; and/or, sending the second voice packet acquired 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. In this way, in the process of implementing connection of call capability, the first device and the second device can implement exchange of voice data through the first voice packet and the second voice packet.
In one possible implementation, the method further includes: stopping remote modem connection and remote SIM connection with the first device 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 connection; the second message is used to instruct the first device to request to cease cellular communication capability continuation. Thus, the first device and the second device can stop the remote modem connection and the remote SIM connection, and the whole connection flow is finished, so that the first device and the second device can both recover to the state before connection.
In one possible implementation, the method further includes: under the condition that the remote IMS connection is established between the second equipment and the first equipment, the remote IMS connection is stopped between the second equipment and the first equipment; in a remote IMS connection, a first device remotely uses the IMS capabilities of a second device. In this way, under the condition that the remote IMS connection is established between the first device and the second device, the first device and the second device can also end the whole connection flow by stopping the remote IMS connection, so that the first device and the second device can both recover to the state before connection.
In a third aspect, an embodiment of the present application provides a call apparatus connected based on cellular communication capability, where when a first device meets a first preset condition, a display unit of the first device is configured to display a first interface; wherein, the first interface comprises: at least one target control, the at least one target control corresponding to at least one SIM card in the first device; the at least one target control comprises: the first control is used for continuing the first SIM card in the first equipment; in response to a triggering operation for the first control, a communication unit of the first device for establishing a cellular communication capability connection with the second device; wherein establishing the cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device.
In one possible implementation, the first preset condition includes: and aiming at triggering operation of a second control corresponding to the second device, wherein the second control belongs to at least one control in a device list in the second interface.
In a possible implementation manner, the display unit of the first device is further configured to display a third interface; wherein the third interface includes a first popup window, the first popup window including one or more of: an indication for recommending a connection of the cellular communication capability to the first device, a first confirmation control for confirming the connection of the cellular communication capability, or a first cancellation control for canceling the connection of the cellular communication capability; the display unit of the first device is further configured to display a second interface in response to an operation for the first confirmation control.
In one possible implementation, the display unit of the first device is specifically configured to display the third interface when the reference signal received power RSRP of the first device is lower than the first threshold value and the signal strength of the wireless signal access point of the first device is greater than the second threshold value.
In one possible implementation, the first preset condition further includes: the reference signal received power RSRP of the first device is below a first threshold and the signal strength of the wireless signal access point of the first device is greater than a second threshold.
In one possible implementation, when the first device receives the CS calling call service, the communication unit of the first device is further configured to send a CS calling call service request to the second device; the communication unit of the first device is further used for 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, the communication unit of the first device is further configured to send a response message corresponding to the CS called call service request to the second device.
In one possible implementation, establishing a cellular communication capability connection includes: establishing a remote network interconnection protocol multimedia subsystem (IMS) connection, wherein the establishing the remote IMS connection comprises the following steps: the first device remotely uses the IMS capabilities of the second device.
In one possible implementation, when the first device receives the IMS calling call service, the communication unit of the first device is further configured to send an IMS calling call service request to the second device; the communication unit of the first device is further used for receiving a response message corresponding to the IMS calling call service request from the second device; and/or when the first equipment receives the IMS called call service request from the second equipment, the communication unit of the first equipment is also used for sending a response message corresponding to the IMS called call service request to the second equipment.
In one possible implementation, when the first device collects the first voice packet, the communication unit of the first device is further configured to send the first voice packet to the second device; and/or a communication unit of the first device, further configured to receive a second voice packet from the second 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.
In a possible implementation manner, the display unit of the first device is further configured to display a fourth interface; wherein the fourth interface includes one or more of the following: the method comprises the steps of indicating information for indicating a connection condition of the cellular communication capability, information for indicating relay time, a control for stopping relay, a control for switching relay equipment, a control for switching relay cards, a first identification for indicating that the first equipment is carrying out connection of the cellular communication capability, or a second identification for indicating a network signal of the second equipment.
In one possible implementation, the communication unit of the first device is further configured to stop the connection of the cellular communication capability with the second device when the first device meets the second preset condition.
In a possible implementation, the communication unit of the first device is further configured to stop the remote modem connection with the second device and stop the remote SIM connection.
In one possible implementation, in case of establishing a remote IMS connection between the first device and the 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 comprises: the first device remotely uses the IMS capabilities of the second device.
In one possible implementation, when the second preset condition is that a trigger operation for a control for stopping relay is received, the display unit of the first device is further configured to display a fifth interface; wherein, the fifth interface comprises: indication information for indicating a continued interruption of cellular communication capability.
In one possible implementation, the second preset condition is that the first device detects that the time when any of the cellular communication functions is not in use exceeds a time threshold.
In a possible implementation manner, the display unit of the first device is further configured to display a sixth interface; wherein, the sixth interface comprises: and the indication information is used for indicating that the first equipment detects that any cellular communication function is not used and interrupting the connection of the cellular communication capability.
In one possible implementation, the second preset condition is an operation for a second confirmation control in a second popup window; the second popup window is a popup window displayed based on the closing operation of the third control when the cellular communication capability continuing function is opened, and the second confirmation control is used for confirming whether to close the cellular communication capability continuing function again; the third control is used for switching on or switching off the continuing function of the cellular communication capability; the third control belongs to a seventh interface; the seventh interface is an interface displayed in response to a trigger operation of a control for setting the cellular communication capability continuation function.
In one possible implementation manner, the first device further includes a second SIM card, and when the first device determines that the second SIM card does not establish 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 configured to switch the second SIM card to a primary card.
In a fourth aspect, a telephony device adapted to connect based on cellular communication capabilities, a communication unit of a second device adapted to receive a first message from a first device; the first message is used for indicating the first device to request to establish a long link with the second device; a communication unit of the second device for establishing 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, the establishing the remote modem connection comprising: the first device remotely accessing a modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device; a display unit of the second device for displaying an eighth interface; wherein the eighth interface includes one or more of the following: information for indicating a connection time, indication information for indicating a connection condition, or a control for stopping connection.
In one possible implementation, establishing a cellular communication capability connection includes: establishing a remote IMS connection, the establishing the remote IMS connection comprising: the first device remotely uses the IMS capabilities of the second device.
In one possible implementation manner, when receiving the CS calling call service from the first device, the communication unit of the second device is further configured to send 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, the communication unit of the second device is further used for sending a CS called call service request to the first device; and receiving a response message corresponding to the CS called call service request from the first equipment.
In one possible implementation manner, when the second device receives the IMS calling call service from the first device, the communication unit of the second device is further configured to send a response message corresponding to the IMS calling call service request to the first device; and/or when the second device receives the IMS called call service based on the modem of the second device, the communication unit of the second device is further used for sending an IMS called call service request to the first device; the communication unit of the second device is further configured to receive a response message corresponding to the IMS called call service request from the first device.
In one possible implementation manner, the communication unit of the second device is further configured to receive a first voice packet sent from the first device, and send the first voice packet to the network side through a modem of the second device; and/or the communication unit of the second device is further used for sending the second voice packet acquired 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.
In one possible implementation, when the second device receives the second message from the first device or the second device receives a trigger operation for a control for stopping connection, the communication unit of the second device is further configured to stop remote modem connection and stop remote SIM connection with the first device; the second message is used to instruct the first device to request to cease cellular communication capability continuation.
In one possible implementation, in case of establishing a remote IMS connection 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 a remote IMS connection, a first device remotely uses the IMS capabilities of a second device.
In a fifth aspect, an embodiment of the present application provides a call system connected based on cellular communication capability, where the call system relates to a first device, a second device, and a first cloud server; when the first equipment meets a first preset condition, the first equipment establishes communication connection with the second equipment 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, the establishing the remote modem connection comprising: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device.
The first cloud server may be a communication service cloud described in the embodiment of the present application.
In one possible implementation, establishing a cellular communication capability connection includes: establishing a remote SIM connection, the establishing a remote IMS connection comprising: the first device remotely uses the IMS capabilities of the second device.
In one possible implementation manner, before the first device establishes a communication connection with the second device through the first cloud server, the method further includes: and the first equipment and the second equipment are both used for carrying out equipment authentication based on the first cloud server.
In one possible implementation manner, before the first device and the second device each perform device authentication based on the first cloud server, the method further includes: the first device and the second device both turn on the cellular communication capability connection function.
In one possible implementation, the method further includes: when the first equipment receives CS calling call service, the first equipment sends a CS calling call service request to the second equipment; the second equipment sends a response message corresponding to the CS calling call service request to the first equipment; and/or when the first equipment receives the CS called call service request from the second equipment, the first equipment sends a response message corresponding to the CS called call service request to the second equipment.
In one possible implementation, the method further includes: when the first equipment receives the IMS calling call service, the first equipment sends an IMS calling call service request to the second equipment; the second equipment sends a response message corresponding to the IMS calling call service request to the first equipment; and/or when the first equipment receives the IMS called call service request from the second equipment, the first equipment sends a response message corresponding to the IMS called call service request to the second equipment.
In one possible implementation, the method further includes: when the first equipment collects the first voice packet, the first equipment sends the first voice packet to the second equipment; the second equipment sends the first voice packet to the network side through a modem of the second equipment; and/or the second device sends the second voice packet acquired 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.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory is configured to store code instructions; the processor is configured to execute code instructions to cause an electronic device to perform a method as described in the first aspect or any implementation of the first aspect, or to cause an electronic device to perform a method as described in the second aspect or any implementation of the second aspect.
In a seventh aspect, embodiments of the present application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a method as described in the first aspect or any implementation of the first aspect, or cause a computer to perform a method as described in the second aspect or any implementation of the second aspect.
An eighth aspect, a computer program product comprising a computer program which, when run, causes a computer to perform the method as described in the first aspect or any implementation of the first aspect, or causes a computer to perform the method as described in the second aspect or any implementation of the second aspect.
It should be understood that the third to eighth aspects of the present application correspond to the technical solutions of the first or second aspects of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
FIG. 1 is a schematic view of a scene provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of another scenario provided in an embodiment of the present application;
fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 4 is a flow chart of a call method based on connection of cellular communication capability according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a method for continuing cellular communication capability according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a system architecture of a remote access modem according to an embodiment of the present application;
fig. 7 is a schematic diagram of a system architecture of a remote access SIM card according to an embodiment of the present application;
Fig. 8 is a schematic diagram of a system architecture for remotely using IMS functions according to an embodiment of the present application;
fig. 9 is a schematic flow chart of a CS domain call according to an embodiment of the present application;
fig. 10 is a schematic flow chart of IMS domain call according to an embodiment of the present application;
fig. 11 is a schematic diagram of an interface for turning on a connection function of a cellular communication capability according to an embodiment of the present application;
fig. 12 is a schematic diagram of an interface for triggering connection of cellular communication capability according to an embodiment of the present application;
fig. 13 is a schematic diagram of an interface for triggering a connection of cellular communication capabilities according to an embodiment of the present application;
fig. 14 is an interface schematic diagram of a second device displaying a connection situation according to an embodiment of the present application;
FIG. 15 is an interface diagram of another second device according to an embodiment of the present application;
FIG. 16 is an interface diagram of a first device displaying a connection status according to an embodiment of the present application;
fig. 17 is an interface schematic diagram of a first device stop signal relay according to an embodiment of the present application;
fig. 18 is an interface schematic diagram of a first device for turning off a cellular communication capability connection function according to an embodiment of the present application;
fig. 19 is a flowchart of an IMS call method based on cellular communication capability connection according to an embodiment of the present application;
Fig. 20 is a flowchart of a CS call method based on cellular communication capability connection according to an embodiment of the present application;
fig. 21 is a schematic flow chart of remote forwarding of a voice packet according to an embodiment of the present application;
fig. 22 is a flow chart of stopping a continuing flow according to an embodiment of the present application;
fig. 23 is a flow chart of a SIM card selection method when signal relay is initiated according to an embodiment of the present application;
fig. 24 is a schematic structural diagram of a call device connected based on cellular communication capability according to an embodiment of the present application;
fig. 25 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
In order to clearly describe the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first value and the second value are merely for distinguishing between different values, and are not limited in their order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present application, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c may be single or plural.
In order to make the call description based on the connection of the cellular communication capability provided in the embodiment of the present application clear, a brief description of the technology related to the embodiment of the present application is given first:
the cellular communication capability described in the embodiments of the present application is provided by a modem, which runs on a baseband chip and a coprocessor, and the device may implement a series of cellular communication functions such as sending and receiving short messages, 5G related functions, making and receiving calls through the modem.
The subscriber identity module (subscriber identity module, SIM) card described in the embodiments of the present application may be understood as a module that provides subscriber information in a cellular network or uses a mobile cellular network. For example, an electronic device provided with a SIM card slot and a card reading device may register with a mobile cellular network by inserting a SIM card. The SIM card may be an entity card (or called a hard card) or a virtual SIM card (or called a soft card), for example, an embedded chip type subscriber identity module (eSIM) card, etc., which is not limited in the embodiment of the present application.
The network interconnection protocol multimedia subsystem (internet protocol multimedia subsystem, IMS) described in the embodiment of the application is a generic term for network core layer logic functional entities controlling IP multimedia services. The IMS service may include: IMS information services, IMS telephony services, etc.
The proxy described in the embodiments of the present application is a design model for providing additional access to a target object by creating a proxy object for the target object. The target object is an interface, and the target object is accessed through the proxy object, so that the function of the original target object can be expanded by providing additional functional operation through the proxy object on the premise of not modifying the original target object. In short, the proxy mode is to set a proxy object as an intermediate proxy to control access to the original target object, so as to achieve the purposes of enhancing the function of the original target object and simplifying the access flow.
It will be appreciated that the call connected based on the cellular communication capability described in the embodiments of the present application may be applied to various scenarios, for example, the various scenarios may include: a near field scene as described in the corresponding embodiment of fig. 1, a far field scene as described in the corresponding embodiment of fig. 2, etc.
Exemplary, fig. 1 is a schematic view of a scenario provided in an embodiment of the present application. In the embodiment corresponding to fig. 1, an electronic device is taken as an example of a mobile phone, and this example does not limit the embodiment of the present application.
As shown in fig. 1, the scenario may include a first device 101 disposed in a basement, and a second device 102 disposed in a living room, where at least one SIM card may be disposed in the first device 101, and the second device 102 may not be disposed with or without a SIM card. Wherein the cellular network signal of the first device 101 in the basement is weak or has no cellular network signal, and the cellular network signal of the second device 102 in the living room is good.
It may be appreciated that, in the near field scenario shown in fig. 1, the first device 101 and the second device 102 may both establish a communication connection by being connected to the same WIFI or the like, and in the scenario in which the communication connection is established by being connected to the same WIFI, the router 103 may implement data forwarding between the first device 101 and the second device 102.
In the near field scenario as in fig. 1, since the cellular network signal of the basement is weak, it is difficult for the user to independently perform cellular communication services such as sending and receiving a short message or making a call using the first device 101.
Fig. 2 is a schematic diagram of another scenario provided in an embodiment of the present application. As shown in fig. 2, the scenario may include: a first device 201 located at a company, and a second device 202 located at home; at least one SIM card may be disposed in the first device 201, and the second device 102 may not be disposed with a SIM card or may be disposed with a SIM card; a modem2 (or simply M2) may be provided in the first device 201, and a modem1 (or simply M1) may be provided in the second device 202. Wherein the cellular network signal of the first device 201 located at the company is weak or has no cellular network signal, the cellular network signal of the second device 102 located at home is good.
It may be understood that the SIM card of the first device described in the embodiments of the present application may be understood as one of the SIM cards of the first device that has a weaker cellular network, or may be referred to as the first SIM card; the modem of the second device described in the embodiments of the present application may be understood as a modem of the second device in which one of the cellular networks is better. Wherein the one modem is a modem in the second device for providing a connection for cellular communication capabilities for one of the SIM cards in the first device (or may be understood as M1 in fig. 2).
It may be appreciated that, in the far-field scenario as shown in fig. 2, the first device 201 and the second device 202 may be connected to respective WIFI or other manners to ensure data service, so that the first device 201 and the second device 202 may be connected to a communication service cloud (or referred to as a first cloud server) through the data service, and implement functions such as data interaction, device authentication, and establishment of a data channel between the first device 201 and the second device 202 based on the communication service cloud.
In a possible implementation manner, whether the first device 101 and the second device 102 in fig. 1 are connected to the same WIFI or the like to establish a communication connection, or the first device 201 and the second device 202 in fig. 2 are connected to respective corresponding WIFI or the like to establish a communication connection, the purpose is to ensure data communication between the first device and the second device. Thus, in the scenario shown in fig. 1 or fig. 2, the communication connection between the first device and the second device may also be established through another SIM card in the first device having a cellular network (or may be understood as having a better cellular network signal), or other wireless or wired manner, which is not limited in the embodiment of the present application.
In the far-field scenario corresponding to fig. 2, when the cellular network signal of the company is weak, it is difficult for the user to independently perform cellular communication services such as sending and receiving a short message or making a call using the first device 201.
In general, by integrating the scenes corresponding to fig. 1 and fig. 2, the network coverage condition in the environment with weak network signals can be improved by installing a micro base station or setting a signal amplifier in the environment with weak network signals. However, the above-mentioned manner of improving the network signal in the environment by installing the micro base station or setting the signal amplifier is complicated, and the location of installing the micro base station or setting the signal amplifier cannot be flexibly adjusted, so that it is difficult to improve the network coverage condition in the environment with weaker network signal by using the micro base station or the signal amplifier, and further the call function is affected.
In view of this, the embodiment of the present application provides a call method based on connection of cellular communication capability, where when a first device meets a first preset condition, a first interface is displayed; establishing a cellular communication capability connection with the second device in response to a triggering operation for the first control; wherein establishing the cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device. In this way, a first device in an environment where the operator network has no or weak network signals can utilize another second device with cellular communication capability to implement connection of call capability in the cellular communication capability.
It can be understood that, as shown in fig. 2, a call based on cellular communication capability connection provided by the embodiment of the present application may implement use of transferring a SIM card in a first device 201 to a second device 202, and implement use of transferring M1 in the second device 202 to the first device 201.
In some scenarios, the first device and the second device may implement the transfer of the cellular communication service through the transfer of application-side data, so that the first device needs to use the cellular communication capability of the second device to perform communication.
The cellular communication service is exemplified as a call service. For example, the first device and the second device are both configured with a phone application for transferring call services, and when the SIM card of the second device receives a phone call, a control flow and a data flow of the phone call are transferred to the phone application configured on the first device through the phone application configured on the second device, so that a user can receive the phone call through the phone application of the first device.
It can be understood that, in a scenario in which transfer of the cellular communication service is implemented by forwarding of application-side data between the first device and the second device, the first device uses the SIM card of the second device to receive the call service, and the phone number used in the call service is the phone number of the second device, which is not the phone number currently being used by the first device.
The call based on the cellular communication capability provided by the embodiment of the application enables the first device to receive the call service by using the local SIM card, and the telephone number used in the call service is the telephone number of the first device so as to ensure the cellular communication service of the first device.
It can be understood that, in a scenario in which the transfer of the cellular communication service is implemented by forwarding data on the application side between the first device and the second device, the first device and the second device need to install the same application (for example, a telephony application), and each application can only implement the transfer of one service; furthermore, a first device in this scenario may be understood as a display and playback device, with the actual business functions running on the second device.
The call based on the cellular communication capability provided by the embodiment of the application is equivalent to that a new modem (the new modem can be understood as a modem of a second device used remotely) is virtually displayed on the first device, and a real operator network is registered, so that the awareness of the user plane can be recovered for network signals, and the capabilities of calling/short messages and the like are also recovered. At the same time, all applications installed on the first device are completely unaware of the continuation of the cellular communication capability and the cellular communication functionality provided by the second device is completely consistent with the cellular communication functionality used by the user on the first device.
It can be understood that, in the scenario of implementing the transfer of the cellular communication service by the transfer of the application-side data between the first device and the second device, all elements (contacts, phone numbers, etc.) related to the call service are provided by the second device, and various data (such as a recording, a call record, etc.) generated in the call are recorded in the second device.
In the call connected based on the cellular communication capability provided by the embodiment of the application, the application in the first device does not sense whether signal connection occurs, all the various data (such as recording, call recording, etc.) generated in the call are recorded in the first device, and no service trace is left in the second device.
It is understood that the first device or the second device may also be referred to as an electronic device, a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. For example, the first device or the second device may be: mobile phone (mobile phone), smart television, wearable device, tablet (Pad), computer with wireless transceiver function, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, etc. The embodiment of the present application does not limit the specific technology and the specific device configuration adopted by the first device or the second device.
Therefore, in order to better understand the embodiments of the present application, the structure of the electronic device according to the embodiments of the present application is described below.
Fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
The electronic device shown in fig. 3 may be the first device described in the embodiment of the present application, or may also be the second device described in the embodiment of the present application. When the electronic device is a first device, the first device may include a Modem 210A and a SIM card interface 295, where the number of SIM card interfaces 295 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 a second device, the second device may include a SIM card interface 295, where the SIM card interface 295 may or may not have a SIM card inserted therein.
It is understood that the hardware structure of the first device may be the same as the hardware structure of the second device, or may be different from the first device, which is not limited in the embodiment of the present application. The first device may also be referred to as a subscriber machine and the second device may also be referred to as a relay machine.
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 (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 294, a SIM card interface 295, and the like.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
A memory may also be provided in the processor 210 for storing instructions and data.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem 210a, and the baseband processor, etc.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be provided in the same device as at least some of the modules of the processor 210.
Modem 210A may include a modulator and demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speakers, receivers, etc.), or displays images or video through the display screen 294. In some embodiments, modem 210A may be a stand-alone device. In other embodiments, modem 210A may be provided in the same device as mobile communication module 250 or other functional modules, independent of processor 210.
The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device.
The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the electronic device. When the electronic device is a first device, the first device may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 295 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 295 may also be compatible with different types of SIM cards. The SIM card interface 295 may also be compatible with external memory cards. The electronic equipment interacts with the network through the SIM card, so that the functions of communication, data communication and the like are realized. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
In addition, the electronic device also runs an operating system on the components. Such as an iOS operating system, an Android operating system, or a Windows operating system, etc. An operating application may be installed on the operating system.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
In the embodiment of the present application, the first device may be located in a scenario where the cellular network signal is weak or no cellular network signal is present (for example, one SIM card SIM1 in the first device is weak in the current scenario), and the second device may be located in a scenario where the cellular network signal is strong, where the first device and the second device may implement a call based on the cellular communication capability and connected as described in the embodiment of the present application based on the embodiment corresponding to fig. 4 below. Fig. 4 is a schematic flow chart of a call method based on connection of cellular communication capability according to an embodiment of the present application.
The first device and the second device may log into the same device account (which may also be referred to as a user account) before the first device and the second device perform a call that is continued based on cellular communication capabilities.
In a possible implementation manner, the first device and the second device may each be registered to the communication service cloud based on the device account number, the first device and the second device each have a surfing condition, the first device may include at least one SIM card, and/or the second device may include at least one free SIM card slot.
The communication service cloud has one or more of the following functions, for example: for device authentication of devices connected to the communication service cloud, for determining whether a device has a cellular communication capability continuation function (or may also be referred to as a device signal relay function, etc.), for determining whether a device has a free card slot, for determining whether a 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 number, which can be understood as follows: the first device is logged into the communication service cloud based on the device account number and the password, and the second device is also logged into the communication service cloud based on the device account number and the password.
Wherein, the first device and the second device both have the internet surfing condition can be understood as: the first equipment and the second equipment can be connected to the network side in a wired mode; or the first device and the second device may also be connected to the network side through WIFI, a hotspot, or another SIM card SIM2 with a cellular network signal in the first device (for example, the cellular network signal of the current SIM2 is better than the cellular network signal of the current SIM 1), which is not limited in the embodiment of the present application.
It can be understood that, in the far-field connection scenario, the first device and the second device may both be connected to the communication service cloud through WIFI hotspots near each other, or the first device may 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 between the two devices is established based on the communication service cloud; or in the near field connection scenario, the first device and the second device may establish communication connection between the two devices by being connected to the same WIFI or the like, and in the embodiment of the present application, the device connection manner during near field connection or far field connection is not specifically limited.
As shown in fig. 4, the call connected based on the cellular communication capability may include the following steps:
s401, under the condition that the first equipment and the second equipment both start the cellular communication capability connection function, the first equipment and the second equipment establish communication connection.
The cellular communication capability connection function can be understood as: in the scene that the first device detects that the network signal is weak or no network signal, the second device with better network signal is utilized to connect the first device with the cellular communication capability, so that the first device can execute any cellular communication function in the scene that the network signal is poor by using the SIM card in the first device and the modem of the second device.
It may be appreciated that in the embodiments of the present application, the data interaction between the plurality of first devices and the plurality of second devices is implemented when the first devices and the plurality of second devices establish a communication connection.
S402, the second device and the first device transfer the modem of the second device to the first device for use by utilizing the remote modem function.
In the embodiment of the present application, the remote modem function (or called remote modem connection) can be understood as: the a device may utilize a remote modem function to remotely access the modem of the B device.
In the step shown in S402, the a device may be a first device and the B device may be a second device, for example, the first device may remotely access a modem of the second device having cellular communication capability, so that the first device may share the modem of the second device and use the cellular communication function normally with the modem of the second device; or it is also understood that the modem of the second device may implement the overall migration, and that the modem of the second device may act as a virtual modem of the first device. The specific implementation of the remote modem function may refer to the corresponding embodiment of fig. 6.
For example, when the first device detects that the network signal is weak, no network signal is detected, or the first device receives a trigger operation of a user, the first device may initiate a relay mode switching instruction to the second device, where the relay mode switching instruction is used to instruct the second device to connect to the cellular communication capability of the first device. The second device may return, after receiving the relay mode switching instruction, a response message corresponding to the relay mode switching instruction to the first device, where the response message corresponding to the relay mode switching instruction is used to instruct the second device to agree to provide the first device with a connection of the cellular communication capability. After receiving the response message corresponding to the relay mode switching instruction, the first device may initiate an instruction (or referred to as a remote modem switching instruction) for remotely accessing the modem of the second device to the second device, so as to request to access the modem of the second device. Further, when the second device receives the remote modem switching instruction, a remote modem switching success instruction may be sent to the first device, and then the step shown in S403 may be executed.
S403, the first device and the second device remotely transfer the SIM card of the first device to the second device for use by utilizing a remote (remote) SIM function, so that the modem of the second device accesses the SIM card of the first device.
In an embodiment of the present application, the remote SIM function (or called remote SIM connection) may be understood as: the a device may utilize a remote SIM function to remotely access the SIM card of the B device.
In the step shown in S403, the a device may be the second device and the B device may be the first device, for example, the SIM card of the first device may be remotely transferred to the second device for use, so that the second device remotely accesses the SIM card of the first device, and simulates a scenario in which the SIM card in the first device is pulled out and inserted into the second device for use. The implementation of the remote SIM function may be referred to in the corresponding embodiment of fig. 7.
For example, after sending a remote modem switch success instruction to the first device, the second device may continue to initiate an instruction to the first device to remotely access the SIM card of the first device (or referred to as a remote SIM switch instruction) requesting access to the SIM of the first device, so that the first device may send its own SIM card information to the second device, which may then register the cellular network with the SIM card information. After the second device registers with the cellular network using the SIM card information of the first device, the network resident information may also be returned to the first device. The SIM card information of the first device may be SIM card information of one of the SIM cards in the first device.
In a possible implementation manner, S404, the first device and the second device implement a Circuit Switched (CS) call service.
The CS call service may include: a CS calling session service, which may be understood as a session service initiated by the first device, and a CS called session service, which may be understood as a session service answered by the first device.
Illustratively, when the first device receives the CS caller call service, the first device may remotely forward the CS caller call service to the second device, and the modem of the second device may continue to send the CS caller call service to the device that needs to be called (or may be understood as a third device). Or when the modem of the second device receives the CS called call service, the second device can send the received CS called call service to the first device, so that the first device can display a telephone answering interface corresponding to the CS called call service. In the process that the first device and the second device implement the CS call service, the first device and the second device may implement answering and sending of the voice based on the step shown in S406.
In a possible implementation manner, the first device and the second device may also implement processing and forwarding of services related to IMS, such as IMS call services, based on the steps shown in S405.
It will be appreciated that the CS call service may be implemented based on the remote modem function and the remote SIM function, so that the first device and the second device may implement connection of the CS call service based on the steps shown in S401-S404 and S407.
S405, the first device and the second device transfer the IMS communication capability of the second device to the first device for use by utilizing a remote IMS function.
In the embodiment of the present application, the remote IMS function (or called remote IMS connection) can be understood as: device a may utilize the remote IMS functionality to remotely use the IMS communication capabilities of device B.
In the step shown in S404, the a device may be a first device and the B device may be a second device, for example, the first device remotely uses IMS communication capabilities of the second device, so that the first device may implement IMS services using the IMS communication capabilities of the second device. The specific implementation of the remote IMS function may refer to an embodiment corresponding to fig. 8, and the IMS service may include: IMS call services and/or IMS SMS services, etc.
Illustratively, the IMS communication capability of the second device is obtained. For example, the first device may initiate an instruction (or referred to as a remote IMS handover instruction) to the second device for remotely accessing the IMS communication capability of the second device, such that the second device may return IMS registration information, service status, etc. messages to the first device via the remote IMS handover success instruction, etc.
In a possible implementation manner, S406, the first device and the second device implement an IMS call service.
The IMS call service may include an IMS caller call and an IMS callee call.
For example, in the case where the first device allows use of the remote IMS communication capability of the second device, when the first device receives the IMS caller telephony service, the first device may remotely forward the IMS caller telephony service to the second device and continue to send the IMS caller telephony service to the third device of the call by the modem of the second device; or when the modem of the second device receives the 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 a telephone answering interface corresponding to the IMS called call service.
In the process that the first device and the second device implement IMS call service, the first device and the second device may implement voice answering and sending based on the steps shown in S407.
S407, the second device forwards the network voice packet received by the modem from the network side to the first device, and the first device forwards the received local voice packet to the modem of the second device, and the modem reports the local voice packet to the network side.
For example, in the case where the first device establishes an IMS call service (or a CS call service) with the second device, the second device may implement forwarding a network voice packet (or referred to as a second voice packet) received by the modem of the second device from the network side to the first device, and the first device may also forward a local voice packet (or referred to as a first voice packet) received by the microphone of the first device to the modem of the second device, and report the local voice packet to the network side by the modem of the second device.
Wherein the network voice packet may be understood as a voice packet received by the modem of the second device from the network side, or may be understood as a voice packet generated by the third device; the local voice packet may be understood as a voice packet collected locally by the first device.
It is understood that the IMS call service can be implemented based on the remote modem function, the remote SIM function, and the remote IMS function, so that the first device and the second device can implement connection of the IMS call service based on the steps shown in S401-S403 and S405-S407.
Based on this, the first device can utilize the second device to implement connection of the call capability in the cellular communication capability in the scene that the cellular network signal is weak.
It will be appreciated that the order of the steps described in the embodiment corresponding to fig. 4 is only an example, and the order of the steps may be adjusted, for example, may be performed sequentially or in parallel.
In some possible implementations, the first device and the second device may perform the remote modem function in the step shown in S402 before performing the remote SIM function in the step shown in S403; alternatively, the first device and the second device may execute the remote SIM function in the step shown in S403 first, then execute the remote modem function in the step shown in S402, and so on.
For example, in the case where the first device and the second device execute the remote SIM function in the step shown in S403 first and then execute the remote modem function in the step shown in S402, since the second device has a long process of reading the SIM card data of the first device during the remote SIM function, the first device always presents a card-free state on the screen of the first device during the remote SIM function, so that it is difficult for the user of the first device to determine the transfer condition of the SIM card according to the card-free state presented by the first device all the time (which may cause trouble and misunderstanding to the user, for example, the user may misuse the SIM card for a problem or misuse the "device signal relay" (or referred to as "cellular communication capability connection" or the like) function does not normally operate), and the first device presents a card-free state on the screen of the first device only after the remote SIM function and the remote modem function are executed.
It was found that the speed of remote access of the modem in the remote modem function was faster than the speed of remote access of the SIM 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 further 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, in the process of the remote SIM function, the screen of the first equipment can be switched from the card-free state to the card-equipped state, and then the card-free state is switched to the service-equipped state, so that a user of the first equipment can conveniently and timely detect the change of the SIM card state in the process of continuing the cellular communication capability.
For example, when the first device and the second device first perform the remote SIM function in the step shown in S403, the SIM card triggers the input of the personal identification code (personal identification number, PIN), and then an indication message for inputting the PIN code may be displayed in the second device, but since the remote modem function is not performed yet, the information displayed in the second device cannot be transmitted to the first device through the remote modem function, so that the indication message for inputting the PIN code is not displayed in the first device, and therefore, the user of the first device cannot unlock the SIM card through inputting the PIN code, so that the second device cannot normally access the SIM card of the first device, and the entire cellular communication capability connection cannot continue.
And when the first device and the second device execute the remote modem function in the step shown in S402 first, and further execute the remote SIM function, and when the SIM card triggers the PIN code input, the indication message for inputting the PIN code may be forwarded to the first device through the remote modem function, so that the first device may display the indication message for inputting the PIN code in the interface, so that the user may conveniently input the PIN code in time to unlock the SIM card, and further facilitate the second device to normally access the SIM card of the first device to implement the cellular communication capability connection function.
Therefore, the first device and the second device execute the remote modem function in the step shown in S402 first, and then execute the remote SIM function in the step shown in S403, so as to improve the user experience, and further improve the efficiency and/or effectiveness of the cellular communication capability continuing function.
Based on the description of the embodiment corresponding to fig. 4, the first device and the second device need to establish a connection with the cellular communication capability based on the embodiment corresponding to fig. 5 before executing the call service.
Fig. 5 is a schematic flow chart of a method for continuing cellular communication capability according to an embodiment of the present application. In the embodiment corresponding to fig. 5, the first device may include: the interface processing module, the distributed communication service module and the modem, the second device may also include: interface processing module, distributed communication service module modem. The interface processing module may be understood as a processing module for controlling the display of the device, and may be disposed in an application layer of the device.
The method for continuing the cellular communication capability can also comprise the following steps: communication service cloud and push cloud. The communication service cloud is used for carrying out equipment authentication on the first equipment and the second equipment, and establishing a data transmission path for the first equipment and the second equipment; the push cloud is used for waking up the opposite terminal device, for example, the first device and the second device can both notify the opposite terminal device that the opposite terminal device needs to be connected with the communication service cloud through the push cloud.
It can be appreciated that, since the communication service cloud cannot directly send a message to the first device and the second device, the first device or the second device can be awakened by the push cloud. Specifically, if the communication service cloud and the first device or the communication service cloud and the second device are kept in a connection state for a long time, a certain power consumption problem is caused, and the load of the communication service cloud is increased. Therefore, the first device may wake up the second device with the push cloud and notify the second device to establish a connection before entering the connection mode.
In the corresponding embodiment of fig. 5, taking the connection manner of initiating the cellular communication capability as an example of initiating the connection of the cellular communication capability based on the second device selected by the user (see the corresponding embodiment of fig. 13), a cellular communication capability connection method is illustrated.
As shown in fig. 5, the cellular communication capability continuing method may include the steps of:
s501, when the first device receives a switch for enabling the cellular communication capability connection function by the user, the interface processing module of the first device sends a message for indicating to enable the switch for enabling the cellular communication capability function to the distributed communication service module of the first device.
For example, as shown by d in fig. 11, when the first device receives a trigger operation by the user for a control 1104 for turning on or off the device signal relay, the interface processing module of the first device may send a message to the distributed communication service module of the first device indicating to turn on the switch of the cellular communication capability function.
S502, the distributed communication service module of the first device sends a message for indicating query pushing conditions to the push cloud.
In the embodiment of the present application, the push condition may be embodied by a push message, for example, the push message may be a push token of the first device. The push token of the first device may be a message automatically generated by the push cloud or the push token of the first device may be a message stored in the first device in advance, and in the embodiment of the present application, the generation mode of the push token is not limited. Any one of the first devices may correspond to a push token.
The push cloud may store a push token corresponding to any one of the first devices.
And S503, the push cloud sends push information to the distributed communication service module of the first device.
The push message may be a push token of the first device.
S504, the distributed communication service module of the first device sends a message for indicating device authentication to the communication service cloud.
Wherein, the message for indicating the device authentication may include one or more of the following: the method for authenticating the device in the embodiment of the present application is not limited by the push token, the device account number of the first device, the password for logging in the device account number, the security certificate information, and/or the device ID.
In a possible implementation manner, the communication service cloud may return a message indicating that the device authentication of the communication service cloud is successful to the distributed communication service module of the first device.
S505, the distributed communication service module of the first device sends device state information of the first device to the communication service cloud.
Wherein the device status information may include one or more of: whether a free card slot exists, equipment power, WIFI network signal, SIM card, login to an equipment account, and/or support cellular communication capability. The WIFI network condition may be: a received signal strength indication (received signal strength indicator, RSSI) value, which may be understood as one of the signal strengths of the wireless signal access points.
In a possible implementation manner, the communication service cloud may also return a message to the distributed communication service module of the first device, where the message is used to indicate that the device status information of the first device is received.
It can be understood that the steps shown in S504-S505 are a 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 a switch for turning on the cellular communication capability connection function by the user. Adaptively, the second device may 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 may be performed simultaneously or the steps shown in S506-S510 may be performed prior to S501-S505, which is not limited in the embodiment of the present application.
S506, when the second device receives the switch of the user for starting the cellular communication capability continuing function, the interface processing module of the second device sends a message for indicating the switch for starting the cellular communication capability function to the distributed communication service module of the second device.
S507, the distributed communication service module of the second device sends a message for indicating query pushing conditions to the push cloud.
The push cloud can store any push token corresponding to the second device.
And S508, the push cloud sends push information to the distributed communication service module of the second device.
The push message may be a push token of the second device.
S509, the distributed communication service module of the second device sends a message for indicating device authentication to the communication service cloud.
Wherein, the message for indicating the device authentication may include one or more of the following: the method for authenticating the device in the embodiment of the present application is not limited by the push token, the device account number of the second device, the password for logging in the device account number, the security certificate information, and/or the device ID.
S510, the distributed communication service module of the second device sends the device state information of the second device to the communication service cloud.
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 herein.
In a possible implementation manner, the distributed communication service module of the second device may also periodically send device state information of the second device to the communication service cloud, so as to ensure accuracy of the device state information of the second device stored in the communication service cloud. The content of the device status information in the second device may refer to the content of the device status information of the first device in the step shown in S505, which is not described herein.
It can be appreciated that, based on the steps shown in S501-S510, the push token of any first device and the push token of any second device may be stored in the communication service cloud.
It is to be understood that the descriptions in the steps shown in S506-S510 may be similar to the procedures described in the steps shown in S501-S505, and will not be repeated here. The steps shown in S501-S510 may be understood as the preparation of the first device before the second device is able to communicate with the second device in a cellular manner.
It will be appreciated that other steps may be involved in the preparation of the first device for the connection of the cellular communication capability with the second device, which is not limited in the embodiment of the present application.
S511, when the distributed communication service module of the first device detects that the network signal is weak or no network signal, the distributed communication service module of the first device may send a message for indicating that the network signal is weak or no network signal to the interface processing module of the first device.
For example, when the first device detects that the connection condition is satisfied, the distributed communication service module of the first device may send a message indicating that the network signal is weak or no network signal to the interface processing module of the first device.
In the embodiment of the present application, the connection condition may be: the reference signal received power (reference signal receiving power, RSRP) under the LTE/NR network is greater than T1 for a time period below a first RSRP threshold (or for a time period when no network signal is detected greater than T2, or for an RSRP value below the first RSRP threshold), and the RSSI value of the first device is above the first RSSI threshold (or for a signal strength of a wireless signal access point of the first device is above a certain threshold).
The value of the first RSRP threshold may be a value of-125 dBm, and the value of the first RSSI threshold may be a value of-90 dBm.
In a possible implementation manner, the first device may also send a message for indicating that the network signal is weak or no network signal to the interface processing module of the first device under the condition that the network signal is good based on the triggering operation of the user, which is not limited in the embodiment of the present application.
S512, the interface processing module of the first device displays indication information of whether to use the cellular communication capability connection function.
Illustratively, the interface processing module of the first device may invoke the display to display a pop-up window 1300 in the interface as shown by a in fig. 13, or the interface processing module of the first device may invoke the display to display a pop-up window 1202 as shown by a in fig. 12.
S513, when the first device receives the operation of starting the connection mode by the user, the interface processing module of the first device sends a message for indicating to start the connection mode to the distributed communication service module of the first device.
The operation of the user to start the connection mode may be: in the interface shown as a in fig. 13, the first device receives a trigger operation for the confirmation control.
S514, the distributed communication service module of the first device sends a message for inquiring the relay-capable device to the communication service cloud.
Wherein the relay-capable device may be: a second device comprising at least one free slot, and/or having an RSSI value higher than the first RSSI threshold.
For example, when the communication service cloud receives the message for querying the relay-capable device, the communication service cloud may filter the device status information of the second device stored in the cloud, and when a relay-capable device including at least one free slot and/or an RSSI value higher than the first RSSI threshold is detected, the relay-capable device is returned to the distributed communication service module of the first device based on the step shown in S515.
In a possible implementation manner, the distributed communication service module of the first device may periodically send a message for querying the relay-capable device to the communication service cloud until the communication service cloud determines that the relay-capable device exists, and further performs the step shown in S515.
And S515, the communication service cloud transmits the relay equipment to the distributed communication service module of the first equipment.
S516, the distributed communication service module of the first device sends a message for indicating the selection of the relay-capable device to the interface processing module of the first device.
S517, an interface processing module of the first device displays the relay equipment.
For example, when the interface processing module of the first device receives the message for indicating selection of the relay-capable device, the interface processing module of the first device may display an interface as shown in b in fig. 13, where at least one relay-capable device may be included.
And S518, when the first equipment receives the operation of selecting any continuous second equipment by the user, the interface processing module of the first equipment sends a message for indicating the second equipment selected by the user to the distributed communication service module of the first equipment.
In the embodiment of the application, when the first equipment receives the operation of selecting any continuous second equipment by a user, the first equipment can select any relay SIM card according to the conditions of double cards or single card; further, the interface processing module of the first device sends a message for indicating the second device selected by the user to the distributed communication service module of the first device.
In one implementation, when only one SIM card exists in the first device, the first device receives a trigger operation of the user on any relay device, such as the second device 1301, in the interface shown in b in fig. 13, and then the interface processing module of the first device sends a message for 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.
In another implementation, when two SIM cards exist in the first device, the first device receives a trigger operation of the user for any relay device, such as the second device 1301, in the interface shown in b in fig. 13, and then the first device may display the interface shown in c in fig. 13; when the first device receives an operation of selecting any relay SIM card from the interfaces shown in c in fig. 13 by the user, the interface processing module of the first device sends a message for indicating the second device selected by the user to the distributed communication service module of the first device.
In a possible implementation manner, the distributed communication service module of the first device may 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 may be used to instruct the first device to perform the next cellular communication capability connection function.
It will be appreciated that the steps shown in S511-S518 above may be understood as a procedure for initiating a connection of cellular communication capabilities based on the second device selected by the user.
In a possible implementation manner, when the connection manner of the initiating cellular communication capability is that the second device automatically recommends based on the first device initiates the connection of the cellular communication capability (see the corresponding embodiment of fig. 12), then after executing the step shown in S511, the first device may query the second device based on the steps shown in S514-S516, or the first device may query the second device based on the recorded device information of the first device and the information such as the number of times the user selects the second device, so as to display the interface shown as a in fig. 12. Further, when the first device receives an operation that the user selects any relay SIM card in the interface a shown in fig. 12, the interface processing module of the first device may send a message for indicating to establish a long link with any queried second device to the distributed communication service module of the first device; and, the first device performs the steps shown in S519.
S519, the distributed communication service module of the first device sends a message for instructing the second device to establish a long link to the communication service cloud.
Wherein the message for instructing the second device to establish the long link may be used to wake up the second device, and the message for instructing the second device to establish the long link may include a device ID of the second device.
When the communication service cloud receives the message for indicating the second device to establish the long link, the communication service cloud can acquire 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 step shown in S520, so that the push cloud can pull up the second device.
S520, the communication service cloud sends a pull-up instruction to the push cloud.
The pull-up instruction may include a push token of the second device.
Adaptively, when the push cloud receives the pull instruction, the push cloud may execute the step shown in S521 based on the push token of the second device, to notify the second device that a long link needs to be established at this time.
And S521, the push cloud sends a message for indicating the second device to establish the long link to the second device.
It can be appreciated 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.
And S522, the first device sends a message for indicating to establish the service long link to the communication service cloud.
And S523, the second equipment sends a message for indicating to establish the service long link to the communication service cloud.
It is understood that, based on the steps shown in S501-S523, the first device and the second device may establish a data path based on the communication service cloud.
S524, the distributed communication service module of the first device sends a relay (continuous) mode switching instruction to the distributed communication service module of the second device.
In the embodiment of the present application, the relay mode switch instruction (the name of the instruction is just an example, and other names may be used for instructing the second device to connect the cellular communication capability of the first device, or understand that the relay mode switch instruction is used for instructing the first device to request the second device to connect the cellular communication capability of the second device.
For example, when the first device detects that the network signal is weak or no network signal, the first device may automatically initiate a connection of the cellular communication capability to the second device searched by the first device, so that the first device performs the step shown in S524. Alternatively, the first device may manually initiate a continuation of the cellular communication capability based on the corresponding embodiment of fig. 13, such that the first device performs the steps shown in S524.
For example, when the first device receives a trigger operation of the user for the card 1 relay control in the interface shown in c in fig. 13, the distributed communication service module of the first device may send a relay mode switching instruction to the distributed communication service module of the second device. In this scenario, the relay mode switch instruction may include information of the card 1, and the relay mode switch instruction may instruct the second device to connect to the cellular communication capability of the card 1 of the first device.
In a possible implementation manner, referring to the description in the embodiment corresponding to fig. 6 (or fig. 7 or fig. 8), the distributed communication service module of the first device may send the relay mode switching instruction to the second device by using the cloud service module of the first device; the distributed communication service module of the second device may receive the relay mode switching instruction by using the cloud service module. The cloud service module may also be referred to as a distributed bus as described in fig. 6 (or fig. 7 or fig. 8).
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.
The response message corresponding to the relay mode switching instruction is used for indicating that the second device receives the relay mode switching instruction and agrees to provide connection of the cellular communication capability for the first device.
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.
In the embodiment of the application, the remote modem switching instruction is used for indicating the first equipment to request to access the modem of the second equipment, so that the second equipment can switch the working mode corresponding to the modem into the remote modem mode, and the first equipment can conveniently access at any time.
In a possible implementation, as shown in fig. 6, the remote modem service module 6011 in the distributed communication service module of the first device may send a remote modem switching instruction to the distributed communication service module of the second device based on the step shown in S6001.
In a possible implementation manner, S527, the distributed communication service module of the second device sends a remote modem switching instruction to the modem of the second device.
It can be understood that when the modem of the second device receives the remote modem switching instruction, the modem of the second device can execute the preparation work corresponding to the remote modem function, so that the modem of the second device can cooperate with the first device to accelerate the completion of the remote modem function.
In a possible implementation, as shown in fig. 6, the second device may send a remote modem switching instruction to the second device modem based on the steps shown in S6002-S6003.
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.
Wherein the remote modem switch success instruction is for instructing the second device to allow the first device to remotely access the modem of the second device.
For example, as shown in fig. 6, the distributed communication service module of the second device may send a remote modem handover success instruction to the distributed communication service module of the first device based on the step shown in S6006.
And 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.
The remote SIM switching instruction is used for indicating the second equipment to request to remotely access the SIM card in the first equipment and acquiring the SIM card information of any SIM card in the first equipment. For example, when the first device receives a triggering operation of the user for the card 1 relay control in the interface shown in b in fig. 13, the first device may determine to connect the card 1 with the cellular communication capability, where the remote SIM switching instruction is used to instruct the second device to request to remotely access the S card 1 in the first device, and obtain SIM card information of the card 1 in the first device. Wherein the SIM card information of the card 1 may be returned to the second device based on the step shown in S534.
For example, as shown in fig. 7, the distributed communication module of the second device may transmit a remote SIM switching instruction to the distributed communication service module of the first device based on the step shown in S7001.
S530, the distributed communication service module of the second device sends a remote SIM switching instruction to the modem of the second device.
For example, as shown in fig. 7, the second device distributed communication service module may send a remote SIM switch instruction to the modem of the second device based on the path described in the steps shown in S7007-S7008.
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.
For example, when the modem of the second device receives the remote SIM switch instruction, the modem of the second device may implement switching the SIM card mode to the remote client mode. Wherein, as shown in fig. 7, the remote client mode is used to instruct the second device not to read the SIM card information of the card 3 through the local SIM card module, but to read the SIM card information of the card 1 of the first device from the remote SIM card module.
S532, the distributed communication service module of the first device sends a remote SIM switching instruction to the modem of the first device.
For example, as shown in fig. 7, the distributed communication service module of the first device may send a remote SIM switch instruction to the modem of the first device based on the steps shown in S7002-S7003; 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 the card 1 from the SIM card slot of the card 1. The remote service module is used for indicating that the first device allows the SIM card information of the card 1 of the first device to be shared for the second device to use.
S533, the modem of the first device sends the SIM card information of the card 1 to the distributed communication service module of the first device.
For example, as shown in fig. 7, the modem of the first device may transmit SIM card information of the card 1 to the distributed communication service module of the first device based on the steps shown in S7004 to S7005.
S534, the distributed communication service module of the first device sends the SIM card information of the card 1 to the distributed communication service module of the second device.
For example, as shown in fig. 7, the distributed communication service module of the first device may transmit the SIM card information of the card 1 to the distributed communication service module of the second device based on the step shown in S7006.
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.
For example, as shown in fig. 7, the distributed communication service module of the second device may transmit SIM card information of the card 1 to the modem of the second device based on the steps shown in S7007 to S7008.
S536, the modem of the second device registers the cellular network with the SIM card information of card 1.
Illustratively, after registering the cellular network with the SIM card information of card 1, the modem of the second device may obtain the network resident information.
And S537, the modem of the second device sends the network residence information to the distributed communication service module of the second device.
Illustratively, as shown in fig. 6, the modem of the second device may send the network resident information to the distributed communication service module of the second device based on the path described in the steps shown in S6004-6005.
S538, the distributed communication service module of the second device sends the network residence information to the distributed communication service module of the first device.
For example, as shown in fig. 6, the distributed communication service module of the second device may transmit the network resident information to the distributed communication service module of the first device based on the path described in the step shown in S6006.
In a possible implementation, the distributed communication service module of the first device may continue to send the network residence information to the application layer of the first device based on the steps shown in S6007-S6008.
It may be appreciated that after the first device receives the network residence information, information such as a residence state, a signal level, an operator name, and the like in the second device may be displayed in the interface of the first device.
In a possible implementation manner, the first device and the second device may implement a CS call service. In one implementation, when the first device receives the CS caller call service request, the first device and the second device may forward the CS caller call service request to a modem of the second device, so that the modem may implement forwarding the caller call service to the third device through the network. In another implementation, when the modem of the second device receives the CS called talk service, the first device and the second device may forward the CS called talk service to the first device.
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.
Wherein the remote IMS handover instruction is to instruct the first device to remotely use the IMS communication capability of the second device.
For example, as shown in fig. 8, the distributed communication service module of the first device may transmit a remote IMS handover instruction to the distributed communication service module of the second device based on the step shown in S8001.
S540, the distributed communication service module of the second device sends a remote IMS switching instruction to the modem of the second device.
Illustratively, as shown in fig. 8, the distributed communication service module of the second device transmits a remote IMS handover instruction to the modem of the second device based on the steps shown in S8002-S8004.
Adaptively, the modem of the second device obtains IMS registration information based on the remote IMS handover command. The IMS registration information enables the first device to support call functions such as VOLTE or VONR.
S541, the modem of the second device sends IMS registration information to the distributed communication service module of the second device.
Illustratively, as shown in fig. 8, the modem of the second device transmits IMS registration information to the distributed communication service module of the second device based on the steps shown in S8005-S8007.
S542, the distributed communication service module of the second device sends a remote IMS switch success instruction (IMS registration information) to the distributed communication service module of the first device.
Illustratively, as shown in fig. 8, the distributed communication service module of the second device sends a remote IMS handover success instruction to the distributed communication service module of the first device based on the step shown in S8008.
The remote IMS handover success instruction is configured to instruct the second device to allow the first device to remotely use the IMS communication capability, where the remote IMS handover success instruction may include information such as IMS registration information.
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.
The relay mode switching completion instruction is used for indicating the second equipment to complete preparation work for continuing the cellular communication capability of the first equipment.
In a possible implementation manner, when the first device receives the IMS calling call service request, the first device and the second device may forward the IMS calling call service request to the modem of the second device, so that the modem may forward the calling call service to the third device through the network. In another implementation, when the modem of the second device receives the IMS called call service, the first device and the second device may forward the IMS called call service to the first device. The IMS calling call service request may include dialing information, such as a telephone number, when a call is made.
S544, the distributed communication service module of the first device sends a message for indicating that the first device is in a connection state to the interface processing module of the first device.
For example, when the interface processing module of the first device receives the message for indicating that the first device is in a connected state, the first device may display an interface as shown in b in fig. 12, where a message "signal relay for your card 1 is being performed using the second device" may be displayed in the popup window 1203 in the interface.
S545, the distributed communication service module of the second device sends a message for indicating that the first device is in a connection state to the interface processing module of the second device.
For example, when the interface processing module of the second device receives the message for indicating that the second device is in the connected state, the second device may display an interface as shown in fig. 14, and a specific description of the interface may refer to an embodiment corresponding to fig. 14.
Based on the method, the first device can realize the connection of the first device with other idle second devices in the scene of weak network signals.
Based on the embodiment corresponding to fig. 4, the method of the first device remotely accessing the modem of the second device in the step shown in S402 may refer to the embodiment corresponding to fig. 6.
Fig. 6 is a schematic diagram of a system architecture of a remote access modem according to an embodiment of the present application.
As shown in fig. 6, the layered architecture of the first device divides the software into several layers, each with a clear role and division. The layers communicate with each other through a software interface. In some embodiments, the Android system is from top to bottom: an application layer, an application framework layer, and a system library. A modem may also be included in the first device.
The application layer may include a series of application packages. As shown in fig. 6, the application package may include: telephone, navigation, bluetooth, short message, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. In a possible implementation manner, the application framework layer may further include: distributed communication service modules, telephony manager 6016 (telephony), etc.
The distributed communication service module is used for supporting communication services in a remote modem function, a remote SIM function and/or a 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 on, off, etc.).
The distributed communication service module may include: a distributed cellular communication control module, a remote modem service module 6011, and a distributed bus 6012.
The distributed cellular communication control module may be understood as a total control module in the distributed communication service module for determining a calling manner of different modules in the distributed communication service module based on different distributed communication services.
The remote modem service module 6011 is configured to forward the remote modem switching instruction to the remote modem service module 6011 of the second device, or may also forward a response message corresponding to the remote modem switching instruction, for example, a remote modem switching success instruction, network resident information, and other data to the phone manager 6016 of the first device. The remote modem switching instruction is used for indicating the first equipment to request to access the modem of the second equipment, so that the second equipment can switch the working mode corresponding to the modem into the remote modem mode, and the first equipment can conveniently access the modem at any time.
The distributed bus 6012 is used to establish a connection channel between the distributed cellular communication module of the first device and the distributed cellular communication module of the second device, and to connect the distributed cellular communication module of the first device and the distributed cellular communication module of the second device.
In possible implementations, the distributed bus 6012 may be responsible for device discovery, self-connection, authentication management, etc. in close range, local area network, or far field co-accounts. The distributed bus 6012 may also be responsible for scheduling management of different channels, quality of service experience assessment, etc., transparent to the application layer. The distributed bus 6012 may also be responsible for channel retention, providing a low power standby mechanism. It may also be responsible for forwarding/responding of control plane signaling (such as remote modem switch instruction, response message corresponding to remote modem switch instruction, etc. mentioned in the embodiments of the present application), and encryption encapsulation, etc.
In the embodiment of the present application, in a scenario where the distributed bus 6012 is responsible for device authentication and device status reporting under the far-field same account, the distributed bus 6012 may also be referred to as a cloud service module. For example, the cloud service module may be configured to send data corresponding to device authentication, data corresponding to a device state, and the like to the communication service cloud; alternatively, the cloud service module may be further configured to query a push (push) cloud for data by each device.
The system library may include a hardware abstraction layer (hardware abstraction layer, HAL), which may include a radio interface layer (radio interface layer, RIL).
In a possible implementation, a radio interface layer daemon (radio interface layer demon, RILD) or the like (not shown in fig. 6) may be included in the RIL.
In a possible implementation manner, a modem may also be provided in the first device, where the modem is connected to a SIM hard card.
It will be appreciated that the software architecture of the second device is similar to that of the first device in the embodiment corresponding to fig. 6, and that the functions in the software architecture may function similarly to those described in the embodiment corresponding to fig. 6.
The remote modem service module 6014 in the second device is configured to send a remote modem switching instruction sent by the remote modem service module 6011 of the first device to the RIL of the second device, or may also return a response message corresponding to the remote modem switching instruction returned by the RIL of the second device to the remote modem service module 6011 of the first device.
The RIL of the second device is configured to send a remote modem switching instruction sent by the remote modem service module 6014 of the second device to the modem6015 of the second device, or may also send a response message corresponding to the remote modem switching instruction returned by the modem6015 to the remote modem service module 6014 of the second device.
In connection with the embodiment corresponding to fig. 6, after the first device initiates the 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, e.g., the distributed communication service module of the first device may send the relay mode switching instruction to the distributed communication service module of the second device using the distributed bus 6012 of the first device and the distributed bus 6013 of the second device. The response message corresponding to the relay mode switching instruction may be used to instruct the second device to receive the relay mode switching instruction.
In a possible implementation manner, 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 cause the first device to remotely access the modem of the second device based on the steps shown in S6001-S6008.
S6001, the remote modem service module 6011 of the first device sends a remote modem switching instruction to the remote modem service module 6014 of the second device using the distributed bus 6012 and the distributed bus 6013.
S6002, the remote modem service module 6014 sends the remote modem switch instruction to the RIL.
S6003, RIL sends the remote modem switch instruction to modem6015.
Adapted, modem6015 may receive the modem switching instruction sent by the RIL and generate a response message corresponding to the remote modem switching instruction, where the response message corresponding to the remote modem switching instruction may be: a remote modem switch success instruction for instructing the second device to allow the first device to remotely access the modem.
S6004, modem6015 sends a remote modem switch success instruction to RIL.
S6005, RIL sends a remote modem switching success instruction to remote modem service module 6014.
S6006 the remote modem service module 6014 transmits the remote modem switching success instruction to the remote modem service module 6011 of the first device using the distributed bus 6013 and the distributed bus 6012.
S6007, the remote modem service module 6011 transmits the remote modem switching success instruction to the telephone manager 6016.
S6008, the telephone manager 6016 returns the remote modem switch success instruction to the application layer.
Further, the application layer may display, in the first device, a network state corresponding to the second device, a card-free state corresponding to the second device, and the like, based on the remote modem switching success instruction.
In a possible implementation manner, in the case that the application layer of the first device receives a command of successful remote modem switching, when the first device needs to access the modem of the second device, the application layer of the first device may issue a corresponding request for cellular communication service to the phone manager 6016, so that the request for cellular communication service may 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 transmits the request for the cellular communication service to the modem6015 of the second device based on the steps shown in S6001 to S6003. Suitably, modem6015 of the second device may generate a response message corresponding to the request for the cellular communication service, and return the response message corresponding to the request for the cellular communication service to the application layer of the first device based on the steps shown in S6004-S6008.
The request of the cellular communication service is a request for requesting to execute a cellular communication service function related to an application, for example, a short message sending request triggered by a short message application, a telephone dialing request triggered by a telephone application, a telephone answering request and the like. The response message corresponding to the request of the cellular communication service is processing result data after the Modem processes the request of the cellular communication service, for example, if the request of the cellular communication service is a short message sending request, the response message corresponding to the request of the cellular communication service may be a specific reason for explaining whether the short message is sent successfully or not, and the short message is sent failed, etc.
It will be appreciated that the remote modem service module 6011 of the first device may implement that the request for the cellular communication service received by the phone manager 6016 of the first device is not transmitted to the modem of the first device through the interface any more by creating a proxy object of 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. Further, the remote modem service module 6014 of the second device can send a request for cellular communication services to the modem6015 of the second device for processing to assist the first device in using cellular communication capabilities. The adapted remote modem service module 6014 of the second device creates a proxy object of the interface for forwarding a response message corresponding to the request for cellular communication service to the remote modem service module 6011 of the first device.
Based on this, the first device may enable access to the modem of the second device based on the corresponding embodiment of fig. 6.
Based on the embodiment corresponding to fig. 4, the process of the second device remotely accessing the SIM card of the first device in the step shown in S403 may refer to the embodiment corresponding to fig. 7.
Fig. 7 is a schematic diagram of a system architecture of a remote access SIM card according to an embodiment of the present application.
As shown in fig. 7, the layered architecture of the first device divides the software into several layers, each with a clear role and division. The layers communicate with each other through a software interface. In some embodiments, the Android system is respectively an application program layer, an application program framework layer and a HAL from top to bottom. A modem may also be included in the first device.
For the first device in fig. 7, the application layer and the application framework layer may perform data interaction through a conventional interface; data interaction can be performed between the application framework layer and the RIL through an android native hardware abstraction layer interface definition language (hardware abstraction layer interface definition language, HIDL) interface and an extended remote SIM (rsvi) HIDL interface 7104; data interaction between RIL and Modem can be performed through rSIM interface 7106 and conventional interfaces and the like.
The application layer may include a series of applications, among others. As shown in fig. 7, the application package includes: telephone, navigation, bluetooth, short message, etc. The application framework layer provides an application programming interface API and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 7, the application framework layer may include a telephony manager (telephenyl), a distributed communication service module, and the like. Wherein the telephony manager is operable to provide the first device with functionality associated with the SIM card. For example, a telephony manager is used to provide management of call status (including on, off, etc.). The distributed communication service module is used to implement distributed communication, for example, the distributed communication service module may be used to transfer a SIM card of a first device into a second device for use. The distributed communication service module may include: a distributed cellular communication control module, a remote SIM service module 7103, the remote SIM service module 7103 being configured to implement the remote SIM functions described in embodiments of the present application. The function of the distributed cellular communication control module may be described in the corresponding embodiment of fig. 6, which is not described herein.
The remote SIM service module 7103 may include: the device comprises a remote SIM access interface adaptation module, a SIM connection management module, a SIM instruction coding and decoding module and a RIL interface proxy module.
Remote SIM access interface adaptation module: may be used to adapt the remote SIM access, and control interface of the RIL modules of different chip manufacturers. It will be appreciated that different chip vendors may define different rssim HIDL interfaces 7104, and the data structures carrying the messages may also be different, so that the remote SIM access interface adaptation module may implement remote SIM switching instructions (or remote SIM requests, etc.), and normal invocation of SIM card information. In a possible implementation manner, the remote SIM access interface adaptation module may also be provided in the remote SIM RIL module 7105 in the RIL layer, and its function is similar to that described above, and will not be described here again.
The remote SIM switching instruction is used for indicating the second equipment to remotely access the SIM card in the first equipment and acquiring the SIM card information in the first equipment; the remote SIM request may be a service request for accessing a SIM card of the first device.
SIM connection management module: for implementing a device connection function between the first device and the second device. SIM instruction coding and decoding module: for implementing the encoding function for SIM card information and the like to be transmitted, and the decoding function for receiving a remote SIM switch instruction and the like. RIL interface agent module: the interface is used for interfacing with the rSIM HIDL interface 7104 to realize the functions of receiving or forwarding data plane messages and control plane messages.
The distributed bus 7111 is used to establish a connection channel between the remote SIM service module 7103 of the first device and the remote SIM service module 7102 of the second device, and to 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 may be responsible for device discovery, self-connection, authentication management, etc. in close range, local area network, or far field co-accounts. The distributed bus 7111 may also be responsible for scheduling management, quality of service experience assessment, etc. for different channels, transparent to the application layer. The distributed bus 7111 may also be responsible for channel retention, provide low power standby mechanisms, and the like.
In a possible implementation manner, the application framework layer may further include: window manager, notification manager, content manager, view system, resource manager, etc. (not shown in fig. 7), which is not limiting in this embodiment of the application.
The HAL comprises RIL which is responsible for providing telephone service, is an intermediate layer between an upper layer application and a lower layer modem and is responsible for reliable transmission of data. The RIL may include therein a RILD, which may include therein: a native RIL service module (or standard RIL service module), and a remote SIM RIL module 7105.
Wherein, the native RIL service module: the communication interface between the native RIL service module and the modem may be a conventional communication interface between the RIL service module and the modem. Remote SIM RIL module 7105: a response message, such as SIM card information, corresponding to the remote SIM request sent by the modem via the rmsim interface 7106 is forwarded to the remote SIM service module 7103 through the rmsim HIDL interface 7104; and forwarding the remote SIM switch instruction sent by the remote SIM service module 7103 via the rssim HIDL interface 7104 to the modem through the rssim interface 7106.
The remote SIM RIL module 7105 may include: rSIM instruction processing module. The rSIM instruction processing module is used for processing the message of the remote SIM switching instruction. For example, the rSIM instruction processing module is configured to convert a response message corresponding to a 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 further configured to parse a remote SIM switching instruction transmitted via the rSIM HIDL interface 7104, and convert the remote SIM switching instruction into a message type that can be identified by the modem.
The modem includes: a SIM card module, a local SIM card module, a remote SIM card module 7107, a SIM card slot driver 7108, and the like. The SIM card slot driver 7108 may be connected with a SIM hard card 7109.
A SIM card module: for providing network registration, authentication, etc. and functions related to SIM card information. The SIM card module may support two call modes of the SIM card, such as a local SIM card call mode provided by the local SIM card module and a remote SIM card call mode provided by the remote SIM card module 7107. Local SIM card module: for enabling access to local SIM card information using the SIM card slot driver 7108. Remote SIM card module 7107: the method is used for calling the remote SIM card and realizing the access to the information of the remote SIM card. In a possible implementation, a SIM card slot driver 7108 and a SIM hard card 7109 may be provided in the modem of the first device.
It is understood that the software architecture of the second device is similar to that of the first device in the embodiment corresponding to fig. 7, and functions in the software architecture may be similar to those described in the embodiment corresponding to fig. 7, and will not be described herein. The modem of the second device may be provided with a SIM hard card or may not be provided with SIM hardware, which is not limited in the embodiment of the present application.
In connection with the corresponding embodiment of fig. 7, the second device and the first device may be based on the steps shown in S7001-S7010, such that the second device remotely accesses the SIM card of the first device, and the first device returns SIM card information to the second device.
It is understood that the distributed cellular communication control module of the second device may determine to send the remote SIM switch instruction to the first device, e.g., the distributed cellular communication control module of the second device may instruct the remote SIM service module 7102 to send the remote SIM switch instruction to the remote SIM service module 7103 of the first device.
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 using the distributed bus 7110 of the second device and the distributed bus 7111 of the first device.
In a possible implementation, the remote SIM service module of the second device may also send a remote SIM switch instruction to the modem of the second device. The modem in the second device may be adapted to switch the SIM card mode to a remote client mode for instructing 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 an rsvi interface or the like.
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 rssim HIDL interface 7104.
S7003, the remote SIM RIL module 7105 sends a remote SIM switch instruction to the remote SIM card module 7107 in the modem through the rsvi interface 7106.
Adaptively, when the remote SIM card module 7107 receives a remote SIM switch instruction, the SIM card mode of the first device may be switched to a remote service module, where the remote service module is configured to instruct the first device to allow sharing of the SIM card of the first device to the second device. Further, the remote SIM card module 7107 may obtain 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 steps shown in S7004-S7008.
It will be appreciated that the SIM card information may enable the second device to register with the cellular network. For example, the SIM card information may include: international mobile subscriber identity (international mobile subscriber identity, IMSI), mobile phone number of the mobile subscriber, network identity, and key.
S7004, the remote SIM card module 7107 sends the SIM card information to the remote SIM RIL module 7105 through the rsvi interface 7106.
S7005, the remote SIM RIL module 7105 sends the SIM card information to the remote SIM service module 7103 through the rssim HIDL interface 7104.
S7006, the remote SIM service module 7103 sends SIM card information to the remote SIM service module 7102 of the second device using the distributed bus 7111 of the first device and the distributed bus 7110 of the second device.
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 rssim HIDL interface 7116.
S7008, the remote SIM RIL module 7115 sends the SIM card information to the remote SIM card module 7113 in the modem through the rsvi interface 7114.
In a possible implementation, the SIM card module 7112 in the modem of the second device may register the cellular network with the SIM card information and return the resident network information to the modem of the first device based on the paths described in the steps shown in S7009-S7010 and the steps shown in S7001-S7003.
S7009, the modem of the second device sends the network resident information to the remote SIM RIL module 7115 through the rsvi interface 7114.
S7010, the remote SIM RIL module 7115 sends the residence information to the remote SIM service module 7102 of the second device through the rssim HIDL interface 7116.
Further, the remote SIM service module 7102 of the second device may return the network resident information to the modem of the first device based on the paths described in the steps shown in S7001-S7003, which is not described in detail in the embodiment of the present application.
It will be appreciated that in case the first device and the second device perform a remote SIM card switch based on the steps described in the corresponding embodiment of fig. 7, the second device may access the SIM card in the first device based on a remote SIM request, such as an Answer To Reset (ATR) request, an application protocol data unit (application protocol data unit, APDU) request, etc. The ATR request and APDU request may be sent to the modem of the first device based on the paths shown in S7009-S7010 and S7001-S7003.
In response, the first device may return a response message corresponding to the remote SIM request, such as an ATR response corresponding to the ATR request, an APDU response corresponding to the APDU request, and other data, to the modem of the second device through steps shown in S7004-S7008. The ATR request, ATR response, APDU request, and APDU result may be all requests or response manners commonly used in SIM card communication protocols, which are not described herein.
In the step shown in S404, based on the embodiment corresponding to fig. 4, the process of transferring the IMS communication capability of the second device to the first device based on the remote IMS function by the second device may be referred to the embodiment corresponding to fig. 8.
Fig. 8 is a schematic diagram of a system architecture for remotely using IMS functions according to an embodiment of the present application.
As shown in fig. 8, the layered architecture of the first device divides the software into several layers, each with a clear role and division. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an IMS APK, and a HAL layer, respectively. A modem may also be included in the first device.
The content included in the application layer may refer to the content in the application layer in the embodiment corresponding to fig. 6 (or fig. 7), which is not described herein.
The application framework layer may include a telephony manager and a distributed communication service module therein. Wherein, the telephone manager can comprise: an IMS telephony module, and an IMS management module (IMS manager). The IMS telephone module can be used for providing an interface to the outside; the IMS management module is used for providing an API which interacts with the IMS service module and managing IMS related functions; and the IMS management module may also be the caller of the IMS service module. The IMS management module may be understood as a module specified in the android system architecture.
The distributed service module may include: remote IMS service module 8101. The remote IMS service module 8101 may include: an IMS call session proxy (IMS call session proxy) module, and a SIM call session listening proxy (IMS call session listener proxy) module. The IMS call session proxy module of the first device may be configured to send a local remote IMS handover command (or IMS service request, etc.) to the IMS call session proxy module of the second device. The SIM call session monitoring proxy module of the first device is configured to return a remote IMS handover success instruction (or a response message corresponding to the IMS service request) sent by the second device to the IMS management module in the telephony manager.
The distributed service module may further include a distributed cellular communication control module, a distributed bus 8103, etc., and the functions of the distributed cellular communication control module and the distributed bus 8103 may be described in the corresponding embodiment of fig. 6 (or fig. 7), which is not described herein. The first device may further include: an IMS APK, which may include an IMS service module, wherein the IMS service module provides services related to IMS, and the IMS service module is used for interacting with a modem side or an audio side to realize functions related to IMS.
The HAL may include: audio HAL8105, and audio stream forwarding module 8106. The audio HAL8105 is configured to implement switching of a forwarding mode of audio data according to an instruction for indicating channel switching sent by the remote IMS service module, for example, the audio HAL may switch the forwarding mode of the audio data from a local mode to a remote mode. Further, the audio HAL8105 may send an instruction for indicating channel switching to the audio stream forwarding module 8106, so that the audio stream forwarding module 8106 may switch a transmission channel of audio data, thereby implementing remote forwarding of the received voice packet to the second device.
In a possible implementation, the HAL of the second device may include: audio HAL8108, audio stream forwarding module 8107, and RIL, which may enable data forwarding between IMS service modules and modems. The function of the audio HAL8108 in the second device may be similar to that of the audio HAL8105 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 again.
The audio stream forwarding module 8106 may implement forwarding of voice packets. For example, the audio stream forwarding module 8107 in the second device may be configured to forward the speech packet received by the modem of the second device from the network side to the first device, so that the first device may play the speech packet sent by the second device based on the speaker. Alternatively, the audio stream forwarding module 8106 in the first device may be further configured to forward the voice packet received based on the microphone to the modem of the second device, and forward the voice packet to the network side by the modem of the second device.
In a possible implementation manner, the HAL of the first device may also include RIL, which may be used to implement data forwarding between the IMS service module of the first device and the modem of the first device. Wherein, RIL may be included in the RIL.
A SIM hard card can be connected in a modem of the first device; the modem of the second device may or may not be connected to the SIM card.
It is understood that the software architecture of the second device is similar to that of the first device in the embodiment corresponding to fig. 8, and functions in the software architecture may be similar to those described in the embodiment corresponding to fig. 8, and will not be described herein.
It will be appreciated that the distributed cellular communication control module of the first device may determine to send a remote IMS handover instruction to the second device, e.g. the distributed cellular communication control module of the first device may instruct the remote IMS service module 8101 to send a remote IMS handover instruction to the remote SIM service module 8102 of the second device.
Wherein the remote IMS handover instruction is to instruct the first device to remotely use the IMS communication capability of the second device.
S8001, the IMS call session proxy module in the remote IMS service module 8101 of the first device sends a remote IMS handover command to the IMS call session proxy module in the remote IMS service module 8102 of the second device.
Illustratively, the IMS call session proxy module in the remote IMS service module 8101 sends the remote IMS handover 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.
In the embodiment of the application, the first device may 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 of the remote IMS handover command to the local IMS service module, but forward the request to the second device via the IMS call session proxy module.
S8002, the IMS call session proxy module of the second device sends the remote IMS switch instruction to an IMS management module in the telephone manager.
S8003, the IMS management module sends the remote IMS switch instruction to the IMS service module.
S8004, the IMS service module sends the remote IMS switch instruction to a modem of the second device.
In a possible implementation, the IMS service module may send a remote IMS handover command to the RIL, and the RIL continues to send the remote IMS handover command to the modem of the second device.
When receiving the remote IMS switch instruction, the modem can acquire IMS registration information and return a remote IMS switch 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 long term evolution voice bearer (voice over long term evolution, VOLTE) or new air interface bearer voice (voice over new radio, VONR).
S8005, the modem of the second device sends a remote IMS switch success instruction to the IMS service module.
In a possible implementation manner, the modem of the second device sends the remote IMS handover success instruction to the RIL, and the RIL continues to send the remote IMS handover success instruction to the IMS service module.
S8006, the IMS service module sends a remote IMS switching success instruction to an IMS management module in the telephone manager.
S8007, the IMS management module sends the successful instruction of the remote IMS switch to an IMS call session monitoring proxy module in the remote IMS service module 8102.
It will be appreciated that the IMS management module may create a proxy object for the IMS call session listening proxy module such that the IMS management module does not forward the received request for a remote IMS handover success instruction to the local IMS telephony module, but rather to the first device via the IMS call session listening proxy module.
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.
Specifically, the IMS call session monitoring agent module of the second device may send a remote IMS handover success instruction to the IMS call session monitoring agent module of the first device using the distributed bus 8104 of the second device and the distributed bus 8103 of the first device.
In a possible implementation, the IMS call listening agent may return a remote IMS handover success instruction to the application layer of the first device based on the steps shown in S8009-S8011.
It can be appreciated that, since there are a lot of frequent IMS call session method invocations for querying current state information during the processing of IMS services, such as querying a call identifier (getCallId), querying a call state (getState), querying a multiparty conference message (multiparty), etc. Therefore, in consideration of network overhead and instantaneity, the call requests of all the first devices are not directly forwarded to the second device call, but a local caching mode is adopted: the second device can actively synchronize its own state to the first device and store the state in a local cache module of the first device; when the first device needs to query the current state, the IMS call session proxy module may directly obtain data from the local cache module.
It can be appreciated that at this time, part of the interfaces in the IMS call session proxy module may be changed from the synchronous call mechanism to the notification caching mechanism. The local buffer module may be disposed in the remote IMS service module, or may be disposed at another location, which is not limited in the embodiment of the present application.
S8009, the IMS call session monitoring proxy module of the first device sends a remote IMS switching success instruction to an IMS management module.
And S8010, the IMS management module sends a remote IMS switching success instruction to the IMS telephone module.
And S8011, the IMS telephone module sends a remote IMS switching success instruction to an application layer of the first equipment.
When the application layer of the first device receives IMS registration information in an IMS handover success instruction from the second device, the first device may display a High Definition (HD) identifier in a status column of the interface, where the HD identifier is used to instruct the first device to start a high definition voice call function.
In a possible implementation manner, in a case that the first device is provided with the IMS communication capability of the second device based on the steps shown in S8001-S8011, the first device may complete any IMS service based on the data interaction with the second device.
The IMS service is exemplified as an IMS call service. For example, when the application layer of the first device receives the IMS call service request, the application layer of the first device may send the calling service request to an 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, which sends the IMS service request to the IMS call session proxy module of the first device in proxy mode, and further forwards the calling service request to the modem of the second device by the first device based on the path described in the steps shown in S8001-S8004. The second device may 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 for indicating the second equipment to allow the first equipment to execute the IMS call service.
Further, the first device may 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, where the modem of the second device sends the voice packet to the network side. Alternatively, the modem of the second device may 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. The first equipment can complete connection of the call in the IMS service by using the second equipment.
It can be appreciated that since the 3GPP supports two ways of providing call services at present, namely CS domain call and Packet Switched (PS) domain call. The IMS domain call may be a call mode commonly used in PS domain call.
For CS domain calls, a software implementation of CS domain calls may refer to the corresponding embodiment of fig. 9. Fig. 9 is a schematic flow chart of a CS domain call according to an embodiment of the present application.
As shown in fig. 9, the CS domain call flow may involve a telephony application, a telephony manager, a RILD, and a modem. Wherein the phone application and phone manager can be understood as a chip-independent software module common to android platforms; RILD and modem are understood to be software modules associated with a chip. Wherein the software module related to the chip can be understood as a module provided by a manufacturer of the chip or as a module related to the chip which can only run in the chip provided by the corresponding manufacturer of the chip; the chip independent software module is an android platform native software module that can run on any chip vendor supplied chip.
It will be appreciated that referring to the CS call flow corresponding to fig. 9 and the remote modem function corresponding to fig. 6, the telephny needs to interact with the RILD through a standard IRadio HIDL/AIDL interface. Therefore, the CS call service can be realized based on the data transmission flow corresponding to the remote modem function.
For IMS domain calls, a software implementation of IMS domain calls may be referred to the corresponding embodiment of fig. 10. Fig. 10 is a schematic flow chart of IMS domain call according to an embodiment of the present application.
As shown in fig. 10, the IMS domain call flow may involve a telephony application, a telephony manager, an IMS APK, a RILD, and a modem. Wherein the phone application and phone manager can be understood as a chip-independent software module common to android platforms; the IMS APK, RILD and modem can be understood as software modules related to the chip.
It can be understood that referring to the IMS call flow corresponding to fig. 10, only the interface in the application framework layer is defined in the android software architecture, and the HIDL/android interface definition language (android interface definition language, AIDL) interface interacting with the RILD in the IMS call is implemented depending on the IMS APK of the respective chip manufacturer, and has no uniform interface definition, so that the message forwarding of the IMS service cannot be implemented by the proxy HIDL interface/AIDL interface. For example, the chip manufacturer 1 needs to use the IMS APK provided by the chip manufacturer 1, and the chip manufacturer 1 cannot use other IMS APKs provided by the chip manufacturer 1.
Thus, the proxy access point for the remote IMS function may be moved up to the IMS management module in the telephony manager so that IMS traffic may be forwarded to the remote IMS service module through the proxy of the IMS management module. The specific process of the IMS management module when performing proxy may refer to the embodiment corresponding to fig. 8, which is not described herein.
Based on the method, the first device can utilize the second device to realize connection of multiple services such as CS call service, IMS call service and the like, enrich the use scope of the connection method of the cellular communication capability, and further improve the use experience of the user on the device.
The procedure of starting the cellular communication capability continuing function by the first device or the second device in S401 based on the above-described embodiment corresponding to fig. 4 may refer to the embodiment corresponding to fig. 11.
Fig. 11 is a schematic diagram of an interface for turning on a connection function of a cellular communication capability according to an embodiment of the present application. In the embodiment corresponding to fig. 11, the method for starting the cellular communication capability connection function by the first device and taking the first device as a mobile phone is illustrated by taking the first device as an example, and the method for starting the cellular communication capability connection function by the second device may refer to the description in the embodiment corresponding to fig. 11, which will not be described in detail.
When the first device receives an operation of opening the setting function by the user, the first device may display an interface as shown in a in fig. 11, which may include: a text box for searching for setting items, a control for logging in to an account, a control for setting WLAN, a control for setting bluetooth, a control 1101 for setting a mobile network, a control for setting a super terminal, a control for setting more connections, and the like. Wherein the account number for the login may be 1234567XXXX.
In a possible implementation manner, the operation of the opening setting function may be: the setting function is opened by the user in the desktop aiming at the triggering of the control corresponding to the setting function, or the setting function is opened by the user in the background multitasking interface aiming at the triggering of the thumbnail corresponding to the setting function, etc., which is not limited in the embodiment of the application.
In the interface shown as a in fig. 11, when the first device receives a trigger operation by the user for the control 1101 for setting the mobile network, the first device may display the interface shown as b in fig. 11. An interface as shown in b in fig. 11, which may include: controls for turning on the flight mode, controls for setting movement data, controls for setting personal hot spots, controls 1102 for setting SIM card management, controls for traffic management, indication information for indicating whether other settings are being sought, controls for making call settings, etc.
In the interface shown as b in fig. 11, when the first device receives a trigger operation by the user for the control 1102 for setting SIM card management, the first device may display the interface shown as c in fig. 11. The interface shown in c in fig. 11 may be an interface corresponding to a SIM card management function, where the interface may include: card 1 in the card-inserted state, and card 2 in the card-inserted state, a control for setting default movement data, a control for setting default dialup card, a control for setting call transfer between two cards, a control for setting device signal relay (or referred to as a control for setting a cellular communication capability connection function) 1103, and the like. Wherein the card 1 may correspond to a phone number of 1234567XXXX, the card 1 may provide the first device with a 5G/4G/3G/2G network under XX mobile vendor; the card 2 may correspond to a 1324567XXXX cell phone number, the card 2 may provide the first device with a 5G/4G/3G/2G network under XX Mobile vendor, and the default movement data may correspond to card 1 or card 2.
In the interface shown as c in fig. 11, when the first device receives a trigger operation by the user for a control 1103 for setting a device signal relay (or referred to as a control for setting a cellular communication capability continuation function), the first device may display the interface shown as d in fig. 11. The interface shown as d in fig. 11 may include: a control 1104 for turning on or off the device signal relay, a control for exiting the device signal relay, indication information for indicating the device relay, and indication information for indicating a signal relay condition.
Wherein, the indication information for indicating signal relay can be displayed as: and under the condition that no cellular network signal exists in a basement and the like, communicating and receiving short messages by using the cellular networks of other idle equipment.
The indication information for indicating the signal relay condition may be displayed as: the trigger device signal relay needs to meet the following conditions: 1. the user has a plurality of mobile phones/tablets and logs in the equipment account; 2. the equipment is opened with a signal relay switch; 3. other devices for relay require a free slot.
In a possible implementation manner, the other device (for example, the second device) of the user relay may also have no spare card slot, which is not limited in the embodiment of the present application.
It will be appreciated that since the first device may normally trigger the device signal relay without cellular network signals and with access to WI-FI. Therefore, the instruction information for instructing the signal relay condition in the interface shown in d in fig. 11 may also be displayed: 1. the local machine has no signal of the cellular network; 2. the user has a plurality of mobile phones/tablets and logs in the equipment account; 3. the devices all need to be connected with WI-FI;4. the equipment is opened with a signal relay switch; 5. other devices for relay require a free slot.
In a possible implementation manner, other content may be displayed in the indication information for indicating the signal relay condition in the interface shown in d in fig. 11, which is not limited in the embodiment of the present application.
In the interface shown in d in fig. 11, when the first device receives a trigger operation of a user for opening or closing the control 1104 for device signal relay in the state that the device cellular communication capability connection function is closed, the first device may open the device cellular communication capability connection function and register in the communication service cloud by using the device account number.
It can be understood that, when the second device opens the cellular communication capability connection function based on the embodiment corresponding to fig. 11, the second device may also register in the communication service cloud by using the device account number, and further the communication service cloud may establish a secure data channel for the first device and the second device.
In the case where both the first device and the second device turn on the switch of the cellular communication capability connection function based on the embodiment corresponding to fig. 11, the first device may initiate connection of the cellular communication capability to the second device automatically recommended to the first device when detecting that the network signal is weak or no (see the embodiment corresponding to fig. 12); alternatively, the first device may initiate a connection of the cellular communication capability based on the user selected second device upon detecting that the network signal is weak or absent (see corresponding embodiment of fig. 13).
In one implementation, a first device may initiate a continuation of cellular communication capabilities to a second device that the first device automatically recommends when it detects that a network signal is weak or no.
Fig. 12 is a schematic diagram of an interface for triggering connection of cellular communication capability according to an embodiment of the present application.
When the first device detects that the network signal is weak or no network signal, the first device may display an interface as shown by a in fig. 12, and the status bar of the interface may display: an identification 1201 for indicating the network signal condition, an identification for indicating the connection WIFI, and a popup 1202. Wherein the identification 1201 may be understood that card 1 (or card 2) in the first device has no network signal; it will be appreciated that the identifier 1201 may also be displayed as a signal pattern with a signal grid, where the signal pattern with a signal grid is used to indicate that the current network signal is weak, which is not limited in the embodiment of the present application.
It will be appreciated that when there is a dual card for the first device and neither card 1 nor card 2 has a network signal, two identifiers 1201 may be displayed in the status bar in the interface shown as a in fig. 12.
In a possible implementation, when the first device includes only one SIM card, the popup 1202 may include only: a card 1 relay control or a card 2 relay control.
The popup 1202 may include: the instruction information for recommending signal relay using the second device, the control for instructing signal relay to the card 1 in the first device (or referred to as a card 1 relay control), the control for instructing signal relay to the card 2 in the first device (or referred to as a card 2 relay control), and the control for canceling the connection of the cellular communication capability (or referred to as a cancellation control). The indication information for recommending the second device to perform signal relay may be: and recommending to use the second equipment to relay the signals, wherein the second equipment has no cellular signal, and after relay, the idle cellular signal of the second equipment can be used for communicating and sending short messages.
It is appreciated that the second device in the pop-up window 1202 may be a second device that is automatically recommended for the first device. For example, the second device may be: the second device providing the first device with the function of continuing the cellular communication capability, the second device with the largest number of uses among the plurality of second devices providing the first device with the function of continuing the cellular communication capability, the first device based on any one of the plurality of second devices detected in the communication service cloud, and the like. Alternatively, the second device may be understood as a second device that may provide a connection for cellular communication capabilities for the first device, or may be referred to as one of the relay-capable devices described in the corresponding embodiment of fig. 5.
In a possible implementation, since the relayed first device may use the idle cellular signal of the second device to perform multiple cellular communication functions, the cellular communication functions may include talking, sms, push-to-talk, and surfing the internet. Thus, other indication information may also be displayed in the popup 1202, such as: the first device has no cellular signal, and after relay, the first device can use the idle cellular signal of the second device to perform multiple functions such as talking, sending a short message, logging in by one key, surfing the internet, etc., and in the embodiment of the present application, the indication information displayed in the popup window 1202 is not specifically limited.
In a possible implementation, when there is one SIM card in the first device, only the card 1 relay control or the card 2 relay control may be displayed in the interface shown by a in fig. 12.
In the interface (or referred to as a first interface) shown in a in fig. 12, when the first device receives a trigger operation of the user for the card 1 relay control (or the card 2 relay control), the first device may initiate a connection of the cellular communication capability to the second device, and display the interface (or referred to as a fourth interface) shown in b in fig. 12 when the connection is completed. Alternatively, when the first device receives the triggering operation of the user for the cancel control, the first device may cancel the display popup 1202, which may be understood that the user does not need to perform the connection of the cellular communication capability.
The card 1 relay control and the card 2 relay control may be referred to as target controls, and any one of the card 1 relay control and the card 2 relay control may be referred to as a first control.
In a possible implementation manner, when the first device detects that the network signal is weak or no network signal, the first device may only display the indication information in the interface indicated by a in fig. 12, where the indication information is used to recommend that the second device perform signal relay, and actively initiate connection of the cellular communication capability to the second device, so that the second device provides connection of the cellular communication capability for any SIM card with weak or no network signal in the first device.
In a possible implementation manner, the first device may store: the first device is provided with device information of the second device that is connected (e.g., the device ID of the second device). For example, in the case where the second device provides the first device with at least one connection of cellular communication capability, when the first device detects that the network signal is weak or no network signal, the first device may actively provide the last time with the second device that is connected, initiate connection of cellular communication capability, so that the second device provides connection of cellular communication capability for any SIM card in the first device that is weak or no network signal. In this scenario, the first device may not display the interface shown as a in fig. 12.
In the interface shown as b in fig. 12, the interface may include: a popup window 1203, where the popup window 1203 may include: the information indicating the connection condition of the cellular communication capability (or may be referred to as information indicating the relay condition of the signal), the information indicating the relay time, the control for stopping the relay, the control for switching the relay equipment, and the control for switching the relay card.
Wherein, the indication information for indicating the connection condition of the cellular communication capability can be displayed as follows: the second device is being used for signal relay for your card 2. The information indicating the relay time may be displayed as 00:01. In the interface shown as a in fig. 12, the second device may be displayed as a device model.
It will be appreciated that an identifier 1204 for indicating the network signal condition of the second device, and an identifier 1205 (or referred to as the first identifier) for indicating that the device is performing signal relay, may also be displayed in the status bar of the interface shown in b in fig. 12. The first device may switch from a state without a network signal corresponding to the identifier 1201 shown in a in fig. 12 to a state with a better network signal corresponding to the identifier 1204 (or referred to as a second identifier) shown in b in fig. 12.
For example, as shown in an interface a in fig. 12, two identical identifiers 1201 may be displayed in the first device, and the two identifiers 1201 may indicate that the card 1 and the card 2 in the first device are both in a state without network signals. When the first device receives the triggering operation of the user for the card 2 relay control in the popup window 1202, the first device may display an interface as shown in b in fig. 12, where the interface may indicate that the card 1 is still in no network signal, and an identifier 1204 in the interface is used to indicate that the card 2 in the first device is in a 5G network signal, and the signal quality of the 5G network signal is better. It will be appreciated that the network signal of the card 2 in the first device may be relayed to the first device by the second device, and that the user will not perceive whether the card 2 is a local SIM card or a SIM card of the second device when using the card 2 in the first device, improving the user experience of using cellular communication functions in the first device.
In a possible implementation manner, when the second device recommended by the first device in the embodiment corresponding to fig. 12 is not the device required by the user, the user may also switch to another second device based on the control for switching the relay device in the interface shown in b in fig. 12. For example, when the first device receives a trigger operation by the user for a control for switching the relay device in the interface shown in b in fig. 12, the first device may display the interface shown in b in fig. 13, and a second device that is relay-capable may be displayed in the interface shown in b in fig. 13.
In a possible implementation manner, the user may also switch the SIM card that needs to be connected in the first device based on the control for switching the relay card in the interface shown in b in fig. 12.
In a possible implementation manner, the popup window 1203 in the interface shown in b in fig. 12 may cancel the display after displaying the threshold for a period of time, so that the popup window 1203 is prevented from affecting other functions of the first device that are normally used by the user, and at this time, the user may continue to view the popup window 1203 at the control center of the first device.
In another implementation, the first device may initiate a continuation of the cellular communication capability based on the user selected second device upon detecting that the network signal is weak or absent.
Fig. 13 is a schematic diagram of another interface for triggering connection of cellular communication capability according to an embodiment of the present application.
When the first device detects that the network signal is weak or no network signal, the first device displays an interface (or referred to as a third interface) as shown by a in fig. 13, where a popup window 1300 (or referred to as a first popup window) may be included in the interface, where the popup window 1300 may include: indication information for recommending the indication information for signal relay (or referred to as indication information for recommending the connection of the cellular communication capability to the first device), confirmation control (or referred to as first confirmation control for confirming the connection of the cellular communication capability), cancel control (or referred to as first cancel control for canceling the connection of the cellular communication capability), and the like. The indication information for recommending signal relay can be displayed as follows: the signal relay function is recommended to be used, the local machine has no cellular signal, and idle cellular signals of other equipment can be used for communication and short message sending after relay. The confirmation control is used for confirming the connection of the cellular communication capability, and the cancellation control is used for canceling the connection of the cellular communication capability.
In the interface shown as a in fig. 13, when the first device receives a trigger operation of the user for the confirmation control, the first device may display the interface shown as b in fig. 13 (or referred to as a second interface). The interface shown in b in fig. 13 may include: the list of devices, for example, may include: the second device 1301, the second device 1302, and the second device 1303 may be similar to those shown in d in fig. 11, and will not be described here. The control corresponding to any one of the second device 1301, the second device 1302, and the second device 1303 may also be referred to as a second control.
In the interface shown in b in fig. 13, when the first device receives a trigger operation of the user for any of the relay-capable devices, such as the second device 1301, the first device may determine that signal relay is performed by the second device 1301, and display the interface shown in c in fig. 13 (or referred to as the first interface). The interface shown in c in fig. 13 may include: a popup 1304, the popup 1304 may include: instruction information for recommending signal relay using the second device 1301, cancellation control, control for instructing relay to the card 1 of the first device (or referred to as card 1 relay control), control for relay to the card 2 of the first device (or referred to as card 2 relay control), and the like.
The indication information for recommending the second device 1301 to perform the signal relay may be displayed as: and the second device 1301 is used for relaying signals, and after relaying, the idle cellular signals of the second device 1301 can be used for communicating and sending short messages. The second device 1301 may also be displayed as a device model.
In the interface shown in c in fig. 13, when the first device receives a trigger operation by the user for the card 2 relay control in the pop-up window 1304, the first device initiates 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 may also switch from the interface shown in c in fig. 13 to the interface shown in b in fig. 12 when the connection is completed.
In a possible implementation, when a SIM card is present in the first device, only the card 1 relay control or the card 2 relay control may be displayed in the interface shown in c in fig. 13.
Based on the method, the first equipment can automatically initiate the connection of the cellular communication capability based on the recommended second equipment, or the first equipment can manually initiate the connection of the cellular communication capability based on the second equipment selected by the user, so that the user experience of using the function of connecting the cellular communication capability is improved.
In a possible implementation manner, the first device may also support the first device to automatically initiate the connection of the cellular communication capability based on the recommended second device, or the first device may manually initiate the connection of the cellular communication capability based on the second device selected by the user. For example, the first device may provide the user with an automatic control that may be used to instruct the first device to automatically initiate a continuation of the cellular communication capability based on the recommended second device. Wherein the on-switch of the automatic control may be provided in the interface shown as b in fig. 13.
For example, in the case that the automatic control is in an on state, the first device may initiate a 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 that the network signal is not present; alternatively, in the case where the automatic control is in an off state, the first device may initiate a continuation of the cellular communication capability based on the user selected second device upon detecting that the network signal is weak or no. Further, the second device can automatically provide a connection of cellular communication capability for any SIM card with weak or no network signal in the first device.
Based on the method, the user can select a mode which is more suitable for the user to initiate the connection of the cellular communication capability according to the self requirement, so that the flexibility of the user in using the connection function of the cellular communication capability is enhanced.
In the case where the second device provides the first device with a cellular communication capability connection function, the second device may display indication information for indicating the connection condition.
Fig. 14 is an interface schematic diagram of a second device displaying a connection situation according to an embodiment of the present application.
In the case that the first device initiates connection of the cellular communication capability to the second device based on the triggering operation of the user on any SIM card force control in the interface shown in c in fig. 13, the first device and the second device may implement connection of the cellular communication capability based on the embodiment corresponding to fig. 5, and further the second device displays the interface shown in fig. 14, where the interface shown in fig. 14 may include: an identification 1402 indicating that the device is performing a signal relay, and a pop-up window 1401.
The popup 1401 may include: information indicating a connection time, indication information indicating a connection condition, and/or a control for stopping connection (or referred to as a stop relay control). Wherein, the indication information for indicating the connection condition may be displayed as: the device signal relay is 00:01, and the local device is relaying the signal for the first device, which is relayed for 0 minutes. The local call short message service may be affected. Alternatively, the indication information for indicating the connection condition may be displayed as: device signal relay 00:01, the local machine is relaying the signal for the card 1 in your first device, which has been relayed for 0 minutes. The local call short message service may be affected. (not shown in FIG. 14)
In the interface shown in fig. 14, the first device may be displayed as a device model. The interface shown in fig. 14 may further include: time information, clock controls in dock, calendar controls, phone controls, information controls, and the like.
In a possible implementation manner, the status bar of the second device may also display an identifier for indicating that the second device is not inserted into the SIM card, which is not limited in the embodiment of the present application.
Based on the above, the first device and the second device can prompt the user about the connection condition of the current cellular communication capability in the respective devices, so that the user can use the first device or the second device according to the connection condition in time, and further the use experience of the user for using the connection function is enhanced.
In a possible implementation manner, on the basis of the embodiment corresponding to fig. 14, when the second device receives an operation of opening an interface for setting a cellular communication capability continuing function by a user, or the second device receives a triggering operation or the like of the user for the pop-up window 1401 in the interface shown in fig. 14, the second device may view the device that is relaying.
Fig. 15 is an interface schematic diagram of another second device displaying a connection situation according to an embodiment of the present application.
When the second device receives an operation of a user opening an interface for setting a cellular communication capability continuing function, or the second device receives a trigger operation or the like for the pop-up window 1401 in the interface shown in fig. 14 by the user, the second device may display the interface shown in fig. 15. As shown in fig. 15, the interface may display: the control for turning on or off the device signal relay, and the device being relayed, such as the first device, are similar to the interface shown in d in fig. 11, and will not be described again.
Based on the method, the second equipment can also check the relay equipment at any time based on the user requirement, so that the user can use the first equipment or the second equipment according to the connection condition in time, and the use experience of the user for using the connection function is further enhanced.
In the case where the second device provides a cellular communication capable connection for the first device, the first device may also view the connection in the control center.
Fig. 16 is an interface schematic diagram of a first device displaying a connection situation according to an embodiment of the present application.
When the first device receives an operation that the user slides down along the top of the first device in the desktop state, the first device may display an interface corresponding to the pull-up control center, for example, the first device displays an interface (or referred to as a fourth interface) shown as a in fig. 16, where the interface may include: the popup 1601 may be similar to the popup 1203 in the interface shown in b in fig. 12, and will not be described here.
In the embodiment of the application, the first device can stop signal relay based on the trigger of the user for stopping the relay control, or can automatically stop signal relay when detecting that the machine is not used for a long time.
In one implementation, the first device stops signal relay based on a user triggering a stop relay control.
In the interface shown as a in fig. 16, when the first device receives a trigger operation of the user for the stop relay control in the pop-up 1601, the first device may display the interface shown as b in fig. 16 (or referred to as a fifth interface). An interface shown in b in fig. 16 may include a popup window 1603, where indication information for indicating interruption of signal relay (or indication information for indicating interruption of cellular communication capability connection) may be displayed in the popup window 1603. Wherein, the indication information for indicating the relay interruption of the signal can be displayed as follows: the signal relay is interrupted, and the local signal is restored.
In a possible implementation, when the first device receives a trigger operation for the stop relay control in the interface shown in b in fig. 12, the first device may also display the interface shown in b in fig. 16.
In the case of signal relay interruption, two identifiers 1602 for indicating that no network signal is present may be displayed in the top status bar of the interface shown in b in fig. 16, and the identifier for indicating that the device is performing signal relay may be omitted from being displayed in the status bar, and other contents displayed in the interface may be similar to those displayed in the interface shown in b in fig. 13, which will not be repeated here.
In another implementation, the first device automatically stops the signal relay upon detecting that the local device is not in use for a long period of time.
Fig. 17 is an interface schematic diagram of a first device stop signal relay according to an embodiment of the present application. For example, when the first device detects that the time when any of the cellular communication services is not used by itself exceeds a time threshold, the first device may automatically stop the signal relay and display an interface (or sixth interface) as shown in fig. 17. As shown in fig. 17, the interface may include: indication information 1701 for indicating that the first device detects that any of the cellular communication functions is not used and stops signal relay, such as the indication information 1701 for indicating stopping signal relay may be displayed as: and detecting that the machine is not used for a long time, stopping signal relay, and recovering to use the machine signal. The indication information 1701 may be: and the indication information is used for indicating that the first equipment detects that any cellular communication function is not used and interrupting the connection of the cellular communication capability.
An identifier 1702 indicating no network signal may also be displayed in the status bar in the interface shown in fig. 17.
Based on the above, when the signal relay is stopped, the first device can display the indication information for indicating the signal relay to stop in the interface, so that the user can timely perceive the connection condition of the current device.
On the basis of the embodiment corresponding to fig. 17, the first device may also initiate a prompt when the user turns off the switch of the cellular communication capability connection function.
Fig. 18 is an interface schematic diagram of a first device for closing a cellular communication capability connection function according to an embodiment of the present application.
The first device displays an interface (or referred to as a seventh interface) as shown in a in fig. 18, and the content displayed in the interface may be similar to the content shown in b in fig. 13, which will not be described again. In the case where the control 1801 for opening or closing the device signal relay (or referred to as a third control) is in an on state in the interface shown as a in fig. 18, when the first device receives a trigger operation by the user for the control 1801 for opening or closing the device signal relay, the first device may display the interface shown as b in fig. 18. The interface shown in b in fig. 18 may include: a pop-up window 1802 (or referred to as a second pop-up window), the pop-up window 1802 may include therein: a control for canceling the closing device signal relay (or called a cancel control), a control for closing the device signal relay (or called a close control), and indication information for indicating the closing device signal relay. Wherein, the indication information for indicating the signal relay of the closing device can be displayed as: after closing, the signal relay is interrupted, and the signal that the equipment logging in the same equipment account is relayed to the local can not be received is not closed?
In the interface shown in b in fig. 18, when the first device receives the triggering operation of the user for the closing control in the pop-up window 1802, the first device may display an interface shown in c in fig. 18, where the content displayed in the interface shown in c in fig. 18 is similar to the content displayed in the interface shown in d in fig. 11, and will not be described herein. The close control in the pop-up window 1802 may also be referred to as a second confirmation control, where the second confirmation control is used to confirm whether to close the cellular communication capability continuing function again.
In a possible implementation manner, when the first device receives a trigger operation of the user for closing the control in the interface shown in b in fig. 18 under the condition that the first device is kept connected with the second device, the first device may display an identifier 1803 for indicating that no network signal is available in a task bar of the interface shown in c in fig. 18, which may be understood that the first device forcibly interrupts the signal relay between the first device and the second device, so that the first device may switch from a state where the network signal is good to a state where the network signal is weak or no network signal is available.
It will be appreciated that in the case where the first device remains in continuity with the second device, the signal relay may be interrupted between the first device and the second device when the first device turns off the switch of the cellular communication capability continuity function. In a case where the first device and the second device are kept connected, the signal relay can be interrupted between the first device and the second device when the second device turns off the switch of the cellular communication capability connection function.
In a possible implementation manner, in a case where the first device has interrupted the signal relay based on the embodiment corresponding to fig. 18 or fig. 17, when the first device receives a triggering operation of the user for closing the control in the interface shown as b in fig. 18, the first device may display the interface shown as c in fig. 18. In this scenario, the content displayed by the first device in the status bar in the interface shown in c in fig. 18 may be similar to the content displayed in the status bar in the interface shown in fig. 17, and will not be described again.
Based on the method, the device can support the situation that the first device cannot execute the cellular communication service when the user directly closes the switch of the cellular communication capability connection function when the user is prompted to interrupt signal relay when the switch of the cellular communication capability connection function is closed, and further improve the use experience of the user using the cellular communication capability connection function.
Based on the embodiment corresponding to fig. 4, when the first device receives any IMS call service, the first device may complete an IMS call based on the embodiment corresponding to fig. 19 described below.
Fig. 19 is a schematic flow chart of an IMS call method based on cellular communication capability connection according to an embodiment of the present application.
As shown in fig. 19, the IMS call method based on the cellular communication capability connection may include the following steps:
s1901, when the first device receives the operation of dialing the phone by the user, the phone application of the first device sends an IMS calling call service request to the IMS phone module of the first device.
The IMS calling call service request may include dialing information, such as a phone number, when a call is made.
S1902, an IMS telephone module of the first device sends an IMS calling call service request to an IMS management module.
S1903, the IMS management module of the first device sends an IMS calling call service request to the IMS call session proxy module.
For example, the IMS management module of the first device may send an IMS caller telephony service request to the IMS call session proxy module based on the proxy mode.
S1904, the IMS call session proxy module of the first device sends an IMS calling call service request to the cloud connection module of the first device.
S1905, the cloud connection module of the first device sends an IMS calling call service request to the cloud connection module of the second device.
In a possible implementation manner, the cloud connection module of the first device may send the IMS calling session service request to the communication service cloud, and the communication service cloud continues to send the IMS calling session service request to the cloud connection module of the second device.
S1906, the cloud connection module of the second device sends an IMS calling call service request to the IMS call session proxy module of the second device.
S1907, the IMS call session proxy module of the second device sends an IMS calling call service request to an IMS management module of the second device.
S1908, the IMS management module of the second device sends an IMS calling call service request to the IMS APK of the second device.
The IMS service module in the IMS APK of the second device may receive the IMS caller session service request.
S1909, the IMS APK of the second device sends an IMS calling call service request to the modem of the second device.
Illustratively, the IMS APK of the second device may send an IMS caller session service request to the modem of the second device via the RIL.
Adaptively, when the modem of the second device receives the IMS calling call service request, the second device may forward the IMS calling call service request to the network side; and transmits a response message corresponding to the IMS caller session service request to the telephony application of the first device based on the path described in the steps shown in S1910-S1920 described below. The response message corresponding to the IMS calling call service request is used for indicating that the IMS call service is successfully established; or the response message corresponding to the IMS calling call service request may be understood as a message that the third device receives the IMS calling call service request sent by the second device and returns the IMS calling call service request to the second device.
It can be appreciated that the other device may be in a ringing state during the process of the second device returning the response message corresponding to the IMS caller session service request.
S1910, the modem of the second device sends a response message corresponding to the IMS calling call service request to the IMS APK of the second device.
The modem of the second device may send a response message corresponding to the IMS calling session service request to the IMS APK of the second device through the RIL.
S1911, the IMS APK of the second device sends a response message corresponding to the IMS calling call service request to an IMS management module of the second device.
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.
The IMS management module of the second device sends a response message corresponding to the IMS calling session service request to the IMS call session listening proxy module of the second device based on the proxy mode.
S1913, the IMS call session monitoring agent module of the second device sends an indication message for indicating the audio channel switching to the audio HAL of the second device.
The audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the switching of the audio channel. 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 acquired by the modem of the second device to the first device, rather than sending the voice packet to a local speaker or receiver through a local audio channel.
In a possible implementation manner, the IMS management module of the second device may also send the indication message for indicating the audio channel switch to the audio HAL of the second device, which is not limited in the embodiment of the present application.
S1914, the IMS call session monitoring agent 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.
It may be understood that the IMS call session monitoring proxy module of the second device may perform the steps shown in S1913 and S1914 synchronously, or may perform the steps shown in S1913 and S1914 before and after, which is not limited in the embodiment of the present application.
S1915, the cloud connection module of the second device sends a response message corresponding to the IMS calling call service request to the cloud connection module of the first device.
The cloud connection module of the second device may send a response message corresponding to the IMS calling session service request to the communication service cloud, and the communication service cloud continues to send the response message corresponding to the IMS calling session service request to the cloud connection module of the first device.
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.
S1917, the IMS call session monitoring proxy 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.
S1918, the IMS call session monitoring agent module of the first device sends an indication message for indicating the audio channel switching to the audio HAL of the first device.
The audio HAL may switch the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the audio channel switch. 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 acquired from the DSP to the second device.
In a possible implementation manner, the IMS management module of the first device may also send the indication message for indicating the audio channel switch to the audio HAL of the first device, which is not limited in the embodiment of the present application.
S1919, the IMS management module of the first device sends a response message corresponding to the IMS calling call service request to the IMS phone module of the first device.
S1920, the IMS phone module of the first device sends a response message corresponding to the IMS caller session service request to the phone application of the first device.
It can be understood that, in the case that the first device completes switching the forwarding manner of the audio data to the remote mode based on the step shown in S1918, and the second device also switches the forwarding manner of the audio data to the remote mode based on the step shown in S1913, when the modem of the second device receives the IMS calling call service from the other device, the second device or the first device can remotely forward the voice packet acquired by the second device to the third device, so as to implement the connection of voice. The specific process of remotely forwarding the locally acquired voice packet to the third device by the second device or the first device may refer to the embodiment corresponding to fig. 21, which is not described herein.
In a possible implementation manner, when the modem of the second device receives the IMS called call service, the second device and the first device may also implement connection of voice based on steps shown in S1921-S1931, and so on.
S1921, the modem of the second device sends an IMS called call service request to the IMS APK of the second device.
The IMS called call service request may include: the telephone number of the called party, the information of the place corresponding to the telephone number, and the like.
S1922, the IMS APK of the second device sends an IMS called call service request to an IMS management module of the second device.
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.
Illustratively, the IMS management module of the second device sends an IMS called talk service request to the IMS call session listening agent module of the second device based on the proxy mode.
S1924, the IMS call session listening agent module of the second device sends an indication message to the audio HAL of the second device for indicating the audio channel switch.
The audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the switching of the audio channel. 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 acquired from the modem of the second device to the first device.
In a possible implementation manner, the IMS management module of the second device may also send the indication message for indicating the audio channel switch to the audio HAL of the second device, which is not limited in the embodiment of the present application.
S1925, the IMS call session monitoring agent module of the second device sends an IMS called call service request to the cloud connection module of the second device.
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.
For example, the cloud connection module of the second device may send the IMS called talk service request to the communication service cloud, and the communication service cloud continues to send the IMS called talk service request to the cloud connection module of the first device.
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.
S1928, the IMS call session monitoring proxy module of the first device sends an IMS called call service request to the IMS management module of the first device.
S1929, the IMS call session listening agent module of the first device sends an indication message to the audio HAL of the first device for indicating the audio channel switch.
The audio HAL may switch the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the audio channel switch. 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 acquired from the DSP to the second device.
In a possible implementation manner, the IMS management module of the first device may also send the indication message for indicating the audio channel switch to the audio HAL of the first device, which is not limited in the embodiment of the present application.
S1930, the IMS management module of the first device sends an IMS called call service request to the IMS phone module of the first device.
S1931, the telephone management module of the first device sends an IMS called call service request to the telephone application of the first device.
When receiving the request of the called call service of the IMS, the telephone application of the first device can display the information such as the telephone number corresponding to the called call service, the attribution of the telephone number and the like in an interface.
It can be understood that, in the case where the first device completes switching the forwarding manner of the audio data to the remote mode based on the step shown in S1929, and the second device also switches the forwarding manner of the audio data to the remote mode based on the step shown in S1924, when the first device answers the IMS called call, the first device may also send a 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 through the modem. Further, the second device or the first device may remotely forward the voice packet acquired by the local device to the third device based on the embodiment corresponding to fig. 21, and/or return the network voice packet generated by the third device to the first device, so as to implement voice connection.
It can be understood that, when the IMS service is an IMS sms service, the first device and the second device may also complete connection of the sms service based on the steps shown in S1901-S1931.
It will be appreciated that in the case where there is a SIM card in the second device and there is a free slot in the second device for supporting the first device to make a connection, the call received by the SIM card in the second device will collide with the call service in the first device during the connection. For example, in a case where the first device makes a connection with the second device and the user makes (or receives) a call using the cellular communication capability connection function in the first device, the second device cannot make (or receive) a call to itself. Alternatively, in the case where the first device is connected to the second device and the user does not make (or receive) a call in the first device using the cellular communication capability connection function, the second device may make (or receive) a call to itself.
Based on the above, when the first device and the second device can both realize distributed access to the IMS call service through the IMS call session proxy module and the IMS call session monitoring proxy module.
In a possible implementation manner, based on the embodiment corresponding to fig. 4, when the first device receives any CS call service, the first device may complete the CS call based on the embodiment corresponding to 20 below.
Fig. 20 is a schematic flow chart of a CS call method based on cellular communication capability connection according to an embodiment of the present application.
The CS call method based on the cellular communication capability connection as shown in fig. 20 may include the steps of:
s2001, when the first device receives the operation of dialing the phone by the user, the phone application of the first device may send the CS calling call service request to the phone manager of the first device.
The CS calling call service request may include dialing information, such as a phone number, of the calling party.
S2002, the telephone manager of the first device sends a CS calling call service request to the remote modem service module.
Illustratively, the telephony manager of the first device may send a CS calling talk service request to the remote modem service module based on the proxy mode.
And 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.
S2004, the cloud connection module of the first device sends a CS calling call service request to the cloud connection module of the second device.
In a possible implementation manner, the cloud connection module of the first device may send the CS calling session service request to the communication service cloud, and the communication service cloud continues to send the CS calling session service request to the cloud connection module of the second device.
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.
S2006, the remote modem service module of the second device sends a CS calling call service request to the RIL of the second device.
S2007, the RIL of the second device sends a CS calling call service request to the modem of the second device.
Adaptively, when the modem of the second device receives the CS calling call service request, the second device may forward the CS calling call service request to the network side; and sends a response message corresponding to the CS calling session service request to the phone application of the first device based on the path described in the steps shown in S2008-S2016 described below. The response message corresponding to the CS calling call service request is used for indicating that the CS call service is successfully established.
S2008, the modem of the second device sends a response message corresponding to the CS calling call service request to the RIL of the second device.
S2009, 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.
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.
S2011, the remote modem service module of the second device sends an indication message for indicating the audio channel switching to the audio HAL of the second device.
The audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the switching of the audio channel. 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 acquired by the modem of the second device to the first device, rather than sending the voice packet to a local speaker or receiver through a local audio channel.
It may be understood that the remote modem service module of the second device may perform the steps shown in S2010 and S2011 simultaneously, or may perform the steps shown in S2010 and S2011 before and after, which is not limited in the embodiment of the present application.
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.
The cloud connection module of the second device may send a response message corresponding to the CS calling session service request to the communication service cloud, and the communication service cloud continues to send the response message corresponding to the CS calling session service request to the cloud connection module of the first device.
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.
S2014, the remote modem service module of the first device sends a response message corresponding to the CS calling call service request to the telephone manager of the first device.
S2015, the remote modem service module of the first device sends an indication message for indicating the audio channel switching to the audio HAL of the first device.
The audio HAL may switch the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the audio channel switch. 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 acquired from the DSP to the second device.
S2016, the phone manager of the first device sends a response message corresponding to the CS calling call service request to the phone application of the first device.
It can be understood that, in the case that the first device completes switching the forwarding manner of the audio data to the remote mode based on the step shown in S2015, and the second device also switches the forwarding manner 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 call service from the other device, the second device or the first device can remotely forward the voice packet acquired by the local device to the third device based on the corresponding embodiment of fig. 21, so as to implement the connection of the voice.
In a possible implementation manner, when the modem of the second device receives the CS called call service, the second device and the first device may also implement connection of voice based on steps shown in S2017-S2025, and so on.
S2017, the modem of the second device sends a CS called call service request to the RIL of the second device.
The CS called talk service request may include: the telephone number of the called party, the information of the place corresponding to the telephone number, and the like.
S2018, the RIL of the second device sends a CS called call service request to a remote modem service module of the second device.
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.
S2020, the remote modem service module of the second device transmits an indication message for indicating the audio channel switching to the audio HAL of the second device.
The audio HAL switches the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the switching of the audio channel. In the remote mode, the second device starts an audio stream forwarding module, so that the audio stream forwarding module can remotely forward the voice packet acquired by the modem of the second device to the first device.
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.
For example, the cloud connection module of the second device may send the CS called talk service request to the communication service cloud, and the communication service cloud continues to send the CS called talk service request to the cloud connection module of the first device.
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.
S2023, the remote modem service module of the first device sends a CS called call service request to the phone manager of the first device.
S2024, the remote modem service module of the first device sends an indication message for indicating the audio channel switch to the audio HAL of the first device.
The audio HAL may switch the forwarding mode of the audio data from the local mode to the remote mode when receiving the indication message for indicating the audio channel switch. 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 acquired from the DSP to the second device.
S2025, the phone manager of the first device sends a CS called talk service request to the phone application of the first device.
When receiving the request of the CS called call service, the telephone application of the first device can display the information such as the telephone number corresponding to the called call service, the attribution of the telephone number and the like in the interface.
It may be understood that, in the case where the first device completes switching the forwarding manner of the audio data to the remote mode based on the step shown in S2024, and the second device also switches the forwarding manner of the audio data to the remote mode based on the step shown in S2020, when the first device answers the CS called call, the first device may also send a 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 through the modem. Further, the second device or the first device may remotely forward the voice packet acquired 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 implement voice connection.
Based on the above, the first device and the second device can realize distributed access of CS call service based on the remote modem function.
Based on the embodiment corresponding to fig. 19 or fig. 20, the process of remotely forwarding the locally acquired voice packet to the third device by the first device or the second device may refer to the embodiment corresponding to fig. 21.
Fig. 21 is a schematic flow chart of remote forwarding of a voice packet according to an embodiment of the present application.
It will be appreciated that the manner in which the voice packets are forwarded remotely is similar in the process of the first device and the second device executing an IMS caller call service (or CS caller call service) or an IMS callee call service (or CS callee call service).
As shown in fig. 21, in the process of executing an IMS called call service (or an IMS called call service, or a CS calling call service), the first device may remotely forward a locally acquired voice packet (or referred to as a local voice packet) to the second device based on the steps shown in S2101-S2106; and, the second device may also remotely forward the voice packet (or referred to as a network voice packet) acquired from the network side to the first device based on the steps shown in S2107-S2112.
S2101, when a microphone of the first device collects local audio data, the local audio data are sent to a DSP for audio processing, and after the audio processing, local voice packets are obtained and sent to an audio stream forwarding module of the first device.
And adaptively, performing audio processing on the local audio data by the DSP in the first equipment to obtain a local voice packet. The audio processing method may include: the audio data is encoded, filtered, and the like, which is not limited in the embodiment of the present application.
S2102, the audio stream forwarding module of the first device sends the local voice packet to the cloud connection module of the first device.
It can be understood that, when the first device switches the forwarding manner of the audio data to the remote mode, the first device may start the use of the audio stream forwarding module, so that the audio stream forwarding module may implement sending the local voice packet to the cloud connection module of the first device, and implement remote forwarding of the voice packet by the cloud connection module.
S2103, the cloud connection module of the first device sends a local voice packet to the cloud connection module of the second device.
For example, the cloud connection module of the first device may send the local voice packet to the audio relay cloud, and the audio relay cloud may further forward the local voice packet to the cloud connection module of the second device. The audio relay cloud can be used for forwarding audio data, and the audio relay cloud and the communication service cloud can be cloud servers which operate independently.
S2104, the cloud connection module of the second device sends a local voice packet to the audio stream forwarding module of the second device.
S2105, the audio stream forwarding module of the second device sends the local voice packet to the DSP of the second device.
When the DSP of the second device receives the local voice packet sent by the audio stream forwarding module, the local voice packet can be subjected to audio processing to obtain a processed local voice packet.
S2106, the DSP of the second device sends the processed local voice packet to the modem of the second device.
Further, the modem of the second device may send the processed local voice packet to the network side, so as to implement reporting of the processed local voice packet.
In a possible implementation manner, 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 S2107.
S2108, the DSP of the second equipment performs audio processing on the network audio data to obtain a network voice packet, and sends the network voice packet to an audio stream forwarding module of the second equipment.
S2109, the audio stream forwarding module of the second device sends the network voice packet to the cloud connection module of the second device.
S2110, the cloud connection module of the second device sends the network voice packet to the cloud connection module of the first device.
For example, the cloud connection module of the second device may send the network voice packet to the audio relay cloud, and the audio relay cloud may continue forwarding the network voice packet to the cloud connection module of the first device.
S2111, the cloud connection module of the first device sends the network voice packet to the audio stream connection module of the first device.
S2112, the audio stream connection module of the first device sends the network voice packet to the DSP of the first device.
When the DSP of the first device receives 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 the speaker or the receiver for playing.
Based on the above, the first device and the second device can remotely forward the voice packet acquired by the local device to the third device based on the audio stream forwarding module.
The first device or the second device may also stop the continuing flow based on the embodiment corresponding to fig. 4 or fig. 5.
Fig. 22 is a schematic flow diagram of a stop-and-go flow according to an embodiment of the present application. As shown in fig. 22, the process of stopping the continuous process may include the steps of:
s2201, the interface processing module of the first device sends an instruction for indicating to exit the connection mode to the distributed communication service module of the first device.
In the embodiment of the present application, the first device may initiate a stop-and-go procedure (see the embodiment corresponding to the first method), or the second device may initiate a stop-and-go procedure (see the embodiment corresponding to the second method).
The first equipment initiates a stopping continuing process.
The first device may initiate stopping the continuing process when it is detected that at least one of the following second preset conditions is satisfied, for example, the second preset conditions may include: the first device may stop the continuing flow based on a user's trigger operation for the stop relay control, the first device may stop the continuing flow when the cellular communication network signal is detected to be weak, the first device may stop the continuing flow when the WIFI network signal is detected to be weak, and/or the first device may stop the continuing flow when the first device is detected to be in an off-screen state for a long time and no service function uses the cellular communication capability continuing function.
In one implementation, the first device may stop the continued flow based on a user's trigger operation for a stop relay control. For example, the first device may display an interface shown as a in fig. 16 (or an interface shown as b in fig. 12), in which a stop relay control may be included, and when the first device receives a trigger operation of the user for stopping the relay control, the first device may perform the step shown as S2201.
In a possible implementation manner, the first device may also stop the connection procedure based on the operation of the user to close the cellular communication capability connection function.
In another implementation, the first device may stop the continuing flow when it detects that the cellular communication network signal is weak. Illustratively, the first device may perform the steps shown in S2201 when the first device detects that the RSRP value is below the second ISRP threshold for a period of time greater than T3 (or the first device detects that the RSRP value is below the second ISRP threshold). Wherein, the value of the second RSRP threshold can be 120dBm; the second RSRP threshold may be the same as or different from the first RSRP threshold.
In still another implementation, the first device may stop the continuing process when the WIFI network signal is detected to be weak. For example, when the first device detects that the RSSI value is below the second RSSI threshold for a period of time greater than T4 (or the first device detects that the RSSI value is below the second RSSI threshold), the first device may perform the steps shown in S2201. Wherein, the value of the second RSSI threshold value can be 90dBm; the second RSSI threshold may be the same or different than the first RSSI threshold.
In yet another implementation, the first device may stop the connection flow when it detects that it is in an off-screen state for a long period of time and/or that no traffic is using cellular communication capability connection functionality for a long period of time. For example, the first device may perform the step shown in S2201 when it detects that the first device is in the off-screen state and/or that no service is used for a long time for the cellular communication capability continuing function is longer than T5.
It can be understood that, in order to avoid the situation that the first device frequently stops the connection flow and initiates the trigger connection, the first device may support: when the duration of stopping the continuing flow is less than the T6 duration, the continuing flow described in the step shown in S1724 is not initiated.
In a possible implementation manner, in a case where the first device detects that the number of times that the first device stops the continuing procedure within the duration of T7 is greater than M1, the first device may not initiate the continuing procedure described in the step shown in S1724 when the duration of stopping the continuing procedure is less than 2T 6. For example, when T6 is 1 minute, 2T6 may be 2 minutes.
In a possible implementation manner, in a case where the first device detects that the number of times that the first device stops the continuing procedure within the duration of T8 is greater than M2, the first device may not initiate the continuing procedure described in the step shown in S1724 when the duration of stopping the continuing procedure is less than 4T 6. Wherein 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.
And initiating a stopping continuing process by the second equipment.
The second device may initiate stopping the continuing flow when at least one of the following conditions is detected to be satisfied, for example, the conditions may include: the second device may stop the continuing flow based on a triggering operation of the user on the stop relay control, and/or the second device may stop the continuing flow when the WIFI network signal is detected to be weak.
In one implementation, the second device may stop the continued flow based on a user's trigger operation for the stop relay control. For example, the second device may display an interface as shown in fig. 14, where the interface may include a stop relay control, and 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 further the distributed communication service module of the first device may perform the steps shown in S2202 below.
In a possible implementation manner, the first device may also stop the connection procedure based on the operation of the user to close the cellular communication capability connection function.
In yet another implementation, the second device may stop the continuing process when the WIFI network signal is detected to be weak. For example, when the second device detects that the RSSI value is lower than the second RSSI threshold for a period of time greater than T4, the distributed communication service module of the second device may send an instruction for instructing to exit the continuation mode to the communication service module of the first device, and the distributed communication service module of the first device may perform the steps shown in S2202 described below.
S2202, the distributed communication service module of the first device sends an instruction of exiting the connection mode to the distributed communication service module of the second device.
In a possible implementation manner, when the distributed communication service module of the second device receives the instruction (or called a second message) for exiting the connection mode, the distributed communication service module of the second device may also send a response message corresponding to the instruction for exiting the connection mode to the distributed communication service module of the first device. The response message corresponding to the exit-from-continuing mode instruction is used for indicating the second equipment to receive the exit-from-continuing mode instruction.
S2203, the distributed communication service module of the first device sends a remote IMS function stopping instruction to the distributed communication service module of the second device.
For example, as shown in fig. 8, the distributed communication service module of the first device may send a remote IMS function stopping instruction to the distributed communication service module of the second device based on the path described in the step shown in S8001.
S2204, the distributed communication service module of the second device sends a remote IMS function stopping success instruction to the distributed communication service module of the first device.
For example, as shown in fig. 8, the distributed communication service module of the second device may 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.
In a possible implementation manner, the distributed communication service module of the first device sends a response message corresponding to the remote IMS function stopping success instruction to the distributed communication service module of the second device. The response message corresponding to the remote IMS function stopping success instruction is used for indicating the first equipment to receive the remote IMS function stopping success instruction.
S2205, the distributed communication service module of the second device sends a remote SIM function stopping instruction to the distributed communication service module of the first device.
For example, as shown in fig. 7, the distributed communication service module of the second device may 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 may perform the step shown in S2207.
S2206, the distributed communication service module of the second device sends a remote SIM function stopping instruction to the modem of the second device.
For example, as shown in fig. 7, the distributed communication service module of the second device may send a command to stop the remote SIM function to the modem of the second device based on the path described in the steps shown in S7007-S7008.
S2207, the distributed communication service module of the first device sends a remote SIM function stopping instruction to the modem of the first device.
S2208, the modem of the first device identifies the local SIM card and registers the cellular network with the SIM card information.
When the modem of the first device receives an instruction to stop the remote SIM function, the modem of the first device recognizes the local SIM card, registers the cellular network with the SIM card information, and obtains the network resident information.
It can be understood that, because the modem of the first device remains connected to the modem of the second device at this time, the resident network information acquired by the modem of the first device cannot be reported to the application layer of the first device temporarily.
S2209, the distributed communication service module of the first device sends a remote SIM function stopping success instruction to the distributed communication service module of the second device.
For example, as shown in fig. 7, the distributed communication service module of the first device may 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.
In a possible implementation manner, the distributed communication service module of the second device may send a response message corresponding to the success instruction to the distributed communication service module of the second device, where the remote SIM function stops. The response message corresponding to the remote SIM function stopping success instruction is used for indicating the second equipment to receive the remote SIM function stopping success instruction.
S2210, the distributed communication service module of the first device sends a remote modem function stopping instruction to the distributed communication service module of the second device.
For example, as shown in fig. 6, the first device distributed communication service module may send a remote modem function stop instruction to the distributed communication service module of the second device based on the path described in the step shown in S6001.
S2211, the distributed communication service module of the second device sends a remote modem function stopping success instruction to the distributed communication service module of the first device.
For example, as shown in fig. 6, the distributed communication service module of the second device may 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.
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 may determine that remote access to the modem of the second device has ended. The distributed communication service module of the first device may send a query request to the phone manager of the first device, where 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 may acquire the network resident information based on the query request, and perform the steps shown in S2212.
S2212, the modem of the first device sends the resident information to an interface processing module of the first device.
Illustratively, the modem of the first device may report the network residence 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. When the interface processing module of the first device receives the network information, an identification for indicating that the network signal of the first device is weak or no network signal can be displayed in a status bar of the first device.
S2213, the distributed communication service module of the first device sends a command of finishing exiting the connection mode to the distributed communication service module of the second device.
S2214, the distributed communication service module of the first device sends an exit continuing mode completion instruction to the interface processing module of the first device.
For example, the first device may cancel displaying the indication indicating that the connection is indicating that the device is performing the signal relay, e.g., the status bar of the first device may revert to the state of the first device before the connection.
S2215, the distributed communication service module of the second device sends an exit continuing mode completion instruction to the interface processing module of the second device.
For example, the second device may cancel displaying the indication indicating that the connection is indicating that the device is performing the signal relay, and the status bar of the second device may revert to the status of the second device before the connection.
S2216, the distributed communication service module of the first device sends a message for indicating disconnection of the service long link to the communication service cloud.
S2217, the distributed communication service module of the second device sends a message for indicating disconnection of the service long link to the communication service cloud.
Based on the above, the first device and the second device can end the whole connection flow based on the operation of disconnecting the connection mode by the user, so that the first device and the second device can both recover to the state before connection.
On the basis of the embodiments corresponding to fig. 4 or fig. 5, since more first devices can support the dual-card function, the first devices can determine the SIM card initiating the connection based on the single-card or dual-card situation. For example, in a case where two SIM cards are inserted in the first device and both SIM cards can implement the network residence use at the same time, the first device may determine the SIM card initiating the connection in the step shown in S518.
Fig. 23 is a schematic flow chart of a SIM card selection method when signal relay is initiated according to an embodiment of the present application. As shown in fig. 23, the method for the first device to perform SIM card management may include the following steps:
S2301, the first device determines whether there is a dual card.
Wherein when the first device determines that Shan Kashi exists, the first device may perform the steps shown in S2302; alternatively, when the first device determines that there is a dual card, the first device may perform the steps shown in S2303.
S2302, the first device continues the single card.
It can be understood that, in the scenario of connecting a single card, if the second device includes two spare slots, the first device may default to use the slots of the card 1 for connection. Or if the second device includes an idle card slot and a card slot with a SIM card inserted therein, the first device may default to use the idle card slot for connection, and at this time, the SIM card in the second device may be the main card, and the SIM card may reserve the data service of the main card.
S2303, the first device determines whether the dual cards meet the connection condition.
The connection condition may be described in the corresponding embodiment of fig. 5, and will not be described herein. When the first device determines that only one SIM card satisfies the connection condition, the first device performs the step shown in S2304; alternatively, when the first device confirms that both SIM cards satisfy the connection condition, the first device may perform the step shown in S2305.
S2304, the first device initiates connection to the SIM card meeting the connection condition.
S2305, the first device prompts the user to select the SIM card.
For example, when the first device confirms that both SIM cards satisfy the connection condition, the first device may display an interface shown as c in fig. 13 (or an interface shown as a in fig. 12), and the interface may include a card 1 relay control and a card 2 relay control.
S2306, when the first device receives the operation of selecting any SIM card by the user, the first device initiates connection to the SIM card selected by the user.
S2307, when the first device receives the operation of selecting any SIM card by the user, and the first device determines that the SIM card that does not initiate connection is a secondary card, the first device may switch the SIM card that does not initiate connection to the primary card.
The SIM card that does not initiate connection may be the second SIM card. It can be understood that the manner in which the first device switches the SIM card that does not initiate connection to the master card can ensure that the data service of the master card is not affected.
Based on the descriptions in the steps shown in S2301-2307, in a possible implementation, when two SIM cards are included in the first device, the first device may also support two SIM cards to be connected simultaneously, and the two SIM cards may be connected to different second devices respectively.
In a possible implementation manner, 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; the second device may include two spare slots adapted to support connection of two SIM cards in the first device.
In a possible implementation, when there are two first devices, the two first devices may also be connected to the same second device; the second device may include at least two spare slots adapted to support connection of the two first devices, respectively.
It should be understood that the interface provided by the embodiment of the present application is only an example, and is not limited to the embodiment of the present application.
The following describes a device for executing the method provided by the embodiment of the application. As shown in fig. 24, fig. 24 is a schematic structural diagram of a call device based on connection of cellular communication capability according to an embodiment of the present application, where the call device based on connection of cellular communication capability may be a first device (or a second device) or a chip system in the first device (or the second device) according to an embodiment of the present application.
As shown in fig. 24, the call apparatus 2400 based on the cellular communication capability connection may be used in a communication device, a circuit, a hardware component, or a chip, and the call apparatus 2400 based on the cellular communication capability connection includes: a display unit 2401, a processing unit 2402, and a communication unit 2403, wherein the display unit 2401 is configured to support a step of displaying performed by the calling device 2400 connected based on a cellular communication capability; the processing unit 2402 is configured to support the step of executing information processing by the calling device 2400 connected based on the cellular communication capability; the communication unit 2403 is configured to instruct the calling device 2400 connected based on the cellular communication capability to perform steps such as transmission and reception of data. The communication unit 2403 may be an input or output interface, a pin, or a circuit, among others.
Specifically, an embodiment of the present application provides a call device 2400 connected based on cellular communication capability, where when a first device meets a first preset condition, a display unit 2401 of the first device is configured to display a first interface; wherein, the first interface comprises: at least one target control, the at least one target control corresponding to at least one SIM card in the first device; the at least one target control comprises: the first control is used for continuing the first SIM card in the first equipment; in response to a triggering operation for the first control, the communication unit 2403 of the first device is configured to establish a cellular communication capability connection with the second device; wherein establishing the cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; establishing a remote modem connection includes: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device.
The embodiment of the present application further provides a call apparatus 2400 connected based on cellular communication capability, where the communication unit 2403 of the second device is configured to receive a first message from the first device; the first message is used for indicating the first device to request to establish a long link with the second device; the communication unit 2403 of the second device is configured 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, the establishing the remote modem connection comprising: the first device remotely accessing a modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device; the display unit 2401 of the second device is configured to display an eighth interface; wherein the eighth interface includes one or more of the following: information for indicating a connection time, indication information for indicating a connection condition, or a control for stopping connection.
In a possible embodiment, the call apparatus connected based on the cellular communication capability may further include: the storage unit 2404. The processing unit 2402 and the storage unit 2404 are connected by a line. The storage unit 2404 may include one or more memories, which may be one or more devices, devices in a circuit for storing programs or data. The storage unit 2404 may exist independently and be connected to the processing unit 2402 provided in the telephony device connected based on the cellular communication capability through a communication line. The memory unit 2404 may also be integrated with the processing unit 2402.
The storage unit 2404 may store computer-executed instructions of a method in the first device (or the second device) to cause the processing unit 2402 to execute the method in the above-described embodiment. The storage unit 2404 may be a register, a cache, a RAM, or the like, and 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 type of static storage device that may store static information and instructions, and the storage unit 2404 may be independent of the processing unit 2402.
Fig. 25 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 2500 depicted in fig. 25 may be a chip in the first device or a chip in the second device.
Chip 2500 includes one or more (including two) processors 2520 and communication interface 2530. The chip may be a chip in the first device or a chip in the second device.
In some implementations, the memory 2540 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
In an embodiment of the application, memory 2540 may include read only memory and random access memory and provides instructions and data to processor 2520. A portion of memory 2540 may also include non-volatile random access memory (NVRAM).
In an embodiment of the application, memory 2540, communication interface 2530, and memory 2540 are coupled together via bus system 2510. The bus system 2510 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For ease of description, the various buses are labeled as bus system 2510 in FIG. 25.
The methods described above for embodiments of the present application may be implemented in the processor 2520 or by the processor 2520. Processor 2520 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware or instructions in software in processor 2520. The processor 2520 may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 2520 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application.
The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in memory 2540, and processor 2520 reads information in memory 2540 and performs the steps of the method described above in conjunction with its hardware.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
The embodiment of the application provides a call system based on connection of cellular communication capability, which relates to first equipment, second equipment and a first cloud server; when the first equipment meets a first preset condition, the first equipment establishes communication connection with the second equipment 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, the establishing the remote modem connection comprising: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device.
The embodiment of the application also provides a computer readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (35)

1. A call method based on connection of cellular communication capability, applied to a first device, the method comprising:
when the first equipment meets a first preset condition, a first interface is displayed; wherein, the first interface comprises: at least one target control, wherein the at least one target control corresponds to at least one Subscriber Identity Module (SIM) card in the first device; the at least one target control comprises: a first control for connecting a first SIM card in the first device;
establishing the cellular communication capability connection with a second device in response to a triggering operation for the first control; wherein said establishing said cellular communication capability connection comprises: establishing a remote modem connection and a remote SIM connection; the establishing the remote modem connection comprises: the first device remotely accessing a modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses the first SIM card of the first device.
2. The method of claim 1, wherein the first preset condition comprises: and aiming at triggering operation of a second control corresponding to the second device, wherein the second control belongs to at least one control in a device list in a second interface.
3. The method according to claim 2, wherein the method further comprises:
displaying a third interface; wherein the third interface includes a first popup window therein, the first popup window including one or more of: an indication for recommending that the first device conduct cellular communication capability connection, a first confirmation control for confirming that the cellular communication capability connection is conducted, or a first cancellation control for canceling that the cellular communication capability connection is conducted;
and displaying the second interface in response to the operation of the first confirmation control.
4. A method according to claim 3, wherein displaying a third interface comprises:
and displaying the third interface when the Reference Signal Received Power (RSRP) of the first device is lower than a first threshold value and the signal strength of the wireless signal access point of the first device is higher than a second threshold value.
5. The method of claim 1, wherein the first preset condition further comprises: the RSRP of the first device is below 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, wherein the method further comprises:
When the first equipment receives a Circuit Switched (CS) calling call service, a CS calling call service request is sent to the second equipment; receiving a response message corresponding to the CS calling call service request from the second equipment;
and/or when the first equipment receives the CS called call service request from the second equipment, returning a response message corresponding to the CS called call service request to the second equipment.
7. The method of claim 1, wherein the establishing the cellular communication capability continuation comprises: establishing a remote network interconnection protocol (IMS) connection of a multimedia subsystem, wherein the establishing the remote IMS connection comprises the following steps: the first device remotely uses the IMS capabilities of the second device.
8. The method of claim 7, wherein the method further comprises:
when the first equipment receives IMS calling call service, an IMS calling call service request is sent to the second equipment; receiving a response message corresponding to the IMS calling call service request from the second equipment;
and/or when the first equipment receives the IMS called call service request from the second equipment, returning a response message corresponding to the IMS called call service request to the second equipment.
9. The method according to claim 6 or 8, characterized in that the method further comprises:
when the first equipment collects a first voice packet, the first voice packet is sent to the second equipment; and/or receiving a second voice packet from the second 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.
10. The method of claim 1, wherein after the establishing the cellular communication capability connection with the second device, the method further comprises:
displaying a fourth interface; wherein the fourth interface comprises one or more of the following: the method comprises the steps of indicating information for indicating a connection condition of cellular communication capability, information for indicating relay time, a control for stopping relay, a control for switching relay equipment, a control for switching relay cards, a first identification for indicating that the first equipment is carrying out connection of the cellular communication capability, or a second identification for indicating a network signal of the second equipment.
11. The method according to claim 10, wherein the method further comprises:
and stopping the connection of the cellular communication capability with the second equipment when the first equipment meets a second preset condition.
12. The method of claim 11, wherein the ceasing the cellular communication capability connection with the second device comprises:
stopping the remote modem connection with the second device and stopping the remote SIM connection.
13. The method according to claim 12, wherein the method further comprises:
stopping the remote IMS connection with the second device under the condition that the remote IMS connection is established between the first device and the second device;
wherein the establishing a remote IMS connection includes: the first device remotely uses the IMS capabilities of the second device.
14. The method of claim 11, wherein when the second preset condition is receipt of a trigger operation for the control for stopping relay, the method further comprises, after stopping the cellular communication capability connection with the second device:
displaying a fifth interface; wherein the fifth interface comprises: indication information for indicating a continued interruption of cellular communication capability.
15. The method of claim 11, wherein the second predetermined condition is that the first device detects that any cellular communication function is not in use for more than a time threshold.
16. The method of claim 15, wherein after the ceasing the cellular communication capability connection with the second device, the method further comprises:
displaying a sixth interface; wherein the sixth interface includes: and the indication information is used for indicating the first equipment to detect that any cellular communication function is not used and interrupting the connection of the cellular communication capability.
17. The method of claim 11, wherein the second preset condition is an operation for a second confirmation control in a second pop-up window; the second popup window is a popup window displayed based on closing operation of a third control when the cellular communication capability connection function is opened, and the second confirmation control is used for confirming whether to close the cellular communication capability connection function again; the third control is used for switching on or switching off the cellular communication capability connection function; the third control belongs to a seventh interface; the seventh interface is an interface displayed in response to a trigger operation of a control for setting the cellular communication capability continuing function.
18. The method of claim 1, further comprising a second SIM card in the first device, wherein after the establishing the cellular communication capability connection with the second device, the method further comprises:
And when the first equipment determines that the second SIM card is not connected with the second equipment in the cellular communication capability, and the second SIM card is a secondary card, switching the second SIM card into a primary card.
19. A method of communicating based on a cellular communication capability connection, for use with a second device, the method comprising:
receiving a first message from a first device; the first message is used for indicating the first equipment to request to establish a long link with the second equipment;
establishing the cellular communication capability connection with the first device based on the first message; the establishing the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, wherein the establishing the remote modem connection comprises: the first device remotely accessing a modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a 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 a connection time, indication information for indicating a connection condition, or a control for stopping connection.
20. The method of claim 19, wherein the establishing the cellular communication capability continuation comprises: establishing a remote IMS connection, the establishing a remote IMS connection comprising: the first device remotely uses the IMS capabilities of the second device.
21. The method of claim 19, wherein the method further comprises:
when receiving a CS calling call service from the first equipment, sending a response message corresponding to a CS calling call service request to the first equipment;
and/or when the second device receives the CS called call service based on the modem of the second device, sending a CS called call service request to the first device; and receiving a response message corresponding to the CS called call service request from the first equipment.
22. The method of claim 20, wherein the method further comprises:
when the second equipment receives the IMS calling call service from the first equipment, a response message corresponding to the IMS calling call service request is sent to the first equipment;
and/or when the second equipment receives the IMS called call service based on the modem of the second equipment, an IMS called call service request is sent to the first equipment; and receiving a response message corresponding to the IMS called call service request from the first equipment.
23. The method according to claim 21 or 22, characterized in that the method further comprises:
receiving a first voice packet sent by the first equipment, and sending the first voice packet to a network side through a modem of the second equipment;
and/or, sending the second voice packet acquired 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 a third device based on the network side.
24. The method according to claim 1, wherein the method further comprises:
stopping the remote modem connection and the remote SIM connection with the first equipment when the second equipment receives a second message from the first equipment or the second equipment receives a triggering operation for the control for stopping connection; the second message is for indicating that the first device requests to stop the cellular communication capability connection.
25. The method of claim 24, wherein the method further comprises:
under the condition that a remote IMS connection is established between the second equipment and the first equipment, the remote IMS connection is stopped between the second equipment and the first equipment; in the remote IMS connection, the first device remotely uses IMS capabilities of the second device.
26. A call system based on connection of cellular communication capability, characterized in that the call system relates to a first device, a second device and a first cloud server;
when a first device meets a first preset condition, the first device establishes 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 the cellular communication capability connection includes: establishing a remote modem connection and establishing a remote SIM connection, wherein the establishing the remote modem connection comprises: the first device remotely accessing a modem processor modem of the second device, the establishing a remote SIM connection comprising: the second device remotely accesses a first SIM card of the first device.
27. The telephony system of claim 26, wherein the establishing the cellular communication capability connection comprises: establishing a remote SIM connection, the establishing a remote IMS connection comprising: the first device remotely uses the IMS capabilities of the second device.
28. The telephony system of claim 26 or 27, wherein before the first device establishes a communication connection with the second device via the first cloud server, further comprising:
And the first equipment and the second equipment perform equipment authentication based on the first cloud server.
29. The telephony system of claim 28, wherein before the first device and the second device each perform device authentication based on the first cloud server, further comprising:
the first device and the second device both turn on a cellular communication capability connection function.
30. The telephony system of claim 26, further comprising:
when the first equipment receives a CS calling call service, the first equipment sends a CS calling call service request to the second equipment; the second device sends a response message corresponding to the CS calling call service request to the first device;
and/or when the first equipment receives the CS called call service request from the second equipment, the first equipment sends a response message corresponding to the CS called call service request to the second equipment.
31. The telephony system of claim 26, further comprising:
when the first equipment receives an IMS calling call service, the first equipment sends an IMS calling call service request to the second equipment; the second equipment sends a response message corresponding to the IMS calling call service request to the first equipment;
And/or when the first equipment receives the IMS called call service request from the second equipment, the first equipment sends a response message corresponding to the IMS called call service request to the second equipment.
32. A call system according to claim 30 or 31, further comprising:
when the first equipment collects a first voice packet, the first equipment sends the first voice packet to the second equipment; the second device sends the first voice packet to a network side through a modem of the second device;
and/or the second device sends a second voice packet acquired 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 a third device based on the network side.
33. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, causes the electronic device to perform the method of any one of claims 1 to 18 or to perform the method of any one of claims 19 to 25.
34. A computer readable storage medium storing a computer program, which when executed by a processor causes the computer to perform the method of any one of claims 1 to 18 or to perform the method of any one of claims 19 to 25.
35. A computer program product comprising a computer program which, when run, causes a computer to perform the method of any one of claims 1 to 18 or to perform the method of any one of claims 19 to 25.
CN202211223009.XA 2022-10-08 2022-10-08 Communication method and device based on cellular communication capability connection Pending CN116743916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211223009.XA CN116743916A (en) 2022-10-08 2022-10-08 Communication method and device based on cellular communication capability connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211223009.XA CN116743916A (en) 2022-10-08 2022-10-08 Communication method and device based on cellular communication capability connection

Publications (1)

Publication Number Publication Date
CN116743916A true CN116743916A (en) 2023-09-12

Family

ID=87910249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211223009.XA Pending CN116743916A (en) 2022-10-08 2022-10-08 Communication method and device based on cellular communication capability connection

Country Status (1)

Country Link
CN (1) CN116743916A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160014578A1 (en) * 2014-07-14 2016-01-14 Qualcomm Incorporated Multiple Active Voice Calls on a Multi-SIM Multi-Active Device
US10172136B1 (en) * 2015-09-02 2019-01-01 Cisco Technology, Inc. Method and apparatus for stabilizing wireless WAN interface
US20190373525A1 (en) * 2018-06-01 2019-12-05 Apple Inc. Method and System to Support Seamless Wi-Fi to Cellular Handoff on Power Constrained Device
CN112866253A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Information transmission method and device and electronic equipment
CN115150812A (en) * 2021-03-31 2022-10-04 华为技术有限公司 Communication system, first electronic equipment and second electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160014578A1 (en) * 2014-07-14 2016-01-14 Qualcomm Incorporated Multiple Active Voice Calls on a Multi-SIM Multi-Active Device
US10172136B1 (en) * 2015-09-02 2019-01-01 Cisco Technology, Inc. Method and apparatus for stabilizing wireless WAN interface
US20190373525A1 (en) * 2018-06-01 2019-12-05 Apple Inc. Method and System to Support Seamless Wi-Fi to Cellular Handoff on Power Constrained Device
CN112866253A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Information transmission method and device and electronic equipment
CN115150812A (en) * 2021-03-31 2022-10-04 华为技术有限公司 Communication system, first electronic equipment and second electronic equipment

Similar Documents

Publication Publication Date Title
US9386623B2 (en) Method and apparatus for maintaining priority and quality of service across multi-user devices
US8774811B2 (en) Method for selecting optimal radio access technology and communication apparatuses utilizing the same
CN112218310A (en) Improvements in throughput and radio resource utilization for user equipment with multiple SIMs
CN105027623A (en) Method and devices for avoiding call failures in dual-SIM devices
JP2005136553A (en) Mobile communication terminal and communication managing apparatus
KR20130124405A (en) Connection manager for a wireless communication device
JP2005277964A (en) Mobile terminal communication restriction apparatus, and method and control program for communication restriction therefor
TW201427458A (en) Method and apparatus of improving proximity service discovery in a wireless communication system
CN103024829B (en) Arrange method and the device of the radio activity of multiple wireless access technology module
CN110692263A (en) Terminal monitoring method and device, communication equipment and storage medium
US20230123352A1 (en) Information processing methods, user equipment, and base station
EP4294063A1 (en) Communication system, first electronic device and second electronic device
CN107926000A (en) Information transceiving method, apparatus and system
WO2024067054A1 (en) Cellular communication capability handover method and apparatus
US20210329519A1 (en) Cell Connection Processing Method and Mobile Terminal
CN113228763A (en) Paging reason processing method and device, communication equipment and storage medium
CN116743916A (en) Communication method and device based on cellular communication capability connection
CN103220728B (en) Maintain method and the communicator thereof of communication service quality
CN101873653A (en) Method and system for redirecting cell
CN114175740B (en) Information transmission method, apparatus, communication device and storage medium
CN111314976B (en) Network residence mode determining method and device, terminal and storage medium
CN111727653A (en) Method, device, communication equipment and storage medium for transferring service
CN113573248A (en) Method and device for transmitting data
CN113519192A (en) Data transmission method, device and communication equipment
CN116709583B (en) Method and device for realizing double-card double-pass

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination