A communication system, a first electronic device and a second electronic device
By establishing a connection between user equipment and relay equipment, and using relay mode to forward or process cellular communication data, the problem of call interruption and delay caused by poor cellular signals is solved, and the quality of cellular communication and user experience are improved.
Patent Information
- Application Number
- CN202110352818.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-03-31
AI Technical Summary
When the user equipment has poor cellular signal, it may cause intermittent calls, silent calls, video freezes, or even call interruptions, affecting the user experience.
By establishing a connection between the user equipment and the relay equipment, the relay equipment assists the user equipment in accessing the network side equipment, and uses the relay mode to improve the quality of cellular communication, including forwarding or processing cellular communication data in the relay mode, and improving packet loss during data transmission. Jitter and latency.
It effectively improves the call quality in cellular communication services, increases the sending and receiving rate of text messages and the refresh rate of web pages, reduces call interruption and delay problems, and enhances user experience.
Smart Images

Figure CN115150812B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication system, a first electronic device, and a second electronic device. Background Art
[0002] Currently, user devices (such as mobile phones) connect to the cellular network through cellular signals transmitted by base stations to perform cellular communication services, such as making calls, surfing the Internet, sending and receiving text messages, etc. However, the cellular signals transmitted by base stations may be weak or even unreceived due to poor distribution of base stations, interference between multiple base stations, building obstruction, and the distance between the mobile phone and the base station, thus affecting the cellular communication services. For example, problems such as intermittent voice, silence, video freeze, and even call interruption may occur during a call, resulting in a poor user experience. Summary of the invention
[0003] The present application provides a communication system, a first electronic device and a second electronic device, which can improve the cellular communication quality of the electronic devices.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a communication system, including a first electronic device and a second electronic device, wherein a first SIM card is installed on the second electronic device, and first SIM card information is stored in the first SIM card. The first electronic device establishes a connection with the second electronic device; the first electronic device obtains the first SIM card information; the first electronic device connects with a network side device according to the first SIM card information, so that the second electronic device enters a relay mode; wherein, in the relay mode, the first electronic device assists the second electronic device in executing a cellular communication service related to the first SIM card.
[0006] In this embodiment, the first electronic device is also referred to as a relay device, and the second electronic device is also referred to as a user device. When the cellular signal of the first electronic device is poor, a second electronic device with a stronger cellular signal can be selected to assist the first electronic device in accessing the network side device. Since the cellular signal of the first electronic device is good, the link quality of the communication link between the first electronic device and the network side device is good, which helps to improve packet loss, jitter and delay during cellular communication data transmission. Therefore, compared with the second electronic device communicating directly with the network side device, communicating with the network side device through the first electronic device can improve the quality of cellular communication.
[0007] For example, for call scenarios, it can improve the problems of call interruption, silence, video freeze, and even call interruption during the call of the second electronic device. For business scenarios such as text messages, it can improve the sending and receiving rate of text messages of the second electronic device and improve the delay of text messages reaching the second electronic device. For business scenarios such as surfing the Internet, it can improve the refresh rate of the web page of the second electronic device.
[0008] In some embodiments, the first electronic device assists the second electronic device in executing a cellular communication service related to the first SIM card, including: the first electronic device forwards cellular communication data related to the first SIM card between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service based on the cellular communication data.
[0009] In some embodiments, the first electronic device assists the second electronic device in executing a cellular communication service related to the first SIM card, including: the first electronic device interacts with the network side device to exchange cellular communication data related to the first SIM card, and locally processes the corresponding cellular communication service based on the cellular communication data.
[0010] The system provided in this embodiment is not limited to the scenario where the cellular signal quality of the second electronic device is poor, and can also be applied to the following scenarios:
[0011] (1) For example, the first electronic device is a tablet computer and the second electronic device is a mobile phone. When the battery of the mobile phone is low and it is inconvenient to charge, the mobile phone uses the tablet computer to assist the mobile phone in processing cellular communication services to save the battery of the mobile phone.
[0012] (2) When the first electronic device is a CPE installed outdoors and the second electronic device is an indoor router, the first SIM card originally to be installed on the CPE can be installed on the router, and the CPE can access the first SIM card information from the router to access the network side device. This embodiment can transfer the first SIM card from outdoors to indoors, avoiding the risk of the SIM card being stolen and damaged by sunlight. In addition, compared with removing and installing a SIM card from a CPE installed outdoors, it is more convenient to remove and install a SIM card from an indoor router.
[0013] (3) When the first electronic device is a CPE and the second electronic device is a mobile phone, the CPE accesses the network-side device through the first SIM card information of the mobile phone, so that the CPE can serve as a WiFi hotspot without inserting a SIM card, thereby avoiding the user from maintaining an extra SIM card.
[0014] (4) For example, if the first electronic device is mobile phone 1 and the second electronic device is mobile phone 2, after the user forgets mobile phone 2 at home, the user can obtain the first SIM card information of mobile phone 2 through mobile phone 1, access the network side device according to the first SIM card information, and process the cellular communication service corresponding to the first SIM card on mobile phone 1, so as to avoid the user missing the incoming call of mobile phone 2.
[0015] (5) Taking the case where the first electronic device is a smart watch and the second electronic device is a mobile phone as an example, when a user wears a smart watch for outdoor sports and it is inconvenient to carry a mobile phone, the user can access the first SIM card information of the mobile phone through the smart watch, use the first SIM card information to access the network side device, and process the cellular communication service corresponding to the first SIM card on the smart watch to avoid missing calls from the mobile phone.
[0016] (6) For example, the first electronic device is a mobile phone and the second electronic device is a CPE. The mobile phone can access the first SIM card information of the CPE and perform cellular signal strength detection indoors on behalf of the CPE to determine the placement location of the CPE.
[0017] (7) For example, the first electronic device is a mobile phone and the second electronic device is a CPE. The mobile phone can obtain the first SIM card information of the CPE and use the traffic of the first SIM card in the CPE to access the Internet, thereby saving the traffic of the local SIM card of the mobile phone.
[0018] (8) Taking the example of a first electronic device being a mobile phone that supports 5G technology at the highest level, and taking the example of a second electronic device being a mobile phone that supports 4G technology, when the second electronic device accesses a cellular network through the first electronic device, it can use 5G technology to interact with network-side devices to communicate data, thereby increasing data transmission speed.
[0019] (9) For example, the first electronic device is a mobile phone and the second electronic device is a relay server. The user can also use the relay server to access the network side device according to the first SIM card information of the mobile phone.
[0020] (10) For example, the first electronic device is mobile phone 1, and the second electronic device is mobile phone 2. Mobile phone 2 is installed with two SIM cards (e.g., SIM card 1 and SIM card 2). When SIM card 1 of mobile phone 2 is in a call, mobile phone 2 can automatically control mobile phone 1 to access the network side device using the information of SIM card 2. During this process, if there is an incoming call to SIM card 2 of mobile phone 2, mobile phone 1 can process the incoming call locally, or notify mobile phone 2 of the incoming call for processing, so as to avoid the user missing the incoming call of SIM card 2.
[0021] In some embodiments, when the second electronic device is in autonomous mode, if the second electronic device meets the first preset condition, the second electronic device switches from autonomous mode to relay mode to access the network side device. And / or, when the second electronic device is in relay mode, if the second electronic device meets the second preset condition, the second electronic device switches from relay mode to autonomous mode to access the network side device. Wherein, in autonomous mode, the second electronic device connects to the network side device according to the first SIM card information, directly exchanges cellular communication data related to the first SIM card with the network side device, and locally processes the corresponding cellular communication service according to the cellular communication data.
[0022] The first preset condition is: the cellular signal strength of the second electronic device is lower than the strength threshold; and / or, the power of the second electronic device is lower than the power threshold; and / or, the second electronic device is in an abnormal cell; and / or, the second electronic device is in an abnormal location; and / or, the second electronic device is connected to a vehicle-mounted Bluetooth device. When the second electronic device meets the first preset condition, the second electronic device switches from the relay mode to the autonomous mode to access the network side device, which can improve the cellular communication quality of the second electronic device or save power.
[0023] The second preset condition is: the communication quality between the first electronic device and the second electronic device is lower than the communication quality threshold; and / or, the power of the second electronic device is higher than or equal to the power threshold; and / or, the second electronic device switches from an abnormal cell to a normal cell; and / or, the second electronic device switches from an abnormal position to a normal position; and / or, the second electronic device disconnects from the vehicle-mounted Bluetooth device. When the second electronic device meets the first preset condition, the second electronic device switches from the autonomous mode to the relay mode to access the network side device, which can reduce the power consumption of the first electronic device.
[0024] Through the system provided in this embodiment, the second electronic device can automatically switch between the relay mode and the autonomous mode according to preset conditions during the process of processing the cellular communication service, thereby ensuring the quality of cellular communication.
[0025] In some embodiments, when the second electronic device is in an idle state, the second electronic device controls the local modem, the modem protocol stack, or the Internet Multimedia Subsystem IMS protocol stack to power off, and controls the first electronic device to access the network side device through the first SIM card information to switch from the autonomous mode to the relay mode. Alternatively, the second electronic device disconnects from the first electronic device, controls the local modem, the modem protocol stack, and the IMS protocol stack to power on, and accesses the network side device according to the first SIM card information to switch from the relay mode to the autonomous mode.
[0026] In some embodiments, when the second electronic device is in a service state, the second electronic device controls the local Modem, Modem protocol stack or IMS protocol stack to power off, and controls the second electronic device to synchronize the status information related to the current service in the user plane protocol stack and the control plane protocol stack to the first electronic device, and the first electronic device accesses the network side device according to the first SIM card information and the status information to switch from the autonomous mode to the relay mode. Alternatively, the second electronic device controls the local Modem, Modem and IMS protocol stack to power on, obtains the status information related to the current service in the user plane protocol stack and the control plane protocol stack of the first electronic device, and accesses the network side device according to the first SIM card information and the status information to switch from the relay mode to the autonomous mode.
[0027] In some embodiments, the first electronic device is connected to the second electronic device via near field communication technology, far field communication technology, or a physical entity.
[0028] In some embodiments, establishing a connection between a first electronic device and a second electronic device includes: the first electronic device broadcasts a first notification message, the first notification message is used to notify the first electronic device that it has a signal relay function. After receiving the first notification message, the second electronic device displays a first prompt box, the first prompt box includes a device selection control. In response to a user's operation on the device selection control, the first electronic device and the second electronic device establish a connection.
[0029] In some embodiments, the first electronic device broadcasts the first notification message, including: when the cellular signal strength of the first electronic device is greater than or equal to a strength threshold, the first electronic device broadcasts the first notification message.
[0030] In some embodiments, the second electronic device displays the first prompt box after receiving the first notification message, including: when the cellular signal strength of the second electronic device is less than a strength threshold, the second electronic device displays the first prompt box after receiving the first notification message.
[0031] In some embodiments, the first electronic device obtains the first SIM card information, including: the first electronic device obtains the authentication data in the first SIM card information in real time, and the authentication data is used for authentication when connecting to the network side. The first electronic device pre-caches other data in the first SIM card information except the authentication data, and updates the corresponding data according to the aging cycle of different data, so that the first electronic device directly reads the other data locally when processing cellular communication services. In this embodiment, the first electronic device pre-caches other data in the first SIM card information except the authentication data, which can increase the rate at which the first electronic device accesses the first SIM card information.
[0032] In some embodiments, after the first electronic device uses the first SIM card information to connect to the network side device, the third prompt box is displayed, and the third prompt box is used to prompt that the first electronic device is providing a signal relay service for the second electronic device.
[0033] In some embodiments, when the call quality of the second electronic device is lower than a quality threshold, the second electronic device displays prompt information, where the prompt information is used to prompt the user to control the second electronic device to move closer to the first electronic device.
[0034] In some embodiments, the first electronic device uses the cellular data traffic of the first SIM card to transmit a hotspot signal; after the third electronic device connects to the hotspot signal, the third electronic device uses the cellular data traffic of the first SIM card to access the Internet through the first electronic device. In this embodiment, the first electronic device can share the traffic of the first electronic device with the third electronic device.
[0035] In some embodiments, the second electronic device is also installed with a second SIM card, and the second SIM card stores the second SIM card information; the second electronic device uses the second SIM card information to connect to the network side device, and locally processes the cellular communication service related to the second SIM card. In this embodiment, the second electronic device can process the cellular communication service of the first SIM card through the first electronic device, and can also process the cellular communication service of the second SIM card of the second electronic device.
[0036] In some embodiments, the first electronic device is also installed with a third SIM card, and the third SIM card stores the third SIM card information; the first electronic device uses the third SIM card information to connect to the network side device, and locally processes the cellular communication service related to the third SIM card. In this embodiment, the first electronic device can assist the second electronic device in processing the cellular communication service of the first SIM card, and can also process the cellular communication service of the third SIM card of the first electronic device.
[0037] In a second aspect, an embodiment of the present application further provides a first electronic device, which is configured to: establish a connection with a second electronic device, the second electronic device is installed with a first SIM card, and the first SIM card stores first SIM card information; obtain the first SIM card information; connect with a network side device according to the first SIM card information, so that the second electronic device enters a relay mode; wherein, in the relay mode, the first electronic device assists the second electronic device in executing cellular communication services related to the first SIM card.
[0038] In some embodiments, in the relay mode, the first electronic device is further configured to: forward cellular communication data related to the first SIM card between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service according to the cellular communication data.
[0039] In other embodiments, in the relay mode, the first electronic device is further configured to: exchange cellular communication data related to the first SIM card with the network side device, and locally process corresponding cellular communication services according to the cellular communication data.
[0040] In some embodiments, the first electronic device is connected to the second electronic device via near field communication technology, far field communication technology, or a physical entity.
[0041] In some embodiments, the first electronic device is further configured to: broadcast a first notification message, where the first notification message is used to notify the first electronic device that it has a signal relay function so that the second electronic device can establish a connection with the first electronic device according to the first notification message.
[0042] In some embodiments, the first electronic device is further configured to: when the cellular signal strength of the first electronic device is greater than or equal to a strength threshold, the first electronic device broadcasts the first notification message.
[0043] In some embodiments, the first electronic device is configured to: obtain authentication data in the first SIM card information in real time, and the authentication data is used for authentication when connecting to the network side; pre-cache other data in the first SIM card information except the authentication data, and update the corresponding data according to the aging cycle of different data, so that the first electronic device can directly read the other data locally when processing cellular communication services.
[0044] In some embodiments, the first electronic device is further configured to: after connecting to the network side device using the first SIM card information, display a third prompt box, where the third prompt box is used to prompt that the first electronic device is providing a signal relay service for the second electronic device.
[0045] In some embodiments, the first electronic device is further configured to: use the cellular data traffic of the first SIM card to transmit a hotspot signal; when the third electronic device connects to the hotspot signal, the third electronic device accesses the Internet through the first electronic device using the cellular data traffic of the first SIM card.
[0046] In some embodiments, the first electronic device is also installed with a third SIM card, and the third SIM card stores third SIM card information; the first electronic device is also configured to: use the third SIM card information to connect to the network side device and locally process cellular communication services related to the third SIM card.
[0047] In a third aspect, an embodiment of the present application further provides a second electronic device, on which a first SIM card is installed, and first SIM card information is stored in the first SIM card; the second electronic device is configured to: establish a connection with the first electronic device; send the first SIM card information to the first electronic device, and the first SIM card information is used to connect the first electronic device to a network side device, so that the second electronic device enters a relay mode; wherein, in the relay mode, the first electronic device assists the second electronic device in executing cellular communication services related to the first SIM card.
[0048] In some embodiments, in the relay mode, the first electronic device forwards the cellular communication data related to the first SIM card between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service according to the cellular communication data.
[0049] In some embodiments, in the relay mode, the first electronic device exchanges cellular communication data related to the first SIM card with the network side device, and locally processes corresponding cellular communication services according to the cellular communication data.
[0050] In some embodiments, the second electronic device is further configured as follows: when the second electronic device is in an autonomous mode, if the second electronic device satisfies a first preset condition, the second electronic device switches from the autonomous mode to the relay mode to access the network side device; and / or, when the second electronic device is in a relay mode, if the second electronic device satisfies a second preset condition, the second electronic device switches from the relay mode to the autonomous mode to access the network side device; wherein, in the autonomous mode, the second electronic device connects to the network side device according to the first SIM card information, directly interacts with the network side device with the cellular communication data related to the first SIM card, and locally processes the corresponding cellular communication services based on the cellular communication data.
[0051] Among them, the first preset condition is: the cellular signal strength of the second electronic device is lower than the strength threshold; and / or, the power of the second electronic device is lower than the power threshold; and / or, the second electronic device is in an abnormal cell; and / or, the second electronic device is in an abnormal location; and / or, the second electronic device is connected to a vehicle-mounted Bluetooth device.
[0052] The second preset condition is: the communication quality between the first electronic device and the second electronic device is lower than the communication quality threshold; and / or, the power level of the second electronic device is higher than or equal to the power threshold; and / or, the second electronic device switches from an abnormal cell to a normal cell; and / or, the second electronic device switches from an abnormal position to a normal position; and / or, the second electronic device disconnects from the vehicle-mounted Bluetooth device.
[0053] In some embodiments, when the second electronic device is in an idle state, the second electronic device is further configured to: control the local modem, modem protocol stack or Internet Multimedia Subsystem IMS protocol stack to power off, and control the first electronic device to access the network side device through the first SIM card information to switch from autonomous mode to relay mode; and / or disconnect from the first electronic device, control the local modem, modem protocol stack and IMS protocol stack to power on, and access the network side device according to the first SIM card information to switch from relay mode to autonomous mode.
[0054] In some embodiments, when the second electronic device is in a service state, the second electronic device is further configured to: control the local Modem, Modem protocol stack or IMS protocol stack to power off, and synchronize the status information related to the current service in the local user plane protocol stack and control plane protocol stack to the first electronic device, and the first electronic device accesses the network side device according to the first SIM card information and the status information to switch from the autonomous mode to the relay mode. And / or, control the local Modem, Modem protocol stack and IMS protocol stack to power on, obtain the status information related to the current service in the user plane protocol stack and control plane protocol stack of the first electronic device, and access the network side device according to the first SIM card information and the status information to switch from the relay mode to the autonomous mode.
[0055] In some embodiments, the first electronic device is connected to the second electronic device via near field communication technology, far field communication technology, or a physical entity.
[0056] In some embodiments, the second electronic device is further configured to: display a first prompt box after receiving a first notification message, the first notification message is used to notify the first electronic device that it has a signal relay function, and the first prompt box includes a device selection control; in response to the user's operation of the device selection control, establish a connection with the second electronic device.
[0057] In some embodiments, the second electronic device is further configured to: when the cellular signal strength of the second electronic device is less than a strength threshold, the second electronic device displays a first prompt box after receiving the first notification message.
[0058] In some embodiments, the second electronic device is further configured to: when the call quality of the second electronic device is lower than a quality threshold, display prompt information, where the prompt information is used to prompt the user to control the second electronic device to move closer to the first electronic device.
[0059] In some embodiments, the second electronic device is also installed with a second SIM card, in which second SIM card information is stored; the second electronic device is also configured to: use the second SIM card information to connect to the network side device and locally process cellular communication services related to the second SIM card.
[0060] In a fourth aspect, an embodiment of the present application provides a communication method, which is applied to a first electronic device, and includes the content that the first electronic device is configured to execute in the above-mentioned second aspect.
[0061] In a fifth aspect, an embodiment of the present application provides a communication method, which is applied to a second electronic device, and the method includes the content that the second electronic device is configured to execute in the third aspect above.
[0062] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the communication method shown in the fourth aspect above.
[0063] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the communication method shown in the fifth aspect above.
[0064] In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a program. When the program is executed by a device, the first electronic device implements the communication method shown in the fourth aspect above.
[0065] In a ninth aspect, an embodiment of the present application provides a computer program product, which includes a program. When the program is executed by a device, the second electronic device implements the communication method shown in the fifth aspect above.
[0066] In the tenth aspect, an embodiment of the present application provides a chip, which is applied to a first electronic device. The chip includes a memory and a processor. The processor executes a computer program stored in the memory to implement the communication method shown in the fourth aspect above.
[0067] In the eleventh aspect, an embodiment of the present application provides a chip, which is applied to a second electronic device. The chip includes a memory and a processor. The processor executes a computer program stored in the memory to implement the communication method shown in the fifth aspect above.
[0068] It can be understood that the beneficial effects of the second to eleventh aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1It is a schematic diagram of the communication system structure between existing user equipment and network side equipment;
[0070] Figure 2 The structure of the communication system to which the communication method provided in the embodiment of the present application is applicable is shown in FIG. Figure 1 ;
[0071] Figure 3 The structure of the communication system to which the communication method provided in the embodiment of the present application is applicable is shown in FIG. Figure 2 ;
[0072] Figure 4 This is a schematic diagram of an interface of a user device provided by an embodiment of the present application;
[0073] Figure 5 is a schematic flowchart of relay device discovery and connection provided in an embodiment of the present application;
[0074] Figure 6 is a schematic diagram of a communication link between a relay device and a user device provided in an embodiment of the present application;
[0075] Figure 7 is a schematic diagram of an interface of a user device provided by another embodiment of the present application;
[0076] Figure 8 is a schematic diagram of an interface of a user device provided by another embodiment of the present application;
[0077] Fig. 9 is a flow chart of a remote SIM card access method provided by an embodiment of the present application;
[0078] Fig.10 This is a schematic diagram of the SIM card information reading method provided in the embodiment of the present application Figure 1 ;
[0079] Fig.11 This is a schematic diagram of the SIM card information reading method provided in the embodiment of the present application Figure 2 ;
[0080] Fig.12 is a schematic diagram of a data transmission path in a signal relay communication process provided by an embodiment of the present application;
[0081] Fig.13 It is a schematic diagram of a data forwarding method of a forwarding device provided in an embodiment of the present application;
[0082] Fig.14 It is a schematic diagram of the principle of signal relay communication provided by an embodiment of the present application;
[0083] Fig.15 This is the first communication scenario to which the communication method provided in the embodiment of the present application is applicable;
[0084] Fig.16 This is the second communication scenario to which the communication method provided in the embodiment of the present application is applicable;
[0085] Fig.17 This is the communication scenario 3 to which the communication method provided in the embodiment of the present application is applicable;
[0086] Fig.18 is a schematic diagram of an interface of a user device provided in yet another embodiment of the present application;
[0087] Fig.19 This is a flow chart of a process of answering a call on a user device provided in an embodiment of the present application;
[0088] Fig. 20 This is a schematic diagram of an incoming call interface of a user device provided in an embodiment of the present application;
[0089] Fig.21 This is the fourth communication scenario to which the communication method provided in the embodiment of the present application is applicable;
[0090] Fig. 22 This is the fifth communication scenario to which the communication method provided in the embodiment of the present application is applicable;
[0091] Fig.23 is a schematic diagram of a process of selecting a user device on a relay device provided in an embodiment of the present application;
[0092] Fig.24 is a schematic diagram of an interface of a user device provided by another embodiment of the present application;
[0093] Fig.25 is a flow chart of a communication method based on a relay device provided in an embodiment of the present application;
[0094] Fig.26A This is the seventh communication scenario to which the communication method provided by an embodiment of the present application is applicable;
[0095] Fig.26B This is a communication scenario to which the communication method provided in another embodiment of the present application is applicable;
[0096] Fig. 27 This is the eighth communication scenario to which the communication method provided in the embodiment of the present application is applicable;
[0097] Fig.28 This is the communication scenario 10 to which the communication method provided in the embodiment of the present application is applicable;
[0098] Fig.29 The structure of the communication system to which the communication method provided in the embodiment of the present application is applicable is shown in FIG. Figure 3 ;
[0099] Fig.30It is a schematic diagram of the package setting of the relay server provided in the embodiment of the present application;
[0100] Fig.31 This is a schematic diagram of the dual-card incoming call scenario provided in the embodiment of the present application. Figure 1 ;
[0101] Fig.32 This is a schematic diagram of the dual-card incoming call scenario provided in the embodiment of the present application. Figure 2 ;
[0102] Fig.33 This is a schematic diagram of data transmission during the signal relay communication process provided in the embodiment of the present application. Figure 1 ;
[0103] Fig.34 This is a schematic diagram of data transmission during the signal relay communication process provided in the embodiment of the present application. Figure 2 ;
[0104] Fig.35 This is a schematic diagram of data transmission during the signal relay communication process provided in the embodiment of the present application. Figure 3 ;
[0105] Fig.36 This is a schematic diagram of data transmission during the signal relay communication process provided in the embodiment of the present application. Figure 4 ;
[0106] Fig.37 This is a schematic diagram of data transmission during the signal relay communication process provided in the embodiment of the present application. Figure 5 ;
[0107] Fig.38 This is a schematic diagram of the communication method between the user equipment and the relay equipment provided in the embodiment of the present application. Figure 1 ;
[0108] Fig.39 This is a schematic diagram of the communication method between the user equipment and the relay equipment provided in the embodiment of the present application. Figure 2 ;
[0109] Fig.40 It is a schematic diagram of the communication method between the relay device and the network side device provided in the embodiment of the present application;
[0110] Fig.41 This is a schematic diagram of access rights management for a relay device provided in an embodiment of the present application;
[0111] Fig.42 It is a schematic diagram of cellular service management of a relay device provided in an embodiment of the present application;
[0112] Fig.43 It is a schematic diagram of the mode switching principle provided in an embodiment of the present application;
[0113] Fig.44 is a flow chart of a communication method provided by another embodiment of the present application;
[0114] Fig.45 It is a schematic architecture diagram of the user plane and control plane protocol stack of the user equipment provided in an embodiment of the present application;
[0115] Fig.46 This is a schematic diagram of a multi-network collaboration scenario provided by an embodiment of the present application;
[0116] Fig.47 It is a schematic diagram of a network fusion scenario provided by another embodiment of the present application. DETAILED DESCRIPTION
[0117] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0118] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR), global system for mobile communications (GSM), code division multiple access (CDMA) communication system, time division-synchronous CDMA (TD-SCDMA) communication system, etc.
[0119] The technical solution provided in this embodiment is applicable to calls such as circuit switching (CS), voice over long-term evolution (VoLTE), voice over new radio (VoNR), video over long-term evolution (ViLTE), video over new radio (ViNR), evolved packet system fallback (EPS fallback), CS fallback, voice calls based on wireless fidelity (WiFi) (voice over WiFi, VoWiFi) or video calls based on WiFi (video over WiFi, ViWiFi).
[0120] Currently, user devices (such as mobile phones) connect to cellular networks through cellular signals transmitted by base stations to perform cellular communication services, such as making calls, surfing the Internet, sending and receiving text messages, etc. However, due to poor distribution of base stations, mutual interference between multiple base stations, obstruction by buildings, and the long distance between the mobile phone and the base station, the cellular signal strength received by the mobile phone may be weak or even unable to receive the cellular signal, thus affecting the cellular communication services. For example, see Figure 1 As shown, during a call, when the cellular signal strength on the mobile phone side is weak, the quality of the communication link between the mobile phone and the base station is usually poor, and a large number of call data packets are lost, the delay is large, the jitter is large, etc., resulting in intermittent voice, silence, video freeze, and even call interruption during the call, resulting in a poor user experience.
[0121] To this end, an embodiment of the present application provides a communication method to solve the problem of abnormal cellular communication services when the cellular signal on the user equipment side is poor to a certain extent.
[0122] Figure 2 The structure of the communication system to which the communication method provided in the embodiment of the present application is applicable is shown in FIG. Figure 1 See also Figure 2 As shown, the communication system includes a user device, a relay device and a network side device, and is used to provide a communication mode in which the relay device replaces the user device to access the network side device, referred to as the relay mode.
[0123] In this embodiment, user equipment (UE) may be a mobile phone, tablet computer, laptop computer, desktop computer, smart TV, wearable device (such as smart watch), vehicle-mounted device, smart home device (such as smart speaker), augmented reality (AR) / virtual reality (VR) device, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA) and other electronic devices. The relay device may be customer premise equipment (CPE), user equipment, or a functional module in a cloud server that can provide signal relay service.
[0124] The network side device in the embodiment of the present application may have a device capable of providing a random access function for an electronic device or a chip that can be set in the device. The device includes but is not limited to: an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, home evolved NodeB, or home Node B, HNB), a baseband unit (BBU), and can also be a gNB in a 5G, such as NR, system, or a transmission point (TRP or TP), one or a group (including multiple) of antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DU, distributed unit), a network side device in a future 5G network, or a network side device in a future evolved PLMN network, etc., and the embodiment of the present application is not limited.
[0125] See also Figure 3As shown, a subscriber identity module (SIM) card is usually installed in the user device, such as a physical SIM card, an embedded SIM (e-SIM) card, a virtual SIM card, etc., wherein the virtual SIM card includes the Skylink application. The SIM card stores the international mobile subscriber identification number (IMSI), which is the unique user identifier of the user device to access the cellular network. When the user device accesses the network side device, it needs to authenticate through the IMSI so that the network side device can identify the identity of the user device.
[0126] The user device can select an electronic device with a better cellular signal as a relay device according to the user's instructions, and send the local SIM card information directly to the AP of the relay device through the local application processor (AP), or send the local SIM card information to the AP of the relay device through the local modem and the local AP in sequence. Subsequently, the modem of the relay device uses the IMSI in the SIM card information as an identity identifier to directly access the network side device (such as a base station) instead of the user device. The local modem of the user device does not communicate with the network side device.
[0127] It should be noted that, in this embodiment, the user equipment refers to an electronic device that provides SIM card information, and the relay device refers to an electronic device that uses the SIM card information to access the cellular network. In addition, the modem can be a physical hardware on an electronic device, or it can be a modem functional module instantiated by the physical hardware. When a modem physical hardware instantiates multiple modem functional modules, the multiple modem functional modules share the modem physical hardware resources in a time-division multiplexing manner.
[0128] During the signal relay communication process, the user equipment can process cellular communication services locally. Specifically, the user equipment sends uplink cellular communication data to the relay device, which then forwards it to the network side device; in addition, the network side device also needs to send downlink cellular communication data to the relay device, which then forwards it to the user equipment.
[0129] Since the cellular signal on the relay device side is better, the link quality of the communication link between the relay device and the network side device is better, which helps to improve packet loss, jitter and delay during data transmission. Therefore, compared with the user device directly communicating with the network side device, the communication quality can be improved by communicating with the network side device through the relay device. For example, for call scenarios, it can improve problems such as call interruption, silence, video freeze, and even call interruption during the call process. For business scenarios such as text messages, it can increase the sending and receiving rate of text messages and improve the delay of text messages reaching the user device. For business scenarios such as surfing the Internet, it can increase the refresh rate of web pages.
[0130] In addition, during the signal relay communication process, the relay device can also process cellular communication services. Specifically, the relay device sends the locally generated uplink cellular communication data to the network side device, and receives and processes the downlink cellular communication data sent by the network side device. Since the cellular signal on the relay device side is better, the relay device can also ensure the quality of cellular communication when it processes the access to the cellular network and processes cellular communication services on behalf of the user device.
[0131] The technical solution provided in this application is described in detail below.
[0132] When the user equipment uses the relay device to access the cellular network, it first needs to perform device discovery and connection with the relay device. Generally, the user equipment can perform device discovery and connection with the relay device only after turning on the signal relay function. Figure 4 This is a schematic diagram of the interface of a user device provided in an embodiment of the application, which involves a process in which the user device turns on the signal relay function according to a user instruction. The details are as follows.
[0133] See also Figure 4 As shown in (a) in FIG. 1 , the home screen interface of the user device displays application icons such as “clock”, “calendar”, “gallery”, “memo”, and “settings”. After detecting the user's operation on the “settings” icon, the user device may display the settings interface.
[0134] See also Figure 4 As shown in (b) in FIG. 1 , the setting interface may include options such as user information, “Wireless Local Area Network (WLAN)”, “Bluetooth”, “Mobile Network”, and “More Connections”. In response to the user's operation on the “Mobile Network” option, the user device displays the mobile network interface.
[0135] See also Figure 4As shown in (c) in FIG. 1 , the mobile network interface includes options such as “flight mode”, “mobile data”, “SIM card management”, “personal hotspot”, and “traffic management”. In response to the user's operation on the “mobile data” option, the user device displays the mobile data interface.
[0136] See also Figure 4 As shown in (d) in FIG. 1 , the mobile data interface includes switch items such as “Mobile Data”, “Data Roaming”, “Enable 5G”, “APN”, and a “Signal Relay” option. In response to the user's operation on the “Signal Relay” option, the user device displays the signal relay interface.
[0137] See also Figure 4 As shown in (e) in FIG. 1 , the signal relay interface includes a “signal relay” switch item, a “become a relay device” switch item, and a “device authorization management” option. When the “signal relay” switch item is turned on, the user device will be able to perform device discovery on the relay device, and after establishing a connection with the relay device, access the cellular network through the cellular signal of the relay device.
[0138] This embodiment also configures various setting modes for the communication scenario of signal relay. For example, see Figure 4 As shown in (f) in the figure, after turning on the "Signal Relay" switch item, the user can set the specific working modes of the user device and the relay device in the signal relay scenario, including the relay device's network mode, business processing mode, whether to share traffic, relay device service mode, etc.
[0139] The relay device stationing mode can be set to "full mode" or "user device mode". In "full mode", the relay device stations in its own stationing mode. In "user device mode", the relay device stations according to the capabilities of the user device (such as the frequency band of the cellular network that the user device can access).
[0140] The service processing mode can be set to "user device only" mode, "relay device only" mode or "simultaneous processing" mode. In "user device only" mode, cellular communication services are processed only on the user device side, for example, call reminders are performed only on the user device side. In "relay device only" mode, cellular communication services are processed only on the relay device side, for example, call reminders are performed only on the relay device side. In "simultaneous processing" mode, cellular communication services are processed on both the relay device side and the user device side, for example, call reminders are performed on both the relay device side and the user device side.
[0141] When the "Share Data" option is turned on, when the user device uses the relay device to access the cellular network, other electronic devices connected to the relay device can also use the cellular data traffic of the user device.
[0142] The relay device service mode can be set to "best effort mode" or "full force mode". In "best effort mode", when there is an idle modem on the relay device, signal relay service is provided to the user device, otherwise signal relay service is not provided. In "full force mode", when there is no idle modem on the relay device, the existing modem will be released to provide signal relay service to the user device.
[0143] Figure 5 This is a schematic flow chart of relay device discovery and connection provided by an embodiment of the present application, which specifically includes the following steps S501-S505.
[0144] S501: The relay device broadcasts a first notification message, where the first notification message carries service capability information of the relay device.
[0145] The first notification message is used to notify other electronic devices that the relay device can provide signal relay services, and carries the service capability information of the relay device and the currently detected network environment information. Among them, the service capability information is used to indicate the service types supported and processed by the relay device. The service capability information may include Remote SIM service (i.e., remote SIM card service), voice call service, video call service, data service service, short messaging service (SMS), global positioning system (GPS) service, etc. Network environment information includes cellular signal strength, quality of experience (QoE) of cellular communication services, etc. It should be noted that QoE can be understood as user experience or user perception, that is, the subjective feeling of the terminal user on the service performance provided by the mobile network, which can be expressed by a near-quantitative method. The terminal user's experience and feelings of the service and network, and reflects the gap between the quality of the current service and network and the user's expectations.
[0146] In this embodiment, the relay device can broadcast the first notification message through Bluetooth (BT), WiFi, near field communication (NFC), device to device (D2D) technology; or broadcast the first notification message through a server based on WiFi or cellular data service; or establish a peer to peer (P2P) connection based on WiFi or cellular data service to broadcast the first notification message. The user device obtains the first notification message by monitoring.
[0147] Optionally, before broadcasting the first notification message, the relay device may first detect the cellular signal strength on the relay device side. If the cellular signal strength is lower than a strength threshold (e.g., -95dBm (decibel milliwatts)), it means that the relay device cannot guarantee the communication quality with the network side device, and therefore, the relay device does not broadcast the first notification message. If the cellular signal strength is greater than or equal to the strength threshold, it means that the relay device can guarantee the communication quality with the network side device, and therefore, the relay device broadcasts the first notification message. In addition, in this embodiment, the relay device may also directly broadcast the first notification message without detecting the cellular signal strength.
[0148] Exemplarily, when the relay device broadcasts the first notification message via Bluetooth, the user device can receive the first notification message after entering the Bluetooth coverage range of the relay device. When the relay device broadcasts the first notification message via WiFi, the relay device can send the first notification message to a specific port of a router in the local area network. Other electronic devices in the local area network receive the first notification message by monitoring the port.
[0149] In some embodiments, the relay device may continuously broadcast the first notification message, and the user device monitors the notification message as needed. For example, when the cellular signal strength on the user device side is lower than a strength threshold (eg, -95dBm), the user device monitors the first notification message broadcast by the relay device.
[0150] In other embodiments, the user equipment may first broadcast a relay equipment use request on demand to actively request the use of the relay equipment. For example, when the cellular signal strength on the user equipment side is lower than a strength threshold (e.g., -95dBm), the relay equipment use request is broadcast. After receiving the relay equipment use request, the relay equipment replies with a first notification message to the user equipment to notify the user equipment that it can provide signal relay service. The method provided in this embodiment can reduce the power consumption of the relay equipment and save resources.
[0151] S502: The user equipment negotiates with the relay device about jointly supported service capabilities according to the first notification message.
[0152] After receiving the first notification message, the user equipment needs to negotiate the service capabilities with the relay device to determine the service types they both support. For example, if the relay device supports Remote SIM service, voice call service, video call service, data service, SMS, and GPS service, the user equipment needs to determine the services it supports and send the determination result to the relay device.
[0153] S503: The user equipment and the relay equipment authenticate each other.
[0154] In some embodiments, the user device and the relay device may authenticate each other through the device account. If the user device and the relay device log in to the same device account, the authentication is successful.
[0155] In other embodiments, the user device and the relay device may authenticate each other through a dynamic verification code. For example, after the relay device completes the service capability negotiation with the user device, the relay device may display a dynamic verification code and send a verification notification to the user device. After receiving the verification notification, the user device may display a verification code input interface. After the user device obtains the verification code entered by the user, it sends the input verification code to the relay device for verification. If the verification code sent by the user is the same as the verification code displayed by the relay device, the authentication is successful. It should be noted that in this embodiment, after the user device and the relay device have authenticated each other, no further authentication is required for subsequent use.
[0156] S504: After the authentication is passed, the user equipment and the relay equipment establish a connection.
[0157] After the authentication is passed, the user equipment and the relay equipment can establish a connection based on each other's Internet protocol (IP) addresses to form a communication link.
[0158] In this embodiment, see Figure 6 As shown, the communication link between the relay device and the user device can be a Bluetooth link, a WiFi link or a data service link. Among them, the Bluetooth link can be a traditional Bluetooth link or a low-power Bluetooth (bluetooth low energy, BLE) link. The WiFi link can be a WiFi LAN link, a WiFi direct link or a WiFi-based server transit link. In the WiFi LAN link, the hotspot device can be a router, or it can be a user device or a relay device. When the user device has two SIM cards, the data service link can be a data service link established between the user device and the relay device through SIM card 1, or a data service link established between the user device and the relay device through SIM card 2. In the data service link, the user device and the relay device can be connected in a P2P manner or in a server transit manner. Among them, the data service link refers to the communication link established between the relay device and the user device through a base station.
[0159] In addition, for far-field connection, for example, the relay device and the user device are connected via a server, the relay device and the user device can respectively establish connections with the server in different ways. For example, the user device can be connected to the server via WiFi, and the relay device can be connected to the server via data services.
[0160] S505: The user equipment displays a first prompt box, where the first prompt box is used to prompt the discovery of a relay device.
[0161] Optionally, the user device can choose whether to display the first prompt box according to its own cellular signal strength. For example, if the cellular signal strength is greater than or equal to the strength threshold (e.g., -95dBm), it means that the user device can communicate with the network side device normally and process cellular communication services normally. Therefore, the user device may not display the first prompt box. If the cellular signal strength is less than the strength threshold, it means that the communication quality between the user device and the network side device cannot be guaranteed. Therefore, the user device displays the first prompt box to prompt the user device that it can access the cellular network through the relay device.
[0162] In this embodiment, the first prompt box includes prompt information for finding a relay device, a device selection control for selecting a relay device, a setting control, and the like.
[0163] In an example, taking the user equipment as electronic device 1 as an example, when the user equipment has only one SIM card installed, see Figure 7 As shown in (a) of FIG. 1 , the prompt information in the first prompt box may be “Discover a relay device electronic device 2 with a stronger signal”. The device selection control is an “authorized use” icon, which is used to select electronic device 2 as the relay device. The setting control may be a “settings” icon, which is used to further set electronic device 2. In response to the user’s operation on the “authorized use” icon, the user device uses electronic device 2 as the relay device and displays, for example, Figure 7 The second prompt box shown in (b) includes a prompt message "The cellular signal of this device comes from electronic device 2" and a "Cancel settings" icon for canceling the use of electronic device 2 as a relay device.
[0164] In another example, taking the user equipment as electronic device 1 as an example, when two SIM cards are installed in the user equipment, see Figure 8 As shown in (a) in the figure, the prompt information in the first prompt box may be "Electronic device 2 with a stronger signal is found as a relay device". The device selection control may include a "SIM card 1 use" icon and a "SIM card 2 use" icon. Among them, the "SIM card 1 use" icon is used to select electronic device 2 as the relay device for SIM card 1; the "SIM card 2 use" icon is used to select electronic device 2 as the relay device for SIM card 2. The setting control is the "settings" icon, which is used to further set the electronic device 2. In response to the user's operation on the "SIM card 1 use" icon, the user device uses electronic device 2 as a relay device and displays, for example Figure 8The second prompt box shown in (b) includes a prompt message "The cellular signal of the local SIM card 1 comes from the electronic device 2" and a "Cancel setting" icon for canceling the use of the electronic device 2 as a relay device.
[0165] Optionally, the first prompt box may further include a cancel control, so that the user cancels the first prompt box currently displayed by the electronic device 1. Exemplarily, the cancel control may be a "cancel" icon.
[0166] Optionally, in the relay mode, the second prompt box displayed on the user device side may not be allowed to be cancelled. When the user device exits the relay mode, the second prompt box is automatically cancelled.
[0167] It should be noted that in each embodiment of the present application, the user's operation on a certain control, option or switch item includes single-click, double-click, long press, gravity press, etc. through touch operation, and this embodiment does not limit its specific method.
[0168] After the user equipment selects the relay equipment, the relay equipment needs to access the information stored in the SIM card of the user equipment (hereinafter referred to as SIM card information) to access the cellular network as the user equipment. The process of the relay equipment accessing the SIM card information of the user equipment is described below.
[0169] SIM card information usually includes user data and network parameters. User data refers to the data generated by the user when using the SIM card, such as address book, short message (SMS), etc. Network parameters are data pre-stored in the SIM card by the operator, including IMSI, mobile subscriber international integrated services digital network (MSISDN), public land mobile network (PLMN) identification code, encryption-related data, authentication algorithm and parameters, integrated circuit card identity (ICCID), IP multimedia subsystem (IMS) public user identity (IMPU), IP multimedia subsystem private user identity (IMPI), DOMAIN (domain name), proxy call session control function address (P-CSCF), fixed dialing numbers (FDN), SMS parameters (short message center number), forbidden PLMN (FPLMN), high priority PLMN (HPPLMN), HPLMN selector with access technology (HPLMN selector with access technology) technology, HPLMNwAcT), operator controlled HPLMNwAcT (operator controlled HPLMNwAcT, OPLMNwAcT), user controlled HPLMNwAcT (user controlled HPLMNwAcT, OPLMNwAcT), etc.
[0170] Among them, IMSI can be understood as the unique user identifier (Identifier, ID) of the SIM card, which is used to distinguish each user. IMSI includes: mobile country code (MCC), mobile network code (MNC) and mobile subscription identification number (MSIN). The length of MCC is usually 3 digits; the length of MNC is determined by the value of MCC, which can be 2 digits (European standard) or 3 digits (North American standard). The value of MSIN is assigned by the operator. For example, IMSI can be: 460001234567890, where MCC is 460, MNC is 00, and MSIN is 1234567890.
[0171] MSISDN is also called mobile phone number, for example, 8613912345678. MSISDN includes country code (CC), national destination code (NDC) and subscriber number (SN). CCs are different in different countries, for example, China's CC is 86. NDC is also called network access code, which is assigned to each network operator by the communications authorities of each country. For example, China Mobile's network access codes are 134-139, 150-152, 188, etc., China Unicom's are 130-132, 185-186, etc., and China Telecom's are 133, 153, 180, 189, etc. SN is assigned to users by network operators.
[0172] PLMN is a wireless communication system used to provide land mobile communication services to the public. PLMN identification code is used to identify different operators, that is, different mobile communication operators usually have different PLMNs. PLMN identification code = MCC + MNC, such as 46000, 46001, etc.
[0173] ICCID is also called the card number of the SIM card, which is used to uniquely identify a SIM card, that is, the IC card identifier. IMPU is the user identity identifier when an electronic device registers with the network and processes IMS services.
[0174] IMPU is an identity identifier of an electronic device when communicating with other electronic devices and can be published. IMPU is used for routing Session Initiation Protocol (SIP) messages.
[0175] IMPI is used for registration, authentication, authorization and billing when a user accesses the IMS network. It is not used for call addressing and routing. IMPI is a user identity defined by the home network operator and is globally unique.
[0176] P-CSCF is the unified entry point for IMS visited networks. All session messages initiated by and terminated at IMS terminals must pass through P-CSCF.
[0177] The authentication parameters include the user key (key identifier, KI), the operator root key (Operator Variant Algorithm Configuration Field, OP), and OPC (authentication key).
[0178] When a user opens an account at an operator's outlet, the operator will assign a specific KI to the user, which is stored in the SIM card and the home subscriber server (HSS) of the core network. The KI in the SIM card and the HSS are consistent. For confidentiality, the KI in the SIM card is burned into the card and cannot be read externally to ensure data security. The KI is the core of the entire AKA authentication and encryption mechanism. The authentication and encryption process is essentially the process of verifying the KI.
[0179] OP belongs to the operator variable algorithm configuration domain. All users of an operator can use the same OP to distinguish users of other operators. Generally, an operator has only one OP. In order to avoid the security risks caused by presetting the same OP for all cards, many operators currently use presetting OPC in SIM cards. OPC is obtained after a series of calculations of OP and KI. This ensures that different cards are preset with different OPCs, and the operator's OP cannot be calculated from the OPC of a card. Among them, OP and OPC are important parameters for SIM card authentication.
[0180] In this embodiment, the relay device and the user device can access the SIM card information of the user device through the client / server (C / S) mode. That is, the relay device, as a client, sends a SIM card information acquisition request to the user device, and the user device, as a server, sends the SIM card information to the relay device after receiving the request.
[0181] Fig. 9 It is a flowchart of the remote SIM card access method provided in an embodiment of the present application, which involves a process in which a relay device accesses SIM card information of a user device based on a C / S mode, and specifically includes the following steps.
[0182] S901: The AP of the user equipment sends a first setting command to the Modem of the relay equipment, so as to set the Modem of the relay equipment to the client mode.
[0183] S902: The AP of the user equipment sends a second setting command to the local Modem, so as to set the local Modem to a server mode.
[0184] The first setting command and the second setting command may be sent in the form of an attention (AT) command. In addition, this embodiment does not limit the sequence between S901 and S902.
[0185] S903: The Modem of the relay device sends a request for obtaining SIM card information to the AP of the user equipment.
[0186] S904: The AP of the user equipment converts the SIM card information acquisition request into a format readable by the modem.
[0187] S905, the AP of the user equipment sends the converted SIM card information acquisition request to the local modem.
[0188] S906: The modem of the user equipment accesses the SIM card and sends the SIM card information to the local AP.
[0189] It should be noted that in S906, the SIM card information sent by the user equipment's modem to the local AP is in a form readable by the AP, so the user equipment's AP needs to convert it into a form readable by the modem before sending it to the relay device's modem for processing.
[0190] S907, the AP of the user equipment converts the SIM card information into a format readable by the modem.
[0191] S908, the AP of the user equipment sends the SIM card information readable by the modem to the modem of the relay device.
[0192] In the SIM card information, OPC, IMSI, MSISDN, PLMN, ICCID, IMPU, IMPI, P-CSCF, FDN, SMS, SMSP, FPLMN, HPPLMN, HPLMNwAcT, HPLMNwAcT, OPLMNwAcT, PLMNwAcT and other information can be read by the relay device. However, parameters such as KI, OP, and OPC cannot be read by the relay device. In the process of using SIM card information for authentication, the relay device sends parameters such as the random challenge (RAND) and authentication token (AUTN) issued by the network side to the user equipment, so that the user equipment uses OPC and other parameters on the SIM card for authentication operations, and generates information such as a response message (RES), a confidentiality key (CK) and an integrity key (IK), among which RES is read by the relay device and sent to the network side device for verification.
[0193] In some embodiments, the relay device may adopt a real-time reading mode to read all SIM card information of the user equipment, such as IMSI, PLMN, encryption-related data, authentication data, address book, short messages, etc.
[0194] In other embodiments, the relay device can simultaneously adopt a mixed form of real-time reading mode and pre-caching mode to read the SIM card information of the user equipment. In this embodiment, the data types read by the relay device in real time include authentication data, and the pre-cached data include IMSI, PLMN, encryption-related data, address book, short messages, etc. For the pre-cached data, when the relay device needs to use the data, it can be directly read from the local, with a faster data reading speed.
[0195] In the SIM card information pre-cached by the relay device, parameters such as IMSI, MSISDN, PLMN identification code, encryption-related data, authentication algorithms and parameters, ICCID, IMPU, IMPI, DOMAIN, P-CSCF, etc. usually do not change. However, parameters such as FDN, SMS, SMSP, FPLMN, HPPLMN, HPLMNwAcT, OPLMNwAcT, PLMNwAcT, etc. may be updated or modified by the user. Therefore, for the pre-cached data, the relay device can set different aging cycles (also called update cycles) for different types of data. When the pre-cached data reaches the aging cycle, the relay device re-acquires the corresponding data from the user device side.
[0196] For example, the aging cycle of IMPI and IMPU can be set to infinity, and they do not need to be updated after being cached. The aging cycle of SMS and FDN is set to 60 minutes, and they are re-read from the SIM of the user equipment every 60 minutes. The aging cycle of HPLMNwAcT, OPLMNwAcT, PLMNwAcT, and FPLMN is set to 3 minutes, and they are re-read from the SIM of the user equipment every 3 minutes. The aging cycle of encryption-related data and ICCID is set to 0, and they cannot be cached. The relay device needs to read them from the user equipment in real time.
[0197] Fig.10 This is a schematic diagram of the SIM card information reading method provided in the embodiment of the present application Figure 1 , showing the real-time reading mode and pre-caching mode of SIM card information. Fig.10 As shown, the relay device includes Modem1 and AP1, and AP1 is provided with a buffer area and a communication module 1. The user equipment includes Modem2, AP2, SIM card 1 and SIM card 2, and AP2 is provided with a communication module 2. Communication modules 1 and 2 can communicate with each other via Bluetooth, WiFi or data services.
[0198] In real-time reading mode, when the relay device reads the SIM card information of the user device, Modem1 sends a SIM card information reading request to communication module 2 through communication module 1, and then communication module 2 sends it to Modem2. In response to the SIM card information reading request, Modem2 reads the SIM card information from the corresponding SIM card, and sends the SIM card information to communication module 1 through communication module 2, and then communication module 1 sends it to Modem1.
[0199] In the pre-caching mode, after the relay device determines to provide signal relay service for the user equipment, if the relay device supports the Mirror SIM function (i.e., mirror SIM card function), AP1 generates a SIM card information acquisition request and sends it to Modem2 through communication module 1 and communication module 2. In response to the SIM card information reading request, Modem2 reads the SIM card information from the corresponding SIM card, and sends the SIM card information to communication module 1 through communication module 2. After receiving the SIM card information, communication module 1 stores it in the cache area. When Modem1 needs to use the cached data, it can read it directly from the cache area. In the pre-caching mode, the relay device can read more data from the user equipment based on a single request. Therefore, compared with the relay device reading in real time on demand, reading communication data through the pre-caching mode can reduce the number of times the relay device accesses the SIM card of the user equipment.
[0200] Fig.11This is a schematic diagram of the SIM card information reading method provided in the embodiment of the present application Figure 2 , shows another real-time reading mode and pre-caching mode of SIM card information. Fig.11 As shown, the relay device includes Modem1, AP1 and communication module 1, and the user equipment includes Modem2, AP2 and communication module 2. Communication module 1 and communication module 2 can communicate with each other via Bluetooth, WiFi or data services.
[0201] In real-time reading mode, when the relay device needs to read the SIM card information of the user device, Modem1 sends the SIM card information reading request to Modem2 through AP1, communication module 1, communication module 2, and AP2 in sequence. In response to the SIM card information reading request, Modem2 reads the SIM card information from the corresponding SIM card and sends the SIM card information to Modem1 through AP2, communication module 2, communication module 1, and AP1 in sequence.
[0202] In the pre-caching mode, after the relay device determines to provide relay service for the user equipment, if the relay device supports the Mirror SIM function (i.e., mirror SIM card function), AP1 generates a SIM card information acquisition request and sends it to Modem2 through communication module 1, communication module 2, and AP2. In response to the SIM card information reading request, Modem2 reads the SIM card information from the corresponding SIM card, and sends the SIM card information to AP1 through AP2, communication module 2, and communication module 1 in sequence. After receiving the SIM card information, AP1 stores it in the local cache area. When Modem1 needs to use the cached data, it can read it directly from the cache area. Reading communication data in the pre-caching mode can reduce the number of times the relay device accesses the user equipment to obtain the SIM card.
[0203] In addition, Fig.11 In the embodiment, the communication module 1 of the relay device may also be arranged on the Modem1, and the communication module 2 of the user equipment may also be arranged on the Modem2.
[0204] In order to enable the relay device to read SIM card information from the user equipment, the relay device and the user equipment need to support specific data access protocols, such as remote SIM access profile (rSAP) and virtual SIM (VSIM) access protocol.
[0205] In some embodiments, the relay device can access the SIM card of the user device based on rSAP. rSAP includes two parts: rSAP on the client side (i.e., rSAP-c) and rSAP on the server side (i.e., rSAP-s). Among them, the modem of the relay device needs to support rSAP-c, and the modem of the user device needs to support rSAP-s. The relay device and the user device are connected through the rSAP-c and rSAP-s modes.
[0206] In other embodiments, the relay device does not support rSAP-c, but supports the VSIM access protocol, while the user equipment supports rSAP-s. In this case, when the relay device supports the function of converting between VSIM and rSAP-c, during the SIM card information reading process, the relay device can convert the VSIM protocol message into an rSAP-c message so as to send it to the user equipment. In addition, the relay device can convert the received rSAP-c message into a VSIM protocol message to achieve the connection between the relay device and the user equipment through the VSIM and rSAP-s mode.
[0207] After obtaining the SIM card information of the user device, the relay device can use the IMSI in the SIM card information as an identity to access the cellular network, report its own tracking area updating (TAU) information to the network side device at preset intervals, and establish a connection with the network side device.
[0208] In addition, optionally, after the relay device successfully uses the SIM card information of the user device to access the cellular network, the corresponding signal strength indicator icon on the relay device may be highlighted, for example, the signal strength indicator icon may be displayed in red.
[0209] After the relay device establishes a connection with the network side device through the SIM card information of the user device, the cellular communication data can be relayed between the network side device and the user device. The details are as follows.
[0210] Fig.12 Schematic diagram of data transmission path in signal relay communication process provided by the embodiment of the present application. Relay equipment transfers cellular communication data between network side equipment and user equipment.
[0211] In some embodiments, see Fig.12 As shown in path 1 in FIG. 1 , the relay device directly communicates with the user device. Specifically, the user device sends the uplink cellular communication data to the relay device, and the relay device then sends it to the network side device. The network side device sends the downlink cellular communication data to the relay device, and then the relay device directly sends it to the user device.
[0212] In other embodiments, see Fig.12As shown in path 2 in FIG, when the communication link quality between the relay device and the user equipment is poor or the communication link cannot be established, the relay device and the user equipment can communicate through at least one forwarding device. Specifically, the user equipment can send the uplink cellular communication data from the forwarding device to the relay device, and the relay device then sends it to the network side device. The network side device can send the downlink cellular communication data to the relay device, and then the relay device sends it to the user equipment through the forwarding device.
[0213] In this embodiment, the process of the forwarding device forwarding cellular communication data can be seen in Fig.13 As shown, a data receiving unit and a data forwarding unit are provided in the forwarding device. The data receiving unit is used to receive the downlink cellular communication data sent by the relay device and the uplink cellular communication data sent by the user equipment, and send them to the data forwarding unit. The data forwarding unit is used to send the downlink cellular communication data to the user equipment and send the uplink cellular communication data to the relay device.
[0214] Fig.14 Schematic diagram of the principle of signal relay communication provided by the embodiment of the present application. Fig.14 As shown, the relay device includes an application processor, a voice peer (Vpeer) module, a system bus and a Modem. In addition, the relay device may include audio and video peripherals, or may not include them.
[0215] The application processor includes a network management module, a communication software development kit (SDK), a radio interface layer (RIL), and a remote direct memory access (RDMA)-aware network interface controller (RNIC). Among them, the network management module includes a traffic control unit and a routing management unit. The traffic control unit is used to manage cellular data traffic, such as counting the used traffic. The routing management unit is used to manage the data transmission path. The RNIC is responsible for generating RDMA data packets and receiving input RDMA data packets, thereby eliminating redundant memory copy operations in traditional operations and enabling rapid migration of AP / Modem network card data. The communication SDK includes a communication management unit, a voice transceiver unit, a connection and transmission unit, and a security management unit. The communication management unit is used to manage communication services and send downlink cellular communication data received from the network side device to the user device. The voice transceiver unit is used to receive or send communication data of signal relay. The connection and transmission unit is used to manage the establishment of connection with the user device and the transmission of data. The security management unit is used to authenticate during the establishment of the signal relay connection, and to encrypt and decrypt the data related to the signal relay communication process. RIL is an interface layer used to interact with the Modem. In the user equipment, RIL is set to the client mode of the remote SIM card. Vpeer is used to process and transmit voice data.
[0216] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0217] The modem includes the IMS protocol stack, HiFi module and the simulated memory module (USIMM). The IMS protocol stack is the protocol stack for calls such as VoLTE and VoNR, and is used to complete signaling interaction and media negotiation with the IMS core network. The HiFi module is used for encoding and decoding of voice packets and 3A algorithm processing. The USIMM is used to manage SIM card read and write operations.
[0218] Audio and video peripherals include speakers, receivers, microphones, cameras, screens, etc. Speakers, also known as "horns", are used to convert audio electrical signals into sound signals. Electronic devices can listen to music or listen to hands-free calls through speakers. Receivers, also known as "earpieces", are used to convert audio electrical signals into sound signals. When an electronic device listens to a phone call or voice message, the voice can be answered by placing the receiver close to the human ear. Microphones, also known as "microphones" or "microphones", are used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by placing the human mouth close to the microphone to input the sound signal into the microphone. Cameras are used to capture static images or videos. Screens are used to display static images or videos.
[0219] The user equipment includes an application processor, a coder-decoder (Codec), a system bus, a Modem, a SIM card, and audio and video peripherals. For the specific contents of the system bus, the Modem, and the audio and video peripherals, please refer to the above description, which will not be repeated in this embodiment.
[0220] The application processor of the user equipment also includes a network management module, a communication SDK, an RNIC and a RIL. However, unlike the relay device, the network management module includes a virtual device management unit. The virtual device management unit is used to manage virtual devices in the signal relay communication process, namely the relay device. The RIL includes a switching management unit for managing the mapping between the RIL and the Modem. In addition, the RIL is also set as a remote SIM card server to obtain SIM card information from the SIM card and send it to the relay device.
[0221] Codec is a processing chip used to perform A / D and D / A conversion on audio signals. A / D conversion refers to the encoding process of converting analog signals (Analog) that can be heard by the human ear into digital signals (Digital) that can be processed by computers. D / A is the decoding process of converting the processed digital signal into an analog signal that can be heard by the human ear. In this embodiment, the Codec and the system bus are connected via a serial low-power inter-chip media bus (Serial Low-power Inter-chip MediaBus, SLIMBUS). SLIMBUS is an audio interface specified by the mobile industry processor interface (MIPI) alliance, which is used to connect baseband / application processors and audio chips. The bus protocol ensures that both control information and data information can be sent.
[0222] In the process of signal relay communication, the relevant communication data includes control signaling and media data (such as call data packets). The transmission process of control signaling and media data between the relay device and the user equipment is described below.
[0223] Taking a call as an example, for control signaling, after the user equipment obtains the call control command input by the user, it sends it to the local communication SDK module through the RIL module, and the local communication SDK module sends it to the communication SDK module of the relay device. The communication SDK of the relay device calls and drives the Modem to execute the control command through the RIL interface. In this embodiment, the call control command includes a call dialing command, a call hang-up command, a call query command, etc.
[0224] When the relay device receives the incoming call notification from the network side device, it calls the communication management module of the communication SDK through the local RIL interface, and sends the incoming call notification to the communication SDK module of the user device through the communication management module. After receiving the incoming call notification, the communication SDK module of the user device calls the RIL interface to notify the incoming call and reports it to the application framework layer of the AP, so that the user device displays the incoming call interface.
[0225] For media data, when the call is connected, the relay device's modem receives the downlink cellular communication data packet from the network side device, and the relay device's communication SDK module obtains the downlink cellular communication data packet from the modem and sends the data packet to the user device's communication SDK module. The user device's communication SDK module calls the local audio and video peripherals through the RIL interface to play the relevant content carried by the downlink call data packet. In addition, after the user device collects the uplink call data packet, the local communication SDK sends the uplink call data packet to the communication SDK module of the relay device, and the relay device's communication SDK module then transmits the uplink call data packet to the modem, and the modem sends it to the network side device through the air interface.
[0226] In addition, for cellular communication services such as Internet access and text messaging, the transmission path of the control signaling is the same as the transmission path of the control signaling during the above-mentioned call. For the application data generated by the user device during operation, the user device first marks the application data, distinguishes different types of application data, and then sends the marked data to the corresponding device or component. For example, the application data is marked as cellular service data and non-cellular service data. The cellular service data is sent to the relay device, and the non-cellular service data is sent to the WiFi network card, etc.
[0227] The communication method provided in the embodiment of the present application is exemplarily described below in conjunction with specific business scenarios.
[0228] Scenario 1: Near-field signal relay
[0229] At home, due to signal obstruction and other reasons, the cellular signal on the balcony is often better, while the cellular signal in the bedroom or basement is poor. When users make calls or surf the Internet in the bedroom or basement, communication quality will be abnormal, resulting in poor user experience. Fig.15 As shown, a relay device (such as CPE, other mobile phones, etc.) can be placed in a place with a good cellular signal at home (such as a balcony), and the user device and the relay device can be connected to the relay device using near-field communication technology, and the relay device can be used to relay cellular signals and access the cellular network. Among them, the near-field communication technology can be WiFi LAN, WiFi P2P, Bluetooth, NFC and other communication technologies.
[0230] Through the method provided in this embodiment, when the user is at home, even if he / she is making a call in the bedroom or basement, the call can be smooth, and there is no need to move to the balcony to make a call. For business scenarios such as text messages, the sending and receiving rate of text messages can be increased, and the delay of text messages reaching the user's device can be improved. For business scenarios such as surfing the Internet, the refresh rate of web pages can be increased.
[0231] Scenario 2: Far-field signal relay
[0232] When the user is outdoors or in a restaurant, shopping mall, or other place, the cellular signal strength on the user's device may be poor due to lack of cellular signal coverage or building obstruction. Fig.16 As shown, if the user has a relay device at home and the relay device is connected to WiFi or has turned on cellular data, the user device can use far-field communication technology to establish a connection with the relay device and use the relay device to access the cellular network. Among them, far-field communication technology includes P2P connection based on WiFi or data services, or server relay connection based on WiFi or data services, etc.
[0233] When the relay device and the user device are connected via WiFi P2P, since the two electronic devices are located in different gateways, they cannot directly access each other based on the other's IP address. At this time, the electronic device can use the Network Address Translators (NAT) technology to convert its own IP address and port number into an IP address and port number that can be accessed by the other party, so that the two electronic devices can connect successfully.
[0234] In the method provided in this embodiment, when the user is in a restaurant or shopping mall, there is no need to move to an open-air area to make a phone call. For business scenarios such as text messages, the sending and receiving rate of text messages can be increased, and the delay of text messages reaching the user's device can be improved. For business scenarios such as surfing the Internet, the refresh rate of web pages can be increased.
[0235] Scenario 3: Power consumption transfer, power saving
[0236] In daily life, you often encounter situations where the battery level of your device is low (for example, less than 20%) and it is inconvenient to charge. Fig.17 As shown, if the user or relatives and friends around the user carry other electronic devices with cellular communication functions (such as tablets, mobile phones, laptops, etc.), the user device uses the other electronic devices as relay devices to access the cellular network through the relay devices.
[0237] Optionally, when the battery level of the user device is lower than a preset value, if the user device detects a relay device, a first prompt box may be displayed to prompt the user to use the relay device. The prompt box may include prompt information for detecting a relay device, a device selection control for selecting a relay device, a setting control, etc. For example, see Fig.18 As shown in (a) of FIG. 1 , the prompt message in the first prompt box may be “Battery is low, do you want to use the relay device electronic device 2?”. The device selection control is an “authorized use” icon, which is used to select the use of electronic device 2 as the relay device. The setting control may be a “settings” icon, which is used to further set the electronic device 2. In response to the user’s operation on the “authorized use” icon, the user device uses the electronic device 2 as the relay device and displays, for example, Fig.18 The second prompt box shown in (b) includes a prompt message "The cellular signal of this device comes from electronic device 2" and a "Cancel settings" icon for canceling the use of electronic device 2 as a relay device.
[0238] When the user device accesses the cellular network through the relay device, the relay device stays on the network and is on standby, which not only saves the power of the user device but also enables the cellular communication services to be handled normally without missing calls or text messages.
[0239] Alternatively, the user device can also Figure 4 In the interface shown in (f), the service processing mode of this relay communication is set to "relay device only", and the cellular communication service is transferred to the relay device for processing to further save the power of the user device.
[0240] In addition, in some embodiments, in order to ensure the call quality of the user equipment, Figure 4 In the interface shown in (f) of FIG, the signal relay stationing mode is set to full mode, so that the relay device can fully station the network according to its own stationing mode. Alternatively, in order to facilitate users to handle cellular communication services, the service processing mode of the signal relay can be set to "simultaneous processing", that is, both the user device and the relay device can process. Alternatively, in order to reduce the traffic loss of the relay device, the traffic sharing can be turned off.
[0241] In the above-mentioned scenarios 1 and 2, as well as some embodiments of scenario 3, the service processing mode in the signal relay process is the "user equipment only" mode. The relay device forwards data between the user equipment and the network side device as an intermediate device, and the actual processing device of the cellular communication service is the user equipment. The process of the user equipment as a service processing device processing the cellular communication service is described below.
[0242] See also Fig.19 As shown, Fig.19 The process of a user device answering a call as a service processing device is shown, which specifically includes the following steps S1901-S1909.
[0243] S1901, the network side device sends an incoming call notification to the relay device.
[0244] S1902: The relay device sends an incoming call notification to the user device.
[0245] S1903: After receiving the incoming call notification, the user equipment displays the incoming call interface. Fig. 20 As shown, the incoming call interface includes a user image, incoming call number, answering controls, rejecting controls, etc.
[0246] S1904: In response to the user's operation on the call answering control, the user device sends a call answering notification to the relay device.
[0247] S1905, the relay device sends a call answering notification to the network side device.
[0248] S1906: The network side device sends a downlink call data packet to the relay device.
[0249] S1907, the relay device sends a downlink call data packet to the user equipment.
[0250] S1908, the user equipment sends an uplink call data packet to the relay device.
[0251] S1909, the relay device sends an uplink call data packet to the network side device.
[0252] Through the above steps S1901-S1909, in the relay mode, the user device can not only access the network side device through the cellular signal of the relay device to improve the call quality, but also answer the call locally, which has a better user experience.
[0253] Scenario 4: Separating the CPE from the SIM card and moving the SIM card from outdoor to indoor
[0254] Normally, when the indoor cellular signal is poor, in order to improve the fluency of users' Internet access indoors, users can place a CPE outdoors and use the CPE as a WiFi hotspot to provide Internet access services to user devices. When a SIM card is installed on the CPE, the user device can use the traffic of the SIM card on the CPE after connecting to the CPE, and indirectly access the cellular network through the CPE. However, the SIM cards installed on some CPEs are exposed on the outer surface of the CPE shell. When such CPEs are placed outdoors, not only will the SIM cards on their surface often be exposed to the sun, there is a risk of the SIM card substrate being melted, but there is also a risk of theft. In addition, the SIM card on the CPE usually needs to be installed and fixed with screws. For CPEs that have been installed outdoors, it is very inconvenient to remove the SIM card.
[0255] For this purpose, see Fig.21 As shown, the user can install a SIM card on the router at home, connect the router (user equipment) and CPE (relay equipment) through a network cable, so that the CPE can read the SIM card information from the router through the network cable and access the cellular network according to the SIM card information. The method of reading the SIM card can be found in the previous description, and this embodiment will not be repeated here. In addition, the method of CPE accessing the cellular network according to the SIM card information can also be found in the existing CPE, and this embodiment will not be repeated here.
[0256] By using the method provided in this embodiment, the SIM card on the outdoor CPE can be transferred to the indoor device, thus avoiding the risk of the SIM card being stolen or damaged by sunlight. In addition, compared with removing and installing the SIM card from the CPE installed outdoors, it is more convenient to remove and install the SIM card from the indoor router.
[0257] Scenario 5: CPE acts as a WiFi hotspot without a SIM card
[0258] Based on the above description, it can be known that currently, a SIM card with traffic configuration is usually installed on the CPE to provide Internet services for user devices. Therefore, in order to maintain the normal operation of the CPE, the user usually needs to maintain an additional SIM card for the CPE and pay the corresponding fees every month, which consumes the user's energy.
[0259] For this purpose, see Fig. 22As shown, the CPE may not install a SIM card, but establish a connection with a user device (such as a mobile phone) through a WiFi hotspot, access the SIM card information of the user device through Remote SIM technology, and use the SIM card information of the user device to register and access the cellular network. When the user device opens traffic sharing, other electronic devices actually consume the traffic of the user device SIM card when using the CPE to surf the Internet. Through the method provided in this embodiment, the user does not need to maintain an additional SIM card for the CPE, saving the user's energy.
[0260] Optionally, the user device can Figure 4 In the interface shown in (f) of FIG. 1 , the relay equipment stationing mode is set to full mode so that the CPE can fully station according to its own stationing mode to improve the communication quality. The user equipment can also set the service processing mode to "only user equipment" so as to process cellular communication services on the user equipment side.
[0261] In addition, compared to using a mobile phone directly as a WiFi hotspot for other electronic devices in the room, it can reduce the power consumption of the mobile phone and avoid users from frequently charging their mobile phones.
[0262] Scenario 6: The phone is left at home and calls are not missed.
[0263] In daily life, users may forget to carry their mobile phones when they go out or it may be inconvenient for them to carry their mobile phones. At this time, if the user wants to answer a call from the mobile phone or make a call using the mobile phone number, he can use another electronic device as a relay device for the mobile phone to access the network side device and process cellular communication services on behalf of the user device. In other words, after obtaining the SIM card information of the user device, the relay device accesses the cellular network on behalf of the user device and processes cellular communication services.
[0264] Fig.23 is a schematic diagram of the process of selecting a user device on a relay device provided in an embodiment of the present application, which involves the process of the relay device searching and determining the user device according to the user instruction. Fig.23 As shown in (a) of FIG. 1 , for an electronic device, in the signal relay interface, in response to the user turning on the “become a relay device” switch item, the electronic device becomes a relay device. After becoming a relay device, the electronic device can start broadcasting the first notification message described above so that other electronic devices can discover the relay device. In addition, see Fig.23 As shown in (b) of FIG. 1 , the relay device may also display a “Search User Device” option below the “Become Relay Device” switch item to actively search for available user devices (hereinafter referred to as available devices) according to the user's instruction. In response to the user's operation on the “Search User Device” option, the user device displays, for example, Fig.23The available device interface shown in (c) in FIG. 1 includes available devices of the relay device, such as electronic device 2, electronic device 3, and electronic device 4. In response to the user selecting the user device (such as electronic device 2), see Fig.23 As shown in (d), the relay device establishes a connection with the electronic device 2, and processes the cellular communication service on behalf of the electronic device 2. In the scenario provided by this embodiment, the relay device and the user device can be connected through a cloud server based on WiFi or cellular data services, or through a P2P connection based on WiFi or cellular data services.
[0265] In the above process, optionally, the relay device can search for the proxied device (i.e., user device) through the cloud server. Specifically, some users may have multiple electronic devices at the same time, such as mobile phones, smart watches, tablet computers, etc., and each electronic device establishes a connection with the corresponding cloud server by logging into the device account. If these electronic devices log in to the same device account, the cloud server considers that these electronic devices belong to the same user. For electronic devices of the same user, the cloud server can share data between various electronic devices. Based on this, when the relay device detects that the user operates the "Search User Device" option, it can query other electronic devices that belong to the same user as the relay device through the cloud server, such as electronic device 2, electronic device 3, and electronic device 4.
[0266] After establishing a connection with the user device, the relay device can access the SIM card information of the user device, and access the network side device according to the SIM card information to process the cellular communication service on behalf of the user device. At this time, the relay device can display a third prompt box to prompt the user that it is currently providing signal relay service for other electronic devices. For example, see Fig.24 As shown, the third prompt box includes prompt information and a cancel control. For example, the prompt information may be "This device is providing signal relay service to the following device: electronic device 2". The cancel control may be a "cancel authorization" icon for canceling the signal relay service currently provided by the relay device.
[0267] Fig.25 This is a flow chart of a communication method based on a relay device provided by an embodiment of the present application. In this embodiment, the service processing mode of the signal relay is "relay device only", which involves the process in which the relay device borrows the SIM card information of the user device to access the network side device and processes the cellular communication service of the user device.
[0268] S2501, the relay device sends a SIM card information acquisition request to the user equipment. In this embodiment, the relay device can send the SIM card information acquisition request to the user equipment through the cloud server, or send the SIM card information acquisition request to the user equipment through the WiFi / cellular service data P2P link between the relay device and the user equipment.
[0269] S2502, the user equipment receives the SIM card information sent by the relay equipment. In this embodiment, the user equipment can send the SIM card information to the relay equipment through the cloud server, or send the SIM card information to the user equipment through the WiFi / cellular service data P2P link between the relay equipment and the user equipment.
[0270] S2503, the relay device establishes a connection with the network side device according to the SIM card information.
[0271] S2504, the network side device sends an incoming call notification to the relay device.
[0272] S2505, the relay device displays the incoming call interface locally according to the incoming call notification.
[0273] S2506: In response to the user's answering operation, the relay device sends an answering notification to the network side device.
[0274] S2507, the network side device sends a downlink call data packet to the relay device, and plays the downlink call audio / video according to the downlink call data packet.
[0275] S2508, the relay device collects the uplink call audio / video, forms an uplink call data packet according to the uplink call audio / video, and sends the uplink call data packet to the network side device.
[0276] It should be noted that for calls such as VoLTE and VoNR, the relay device needs to have the IMS protocol stack and voice encoding and decoding capabilities. Based on this, when the relay device receives a downlink call data packet in the form of RTP, it can parse it into a PCM code stream for local playback. In addition, collect the PCM code stream of the uplink voice data and directly convert it into an uplink call data packet in the form of RTP, or encode the PCM code stream and convert it into an uplink call data packet in the form of RTP. In addition, for calls such as CS and CS fallback, the relay device needs to have the CS protocol stack and voice encoding and decoding capabilities. Exemplarily, the relay device can be a mobile phone, a tablet computer, a smart watch, etc.
[0277] In addition, in some other embodiments, the user can also use the SIM card information of the user device to make calls, send and receive text messages, access the Internet, etc. on the relay device side.
[0278] Through the communication method provided in the embodiment of the present application, when the user goes out without carrying the user device, the SIM card information of the user device can be obtained through other electronic devices, and the user device can be used to access the cellular network and process cellular communication services such as calls, text messages, and Internet access, thereby avoiding missing calls and providing a better user experience.
[0279] Scenario 7: Users wearing smart watches run outdoors without missing calls on their phones
[0280] Due to the large size of mobile phones and their inconvenience in carrying, users usually do not carry mobile phones during exercise (for example, when running outdoors), but choose to wear smart watches. In order to avoid missing calls on the mobile phone during exercise, users can transfer the calls on the mobile phone to the smart watch in advance through call forwarding. However, call forwarding has problems such as long delay (usually around 30 seconds), users cannot use the mobile phone number to make calls on the smart watch side, and the operator needs to charge the transfer party (i.e. the mobile phone user) for call forwarding fees, resulting in poor user experience.
[0281] For this purpose, see Fig.26A As shown, the user can use the mobile phone as a user device and the smart watch as a relay device, so that the smart watch can replace the mobile phone to access the cellular network and process cellular communication services. In this embodiment, when a SIM card is installed on the smart watch, the smart watch can establish a connection with the mobile phone through a cellular data service. Alternatively, the smart watch can also be connected to the mobile phone through WiFi connection, Bluetooth, etc. Alternatively, the smart watch can be connected to the electronic device 1 through Bluetooth, and then connected to the mobile phone through the WiFi of the electronic device 1.
[0282] In addition, many mobile phones support the installation of two SIM cards, such as SIM card 1 and SIM card 2. For the above scenario where the user forgets or is inconvenient to carry a mobile phone or other user device, when the smart watch has replaced the mobile phone to use SIM card 1 to access the cellular network, if the mobile phone's SIM card 2 calls, the user will still miss the call.
[0283] To this end, in some embodiments, when the smart watch has two idle modems, the relay device can obtain the information of SIM card 1 and SIM card 2, thereby simultaneously replacing the user device to use SIM card 1 and SIM card 2 to access the cellular network and process cellular communication services on the relay device side. Based on this, whether the user device SIM card 1 or SIM card 2 calls, the user can answer the call on the relay device side. In addition, the user can also use SIM card 1 and SIM card 2 on the relay device side to process other cellular communication services, such as making calls, sending text messages, and surfing the Internet.
[0284] In other embodiments, see Fig.26BAs shown, when a call comes in to the SIM card 2 of the mobile phone, the user device can notify the smart watch of the incoming call based on the current communication link between the mobile phone and the smart watch, and the smart watch displays the incoming call interface. When the user answers the call on the smart watch side, the network side device sends the downlink call data to the mobile phone, and the mobile phone sends it to the smart watch, which plays it. In addition, the smart watch collects the uplink call data locally, and sends the uplink call data to the user device, and then the user device sends it to the network side device.
[0285] Scenario 8: Mobile phones "replace" CPE to recommend optimal locations
[0286] Usually, a SIM card is installed in the CPE, and the user needs to select a location with a good cellular signal to place the CPE indoors to ensure the cellular communication quality of the CPE. Currently, the way for users to choose the location of the CPE is to select multiple locations indoors to detect the cellular signal strength, check the cellular signal strength in the CPE management application corresponding to the mobile phone (such as Smart Life), and manually determine a location with a higher cellular signal strength to place the CPE. However, CPE usually needs to be plugged in to work. Due to the limitation of the length of the power cord and the fact that the CPE is relatively bulky, the CPE is not easy to move, which affects the choice of the CPE placement location.
[0287] To do this, users can refer to Fig. 27 As shown, a portable user device (such as a mobile phone) is set as a relay device, and the CPE is determined as a user device, and connected to the CPE through near-field communication technology. After that, the mobile phone can access the SIM card information in the CPE through the Remote SIM technology, and access the cellular network through the SIM card information. In this embodiment, the user needs to set the relay device's on-network mode to the user device mode, so that the mobile phone can be on-network according to the CPE's on-network mode, and can move freely indoors instead of the CPE to determine the CPE placement location. In this embodiment, the mobile phone can still display the CPE cellular signal strength through the CPE management application (such as Smart Life) for user reference. Alternatively, the user can also directly determine the placement of the CPE based on the current signal strength of the mobile phone.
[0288] Through the method provided in this embodiment, the user does not need to move the CPE, but can determine the placement position of the CPE by moving the mobile phone, which is convenient to operate.
[0289] In addition, compared with directly using a mobile phone to install the SIM card of the CPE and moving indoors to detect the cellular signal strength at various locations, the detection result of the method provided in this embodiment is more accurate. This is because the mobile phone and CPE have different communication rules such as frequency bands and carrier aggregation (CA). Therefore, the cellular signal strength of the mobile phone cannot accurately represent the cellular signal strength of the CPE.
[0290] Scenario 9: Package Sharing
[0291] The SIM card in the CPE usually applies for a mobile broadband (MBB) data package, and its package fee is much cheaper than that of a mobile phone SIM card package. Fig. 27 As shown, the CPE is used as the user equipment, and the mobile phone is used as the relay device to access the SIM card information of the CPE through the Remote SIM technology, access the cellular network through the SIM card of the CPE, and perform cellular communication services such as surfing the Internet. It should be understood that when the mobile phone uses the SIM card of the CPE to surf the Internet, the traffic of the CPE SIM card is consumed, which can save the traffic of the mobile phone SIM card.
[0292] It should be noted that, in this embodiment, user devices of multiple family members can all use the CPE and use its traffic to access the Internet, thus saving Internet access fees for the entire family.
[0293] Scenario 10: Improving cellular communication capabilities
[0294] The cellular communication capabilities of different user devices (such as mobile phones) may be different. For example, mobile phone 1 supports up to the fifth generation mobile communication technology (5th generation mobile networks, 5G), while mobile phone 2 supports up to the fourth generation mobile communication technology (4th generation mobile networks, 4G). In order to improve the cellular communication capability of mobile phone 2, refer to Fig.28 As shown, the user can adopt the signal relay method and use mobile phone 1 as the relay device of mobile phone 2, so that mobile phone 2 can borrow the 5G communication capability of mobile phone 1 to perform cellular communication services.
[0295] It should be noted that in this embodiment, the user equipment needs to set the signal relay network mode to full mode. After that, after mobile phone 1 accesses the SIM card information of mobile phone 2 through Remote SIM technology, it can use the SIM card information of mobile phone 2 to access the cellular network through the communication capability of mobile phone 1 itself. Specifically, mobile phone 2 sends the uplink cellular communication data to mobile phone 1 through the communication link between mobile phone 1 and mobile phone 2, and then mobile phone 1 sends it to the network side device through 5G technology. In addition, after mobile phone 1 receives the downlink cellular communication data through 5G technology, it sends it to mobile phone 2 through the communication link between mobile phone 1 and mobile phone 2, and mobile phone 2 processes it.
[0296] It should be noted that mobile phone 1 and mobile phone 2 can be connected via a communication link such as a WiFi local area network link, a WiFi P2P link, a Bluetooth link, etc., and this embodiment does not limit this.
[0297] In addition, in some embodiments, the relay device can also be a leather case with communication function. The appearance of the leather case is similar to that of a mobile phone protective case, and the inner surface of the shell is provided with a SIM card slot, a communication module and other communication-related accessories. After the mobile phone is installed with the leather case, the SIM card in the leather case can be used to make calls and send and receive text messages. Based on this, in this embodiment, when the cellular communication capability of the leather case is stronger than that of the mobile phone, the user can also connect the leather case to the mobile phone, use the leather case as a relay device, and use the mobile phone as a user device, so that the mobile phone can access the cellular network with the help of the leather case's capabilities, thereby improving the cellular communication capability of the mobile phone.
[0298] It should be noted that in the signal relay scenario provided in the embodiment of the present application, the leather case may not be provided with a SIM card slot, and this embodiment does not limit this.
[0299] In this embodiment, the leather case and the mobile phone can be connected through a peripheral component interconnect express (PCIe) interface, a USB interface, an inter-integrated circuit sound (I2S) interface, a SLIMBUS interface, a universal asynchronous receiver / transmitter (UART) interface, a secure digital input and output (SDIO), a serial peripheral interface (SPI), a general-purpose input / output (GPIO) interface, a controller area network (CAN) interface, etc., and this embodiment does not limit this.
[0300] In summary, through the method provided in this embodiment, the cellular communication capability of the user equipment can be improved without changing the hardware facilities of the user equipment.
[0301] Scenario 11: Server as a relay device
[0302] When users do not have CPE, mobile phones, smart watches and other electronic devices as relay devices, they can also use servers as relay devices. Fig.29 shown.
[0303] Fig.29 The structure of the communication system to which the communication method provided in the embodiment of the present application is applicable is shown in FIG. Figure 3 , which involves the specific way in which a user device uses a server as a relay device to access a network-side device. Fig.29 As shown, in this embodiment, the server serving as a relay device is referred to as a relay server. A relay server can simultaneously serve as a relay device for multiple user devices, access the SIM card information of the user device, and access the network side device according to the SIM card information. The user device and the relay server can be connected via a cellular data service or via WiFi.
[0304] In this embodiment, the user can establish a connection with the relay server by purchasing a service package provided by the relay server, and control the type of signal relay service provided by the relay server to the user device. Fig.30 Click the "Global Cloud Cat" option in the Skylink application interface shown in (a) to enter Fig.30The package purchase interface shown in (b) in FIG. In the package purchase interface, different packages correspond to different services. For example, package 1 provides 500 minutes of signal relay service, and the service is limited to call services. For another example, package 2 provides 1000 minutes of signal relay service, which supports calls, text messages, and Internet access. Users can select packages according to their needs to control the services provided by the relay server.
[0305] In addition, different regions are equipped with different relay servers. In order to improve the communication quality of the user device in the relay mode, the user can also select the region where the user device is located in the package purchase interface, such as selecting city A in country A, so that the user device can connect to a relay server that is closer.
[0306] After the relay device is connected to the user device, it can obtain the SIM card information of the user device. After the relay server obtains the SIM card information of the user device, it can use method one or method two to access the network side device. Method one: When the relay server is configured with a cellular communication unit, the relay device can access the network side device according to the SIM card information of the user device through the cellular communication module. Method two: The relay server can access the network side device according to the SIM card information of the user device through WiFi. Among them, the communication method between the relay server and the network side device is specific. Please refer to the relevant content of electronic devices using NON-3GPP networks (i.e. non-3GPP networks) to access network side devices. This embodiment will not be repeated here.
[0307] Scenario 12: Support dual SIM card calls
[0308] At present, although most mobile phones on the market support the installation of two SIM cards (such as SIM card 1 and SIM card 2) at the same time, when one SIM card (such as SIM card 1) is in a call state, the other SIM card (such as SIM card 2) is usually unable to receive incoming calls, so the user may miss the incoming call of SIM card 2. To this end, in this embodiment, when one SIM card (such as SIM card 1) of the user device enters the call state, the user device can automatically control the other SIM card (such as SIM card 2) to enter the relay mode, and use the information of SIM card 2 to stay on the network through the relay device. In this process, if SIM card 2 calls, the relay device can make a call reminder locally, or control the user device to make a call reminder, as shown below.
[0309] In some embodiments, see Fig.31 As shown, when the user device is answering a call from SIM card 1 (i.e., a call from Mr. Wang 135xxxx2195), if the relay device receives a call from SIM card 2 (i.e., a call from Ms. Li), a call reminder interface can be displayed on the relay device for the user to answer the call.
[0310] In other embodiments, see Fig.32 As shown, when the user device is answering a call from SIM card 1 (i.e., a call from Mr. Wang 135xxxx2195), if the relay device receives a call from SIM card 2 (i.e., a call from Ms. Li), the incoming call notification can be sent to the user device, and the user device displays the incoming call reminder interface. Based on this, the user can choose to hang up Mr. Wang's call and answer Ms. Li's call on the user device, or hold Mr. Wang's call to answer Ms. Li's call.
[0311] For the scenario where the user equipment is used as a service processing device in processing the cellular communication industry (i.e., the scenario where the service processing mode of the signal relay is "user equipment only"), the relay device needs to transfer and transmit call data packets between the network side device and the user equipment.
[0312] Fig.33 Schematic diagram of data transmission in the signal relay communication process provided by the embodiment of the present application. Fig.33 As shown, during the signal relay communication process, the relay device transfers and transmits various cellular communication data between the network side device and the user equipment, including control signaling, text messages, and uplink and downlink call data packets.
[0313] During a cellular call, the network device and the user device transmit call data packets based on the real-time transport protocol (RTP). Therefore, the downlink call data packets sent by the network device to the relay device are usually RTP data packets. The RTP data packets store voice data in coding formats such as adaptive multirate-narrow band (AMR-NB), adaptive multirate-narrow band (AMR-WB), enhanced voice services (EVS), Opus, and EVS Codec Extension for Immersive Voice and Audio Services (IVAS). However, the user device usually plays audio information based on the PCM code stream, and the voice data in the RTP data packet in the format of AMR-NB, AMR-WB, EVS, Opus, IVAS, etc. needs to be converted into PCM code stream before it can be played. Similarly, the user equipment needs to convert the uplink PCM code stream into voice data in the format of AMR-NB, AMR-WB, EVS, Opus, IVAS, etc., and then encapsulate it into RTP data packets before sending it to the network side device.
[0314] In addition, during the call, the network side device and the user device transmit signaling based on the session initiation protocol (SIP). After the SIP signaling sent by the network side device, it needs to be converted into the corresponding call control command so that the user device can perform the corresponding action according to the control signaling. In addition, for the call control command generated by the user device, it needs to be converted into SIP signaling before it can be sent to the network side device. In this embodiment, the call control command can be IRING, CLCC, CALLSTATE, CHLD, APDS, etc. Among them, IRING is a ringing status reporting command, CLCC is a call status query command, CALLSTATE is a call status reporting command, CHLD is a HOLD operation command, and APDS is a dialing command.
[0315] At present, taking VoLTE, VoNR and other calls as examples, for the scenario where the user equipment processes the service, when the relay equipment has the IMS protocol stack and voice codec capabilities, it can convert RTP data packets and PCM code streams, as well as SIP signaling and call commands. When the relay equipment does not have this capability, the user equipment needs to perform the above operations. Therefore, different methods can be used to forward cellular communication data according to the different capabilities of the relay equipment. The details are as follows.
[0316] Method 1: The relay device has IMS protocol stack and voice encoding and decoding capabilities.
[0317] In one example, see Fig.34 As shown, during a call, the network side device and the relay device transmit signaling through SIP signaling. When the relay device has an IMS protocol stack, the relay device can convert the downlink SIP signaling into a specific call control command and then send the call control command to the user device. The user device can also send the locally generated uplink call control command to the relay device, which then converts it into SIP signaling and sends it to the network side device.
[0318] When the relay device has voice encoding and decoding capabilities, for downlink RTP data packets, the relay device can first convert the voice data in the RTP data packet into a pulse code modulation (PCM) code stream, and then send the PCM code stream to the user device for playback. In addition, the user device can collect the PCM code stream corresponding to the uplink cellular communication data and send the PCM code stream to the relay device. The relay device converts the PCM code stream into an RTP data packet and sends it to the network side device.
[0319] In another example, when the relay device has an IMS protocol stack and voice codec capabilities, and the user device also has an IMS protocol stack and voice codec capabilities, the relay device can also only transparently transmit cellular communication data such as signaling, text messages, and uplink and downlink call data packets between the network side device and the user device, and the user device performs the conversion between RTP data packets and PCM code streams, as well as the conversion between SIP signaling and call control commands.
[0320] Method 2: The relay device does not have the IMS protocol stack and voice codec capabilities, but the user device has the IMS protocol stack and voice codec capabilities.
[0321] See also Fig.35As shown, when the relay device does not have the IMS protocol stack and voice codec capability, but the user device has the IMS protocol stack and voice codec capability, the relay device only transparently transmits cellular communication data such as signaling, text messages, and uplink and downlink call data packets between the network side device and the user device, and the user device performs the conversion between RTP data packets and PCM code streams, as well as the conversion between SIP signaling and call control commands.
[0322] Method 3: The relay device has the IMS protocol stack but does not have voice encoding and decoding capabilities, while the user device has voice encoding and decoding capabilities.
[0323] See also Fig.36 As shown in the figure, when the relay device has an IMS protocol stack, it can convert the downlink SIP signaling into a specific call control command and then send the call control command to the user device. The user device can send the uplink call control command to the relay device, which converts it into SIP signaling and sends it to the network side device. When the relay device does not have voice encoding and decoding capabilities, but the user device has this capability, the relay device only transparently transmits uplink / downlink call data packets in RTP format between the network side device and the user device, and the user device performs the conversion between RTP data packets and PCM code streams.
[0324] For the scenario where the relay device is used as a service processing device (i.e., the service processing mode of the signal relay is "relay device only"), take VoLTE, VoNR and other calls as an example, see Fig.37 As shown, the relay device needs to have the IMS protocol stack and voice encoding and decoding capabilities, and be able to convert between RTP data packets and PCM code streams, as well as convert between SIP signaling and call commands.
[0325] It should be noted that for CS, CS fallback and other calls, depending on whether the relay device has a CS protocol stack and voice encoding and decoding capabilities, the relay device and the user equipment may also forward cellular communication data in the above manner, which is not described in detail in this embodiment.
[0326] When the user device and the relay device communicate through data services, the relay device can act as a hotspot device to convert the cellular signal (including general packet radio service (GPRS), 3G, 4G or 5G signals, etc.) received by the relay device through the local SIM card information into a WiFi signal for transmission. Alternatively, the relay device can also transmit WiFi signals when no SIM card is installed locally. The user device can establish a connection with the relay device through the WiFi signal transmitted by the relay device, that is, connect to the hotspot of the relay device.
[0327] For example, see Fig.38As shown, after the user device is connected to the hotspot of the relay device, it can forward the uplink cellular communication data to be sent to the relay device to the relay device through the network card of the user device through IP forwarding (IP FORWORD), and then the relay device sends it to the network side device through the air interface. Similarly, the relay device can also send downlink cellular communication data to the user device through its hotspot.
[0328] Specifically, the user device is usually configured with an Internet network card (i.e., Internet network card) and a multimedia messaging service (MMS) network card for each SIM card. Normally, when the user device communicates with the network side device autonomously, the user device sends multimedia short messages (i.e., MMS) to the network side device through the MMS network card, and sends some specific cellular communication data (e.g., one-click login related data) to the network side device through the Internet network card. In addition, the user device is also provided with a WiFi network card, which is used to send application (application, App) data on the user device, such as audio and video data related to the running process of the App.
[0329] In order to realize the transfer and transmission of cellular communication data between the user equipment and the network side equipment, a series of network cards are also set on the relay equipment. Fig.39 As shown, for the scenario where the relay device (such as CPE) is equipped with Modem0 and Modem1, when a SIM card is installed locally, the CPE will configure an Internet network card for the local SIM card. In addition, when the user device connects to the relay device through the CPE WiFi hotspot, the CPE will also configure an Internet network card and an MMS network card for the user's SIM card.
[0330] When the user equipment is connected to the network side device through the relay device, the user equipment first sends the cellular data service request to the relay device through the local WiFi network card, and then the relay device sends it to the network side device. For example, for MMS, since MMS is sent to the network side device through the air interface in the form of a fixed access point name (APN), the user equipment sends the MMS data stream to the local WiFi network card through the MMS network card of the user equipment, and then the WiFi network card sends it to the CPE WiFi hotspot of the relay device, and then the MMS network card sends it to the network side device through Modem1. For application data such as news and videos, the user equipment sends it to the CPE WiFi hotspot of the relay device through the WiFi network card, and then sends it to the network side device through the Internet network card of the SIM card of the relay device through Modem0. For specific cellular communication data, the user equipment sends it to the local WiFi network card through the Internet network card of the user equipment, and then the WiFi network card sends it to the CPE WiFi hotspot of the relay device, and then the Internet network card of the user SIM card of the relay device sends it to the network side device through Modem1.
[0331] It should be noted that when the user device or the relay device is not a hotspot device, the user device can send the cellular communication data to the relay device through the router, and then the relay device sends it to the network side device. This embodiment will not be described in detail here.
[0332] In this embodiment, the relay device supports serving as a relay device for N user devices at the same time, and uses the SIM card information of the N user devices to access the cellular.
[0333] In some embodiments, when a modem can usually only run one set of cellular communication protocols (such as IMS protocol, CS protocol, etc.), the value of N is determined according to the number of free modems in the relay device. For example, when the relay device is a mobile phone supporting dual SIM cards, it usually has two modems. If no SIM card is installed locally, there are two free modems. At this time, the mobile phone can serve as a relay device for two user devices at the same time.
[0334] Optionally, when all modems in the relay device are occupied by local SIM cards and there is no free modem, the relay device can control a local SIM card to power off automatically or according to user instructions to make a free modem available for use by the SIM card of the user device.
[0335] In other embodiments, when a modem can run multiple cellular communication protocols, the value of N can also be determined according to the number of idle cellular communication protocols in the modem. For example, when a mobile phone has only one modem, but the modem can run three IMS protocols, if the mobile phone has a SIM card installed locally, the mobile phone will occupy one IMS protocol when accessing the network side device through the SIM card, and there will be two idle IMS protocols. Therefore, the mobile phone can be used as a relay device for two user devices at the same time.
[0336] In this embodiment, the electronic device can be used as a user device and a relay device. That is, the electronic device can be used as a user device to autonomously access the cellular network, and can be used as a relay device to replace other electronic devices to access the cellular network. For example, see Fig.40 As shown, taking electronic device 1 as an example, Modem 1 and Modem 2 are set in electronic device 1. When SIM card 1 is installed locally in electronic device 1, electronic device 1 can use SIM card 1 to access network side device 1 through Modem 1. In addition, electronic device 1 can also serve as a relay device for electronic device 2, access information of SIM card 2 of electronic device 2, and access network side device 2 through Modem 2 according to the information of SIM card 2.
[0337] It should be noted that the network side device 1 and the network side device 2 may be the same or different. When the SIM card 1 and the SIM card 2 belong to the same operator, the network side device 1 and the network side device 2 are usually the same. When the SIM card 1 and the SIM card 2 belong to different operators, the network side device 1 and the network side device 2 are usually different.
[0338] In relay mode, when the network side device calls the user device, the user device can make a call reminder alone, or together with the relay device, or in a certain order. This embodiment does not limit this. For making a call reminder in a certain order, in a possible implementation, when the network side device calls the user device, the user device can first ring for a preset time (for example, 20s). If it is still in a calling state within the preset time, a call reminder is made on the relay device at the same time to remind the user to answer the call.
[0339] In this embodiment, the user device can manage the rights of the relay devices that it has connected to in the past. Fig.41 As shown in (a) of FIG. 1 , in response to the user's operation on the "signal relay" switch item, the user device displays, for example, Fig.41The signal relay interface shown in (b) of FIG. 1 includes an “authorization management” option and a “service management” option. In response to the user’s operation on the “authorization management” option, the user device displays an authorization management interface, which includes electronic devices that the user device has connected to, such as electronic device 2, electronic device 3, and electronic device 4. Fig.41 As shown in (c) of FIG. 1 , taking the case where the user selects to set the permissions of the electronic device 2 as an example, in response to the user's operation on the "electronic device 2" option, the user device displays, for example, Fig.41 The setting interface shown in (d) in the figure includes switch items of "allow authorization", "permanently prohibit" and "temporarily delete". Among them, the "allow authorization" option is used to allow the corresponding electronic device to access the user device. The "permanently prohibit" option is used to prohibit the corresponding electronic device from accessing the user device. The "temporary delete" option is used to temporarily restrict the corresponding electronic device from accessing the user device, for example, restricting the electronic device 2 from accessing the user device within 5 minutes. The user can set the following options according to the needs: Fig.41 Set the permissions for the corresponding electronic device in the interface shown in (d).
[0340] In addition, the user equipment may also set a cellular communication service that each relay device performs on behalf of the user equipment, such as a call service, a text message service, etc. For example, see Fig.42 As shown in (a) of FIG. 1 , in response to the user's operation on the "service management" option, the user device displays, for example, Fig.42 The interface shown in (b) in FIG. 1 includes configurable service options, such as an "all" option, a "call" option, a "sms" option, a "signal" option, and a "data service" option. The user can set the cellular communication service executed by the corresponding relay device in this interface.
[0341] It should be noted that in the embodiments of the present application, for electronic devices such as smart watches and CPEs that do not have screens or have small screens, the relevant signal relay settings can be performed through the smart life application in the mobile phone. The relevant setting interface can be referred to Figure 4 (e) Figure 4 (f) Fig.23 , Fig.41 and Fig.42 As shown, this embodiment will not be described in detail here.
[0342] During use, the user device may continue to move with the user's location. When the user device is far away from the relay device, the communication link between the user device and the relay device may be abnormal, resulting in poor call quality or even call interruption, and poor user experience. For example, in a room with a living room, bedroom A, and bedroom B, the living room is far away from bedroom B. If the relay device is in the living room, when the user device moves from the living room to bedroom B with the user, the communication link between the user device and the relay device may gradually deteriorate due to signal blocking and other reasons, resulting in poor call quality or even call interruption, and poor user experience. To this end, the embodiment of the present application can also determine whether to use the relay device to access the cellular network based on whether the user device meets the preset switching conditions.
[0343] Fig.43 Schematic diagram of the mode switching principle provided by the embodiment of the present application. Fig.43 As shown, the user equipment can decide to use the relay mode to access the network side device or use the autonomous mode to access the network side device according to its historical data of accessing the cellular network. The autonomous mode means that the user equipment accesses the cellular network according to the received cellular signal.
[0344] Fig.44 This is a flow chart of a communication method provided by another embodiment of the present application, which involves a process of user equipment switching a network side equipment access mode, and specifically includes the following steps.
[0345] S4401, the user equipment detects cellular communication parameters.
[0346] In this embodiment, the cellular communication parameters of the user equipment include: the cellular signal quality of the user equipment, the call quality between the user equipment and the relay device, the battery level of the user equipment, the historical call quality of the cell where the user equipment is located, the geographic location of the user equipment, or whether the user equipment is connected to a car-mounted Bluetooth device, etc.
[0347] The call quality includes at least one of data transmission quality, link quality and QoE. The data transmission quality can be determined based on parameters such as packet loss rate, delay, jitter, etc. of the communication link call data packet. The link quality can be determined based on at least one of reference signal receiving power (RSRP), reference signal receiving quality (RSRQ) or signal to interference plus noise ratio (SINR).
[0348] S4402: When the user equipment is in the autonomous mode, if the cellular communication parameter of the user equipment meets the first preset condition, the autonomous mode is switched to the relay mode to access the network side device.
[0349] Among them, the first preset condition may be: the cellular signal of the user device is lower than the preset value. Exemplarily, the preset value may be -95dBm, -100dBm, -110dBm, -115dBm, etc. When the cellular signal strength of the user device is less than the preset value, it means that the strength of the cellular signal is poor, and it may be impossible to maintain stable communication between the user device and the network side device, and Internet access may be stuck, calls may be abnormal, etc. may occur during the communication process. Therefore, when the cellular signal strength of the user device is less than the preset value, the user device uses the relay mode to access the network side device to improve the communication quality with the network side device.
[0350] Alternatively, the first preset condition may be: the power level of the user device is lower than the preset power level. Exemplarily, the preset power level may be 20%, 10%, etc. of the maximum battery capacity. In the process of autonomously accessing the cellular network, the user device needs to continuously monitor the broadcast messages sent by the network-side device and report TAU information to establish a connection with the network-side device, which consumes a lot of power. When the power level of the user device is lower than the preset power level, in order to reduce its power consumption, the user device can switch to the relay mode and use the relay device to access the network-side device.
[0351] Optionally, when the power level of the user device is lower than a preset power level, if the network side device calls the user device, a call reminder can be made only on the relay device side, so that the user can answer the call on the relay device side, further reducing the power consumption of the user device.
[0352] In one example, when a user is outdoors and charging is inconvenient, if the battery level of the mobile phone is lower than a preset level and the tablet computer has sufficient battery level, the user can control the mobile phone to use the tablet computer as a relay device to connect to the network side device, thereby saving the power of the mobile phone.
[0353] Alternatively, the first preset condition may be: the user equipment is in an abnormal cell. Exemplarily, the user equipment may detect the communication quality between it and the network side device during daily communication, determine the cell where communication abnormalities often occur, and mark it as an abnormal cell. When the user equipment switches to the abnormal cell, in order to improve the communication quality between it and the network side device, the user equipment may use a relay device to access the network side device.
[0354] Alternatively, the first preset condition may be: the user device is in an abnormal position. Exemplarily, the user device may detect the communication quality between it and the network side device during daily communication, determine the location where communication anomalies often occur, and store the corresponding location information. In this embodiment, the abnormal location may be a geographical location, or a WiFi coverage area, a Bluetooth coverage area, or the like. Therefore, the abnormal location information corresponding to the abnormal location may be a latitude and longitude range, or a WiFi name, a service set identifier (SSID), a Bluetooth name, or the like. When the electronic device detects that its current location information is the same as the abnormal location information, it is in an abnormal location. When the user device is in an abnormal location, in order to improve the communication quality between it and the network side device, the user device may use a relay device to access the network side device.
[0355] Alternatively, the first preset condition may be: the user device is connected to a vehicle-mounted Bluetooth device. Due to reasons such as vehicle shielding, the cellular signal inside the vehicle is usually weaker than that outside the vehicle. Therefore, when the user device enters a private car and connects to the vehicle-mounted Bluetooth device, the private car can be used as a relay device to access the network-side device using the private car's own modem, thereby improving the communication quality between the user device and the network-side device.
[0356] Alternatively, the user equipment may make a comprehensive decision based on the at least two first preset conditions to form fingerprint data, and decide whether to switch from the autonomous mode to the relay mode to access the network side device based on the fingerprint data.
[0357] S4403: When the user equipment is in the relay mode, if the cellular communication parameter of the user equipment meets the second preset condition, the user equipment switches from the relay mode to the autonomous mode to access the network side device.
[0358] The second preset condition may be: the communication quality between the user device and the relay device is lower than the preset quality, and the cellular signal strength of the user device is higher than the preset strength. Exemplarily, the communication quality between the user device and the relay device is lower than the preset quality includes: the packet loss rate of the communication link between the user device and the relay device is higher than the preset value (e.g., 10%); or the delay of the call data packet is higher than the preset value (e.g., 120ms); or the signal-to-noise ratio of the first end-side link is lower than the preset value (e.g., 10dB), etc.
[0359] It is understandable that when the communication quality between the user device and the relay device is lower than the preset quality, even if the communication quality between the relay device and the network side device is good, the call quality between the user device and the network side device cannot be guaranteed. Therefore, when the cellular signal strength of the user device is higher than the preset strength, the user device is switched from the relay mode to the autonomous mode to access the network side device, and the user device directly accesses the network side device, which can improve the call quality.
[0360] In this embodiment, the user equipment also needs to perform ping-pong suppression to avoid frequent switching between the autonomous mode and the relay mode, which would waste electronic equipment resources and affect user experience.
[0361] Alternatively, the second preset condition may be: the power of the user device is equal to or higher than the preset power. Exemplarily, the preset power may be 20%, 10%, etc. of the maximum storage capacity of the battery. When the power of the user device is equal to or higher than the preset power, the user device may switch from the relay mode to the autonomous mode to connect to the network side device by itself.
[0362] Alternatively, the second preset condition may be: the user equipment switches from an abnormal cell to a normal cell, or moves from an abnormal position to a non-abnormal position. When the user equipment is in an abnormal cell or an abnormal position, the communication quality between the user equipment and the network side equipment is usually poor, and the user equipment needs to access the network side equipment with the aid of a relay device. However, when the user equipment switches from an abnormal cell to a normal cell, or moves from an abnormal position to a non-abnormal position, the communication quality between the user equipment and the network side equipment is usually guaranteed, and therefore, the user equipment is switched from the relay mode to the autonomous mode to directly access the network side equipment.
[0363] Alternatively, the second preset condition may be: the user device disconnects from the vehicle-mounted Bluetooth device. When the user device disconnects from the vehicle-mounted Bluetooth device, it may be that the user does not want to use the vehicle-mounted Bluetooth device, or the vehicle is turned off, or the user is away from the vehicle. At this time, in order to ensure the normal connection between the user device and the network-side device, the user device switches from the relay mode to the autonomous mode and directly accesses the network-side device.
[0364] Alternatively, the user equipment may make a comprehensive decision based on the at least two second preset conditions to form fingerprint data, and decide whether to switch from the relay mode to the autonomous mode to access the network side device based on the fingerprint data.
[0365] Through the method provided in this embodiment, the second electronic device can automatically switch between the relay mode and the autonomous mode according to preset conditions during the process of processing the cellular communication service, thereby ensuring the quality of cellular communication.
[0366] It should be noted that, in the embodiment of the present application, the switching between the autonomous mode and the relay mode can be performed in an idle state or in a service state. The idle state refers to when the user equipment is not performing a cellular communication service, and the service state refers to when the user equipment is performing a cellular communication service. For example, the service state may be when the user equipment is making a call or surfing the Internet.
[0367] When the user equipment switches between autonomous mode and relay mode in idle state, it can be done by starting or shutting down the modem and IMS protocol stack of the user equipment, that is, hard switching. Taking the switch from autonomous mode to relay mode as an example, the user equipment shuts down and controls the local modem or the modem protocol stack to power off, and shuts down the local IMS protocol stack. Taking the switch from relay mode to autonomous mode as an example, the user equipment can control the local modem and modem protocol stack to power on, restart the local IMS protocol stack, and reload the protocol stack to connect to the network side device. In order to shorten the time for the user equipment to restart the IMS protocol stack, modem or modem protocol stack, the user equipment can temporarily not read the local SMS on the SIM card, as well as the contact information on the SIM card, so as to achieve a quick restart. The unread SIM card information is not cleared within the aging period corresponding to the information, and it can be cached in the host.
[0368] When the user equipment switches between the autonomous mode and the relay mode in the service state, soft switching can be performed, that is, the IMS protocol stack of the user equipment and the IMS protocol stack of the relay device are synchronized, and the service information of one electronic device is synchronized to another electronic device, so that the other electronic device can perform location area update (LAU) or TAU to access the network side device.
[0369] The following describes the process of switching the user equipment from the autonomous mode to the relay mode by taking the call service, a cellular communication service currently executed by the user equipment, as an example.
[0370] Fig.45 is a schematic architecture diagram of the user plane and control plane protocol stack of the user equipment provided in the embodiment of the present application. Fig.45 As shown, the user plane protocol stack of the user equipment and the network side equipment includes a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, a media access control (MAC) layer and a physical layer (PHY). The control plane protocol stack of the user equipment includes a non-access stratum (NAS), a radio resource control (RRC) layer, a PDCP layer, an RLC layer, a MAC layer and a PHY layer. The base station of the network side equipment includes an RRC layer, a PDCP layer, an RLC layer, a MAC layer and a PHY layer, and the mobility management entity (MME) of the network side equipment includes NAS.
[0371] Among them, the PHY layer is located at the lowest layer, which can also be called Layer 1. The MAC layer, RLC layer and PDCP layer belong to the middle layer, which can also be called Layer 2. The RRC layer and NAS belong to the higher layer, which can also be called Layer 3. The main function of Layer 1 is to provide reliable bit stream transmission between two physical entities and adapt the transmission medium. The main functions of Layer 2 are channel multiplexing and demultiplexing, data format encapsulation, data packet scheduling, etc. The main functions of Layer 3 are addressing, routing selection, connection establishment and control, resource configuration strategy, etc.
[0372] When the user equipment switches from autonomous mode to relay mode, the user equipment needs to synchronize all the status information related to the current call in its user plane protocol stack and control plane protocol stack to the relay device, and the relay device initiates a location area update or TAU refresh to access the network side device. In this method, the delay of the call data packet caused by the device switching will be smaller, and the amount of data synchronized during the device switching process (especially the amount of status information) will be larger. Alternatively, the user equipment can also only synchronize all the information related to the local call in the local control plane protocol stack to the relay device, such as the data of layer 3 in the control plane protocol stack, and the relay device initiates LAU or TAU to access the network side device.
[0373] Through the switching method provided in the embodiment of the present application, the user device can maintain the current call without dropping the call during the process of switching the communication mode, so that the user is unaware.
[0374] It should be noted that when the user device does not support soft switching, the user device should reduce mode switching in the call state. For example, the user device can continuously detect the call quality. When the call quality continues to decrease within a preset time, the user device can play a prompt voice to indicate that the current call quality is gradually decreasing, thereby reminding the user to get closer to the relay device. Exemplarily, the prompt voice can be a rapid "beep, beep~" sound, or a voice message "The signal of this machine is weak, please get closer to the relay device". In addition, for the video call scenario, a prompt message can also be displayed on the call interface of the user device. Exemplarily, the prompt message can be a text message "The signal is weak, please get closer to the relay device".
[0375] In addition, when the communication quality between the relay device and the user device is lower than the preset quality, the relay device and the user device can negotiate based on the current communication link to establish one or more communication links to transmit call data through multiple links. For example, when the user device and the relay device are currently connected via a WiFi link, a data service link can be established between the user device and the relay device to transmit call data.
[0376] In the process of the relay device and the user device transmitting call data through multiple links, a part of the call data packets can be transmitted through the first communication link, and another part of the call data packets can be transmitted through the second communication link to reduce the data transmission pressure of each link and improve the transmission quality of the call data packets. Alternatively, all call data packets can be copied and transmitted through each communication link to reduce the number of call data packets missing at the receiving end and improve the call quality.
[0377] Fig.46 Schematic diagram of a multi-network collaboration scenario provided by an embodiment of the present application. Fig.46 As shown, when the user equipment is installed with SIM card 1 and SIM card 2, and SIM card 1 is associated with the relay device, the user equipment can access the network side device through multiple networks. One of them is to access the network side device using the information of SIM card 1 through the relay device, and the other is to access the network side device using the information of SIM card 2.
[0378] Fig.47 is a schematic diagram of a network fusion scenario provided by another embodiment of the present application. Fig.47 As shown, when the relay device obtains the information of SIM card 1 from the user device and SIM card 2 is installed locally, the relay device can access the network side device by using multiple networks. One of them is to access the network side device using the information of SIM card 1, and the other is to access the network side device using the information of SIM card 2. When the relay device is connected to other electronic devices (such as auxiliary device 1) as a hotspot device, the auxiliary device 1 can enjoy the multi-network collaboration capability of the relay device, that is, the auxiliary device 1 can access the network side device using the information of SIM card 1, and can also access the network side device using the information of SIM card 2. In addition, the relay device can also access other electronic devices (such as auxiliary device 2), and then access the network side device through auxiliary device 2. It should be understood that when the relay device can access the network side device through auxiliary device 2, the user device corresponding to the relay device can also use auxiliary device 2 to access the network side device.
[0379] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0380] An embodiment of the present application further provides a first electronic device, which is configured to execute the communication method executed by the relay device in the above embodiments.
[0381] An embodiment of the present application further provides a second electronic device, which is configured to execute the communication method executed by the user equipment in the above embodiments.
[0382] An embodiment of the present application also provides a communication method, which is applied to a first electronic device and includes the method executed by the relay device in the above embodiments.
[0383] An embodiment of the present application further provides a communication method, which is applied to a second electronic device and includes the method executed by the user equipment in the above embodiments.
[0384] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method performed by the relay device in the above embodiments is implemented.
[0385] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method executed by the user equipment in the above embodiments is implemented.
[0386] An embodiment of the present application also provides a computer program product, which includes a program. When the program is executed by a device, the first electronic device implements the method executed by the relay device in the above embodiments.
[0387] An embodiment of the present application also provides a computer program product, which includes a program. When the program is executed by a device, the second electronic device implements the method executed by the user equipment in the above embodiments.
[0388] An embodiment of the present application also provides a chip, which is applied to a first electronic device. The chip includes a memory and a processor. The processor executes a computer program stored in the memory to implement the method performed by the relay device in the above embodiments.
[0389] An embodiment of the present application also provides a chip, which is applied to a second electronic device. The chip includes a memory and a processor. The processor executes a computer program stored in the memory to implement the method executed by the user equipment in the above embodiments.
[0390] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0391] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0392] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0393] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0394] In the above, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0395] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0396] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A communication system, characterized in that: The device comprises a first electronic device and a second electronic device, wherein a first SIM card is installed on the second electronic device, and first SIM card information is stored in the first SIM card; The first electronic device establishes a connection with the second electronic device; When the cellular signal strength of the first electronic device is greater than that of the second electronic device, the first electronic device obtains the first SIM card information; The first electronic device is connected to the network side device according to the first SIM card information, so that the second electronic device enters the relay mode; Wherein, in the relay mode, the first electronic device forwards the cellular communication data related to the first SIM card between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service according to the cellular communication data.
2. The system according to claim 1, characterized in that When the second electronic device is in the autonomous mode, if the second electronic device meets a first preset condition, the second electronic device switches from the autonomous mode to the relay mode to access the network side device; and / or, When the second electronic device is in the relay mode, if the second electronic device meets a second preset condition, the second electronic device switches from the relay mode to the autonomous mode to access the network-side device; Among them, in the autonomous mode, the second electronic device is connected to the network side device according to the first SIM card information, directly exchanges cellular communication data related to the first SIM card with the network side device, and locally processes corresponding cellular communication services according to the cellular communication data.
3. The system according to claim 2, characterized in that The first preset condition is: The cellular signal strength of the second electronic device is lower than a strength threshold; and / or, The power level of the second electronic device is lower than a power threshold; and / or, The second electronic device is located in an abnormal cell; and / or, The second electronic device is in an abnormal position; and / or, The second electronic device is connected to a vehicle-mounted Bluetooth device.
4. The system according to claim 2, characterized in that The second preset condition is: The communication quality between the first electronic device and the second electronic device is lower than a communication quality threshold; and / or, The power level of the second electronic device is higher than or equal to a power threshold; and / or, The second electronic device switches from an abnormal cell to a normal cell; and / or, The second electronic device is switched from an abnormal position to a normal position; and / or, The second electronic device is disconnected from the vehicle-mounted Bluetooth device.
5. The system according to any one of claims 2 to 4, characterized in that: When the second electronic device is in an idle state, The second electronic device controls the local modem, the modem protocol stack or the Internet Multimedia Subsystem IMS protocol stack to power off, and controls the first electronic device to access the network side device through the first SIM card information to switch from the autonomous mode to the relay mode; The second electronic device disconnects from the first electronic device, controls the local modem, modem protocol stack and IMS protocol stack to power on, and accesses the network side device according to the first SIM card information to switch from the relay mode to the autonomous mode.
6. The system according to any one of claims 2 to 4, characterized in that: When the second electronic device is in a service state, The second electronic device controls the local modem, modem protocol stack or IMS protocol stack to power off, and controls the second electronic device to synchronize the status information related to the current service in the user plane protocol stack and the control plane protocol stack to the first electronic device, and the first electronic device accesses the network side device according to the first SIM card information and the status information to switch from the autonomous mode to the relay mode; The second electronic device controls the power-on of the local Modem, Modem and IMS protocol stack, obtains the status information related to the current service in the user plane protocol stack and control plane protocol stack of the first electronic device, and accesses the network side device according to the first SIM card information and the status information to switch from the relay mode to the autonomous mode.
7. The system according to any one of claims 1 to 4, characterized in that: The first electronic device is connected to the second electronic device via near field communication technology, far field communication technology or a physical entity.
8. The system according to claim 1, characterized in that The first electronic device establishes a connection with the second electronic device, including: The first electronic device broadcasts a first notification message, where the first notification message is used to notify that the first electronic device has a signal relay function; The second electronic device displays a first prompt box after receiving the first notification message, wherein the first prompt box includes a device selection control; In response to a user's operation on the device selection control, the first electronic device and the second electronic device establish a connection.
9. The system according to claim 8, characterized in that The first electronic device broadcasts a first notification message, including: When the cellular signal strength of the first electronic device is greater than or equal to a strength threshold, the first electronic device broadcasts a first notification message.
10. The system according to claim 8 or 9, characterized in that After receiving the first notification message, the second electronic device displays a first prompt box, including: When the cellular signal strength of the second electronic device is less than a strength threshold, the second electronic device displays a first prompt box after receiving the first notification message.
11. The system according to any one of claims 1 to 4 and 9, characterized in that: The first electronic device obtains the first SIM card information, including: The first electronic device acquires authentication data in the first SIM card information in real time, and the authentication data is used for authentication when connecting to the network side; The first electronic device pre-caches other data in the first SIM card information except the authentication data, and updates corresponding data according to aging cycles of different data, so that the first electronic device directly reads the other data locally when processing cellular communication services.
12. The system according to any one of claims 1 to 4 and 9, characterized in that: After the first electronic device is connected to the network-side device using the first SIM card information, the third prompt box is displayed, where the third prompt box is used to prompt that the first electronic device is providing a signal relay service for the second electronic device.
13. The system according to any one of claims 1 to 4 and 9, characterized in that: When the call quality of the second electronic device is lower than the quality threshold, the second electronic device displays prompt information, where the prompt information is used to prompt the user to control the second electronic device to approach the first electronic device.
14. The system according to any one of claims 1 to 4 and 9, characterized in that: The first electronic device transmits a hotspot signal using the cellular data traffic of the first SIM card; After the third electronic device is connected to the hotspot signal, the third electronic device uses the cellular data traffic of the first SIM card to access the Internet through the first electronic device.
15. The system according to any one of claims 1 to 4 and 9, characterized in that: The second electronic device is also installed with a second SIM card, and the second SIM card stores second SIM card information; The second electronic device uses the second SIM card information to connect to the network side device and locally processes the cellular communication service related to the second SIM card.
16. The system according to any one of claims 1 to 4 and 9, characterized in that: The first electronic device is also installed with a third SIM card, and the third SIM card stores third SIM card information; The first electronic device uses the third SIM card information to connect to the network side device and locally processes the cellular communication service related to the third SIM card.
17. A first electronic device, characterized in that: The first electronic device includes a memory and a processor, the memory stores a computer program, and when the processor runs the computer program, the first electronic device can execute the following method: Establishing a connection with a second electronic device, wherein the second electronic device is installed with a first SIM card, and the first SIM card stores first SIM card information; When the cellular signal strength of the first electronic device is greater than that of the second electronic device, acquiring the first SIM card information; connecting with a network-side device according to the first SIM card information, so that the second electronic device enters a relay mode; In the relay mode, cellular communication data related to the first SIM card is forwarded between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service according to the cellular communication data.
18. The first electronic device according to claim 17, characterized in that: The first electronic device is connected to the second electronic device via near field communication technology, far field communication technology or a physical entity.
19. The first electronic device according to claim 17, characterized in that: The first electronic device is further configured to: A first notification message is broadcasted, where the first notification message is used to notify the first electronic device that it has a signal relay function, so that the second electronic device can establish a connection with the first electronic device according to the first notification message.
20. The first electronic device according to claim 19, characterized in that: The first electronic device is further configured to: When the cellular signal strength of the first electronic device is greater than or equal to a strength threshold, the first electronic device broadcasts the first notification message.
21. The first electronic device according to any one of claims 17 to 20, characterized in that: The first electronic device is further configured to: Acquire authentication data in the first SIM card information in real time, where the authentication data is used for authentication when connecting to the network side; Pre-cache other data in the first SIM card information except the authentication data, and update corresponding data according to the aging cycle of different data, so that the first electronic device can directly read the other data locally when processing the cellular communication service.
22. The first electronic device according to any one of claims 17 to 20, characterized in that: The first electronic device is further configured to: After the first SIM card information is used to connect to the network-side device, a third prompt box is displayed, where the third prompt box is used to prompt that the first electronic device is providing a signal relay service for the second electronic device.
23. The first electronic device according to any one of claims 17 to 20, characterized in that: The first electronic device is further configured to: Using the cellular data traffic of the first SIM card to transmit a hotspot signal; After the third electronic device is connected to the hotspot signal, the third electronic device uses the cellular data traffic of the first SIM card to access the Internet through the first electronic device.
24. The first electronic device according to any one of claims 17 to 20, characterized in that: The first electronic device is also installed with a third SIM card, and the third SIM card stores third SIM card information; The first electronic device is further configured to: The third SIM card information is used to connect to the network side device, and the cellular communication service related to the third SIM card is processed locally.
25. A second electronic device, characterized in that: The second electronic device is installed with a first SIM card, and the first SIM card stores first SIM card information; the second electronic device includes a memory and a processor, and the memory stores a computer program. When the processor runs the computer program, the second electronic device can execute the following method: Establishing a connection with a first electronic device; When the cellular signal strength of the first electronic device is greater than that of the second electronic device, first SIM card information is sent to the first electronic device, where the first SIM card information is used to connect the first electronic device to a network side device, so that the second electronic device enters a relay mode; Wherein, in the relay mode, the first electronic device forwards the cellular communication data related to the first SIM card between the network side device and the second electronic device, and the second electronic device processes the corresponding cellular communication service according to the cellular communication data.
26. The second electronic device according to claim 25, characterized in that: The second electronic device is further configured to: When the second electronic device is in the autonomous mode, if the second electronic device meets a first preset condition, the second electronic device switches from the autonomous mode to the relay mode to access the network side device; and / or, When the second electronic device is in the relay mode, if the second electronic device meets a second preset condition, the second electronic device switches from the relay mode to the autonomous mode to access the network-side device; Among them, in the autonomous mode, the second electronic device is connected to the network side device according to the first SIM card information, directly exchanges cellular communication data related to the first SIM card with the network side device, and locally processes corresponding cellular communication services according to the cellular communication data.
27. The second electronic device according to claim 26, characterized in that: The first preset condition is: The cellular signal strength of the second electronic device is lower than a strength threshold; and / or, The power level of the second electronic device is lower than a power threshold; and / or, The second electronic device is located in an abnormal cell; and / or, The second electronic device is in an abnormal position; and / or, The second electronic device is connected to a vehicle-mounted Bluetooth device.
28. The second electronic device according to claim 26, characterized in that: The second preset condition is: The communication quality between the first electronic device and the second electronic device is lower than a communication quality threshold; and / or, The power level of the second electronic device is higher than or equal to a power threshold; and / or, The second electronic device switches from an abnormal cell to a normal cell; and / or, The second electronic device is switched from an abnormal position to a normal position; and / or, The second electronic device is disconnected from the vehicle-mounted Bluetooth device.
29. The second electronic device according to any one of claims 26 to 28, characterized in that: When the second electronic device is in an idle state, the second electronic device is further configured to: Control the local modem, the modem protocol stack or the Internet Multimedia Subsystem IMS protocol stack to power off, and control the first electronic device to access the network side device through the first SIM card information to switch from the autonomous mode to the relay mode; and / or, The connection with the first electronic device is disconnected, the local modem, the modem protocol stack and the IMS protocol stack are controlled to be powered on, and the network side device is accessed according to the first SIM card information to switch from the relay mode to the autonomous mode.
30. The second electronic device according to any one of claims 26 to 28, characterized in that: When the second electronic device is in the service state, the second electronic device is further configured to: Controlling the local modem, modem protocol stack or IMS protocol stack to power off, and synchronizing the status information related to the current service in the local user plane protocol stack and the control plane protocol stack to the first electronic device, and the first electronic device accesses the network side device according to the first SIM card information and the status information to switch from the autonomous mode to the relay mode; and / or, Control the local modem, modem protocol stack and IMS protocol stack to power on, obtain the status information related to the current service in the user plane protocol stack and control plane protocol stack of the first electronic device, and access the network side device according to the first SIM card information and the status information to switch from the relay mode to the autonomous mode.
31. The second electronic device according to any one of claims 25 to 28, characterized in that: The first electronic device is connected to the second electronic device via near field communication technology, far field communication technology or a physical entity.
32. The second electronic device according to any one of claims 25 to 28, characterized in that: The second electronic device is further configured to: After receiving a first notification message, displaying a first prompt box, wherein the first notification message is used to notify that the first electronic device has a signal relay function, and the first prompt box includes a device selection control; In response to the user's operation on the device selection control, a connection is established with the second electronic device.
33. The second electronic device according to claim 32, characterized in that: The second electronic device is further configured to: When the cellular signal strength of the second electronic device is less than a strength threshold, the second electronic device displays a first prompt box after receiving the first notification message.
34. The second electronic device according to any one of claims 25 to 28 and 33, characterized in that: The second electronic device is further configured to: When the call quality of the second electronic device is lower than the quality threshold, prompt information is displayed, where the prompt information is used to prompt the user to control the second electronic device to be close to the first electronic device.
35. The second electronic device according to any one of claims 25 to 28 and 33, characterized in that: The second electronic device is also installed with a second SIM card, and the second SIM card stores second SIM card information; The second electronic device is further configured to: The second SIM card information is used to connect to the network side device, and the cellular communication service related to the second SIM card is processed locally.
Citation Information
Cited By
Communication system, first electronic device and second electronic device
EP4294063B1
Communication system, first electronic device and second electronic device
WO2022206616A1
