Method, device, readable storage medium and program product for sharing cellular capabilities
By establishing a transmission channel between the first device and the second device to share cellular capabilities, and dynamically loading icons corresponding to the cellular communication function, the problem of information privacy cannot be guaranteed after sharing cellular capabilities is solved, and information security and privacy protection are achieved.
Patent Information
- Application Number
- CN202280062856.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-09-17
- Filing Date
- 2022-09-08
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-09-08
AI Technical Summary
When sharing cellular capabilities, the prior art cannot effectively protect the privacy and security of information, especially after the cellular capabilities are shared, the use records are still retained on the device, resulting in the privacy of information that cannot be guaranteed.
By establishing a transmission channel between the first device and the second device, the first device shares cellular capabilities to the second device, and dynamically loads the icons corresponding to the cellular communication function through the function synchronization information, so that the icons are available during the cellular capability sharing and are not available after the sharing is terminated, thereby preventing the user from viewing the recorded information related to the cellular communication function during the non-sharing period.
The availability of icons dynamically managed during cellular capability sharing is realized, ensuring that users cannot access recorded information related to cellular communication functions after sharing is over, thereby improving the security and privacy of the information.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on September 17, 2021, with application number 202111095221.8 and application name “Method, device, readable storage medium and program product for sharing cellular capabilities”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a method, device, readable storage medium and program product for sharing cellular capabilities. Background Art
[0003] Electronic devices are not only diverse in variety, but also play an important role in people's daily lives. More and more users own multiple electronic devices at the same time. For example, they own mobile phones, tablets, smart screens, personal computers, etc. In order to improve usage efficiency, data sharing and function sharing between devices have gradually become the mainstream trend.
[0004] Currently, the cellular capabilities of mobile phones can be shared with other devices (e.g., tablets, personal computers, smart screens, etc. that cannot realize cellular communication functions) through hotspots or wireless fidelity (WiFi) local area networks, so that other devices can use the cellular capabilities of the mobile phone to realize cellular communication functions such as surfing the Internet, making calls, and sending text messages. However, when the mobile phone ends the sharing of cellular capabilities, other devices often retain usage records (e.g., call records, text message records, etc.), making it impossible to ensure the privacy of mobile phone information. Summary of the invention
[0005] The present application provides a method, device, readable storage medium and program product for sharing cellular capabilities, which can effectively protect the privacy and security of information.
[0006] In a first aspect, the present application provides a method for sharing cellular capabilities, the method comprising: establishing a transmission channel between a first device and a second device, wherein the first device shares the cellular capability with the second device through the transmission channel, and the second device uses the cellular capability of the first device to implement a cellular communication function; the first device sends function synchronization information to the second device through the transmission channel, and the function synchronization information is used to synchronize a first business function allowed to be shared in the cellular communication function to the second device; the second device sets a first icon corresponding to the first business function from an unavailable state to an available state; when the cellular capability sharing between the first device and the second device is ended, the second device sets the first icon from an available state to an unavailable state.
[0007] By adopting the method for sharing cellular capabilities provided by the present application, the second device can dynamically load the icon corresponding to the cellular communication function according to whether the cellular capability sharing is performed, so that the icon is available during the cellular capability sharing period and unavailable after the sharing ends. This ensures that the user cannot view the recorded information corresponding to the cellular communication function on the second device during the non-sharing period, thus protecting information security and privacy to a certain extent.
[0008] Optionally, the function synchronization information is also used to indicate that the cellular capability of the first device is available or unavailable; the second device sets the first icon corresponding to the first service function from an unavailable state to an available state, including: when the second device determines that the cellular capability of the first device is available based on the function synchronization information, the second device sets the first icon from an unavailable state to an available state.
[0009] In one embodiment, the cellular capability of the first device may be unavailable due to arrears of payment of the first device. Therefore, based on this optional method, the second device can timely learn whether the cellular capability of the first device is available according to the instruction of the first device, and judge whether to load the first icon. This avoids the situation where the cellular capability of the first device is still used to perform cellular communication functions when the cellular capability of the first device is unavailable, causing the user to constantly try to use the second device for cellular communication. Therefore, the user's operating efficiency is improved.
[0010] Optionally, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the second device responds to operations on the first icon.
[0011] Optionally, after the first device sends function synchronization information to the second device through the transmission channel, the method also includes: the first device and the second device synchronize first record information through the transmission channel, the first record information including the usage record of the first business function on the first device and the usage record on the second device.
[0012] In this optional manner, the usage records on the first device include the usage records generated during the cellular capability sharing and the usage records that have been saved before the cellular capability sharing. Based on this optional manner, on the one hand, the user can quickly view and use the first record information on the second device to improve operation efficiency. On the other hand, the first device can also update the complete usage record in real time, so that the user can view the complete usage record on the first device after the cellular capability sharing is terminated.
[0013] Optionally, when the cellular capability sharing between the first device and the second device is terminated, the second device deletes the record information corresponding to the first service function stored on the second device.
[0014] Based on this optional approach, when the second device is used by multiple people, the security and privacy of information can be further guaranteed.
[0015] Optionally, after the first device establishes a transmission channel with the second device, the method further includes: the first device sends cellular status information of the first device to the second device; the second device displays a cellular status indicator icon according to the cellular status information; when the cellular capability sharing between the first device and the second device is ended, the second device cancels display of the cellular status indicator icon.
[0016] Based on this optional method, the second device can fully share the cellular capabilities of the first device and fully perceive the cellular status of the first device, so that the user can intuitively know the cellular status of the first device and can start executing some applications that require a secure environment.
[0017] Optionally, the first device and the second device interact with each other via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0018] Optionally, the first device and the second device establish a transmission channel, including: when the first device and the second device meet a preset condition, the first device and the second device establish a transmission channel; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0019] In a second aspect, the present application provides a method for sharing cellular capabilities, which is applied to a first device, and the method includes: the first device establishes a transmission channel with a second device, wherein the first device shares the cellular capability with the second device through the transmission channel; the first device sends function synchronization information to the second device through the transmission channel, and the function synchronization information is used to synchronize a first service function allowed to be shared in the cellular communication function to the second device.
[0020] Optionally, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable.
[0021] Optionally, after the first device sends function synchronization information to the second device through the transmission channel, the method also includes: the first device and the second device synchronize first record information through the transmission channel, the first record information including the usage record of the first business function on the first device and the usage record on the second device.
[0022] Optionally, after the first device establishes a transmission channel with the second device, the method further includes: the first device sends cellular status information of the first device to the second device, where the cellular status information is used by the second device to display a cellular status indication icon.
[0023] Optionally, the first device and the second device interact with each other via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0024] Optionally, the first device and the second device establish a transmission channel, including: when the first device and the second device meet a preset condition, the first device and the second device establish a transmission channel; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0025] In a third aspect, the present application provides a method for sharing cellular capabilities, which is applied to a second device, the method comprising: a first device and a second device establish a transmission channel, wherein the second device uses the cellular capability shared by the first device through the transmission channel to implement a cellular communication function; the second device receives function synchronization information sent by the first device through the transmission channel, and the function synchronization information is used to synchronize a first business function allowed to be shared in the cellular communication function to the second device; the second device sets a first icon corresponding to the first business function from an unavailable state to an available state; when the cellular capability sharing between the first device and the second device is ended, the second device sets the first icon from an available state to an unavailable state.
[0026] Optionally, the function synchronization information is also used to indicate that the cellular capability of the first device is available or unavailable; the second device sets the first icon corresponding to the first service function from an unavailable state to an available state, including: when the second device determines that the cellular capability of the first device is available based on the function synchronization information, the second device sets the first icon from an unavailable state to an available state.
[0027] Optionally, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the second device responds to operations on the first icon.
[0028] Optionally, after the second device receives the function synchronization information sent by the first device through the transmission channel, the method also includes: the first device and the second device synchronize first record information through the transmission channel, the first record information including the usage record of the first business function on the first device and the usage record on the second device.
[0029] Optionally, when the cellular capability sharing between the first device and the second device is terminated, the second device deletes the record information corresponding to the first service function stored on the second device.
[0030] Optionally, after the first device establishes a transmission channel with the second device, the method further includes: the second device receives cellular status information of the first device sent by the first device; the second device displays a cellular status indicator icon according to the cellular status information; when the cellular capability sharing between the first device and the second device is ended, the second device cancels display of the cellular status indicator icon.
[0031] Optionally, the first device and the second device interact with each other via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0032] Optionally, the first device and the second device establish a transmission channel, including: when the first device and the second device meet a preset condition, the first device and the second device establish a transmission channel; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0033] In a fourth aspect, the present application provides an apparatus, applied to a first device, the apparatus comprising:
[0034] The processing unit is used to establish a transmission channel with the second device, wherein the first device shares cellular capabilities with the second device through the transmission channel.
[0035] The transmission unit is used to send function synchronization information to the second device through a transmission channel, where the function synchronization information is used to synchronize the first service function that is allowed to be shared in the cellular communication function to the second device.
[0036] Optionally, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable.
[0037] Optionally, the transmission unit is also used to synchronize first record information with the second device through the transmission channel after sending function synchronization information to the second device through the transmission channel, the first record information including usage records of the first business function on the first device and usage records on the second device.
[0038] Optionally, the transmission unit is further used to send cellular status information of the first device to the second device after establishing a transmission channel with the second device, and the cellular status information is used for the second device to display a cellular status indication icon.
[0039] Optionally, the transmission unit is further used to interact with the second device through the radio interface layer RIL to communicate with the second device about cellular signaling corresponding to the first service function.
[0040] Optionally, the processing unit establishes a transmission channel with the second device, including: when the processing unit determines that a preset condition is met between the first device and the second device, a transmission channel is established with the second device; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0041] In a fifth aspect, the present application provides an apparatus, applied to a second device, including:
[0042] The processing unit is used to establish a transmission channel with the first device, wherein the second device uses the cellular capability shared by the first device through the transmission channel to implement a cellular communication function.
[0043] The transmission unit is used to receive function synchronization information sent by the first device through a transmission channel, where the function synchronization information is used to synchronize a first service function that is allowed to be shared in a cellular communication function to the second device.
[0044] The processing unit is further configured to set the first icon corresponding to the first service function from an unavailable state to an available state; and when the cellular capability sharing between the first device and the second device is terminated, set the first icon from an available state to an unavailable state.
[0045] Optionally, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable; the processing unit sets the first icon corresponding to the first service function from an unavailable state to an available state, specifically including: when the processing unit determines that the cellular capability of the first device is available based on the function synchronization information, setting the first icon from an unavailable state to an available state.
[0046] Optionally, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the processing unit does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the processing unit responds to operations on the first icon.
[0047] Optionally, the transmission unit is also used to synchronize first record information with the second device through the transmission channel after receiving function synchronization information sent by the first device through the transmission channel, the first record information including usage records of the first business function on the first device and usage records on the second device.
[0048] Optionally, the processing unit is further configured to delete the record information corresponding to the first service function stored on the second device when the cellular capability sharing between the first device and the second device is terminated.
[0049] Optionally, the transmission unit is further used to receive cellular status information of the first device sent by the first device.
[0050] The processing unit is further configured to display a cellular status indication icon according to the cellular status information received by the transmission unit; and to cancel display of the cellular status indication icon when cellular capability sharing between the first device and the second device is terminated.
[0051] Optionally, the transmission unit is further used to interact with the first device through the radio interface layer RIL to transmit cellular signaling corresponding to the first service function.
[0052] Optionally, the processing unit establishes a transmission channel with the first device, including: when the processing unit determines that a preset condition is met between the first device and the second device, a transmission channel is established with the first device; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0053] In a sixth aspect, the present application provides an electronic device, wherein the electronic device is configured as follows:
[0054] A transmission channel is established with the second device, wherein the electronic device shares cellular capabilities with the second device through the transmission channel; and function synchronization information is sent to the second device through the transmission channel, wherein the function synchronization information is used to synchronize a first service function that is allowed to be shared in the cellular communication function to the second device.
[0055] Optionally, the function synchronization information is also used to indicate whether the cellular capability of the electronic device is available or unavailable.
[0056] Optionally, the electronic device is also configured to: after sending function synchronization information to the second device through the transmission channel, synchronize first record information with the second device through the transmission channel, the first record information including the usage record of the first business function on the electronic device and the usage record on the second device.
[0057] Optionally, the electronic device is further configured to: after establishing a transmission channel with the second device, send cellular status information of the electronic device to the second device, and the cellular status information is used for the second device to display a cellular status indication icon.
[0058] Optionally, the electronic device is further configured to: interact with the second device via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0059] Optionally, the electronic device establishes a transmission channel with the second device, including: when a preset condition is met between the electronic device and the second device, establishing a transmission channel with the second device; the preset condition is that the second device is a device determined by the electronic device to be allowed to share cellular capabilities, and the electronic device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the electronic device and the second device; or, the preset condition is that the electronic device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the electronic device establishes UWB communication with the second device.
[0060] In a seventh aspect, the present application provides an electronic device, wherein the electronic device is configured as follows:
[0061] A transmission channel is established with a first device, wherein the electronic device implements a cellular communication function by using the cellular capability shared by the first device through the transmission channel; function synchronization information sent by the first device is received through the transmission channel, and the function synchronization information is used to synchronize a first business function that is allowed to be shared in the cellular communication function to the electronic device; a first icon corresponding to the first business function is set from an unavailable state to an available state; and when the cellular capability sharing between the first device and the electronic device is terminated, the first icon is set from an available state to an unavailable state.
[0062] Optionally, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable; the electronic device sets the first icon corresponding to the first service function from an unavailable state to an available state, specifically including: when it is determined according to the function synchronization information that the cellular capability of the first device is available, setting the first icon from an unavailable state to an available state.
[0063] Optionally, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the electronic device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the electronic device responds to operations on the first icon.
[0064] Optionally, the electronic device is also configured to: after receiving function synchronization information sent by the first device through the transmission channel, synchronize first record information with the first device through the transmission channel, the first record information including the usage record of the first business function on the first device and the usage record on the electronic device.
[0065] Optionally, the electronic device is further configured to: when cellular capability sharing with the first device is terminated, delete the record information corresponding to the first service function stored on the second device.
[0066] Optionally, the electronic device is further configured to: after establishing a transmission channel with the first device, receive cellular status information of the first device sent by the first device; and display a cellular status indicator icon based on the cellular status information; and when cellular capability sharing with the first device is terminated, cancel display of the cellular status indicator icon.
[0067] Optionally, the electronic device is further configured to: interact with the first device via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0068] Optionally, the electronic device establishes a transmission channel with the first device, including: when a preset condition is met between the electronic device and the first device, establishing a transmission channel with the first device; the preset condition is that the electronic device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the electronic device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the electronic device; or, the preset condition is that the first device and the electronic device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device establishes UWB communication with the electronic device.
[0069] In an eighth aspect, the present application provides a communication system, characterized in that it includes the device described in the fourth aspect and the device described in the fifth aspect, or includes the electronic device described in the sixth aspect and the electronic device described in the seventh aspect.
[0070] In a ninth aspect, the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in the second aspect or any optional method in the second aspect.
[0071] In the tenth aspect, the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in the third aspect or any optional method in the third aspect.
[0072] In an eleventh aspect, the present application provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method described in the second aspect or any optional method in the second aspect.
[0073] In a twelfth aspect, the present application provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method described in the third aspect or any optional method in the third aspect.
[0074] It can be understood that the beneficial effects of the second to twelfth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0075] In a thirteenth aspect, the present application provides a method for sharing cellular capabilities, the method comprising: a first device and a second device establish a transmission channel, wherein the first device shares cellular capabilities with the second device through the transmission channel, and the second device uses the cellular capabilities of the first device to implement a cellular communication function; the first device sends cellular status information of the first device to the second device; the second device displays a cellular status indicator icon based on the cellular status information; when the cellular capability sharing between the first device and the second device is terminated, the second device cancels display of the cellular status indicator icon.
[0076] Since the first device currently shares cellular capabilities with the second device through Bluetooth, WiFi, dedicated chips, etc., the second device is often unable to perceive the cellular status of the first device, such as the format of the primary card and / or secondary card of the first device, the strength of the cellular signal, whether the long-term evolution audio bearer (Voice over Long-Term Evolution, VoLTE) high-definition call is enabled, and other cellular status. On the one hand, when the second device cannot smoothly perform the cellular communication function, the user may not be able to determine whether it is a connection problem between the first device and the second device, or a cellular signal quality problem of the first device. On the other hand, if some applications that need to run in a secure environment (i.e., a cellular data traffic environment) are installed on the second device, these applications cannot be started because the second device does not have cellular capabilities.
[0077] Based on the method for sharing cellular capabilities provided in the present application, the second device can fully share the cellular capabilities of the first device and fully perceive the cellular status of the first device, so that the user can intuitively know the cellular status of the first device and can start executing some applications that require a secure environment.
[0078] In a fourteenth aspect, the present application provides a method for sharing cellular capabilities, which is applied to a first device, and the method includes: the first device establishes a transmission channel with a second device, wherein the first device shares the cellular capabilities with the second device through the transmission channel; the first device sends cellular status information of the first device to the second device, and the cellular status information is used for the second device to display a cellular status indicator icon.
[0079] In a fifteenth aspect, the present application provides a method for sharing cellular capabilities, which is applied to a second device, the method comprising: a first device and a second device establish a transmission channel, wherein the second device uses the cellular capabilities shared by the first device through the transmission channel to implement a cellular communication function; the second device receives cellular status information of the first device sent by the first device; the second device displays a cellular status indicator icon based on the cellular status information; when the cellular capability sharing between the first device and the second device is terminated, the second device cancels display of the cellular status indicator icon.
[0080] In the above-mentioned aspects 13 to 15, optionally, the first device and the second device establish a transmission channel, including: when the first device and the second device meet a preset condition, the first device and the second device establish a transmission channel; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0081] In a sixteenth aspect, the present application provides an apparatus, applied to a first device, including:
[0082] A processing unit, configured to establish a transmission channel with a second device, wherein the first device transmits the shared cellular capability of the first device to the second device through the transmission channel;
[0083] The transmission unit is used to send the cellular status information of the first device to the second device, and the cellular status information is used for the second device to display a cellular status indication icon.
[0084] Optionally, the processing unit establishes a transmission channel with the second device, including: when the processing unit determines that a preset condition is met between the first device and the second device, a transmission channel is established with the second device; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0085] In a seventeenth aspect, the present application provides an apparatus, applied to a second device, including:
[0086] a processing unit, configured to establish a transmission channel with the first device, wherein the second device implements a cellular communication function by using the cellular capability shared by the first device through the transmission channel;
[0087] The transmission unit is used to receive the cellular state information of the first device sent by the first device.
[0088] The processing unit is further configured to display a cellular status indication icon according to the cellular status information, and cancel the display of the cellular status indication icon when the cellular capability sharing between the first device and the second device is terminated.
[0089] Optionally, the processing unit establishes a transmission channel with the first device, including:
[0090] When the processing unit determines that the preset conditions are met between the first device and the second device, a transmission channel is established with the first device; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that UWB communication is established between the first device and the second device.
[0091] In an eighteenth aspect, the present application provides an electronic device, the electronic device having a cellular capability, and the electronic device is configured as follows:
[0092] A transmission channel is established with a second device, wherein the electronic device shares cellular capabilities with the second device through the transmission channel; and cellular status information of the first device is sent to the second device, where the cellular status information is used by the second device to display a cellular status indicator icon.
[0093] Optionally, the electronic device establishes a transmission channel with the second device, including: when a preset condition is met between the electronic device and the second device, establishing a transmission channel with the second device; the preset condition is that the second device is a device determined by the electronic device to be allowed to share cellular capabilities, and the electronic device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the electronic device and the second device; or, the preset condition is that the electronic device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the electronic device establishes UWB communication with the second device.
[0094] In a nineteenth aspect, the present application provides an electronic device, which does not have a cellular capability, and is configured as follows:
[0095] Establishing a transmission channel with the first device, wherein the electronic device implements a cellular communication function by using the cellular capability shared by the first device through the transmission channel; receiving cellular status information of the first device sent by the first device, and displaying a cellular status indicator icon according to the cellular status information, and canceling the display of the cellular status indicator icon when the cellular capability sharing between the first device and the electronic device is terminated.
[0096] Optionally, the electronic device establishes a transmission channel with the first device, including: when a preset condition is met between the electronic device and the first device, establishing a transmission channel with the first device; the preset condition is that the electronic device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the electronic device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the electronic device; or, the preset condition is that the first device and the electronic device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device establishes UWB communication with the electronic device.
[0097] In the twentieth aspect, the present application provides a communication system, characterized in that it includes the device described in the above-mentioned sixteenth aspect and the device described in the seventeenth aspect, or includes the electronic device described in the above-mentioned eighteenth aspect and the electronic device described in the nineteenth aspect.
[0098] In aspect 21, the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in aspect 14 or any optional method in aspect 14.
[0099] In aspect 22, the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in aspect 15 or any optional method in aspect 15.
[0100] In aspect twenty-third, the present application provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method described in aspect fourteen or any optional method in aspect fourteen.
[0101] In aspect 24, the present application provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method described in aspect 15 or any optional method in aspect 15.
[0102] It can be understood that the beneficial effects of the above-mentioned aspects 14 to 24 can be found in the relevant description in the above-mentioned aspect 13, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0103] Figure 1 A schematic diagram of a communication system provided in an embodiment of the present application;
[0104] Figure 2(a)-Figure 2(b) A schematic diagram of cellular signal transmission provided in an embodiment of the present application;
[0105] Figure 3 A process of an embodiment of a method for sharing cellular capabilities provided in an embodiment of the present application Figure 1 ;
[0106] Figure 4(a)-Figure 4(c) A schematic diagram of a scenario for ending cellular capability sharing provided in an embodiment of the present application;
[0107] Figure 5(a)-Figure 5(b) , Figure 6(a)-Figure 6(c) , Figure 7(a)-Figure 7(b) , Figure 8(a)-Figure 8(c) A schematic diagram of a scenario of dynamically loading an icon provided in an embodiment of the present application;
[0108] Fig. 9 Flow chart 2 of an embodiment of a method for sharing cellular capabilities provided in an embodiment of the present application;
[0109] Fig.10 A process of an embodiment of a method for sharing cellular capabilities provided in an embodiment of the present application Figure 3 ; Fig.11 Flow chart 4 of an embodiment of a method for sharing cellular capabilities provided in an embodiment of the present application;
[0110] Fig.12 A schematic diagram of a scene for displaying a cellular status indicator icon provided in an embodiment of the present application;
[0111] Fig.13 Flow chart 5 of an embodiment of a method for sharing cellular capabilities provided in an embodiment of the present application;
[0112] Fig.14 A schematic diagram of a scenario for sharing cellular capabilities provided in an embodiment of the present application;
[0113] Figure 15(a)-Figure 15(b) , Figure 16(a)-Figure 16(b) A schematic diagram of a setting interface for a cellular sharing function provided in an embodiment of the present application;
[0114] Fig.17 A schematic diagram of the structure of a device provided in an embodiment of the present application;
[0115] Fig.18 A schematic diagram of the structure of another device provided in an embodiment of the present application;
[0116] Fig.19 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0117] Fig. 20 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0118] In order to ensure the privacy of user information, the present application provides a method for sharing cellular capabilities, which protects user information and improves user experience by dynamically loading icons.
[0119] 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.
[0120] The present application provides a method for sharing cellular capabilities applied to a communication system including a network-side device, a first device, and a second device. The first device is a device with cellular capabilities, that is, an electronic device provided with a subscriber identity module (SIM) card, such as a mobile phone. The SIM card can be a physical SIM card, an embedded SIM (e-SIM) card, a virtual SIM card, etc.
[0121] The second device is a device without cellular capabilities, for example, an electronic device without a modem, or an electronic device with a modem but no SIM card. For example, the second device can be a PAD, PC, or smart screen that is only WiFi-enabled, or a mobile phone that is not equipped with a SIM card, or a vehicle-mounted device.
[0122] The so-called cellular capability refers to the ability to implement cellular communication functions (for example, call functions, SMS functions, data service functions, Internet access functions, network slicing functions, and other communication functions based on cellular networks) through a SIM card. After the first device and the second device establish a transmission channel through device connection, the first device can share the cellular capability with the second device through the transmission channel, so that the second device can use the cellular capability of the first device to implement cellular communication functions.
[0123] For example, the communication system can be Figure 1 As shown in , the first device is a mobile phone with a SIM card, and the second device is a WIFI-only PAD. After the mobile phone and the PAD establish a transmission channel, the PAD interacts with the network layer device through the cellular capability of the mobile phone to perform cellular data exchange, so as to realize the cellular communication function by using the cellular capability of the mobile phone.
[0124] In the embodiment of the present application, the device connection may include a WiFi local area network (LAN), a Bluetooth (BT) connection, a peer to peer (P2P) connection, a hotspot connection, a dedicated chip connection, etc. Among them, a hotspot connection refers to the first device acting as a wireless access point (AP) to provide a wireless LAN connection to the second device using the mobile network of the first device. A Bluetooth connection includes a traditional Bluetooth connection and a low-power Bluetooth (BLE) connection.
[0125] The first device and the second device may implement cellular signaling interaction by setting a private interface, or may implement cellular signaling interaction by configuring a public interface.
[0126] Exemplarily, for the Android system, the present application provides a cellular signaling interaction method based on the radio interface layer (RIL). Among them, RIL can enable upper-layer applications to adapt to the cellular basic signaling process without changing the upper-layer applications, that is, the upper-layer applications can identify cellular signaling through RIL.
[0127] In one example, both the first device and the second device are Android systems. The first device shares cellular capabilities with the second device through a transmission channel (including WiFi / P2P / BT / AP and other channels), and the second device uses the cellular capabilities of the first device to implement a cellular communication function. See the cellular signal transmission schematic diagram shown in Figure 2(a).
[0128] After the Modem of the first device receives the cellular signaling sent by the network side device, it forwards it to the RIL of the first device, and the RIL converts the cellular signaling into RIL signaling that can be recognized by the upper layer application. On the one hand, the RIL of the first device will forward the RIL signaling to the RIL of the second device through the transmission channel, and the RIL of the second device will forward the RIL signaling to the upper layer application of the second device, and the upper layer application of the second device will perform related cellular function operations according to the RIL signaling.
[0129] Similarly, if the upper-layer application of the second device needs to send cellular signaling to the network-layer device, for example, when the user dials on the second device, the upper-layer application of the second device sends RIL signaling for dialing to the RIL of the second device, and the RIL of the second device forwards the RIL signaling to the RIL of the first device through the transmission channel. The RIL of the first device converts the RIL information into cellular signaling and sends it to the Modem of the first device, and the Modem of the first device sends the cellular signaling to the network-side device.
[0130] If the upper layer application of the second device recognizes the RIL signaling related to the service, the upper layer application of the second device calls the transmission channel to transmit the data stream of the corresponding service. For example, when the upper layer application of the second device recognizes the RIL signaling of "the called party picks up the phone", it determines that voice data needs to be transmitted between the called phone and the phone, so the upper layer application of the second device calls the transmission channel between the first device. When the upper layer application of the second device detects that the microphone collects the user's voice data, it sends the voice data to the first device through the transmission channel, and the modem of the first device sends the voice data to the network side device, and then the network side device forwards the voice data to the called phone. When the modem of the first device receives the voice data from the called phone sent by the network side device, the modem of the first device sends the voice data to the upper layer application of the second device through the transmission channel, and the upper layer application of the second device calls the speaker to play the voice data from the called phone, thereby completing the cellular communication function of making a call. It can be understood that for the second device, the RIL of the second device acts as a virtual modem of the second device, assisting the second device to complete the cellular communication function using the modem of the first device.
[0131] On the other hand, after receiving the cellular signaling sent by the Modem, the RIL of the first device will also forward the converted RIL signaling to the upper layer application of the first device.
[0132] For example, the first device is the called phone. When the modem of the first device receives cellular signaling indicating an incoming call, the RIL of the first device will send the corresponding RIL signaling to the upper-layer application of the first device and the RIL of the second device at the same time, and the RIL of the second device will forward it to the upper-layer application of the second device. Both the first device and the second device will display the caller ID. If the user uses the first device to answer the call, the first device uses its own cellular capability to talk to the calling phone, and the second device cancels the caller ID. If the user uses the second device to answer the call, the second device uses the cellular capability of the first device to talk to the calling phone, and the first device cancels the caller ID.
[0133] In one example, when the first device is an Android system and the second device is a non-Android system, as shown in FIG2(b), a signaling adaptation module can be set in the wireless interface of the second device (i.e., an interface in a non-Android system for electronic devices to perform wireless communications). When performing cellular signaling interaction, after the Modem of the first device receives the cellular signaling from the network-side device, the RIL of the first device converts the cellular signaling into RIL signaling and sends it to the wireless interface of the second device. The wireless interface of the second device converts the RIL signaling into a signaling that can be recognized by the upper-layer application of the second device through the signaling adaptation module, and the upper-layer application of the second device performs related cellular function operations according to the RIL signaling.
[0134] When the upper layer application of the second device needs to send cellular signaling to the network layer device, the upper layer application of the second device sends the corresponding signaling to the wireless interface of the second device. After the signaling adaptation module in the wireless interface converts the signaling into RIL signaling, the wireless interface forwards the RIL signaling to the RIL of the first device through the transmission channel. After the RIL of the first device converts the RIL signaling into cellular signaling, it is sent to the network side device through the Modem of the first device.
[0135] That is to say, when the second device is a non-Android system, a corresponding signaling adaptation layer can be set for the wireless interface of the second device, and the wireless interface and signaling adaptation layer of the second device can serve as the virtual RIL of the second device to perform signaling interaction with the RIL of the first device. For the second device, the virtual RIL of the second device serves as the virtual modem of the second device, assisting the second device to complete the cellular communication function using the modem of the first device.
[0136] In one example, if the first device is connected to WiFi and the second device is not connected to WiFi, then when the first device is assisting the second device in transmitting data streams (such as voice data, video data, SMS data, Internet access data, and other data corresponding to specific services), it can choose whether to interact with the network side device through a WiFi link or a mobile data link by identifying the service type. For example, if the first device recognizes that it needs to assist the second device in realizing a call function or a text message function, the first device can switch the communication link to a mobile data link. If the first device recognizes that it needs to assist the second device in realizing an Internet access function, the first device can switch the communication link to a WiFi link, thereby saving the traffic of the first device.
[0137] In one example, a plurality of transmission channels with different power consumptions may be established between the first device and the second device. The first device and the second device may select a transmission channel with lower power consumption according to the type of content transmitted while ensuring communication efficiency, so as to reduce power consumption of the first device and the second device.
[0138] For example, a P2P channel and a Bluetooth channel are established between the first device and the second device. The transmission speed of the P2P channel is faster than that of the Bluetooth channel, but the power consumption is larger. The first device and the second device can transmit signaling (for example, the above-mentioned RIL signaling) through the Bluetooth channel and transmit data streams (for example, voice data, video data, SMS data, and Internet access data, etc.) through the P2P channel.
[0139] For another example, two versions of BLE channels (for example, BLE1 and BLE2, where the transmission speed of BLE1 is slower than that of BLE2, but the power consumption is lower) and a P2P channel are established between the first device and the second device. The first device and the second device can transmit signaling through the BLE1 channel, transmit small-volume data streams (for example, voice data, SMS data) through the BLE2 channel, and transmit large-volume data streams (for example, video data and Internet access data, etc.) through the P2P channel.
[0140] It is understandable that the first device and the second device can establish multiple transmission channels with different power consumption before the communication interaction, or they can first establish a low-power transmission channel for signaling interaction. When the upper layer application of the second device determines that there is a data stream to be transmitted based on the interactive signaling, it then pulls up the corresponding power consumption transmission channel based on the type of data stream (for example, a small traffic data stream or a large traffic data stream).
[0141] See also Figure 3 , is a flow chart of an embodiment of a method for sharing cellular capabilities provided by the present application, mainly involving an icon loading method in the process of sharing cellular capabilities. Figure 3 As shown, the method includes:
[0142] S101: A first device establishes a transmission channel with a second device.
[0143] After the first device and the second device establish a transmission channel through device connection, the first device can share the cellular capability with the second device through the transmission channel, and the second device can implement the cellular communication function through the cellular capability of the first device. For example, the process of the second device implementing the cellular communication function using the cellular capability of the first device can be described in the embodiments shown in Figures 2(a) and 2(b), which will not be repeated here.
[0144] S102: The first device sends function synchronization information to the second device through a transmission channel, where the function synchronization information is used to synchronize a first service function that is allowed to be shared in a cellular communication function with the second device.
[0145] In an embodiment of the present application, the first device may specify a first service function that is allowed to be shared. Exemplarily, after completing the establishment of the transmission channel, the networking link management module of the first device notifies the distributed service module of the first device that the second device is connected, triggering the distributed service module to synchronize the cellular communication function to the second device. The distributed service module of the first device sends function synchronization information to the distributed service module of the second device. The distributed service module of the second device determines which cellular communication function to implement using the cellular capability of the first device based on the content in the function synchronization information.
[0146] After the second device receives the function synchronization information sent by the first device, the second device can determine that it can implement the first service function. In other words, at this time, the second device can determine that it has virtual cellular capabilities.
[0147] S103: The second device sets the first icon corresponding to the first service function from an unavailable state to an available state.
[0148] In the embodiment of the present application, components corresponding to various cellular communication functions are preset in the second device, such as a phone component corresponding to the call function, a text message component corresponding to the text message function, etc. When the second device does not have cellular capability, the icons corresponding to various cellular communication functions are set to unavailable states.
[0149] Among them, the unavailable state is a hidden state or a grayed-out display state, and the available state is a normal display state. The so-called hidden state is a non-displayed state, and the grayed-out display state is a state in which the icon is displayed in a gray shadow. In the grayed-out display state, the second device does not respond to operations on the first icon (for example, a user's click operation, a drag operation, a long press operation, etc.). In other words, in the hidden state or the grayed-out display state, the user cannot operate the first icon, that is, the first icon is unavailable.
[0150] Correspondingly, in the normal display state, the second device responds to the operation on the first icon. That is, in the normal display state, the user can operate the first icon, that is, the first icon is unavailable.
[0151] In the embodiment of the present application, components of various cellular communication functions are pre-set in the second device. When the second device does not have cellular capabilities, the second device sets the icons corresponding to the various cellular communication functions to an unavailable state, so that the user cannot start the various cellular communication functions on the second device. After the second device has cellular capabilities (i.e., it can use the cellular capabilities of the first device), the second device can convert the corresponding icons from an unavailable state to an available state for user operation.
[0152] Exemplarily, after receiving the function synchronization information, the distributed service module of the second device may notify the UI of the second device to load the first icon of the first service function.
[0153] After the UI of the second device completes loading of the first icon, when the user operates the first icon on the UI of the second device, the second device can call the component of the first business function and implement the first business function through the transmission channel and the cellular capability of the first device.
[0154] In one embodiment, the cellular capability of the first device may be unavailable due to arrears of payment for the first device, so the function synchronization information may also carry indication information that the cellular capability of the first device is available or unavailable. If the distributed service module of the second device determines that the cellular capability of the first device is available based on the function synchronization information, the UI may be notified to load the first icon; if the distributed service module of the second device determines that the cellular capability of the first device is unavailable based on the function synchronization information, there is no need to notify the UI to load the first icon. In one example, the UI may be notified to display a prompt message, for example, a prompt indicating that the cellular capability of the first device is unavailable (for example, arrears, etc.).
[0155] S104: End cellular capability sharing between the first device and the second device.
[0156] In the embodiment of the present application, the cellular capability sharing may be terminated by the first device or by the second device.
[0157] Taking the first device as an example, in one example, if the first device is set to be always on, when the screen of the first device is turned off (i.e., the screen is turned off by the user), it means that the first device is temporarily not in use, and the first device can end the cellular capability sharing.
[0158] In another example, if the first device detects that the first device and the second device are outside a preset range (for example, beyond the preset range, or not in the same WiFi local area network), the first device may end the cellular capability sharing.
[0159] In another example, if the first device is not set to be always on, but when the screen of the first device is turned off for a preset period of time (for example, 5 minutes, 10 minutes), the first device can end the cellular capability sharing.
[0160] In another example, when the first device shares cellular capabilities with the second device, the first device may display a card indicating that the cellular capabilities are being shared in the notification center of the negative one screen and / or the drop-down menu. The user may use the card to turn off the cellular sharing function so that the first device ends the cellular capability sharing.
[0161] For example, as shown in FIG4(a), when the first device shares cellular capabilities, a card indicating that the cellular capabilities are being shared is displayed in the notification center of the first device, and a close button is provided on the card. The user enters the control center through a drop-down menu and clicks the close button on the card. After the first device detects the user operation, it ends the cellular capability sharing.
[0162] Or as shown in FIG4(b), after the first device detects that the user clicks the card, it enters the setting interface, and a "Cellular Sharing" column is displayed on the setting interface. On the setting interface, if the first device detects that the user turns off the switch corresponding to the "Cellular Sharing" column, the cellular capability sharing ends.
[0163] Alternatively, as shown in FIG4(c), a card indicating that cellular capability is being shared is displayed on the negative first screen of the first device, and when the first device detects that the user clicks on the card, the setting interface is entered. If the first device detects that the user turns off the switch corresponding to the "cellular sharing" column, the cellular capability sharing is terminated.
[0164] After the first device determines that the cellular capability sharing can be terminated, it notifies the networking connection management module to initiate a disconnection operation. The networking connection module of the first device initiates a disconnection operation to the networking connection module of the second device and deletes the transmission channel between the first device and the second device, thereby terminating the cellular capability sharing.
[0165] It can be understood that the way in which the second device ends the cellular capability sharing is the same as the way in which the first device ends the cellular capability sharing, and will not be described in detail here.
[0166] S105: The second device sets the first icon from an available state to an unavailable state.
[0167] Based on the cellular capability sharing method provided by the present application, the second device can dynamically load an icon during the process of sharing the cellular capability. When the cellular capability sharing between the first device and the second device ends, the second device sets the first icon to an unavailable state, making the first icon unavailable, so the user cannot operate the first service function on the second device, thereby ensuring to a certain extent that the user cannot view the record information corresponding to the first service function on the second device, thereby protecting information security and privacy.
[0168] The following takes the first service function including the call function and the text message function as an example. Figure 5(a)-Figure 8(c) The icon loading scene diagram shown above Figure 3 The method flow shown is described by way of example.
[0169] In one example, the second device is pre-installed with components corresponding to various cellular communication functions, and when it does not have cellular capabilities, the icons corresponding to various cellular communication functions are hidden. That is, before the first device shares the first service function with the second device, the second device does not display the first icon (including the phone icon and the text message icon) corresponding to the first service function. When the first device establishes a communication connection with the second device and is ready to share cellular capabilities, the second device normally displays the phone icon and the text message icon (i.e., the icon corresponding to "information" in the attached figure).
[0170] When the first icon is set from a hidden state to a normal display state, the second device may load the first icon on the desktop. For example, as shown in FIG5(a), the second device loads the first icon on the first page of the desktop, or on the last page of the desktop. Alternatively, as shown in FIG5(b), the second device may also load the first icon in the dock area. The so-called dock area refers to an area that does not change with switching between multiple desktops.
[0171] When the cellular capability sharing between the first device and the second device ends, the second device hides the first icon again.
[0172] It is worth noting that the second device has a built-in address book (or contact) component. The second device can be configured to dynamically load the address book icon. For example, before the first device shares the first business function with the second device, the second device does not display the address book icon. After the first device establishes a communication connection with the second device, if the first device shares the cellular communication function related to the address book (for example, call function and SMS function) with the second device, the second device displays the address book icon normally.
[0173] For example, after the first device establishes a communication connection with the second device, as shown in FIG6(a), the second device displays a phone icon, a text message icon, and a contact icon on the desktop. Alternatively, as shown in FIG6(b), the second device displays a phone icon, a text message icon, and a contact icon in the dock area.
[0174] When the cellular capability sharing between the first and second devices is terminated, the second device hides the phone icon, the text message icon and the address book icon again.
[0175] Alternatively, the second device may also be configured to always display the address book icon normally, that is, the address book icon is not hidden along with the hiding of the phone icon or the text message icon.
[0176] In one example, when the second device is configured to display the address book icon normally, the address book may or may not contain contact information. As shown in FIG6(c), if the address book contains contact information, before the first device shares the first service function with the second device, the second device hides the phone icon and the text message icon on the desktop or dock area, and also hides the phone icon and the text message icon in the corresponding contact interface.
[0177] After the first device establishes a communication connection with the second device, the second device displays the phone icon and the text message icon normally on the desktop or dock area, and also displays the phone icon and the text message icon normally in the corresponding contact interface.
[0178] Correspondingly, when the cellular capability sharing between the first device and the second device is terminated, the second device again hides the phone icon and SMS icon displayed on the desktop and contact interface, or the dock area and contact interface.
[0179] In another example, when the second device does not have cellular capability, the icons corresponding to each cellular communication function are grayed out. As shown in FIG. 7(a), both the phone icon and the text message icon are grayed out and displayed on the desktop. Alternatively, as shown in FIG. 7(b), both the phone icon and the text message icon are grayed out and displayed in the dock area.
[0180] When the first device establishes a communication connection with the second device, the second device sets the phone icon and the text message icon from the grayed-out display state to the normal display state. When the cellular capability sharing between the first device and the second device ends, the second device sets the phone icon and the text message icon to the grayed-out display state again.
[0181] Accordingly, when the second device has a built-in address book component, if the second device is configured to dynamically load the address book icon, the second device will gray out the address book icon before the first device shares the first service function with the second device. After the first device establishes a communication connection with the second device, if the first device shares the cellular communication function related to the address book with the second device, the second device will display the address book icon normally.
[0182] For example, after the first device establishes a communication connection with the second device, as shown in FIG8(a), the phone icon, SMS icon, and address book icon displayed on the desktop of the second device are set from a grayed-out display state to a normal display state. Or as shown in FIG8(b), the phone icon, SMS icon, and address book icon displayed in the dock area of the second device are set from a grayed-out display state to a normal display state.
[0183] When the cellular capability sharing between the first device and the second device ends, the second device again sets the phone icon, the text message icon and the address book icon from the normal display state to the grayed-out display state.
[0184] If the second device is configured to always display the address book icon normally, the address book icon does not change with the change of the display state of the phone icon or the text message icon.
[0185] In one example, when the second device is configured to always display the address book icon normally, the address book may contain contact information. As shown in FIG8(c), if the address book contains contact information, before the first device shares the first service function with the second device, the second device sets the phone icon and the text message icon displayed on the desktop or in the dock area to grayed out, and also grays out the phone icon and the text message icon in the corresponding contact interface.
[0186] After the first device establishes a communication connection with the second device, the second device sets the phone icon and the text message icon from the grayed-out display state to the normal display state on the desktop or dock area, and also sets the phone icon and the text message icon from the grayed-out display state to the normal display state in the corresponding contact interface.
[0187] Correspondingly, when the cellular capability sharing between the first device and the second device is terminated, the second device again sets the phone icon and SMS icon on the desktop and contact interface, or the dock area and contact interface from the normal display state to the grayed-out display state.
[0188] It is understandable that when the cellular capability sharing between the first device and the second device is terminated, the second device hides the first icon or displays it in a grayed-out state, making the first icon unavailable. Therefore, the user cannot operate the first business function on the second device, thereby ensuring to a certain extent that the user cannot view the record information corresponding to the first business function on the second device, thereby protecting information security and privacy.
[0189] It is worth noting that in order to make the cellular communication function shared by the first device to the second device more intuitive for the user, the icons of various cellular communication functions displayed on the second device and the first device may be unified, thereby improving the user experience.
[0190] In one scenario, multiple first devices may share cellular capabilities with the same second device. For example, each family member has their own mobile phone and also uses the same tablet. Then, in order to further ensure the privacy of information on each first device, based on Figure 3 ,like Fig. 9 As shown, after the above S104, the method further includes:
[0191] S106: The second device deletes the record information corresponding to the first service function stored on the second device.
[0192] For example, call records and text message records, etc. These record information may include record information generated during the cellular capability sharing process.
[0193] Exemplarily, the second device may delete the recorded information according to the instruction of the first device. For example, the first device may carry instruction information in the function synchronization information sent to the second device to instruct the second device to delete the indicated recorded information when the sharing ends. Of course, the first device may also send instruction information to the second device separately after determining to end the cellular capability sharing, instructing the second device to delete the recorded information. Alternatively, the second device is configured to delete the data generated during the cellular capability sharing process when the cellular capability sharing ends.
[0194] Optionally, in order to facilitate the user to use the second device to perform the first service function, the first device and the second device may also synchronize the first record information. Fig. 9 ,like Fig.10 As shown, after the above S102, the method further includes:
[0195] S107: The first device and the second device synchronize the first record information through the transmission channel.
[0196] In an embodiment of the present application, the first record information may include a usage record of the first service function on the first device and a usage record on the second device, wherein the usage record on the first device includes a usage record generated during cellular capability sharing and a usage record saved before cellular capability sharing.
[0197] For example, if the first service function includes a call function and / or a text message function, the first record information may include call records and text message records, and may also include contact information related to the call function and / or text message function.
[0198] The synchronized address book information may include the address book information on the second device and / or the address book information on the first device. For example, after the first device establishes a transmission channel with the second device, the first device may send all the contact information in the address book saved on the first device to the second device, or send the contact information corresponding to the call record in the address book to the second device. During the cellular capability sharing period, if the user adds contact information to the address book of the second device, the second device may send the newly added contact information to the first device, and the first device may save the contact information to the address book of the first device.
[0199] It is worth noting that if the first device synchronizes the contact information to the second device, then when the first device and the second device end the cellular capability sharing, the second device can also delete the contact information synchronized from the first device to protect the privacy and security of the contact information of the first device.
[0200] It is understandable that in this manner, on the one hand, the user can quickly view and use the first record information on the second device to improve operation efficiency. On the other hand, the first device can also update the complete usage record in real time, so that the user can view the complete usage record on the first device after the cellular capability sharing is terminated.
[0201] In an application scenario, since the first device currently shares cellular capabilities with the second device through Bluetooth, WiFi, dedicated chips, etc., the second device is often unable to perceive the cellular status of the first device, such as the format of the primary card and / or secondary card of the first device, the strength of the cellular signal, whether voice over long-term evolution (VoLTE) high-definition calls are enabled, and other cellular status. On the one hand, when the second device cannot smoothly perform the cellular communication function, the user may not be able to determine whether it is a connection problem between the first device and the second device, or a cellular signal quality problem of the first device. On the other hand, if some applications that need to run in a secure environment (i.e., a cellular data traffic environment) are installed on the second device, these applications cannot be started because the second device does not have cellular capabilities.
[0202] In this regard, in another embodiment of the method for sharing cellular capabilities provided in the present application, the first device sends cellular status indication information to the second device so that the second device can perceive the cellular status of the first device. For example, Fig.11 As shown, the method includes:
[0203] S201: A first device establishes a transmission channel with a second device.
[0204] For example, the specific implementation process of S201 can refer to the description of S101 above, which will not be repeated here.
[0205] S202: The first device sends cellular status information of the first device to the second device.
[0206] S203: The second device displays a cellular status indicator icon according to the cellular status information.
[0207] The distributed service module of the first device sends cellular status information to the RIL interface of the second device through the RIL interface of the first device. The cellular status information is a signal type RIL command. After parsing the cellular status information, the distributed service module of the second device notifies the UI of the second device to display the corresponding cellular status indicator icon.
[0208] S204: End cellular capability sharing between the first device and the second device.
[0209] S205: The second device cancels display of the cellular status indication icon.
[0210] For example, Fig.12 As shown, after the first device and the second device establish a transmission channel, the first device notifies the second device through cellular status information, and the primary card and the secondary card of the first device are both 5G communication standards, and the signal strength is full. The second device displays the corresponding cellular status indicator icon. When the cellular capability sharing between the first device and the second device ends, the second device cancels the display of the cellular status indicator icon.
[0211] It is understandable that in this embodiment, the first device sends cellular status indication information to the second device so that the second device can perceive the cellular status of the first device and display the cellular status indication icon according to the cellular status of the first device. Thus, the user can intuitively know the cellular status of the first device from the second device. If an application that needs to run in a secure environment is installed on the second device, the second device can provide a secure operating environment for the application based on the cellular status of the first device so that the application can start running.
[0212] It should be noted that the above Figure 3 , Fig. 9 , Fig.10 , Fig.11 The embodiments shown can be implemented in combination or independently. Fig.10 and Fig.11 In the embodiment shown, the completion process of the method for sharing cellular capabilities provided by the present application can be as follows Fig.13 As shown, the method includes:
[0213] S301: A first device establishes a transmission channel with a second device.
[0214] S302: The first device sends function synchronization information to the second device through a transmission channel, where the function synchronization information is used to synchronize a first service function that is allowed to be shared in a cellular communication function with the second device.
[0215] S303: The second device sets the first icon corresponding to the first service function from an unavailable state to an available state.
[0216] S304: The first device and the second device synchronize the first record information through the transmission channel.
[0217] S305: The first device sends the cellular status information of the first device to the second device.
[0218] S306: The second device displays a cellular status indicator icon according to the cellular status information.
[0219] S307: The second device executes the first service function based on the cellular capability of the first device.
[0220] S308: End cellular capability sharing between the first device and the second device.
[0221] S309: The second device sets the first icon from an available state to an unavailable state.
[0222] S310: The second device deletes the record information corresponding to the first service function stored on the second device.
[0223] S311, the second device cancels display of the cellular status indication icon.
[0224] based on Fig.13 The flowchart shown in the figure takes the case where the second device hides the icons corresponding to each cellular communication function when the second device does not have cellular capability as an example to illustrate the scenario example. Fig.14 As shown, before the first device shares the cellular communication function with the second device, the second device does not display the icons corresponding to the various cellular communication functions. After the first device establishes a communication connection with the second device, the first device specifies that the call function is allowed to be shared. The second device normally displays the phone icon and address book icon corresponding to the call function. The first device synchronizes the saved call records and address book to the second device. After the first device sends its own cellular status information to the second device, the second device determines that the cellular status of the first device is that both the primary card and the secondary card are 5G communication standards, and the signal strength is full. The second device displays two 5G cellular status indicator icons with full signals. The first device and the second device transmit cellular data streams and cellular signal streams through the RIL interface and the transmission channel, so that the second device uses the cellular capability of the first device to make calls.
[0225] When the first device and the second device need to terminate the cellular capability sharing, the first device and the second device disconnect the link between the devices and delete the transmission channel to terminate the cellular capability sharing. After that, the second device deletes the address book and call records, hides the phone icon and the address book icon, and cancels the display of the cellular status indicator icon.
[0226] In summary, on the one hand, by adopting the method for sharing cellular capabilities provided by the present application, the second device can dynamically load the icon corresponding to the cellular communication function according to whether the cellular capability is shared, so that the icon is available during the cellular capability sharing period and unavailable after the sharing ends. This ensures to a certain extent that the user cannot view the recorded information corresponding to the cellular communication function on the second device during the non-sharing period, thereby protecting information security and privacy.
[0227] On the other hand, by adopting the method of sharing cellular capabilities provided in the present application, the second device can fully share the cellular capabilities of the first device and fully perceive the cellular status of the first device, so that the user can intuitively know the cellular status of the first device and start executing some applications that require a secure environment.
[0228] Optionally, in order to further ensure the information security of the first device, the first device may be triggered to share cellular capabilities with the second device through preset conditions. That is, when the first device and the second device meet the preset conditions, the first device may establish a transmission channel with the second device and share cellular capabilities with the second device. The preset conditions may be set according to the requirements of the actual application scenario.
[0229] Exemplarily, the preset condition may include a range condition, and when the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range, the first device allows sharing of cellular capabilities with the second device.
[0230] The device that is allowed to share cellular capabilities may be a device with the same account, or a device in a device list set in the first device.
[0231] The preset range may be a preset distance, for example, 1 meter, 2 meters, etc. It may also be within the same local area network range, for example, the first device and the second device are connected to the same WiFi local area network and are within the signal coverage range of the WiFi local area network.
[0232] In the embodiment of the present application, the first device and the second device can trigger a cellular capability sharing process based on a device discovery technology. The device discovery process can be executed by the first device or by the second device.
[0233] Exemplarily, taking the first device as an example, the first device may start device discovery when it is powered on. For example, when the operating system of the first device detects the power-on operation, it notifies the networking connection management module to start executing the device discovery process to detect whether the second device exists.
[0234] Alternatively, the first device may start device discovery when the screen is on. For example, when the user interface (UI) of the first device detects that the first device switches from off screen to on screen, the network connection management module is notified to start executing the device discovery process to detect whether the second device exists.
[0235] Alternatively, the first device may initiate device discovery when connected to the WiFi local area network. For example, when the networking connection management module is connected to the WiFi local area network, it starts executing the device discovery process to detect whether the second device exists.
[0236] Alternatively, the first device can start device discovery when it detects that a device with the same account is online. For example, when the distributed service module of the first device detects that a device with the same account (for example, the same Huawei account as the first device) is online, it can notify the network connection management module to start executing the device discovery process to detect whether there is a second device.
[0237] If the first device is configured to allow sharing of cellular capabilities within the same local area network, the networking connection management module can perform security authentication on the second device when it detects a second device connected to the same WiFi local area network as the first device, and after determining that the second device is a legitimate device, directly initiate a device connection to the connection management module of the second device.
[0238] If the first device is configured to allow the first device to share cellular capabilities with the second device when the distance between the second device and the first device is within a preset distance, the networking connection management module of the first device detects the existence of the second device by performing device discovery, performs security authentication on the second device, and after determining that the second device is a legitimate device, notifies the ranging module (for example, Bluetooth ranging module, ultrasonic ranging module, etc.) to send a broadcast signal to the ranging module of the second device to measure the distance between the first device and the second device. When the measured distance meets the preset distance, the first device initiates a device connection to the second device.
[0239] It can be understood that the process of the second device performing device discovery is the same as the process of the first device performing device discovery, which will not be repeated here.
[0240] Optionally, the preset condition may also be triggering a tap operation between the first device and the second device.
[0241] For example, both the first device and the second device have a near field communication (NFC) function, which can trigger a bump operation. When the NFC module of the first device detects that a bump operation is triggered between the first device and the second device, the NFC module of the first device can notify the networking connection management module to initiate a device connection to the second device to establish a transmission channel.
[0242] Optionally, the preset condition may also be that the first device and the second device determine, through scanning a code, that sharing of cellular capabilities is allowed.
[0243] For example, a QR code is pre-set on the first device, and the second device can obtain the authorization information of the first device by scanning the QR code, and the second device initiates a device connection to the first device according to the authorization information. The first device can determine that it is allowed to share cellular capabilities with the second device based on the authorization information sent by the second device, and establish a device connection with the second device. Alternatively, a QR code is pre-set on the second device, and the first device can obtain the device information of the second device by scanning the QR code, and determine that it is allowed to share cellular capabilities with the second device. The first device initiates a device connection to the second device according to the device information of the second device.
[0244] Optionally, the preset condition may also be to establish ultra-wideband (UWB) communication between the first device and the second device. For example, both the first device and the second device have UWB chips and UWB functions. When the first device points to the second device, after the first device locates the second device based on the UWB function, it determines that the cellular capability is allowed to be shared with the second device, and initiates a device connection to the second device.
[0245] In an embodiment of the present application, the first device may have a setting function that can flexibly set the effectiveness conditions, allow devices with shared cellular capabilities, allow shared business functions, and clear record information, etc.
[0246] Exemplarily, the first device provides a setting interface for the cellular sharing function. For example, based on Figure 4(a), when the user clicks the "Cellular Sharing" column, the first device enters the setting interface for the cellular sharing function. As shown in Figure 15(a), in the setting interface, there are provided an "Effective Device Selection" column, an "Effective Condition" column, a "Clear Record" column, and a "Sharing Service Capability" column. These setting columns can be set in the same setting interface (for example, the two figures in Figure 15(a) show the same interface), and the user can view the corresponding setting items by swiping up or down.
[0247] Among them, the "Effective Device Selection" column can set the devices that the first device is allowed to share cellular capabilities with. The "Effective Device Selection" column displays the devices that the first device can currently detect, for example, devices with the same account as the first device, devices in the same WiFi local area network, and / or devices with Bluetooth turned on. Assuming that the first device currently detects two models of devices, MATEPAD PRO and MATEBOOK X, the user can click the selection buttons corresponding to the two devices, MATEPAD PRO and MATEBOOK X, in the "Effective Device Selection" column to set the devices that the first device is allowed to share cellular capabilities with. As shown in Figure 15(a), the buttons corresponding to MATEPAD PRO and MATEBOOK X are both selected, indicating that MATEPAD PRO and MATEBOOK X are both devices that the first device is allowed to share cellular capabilities with. When the first device is connected to MATEPAD PRO or MATEBOOK X, the first device can share cellular capabilities with MATEPAD PRO and MATEBOOK X.
[0248] It is understandable that if the "Effective Device Selection" column is set in the first device, after the networking connection management module of the first device detects a legitimate second device, it can further determine whether the second device is a device that is allowed to share cellular capabilities as determined by the first device. Only when the second device is a device that is allowed to share cellular capabilities by the first device, the networking connection module of the first device will initiate a device connection to the second device.
[0249] The "Effective Conditions" column can set the conditions under which the first device allows the execution of cellular capability sharing. That is, the preset conditions can be set through the "Effective Conditions" column. Exemplarily, as shown in Figure 15(a), the "Effective Conditions" column is provided with a "UWB Effective" button, a "Same LAN Effective" button, a "Scan Code Effective" button, a "Touch to Effective" button and an "Effective Distance" selection box.
[0250] The "Effective Distance" selection box provides a variety of distance buttons, such as a "1m" button, a "2m" button, etc. In the "Effective Distance" selection box, when the user clicks to turn on any distance button, the other distance buttons are automatically turned off. For example, when the user clicks to turn on the "1m" button, the "2m" button, if originally in an on state, is automatically turned off. After the user clicks to turn on the "1m" button, the first device can share cellular capabilities with the second device when it detects that the second device is less than 1 meter away from the first device.
[0251] For "Scan code to take effect", a QR code including authorization information may be set in the first device. As shown in FIG15(b), when the user clicks the "Scan code to take effect" column, the first device may display a QR code for the second device to scan.
[0252] For the activation conditions of the cellular capability sharing function, users can select multiple or single selections. For example, if the user turns on the "UWB activation" button, the "Same LAN activation" button, the "Scan code activation" button, the "Touch to activate" button, and the "1m" button, then when the first device detects a second device that meets any of the conditions, the cellular capability can be shared with the second device.
[0253] The "Shared Service Capability" column can set the cellular communication functions that the first device allows to be shared, such as call function, SMS function, Internet access function, etc. The user can click the selection button corresponding to each cellular communication function to set the sharing permissions of which cellular communication functions are open.
[0254] The "Clear Record" column can be used to set the record information that the second device needs to delete when the cellular capability sharing ends. For example, when the "Contacts" button is turned on, it means that the second device will delete the contacts saved on the second device when the sharing ends. When the "SMS Record" button is turned on, it means that the second device will delete the SMS records saved on the second device when the sharing ends.
[0255] Optionally, the setting interface may be as shown in FIG. 16( a ), in which a “Selection of Effective Devices” column is displayed. When the user selects a device that allows sharing of cellular capabilities in the “Selection of Effective Devices” column, the corresponding setting interface is entered. For example, when the user clicks “MATEPAD PRO”, as shown in FIG. 16( b ), the first device switches the setting interface to the setting interface corresponding to “MATEPAD PRO”. The “Effective Conditions” column, the “Clear Records” column, and the “Shared Service Capabilities” column are displayed in the setting interface to set the sharing permissions of “MATEPAD PRO”. For example, the effective conditions of “MATEPAD PRO” are set through the “Effective Conditions” column. That is, when the first device and “MATEPAD PRO” are in what situation, the first device can share cellular capabilities with “MATEPAD PRO”. The “Shared Service Capabilities” column is used to set the sharing permissions of the cellular communication functions of “MATEPAD PRO”, that is, which cellular communication functions the first device can share with “MATEPAD PRO”. Through the "Clear Record" column, you can set which information "MATEPAD PRO" needs to delete after terminating the cellular capability sharing with the first device.
[0256] It can be understood that, through the setting interface shown in FIG. 16( b ), the first device can open different sharing permissions for different second devices, thereby improving the flexibility and security of cellular capability sharing.
[0257] 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.
[0258] The above mainly introduces the solution provided by the present application from the perspective of interaction between electronic devices. It is understandable that in order to realize the above functions, the electronic device (such as the first device and the second device) includes a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0259] The present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0260] In the case of dividing each functional module into corresponding functional modules, Fig.17 A schematic diagram of the structure of a device is shown, which is applied to the first device mentioned above, for example, it can be a chip, a processor or a functional module in the first device. Fig.17 As shown, the device includes a processing unit 1701 and a transmission unit 1702.
[0261] In one example, the processing unit 1701 is configured to establish a transmission channel with a second device, wherein the first device shares cellular capabilities with the second device through the transmission channel.
[0262] The transmission unit 1702 is used to send function synchronization information to the second device through the transmission channel, where the function synchronization information is used to synchronize the first service function that is allowed to be shared in the cellular communication function to the second device.
[0263] In one example, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable.
[0264] In one example, the transmission unit 1702 is also used to synchronize first record information with the second device through the transmission channel after sending function synchronization information to the second device through the transmission channel, and the first record information includes a usage record of the first business function on the first device and a usage record on the second device.
[0265] In an example, the transmission unit 1702 is further configured to interact with the second device via the radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0266] In one example, the processing unit 1701 is used to establish a transmission channel with the second device when the first device and the second device meet a preset condition, wherein the first device reports the shared cellular capability of the first device to the second device through the transmission channel.
[0267] The transmission unit 1702 is used to send the cellular status information of the first device to the second device, where the cellular status information is used for the second device to display a cellular status indication icon.
[0268] In one example, the processing unit 1701 establishes a transmission channel with the second device, including: when the processing unit 1701 determines that the first device and the second device meet a preset condition, establishing a transmission channel with the second device; the preset condition is that the second device is a device determined by the first device to be allowed to share cellular capabilities, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0269] Fig.18 A schematic diagram of the structure of a device is shown, which is applied to the second device mentioned above, for example, it can be a chip, a processor or a functional module in the second device. Fig.18 As shown, the device includes a processing unit 1801 and a transmission unit 1802.
[0270] In one example, the processing unit 1801 is configured to establish a transmission channel with a first device, wherein the second device implements a cellular communication function using a cellular capability shared by the first device through the transmission channel.
[0271] The transmission unit 1802 is used to receive function synchronization information sent by the first device through a transmission channel, where the function synchronization information is used to synchronize a first service function that is allowed to be shared in a cellular communication function to the second device.
[0272] The processing unit 1801 is further configured to set the first icon corresponding to the first service function from an unavailable state to an available state; and when the cellular capability sharing between the first device and the second device is terminated, set the first icon from an available state to an unavailable state.
[0273] In one example, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable; the processing unit 1801 sets the first icon corresponding to the first service function from an unavailable state to an available state, specifically including: when the processing unit 1801 determines that the cellular capability of the first device is available based on the function synchronization information, the first icon is set from an unavailable state to an available state.
[0274] In one example, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the processing unit 1801 does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the processing unit 1801 responds to operations on the first icon.
[0275] In one example, the transmission unit 1802 is also used to synchronize first record information with the second device through the transmission channel after receiving function synchronization information sent by the first device through the transmission channel. The first record information includes the usage record of the first business function on the first device and the usage record on the second device.
[0276] In an example, the processing unit 1801 is further configured to delete the record information corresponding to the first service function stored on the second device when the cellular capability sharing between the first device and the second device is terminated.
[0277] In an example, the transmission unit 1802 is further configured to interact with the second device via the radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0278] In one example, the processing unit 1801 is used to establish a transmission channel with the first device when the first device and the second device meet a preset condition, wherein the second device uses the cellular capability shared by the first device through the transmission channel to implement a cellular communication function.
[0279] Transmitting unit 1 802 is configured to receive cellular status information of a first device sent by a first device.
[0280] The processing unit 1 801 is further configured to display a cellular status indication icon according to the cellular status information, and cancel the display of the cellular status indication icon when the cellular capability sharing between the first device and the second device ends.
[0281] In one example, the processing unit 1801 establishes a transmission channel with the first device, including: when the processing unit 1801 determines that a preset condition is met between the first device and the second device, a transmission channel is established with the first device; the preset condition is that the second device is a device that is allowed to share cellular capabilities as determined by the first device, and the first device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the second device; or, the preset condition is that the first device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device and the second device establish UWB communication.
[0282] In the case of an integrated unit, Fig.19 A possible structural diagram of an electronic device is shown. The electronic device has cellular capabilities, and is specifically the first device involved in the above embodiment. Fig.19 , is a schematic diagram of the structure of an electronic device provided by the present application. The electronic device may include a processor 1901, a memory 1903, an antenna 1, an antenna 2, a mobile communication module 1905, a wireless communication module 1906, a subscriber identification module (SIM) card interface 1907, etc. It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0283] Among them, the processor 1901 may include at least one of the following types: a central processing unit (CPU), and the processor 1901 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates 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. The processor 1901 may be the nerve center and command center of an electronic device. An operation control signal may be generated according to an instruction opcode and a timing signal to complete the control of fetching and executing instructions.
[0284] The memory 1903 can be used to store software programs and modules. The processor 1901 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1903. The memory 1903 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as human-computer dialogue, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.), etc. In addition, the memory 1903 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0285] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 1905, wireless communication module 1906, modem processor and baseband processor.
[0286] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0287] The mobile communication module 1905 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 1905 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 1905 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 1905 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. That is, the mobile communication module 1905, the modulation and demodulation processor, and the antenna 1 provide cellular communication for the electronic device.
[0288] In some embodiments, at least some functional modules of the mobile communication module 1905 may be disposed in the processor 1901. In some embodiments, at least some functional modules of the mobile communication module 1905 and at least some modules of the processor 1901 may be disposed in the same device.
[0289] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 1901 and be set in the same device as the mobile communication module 1905 or other functional modules.
[0290] The wireless communication module 1906 can provide wireless communication solutions including WLAN (such as WiFi network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 1906 can be one or more devices integrating at least one communication processing module. The wireless communication module 1906 receives electromagnetic waves via antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1901. The wireless communication module 1906 can also receive the signal to be sent from the processor 1901, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through antenna 2.
[0291] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 1905, and the antenna 2 is coupled to the wireless communication module 1906, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0292] The SIM card interface 1907 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device by inserting it into the SIM card interface 1907 or pulling it out from the SIM card interface 1907. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 1907 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 1907 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 1907 can also be compatible with different types of SIM cards. The SIM card interface 1907 can also be compatible with external memory cards. The electronic device interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
[0293] based on Fig.19 In the electronic device shown, when the processor 1901 executes the computer program stored in the internal memory 1903, the electronic device is configured to execute the following scheme:
[0294] In one example, the electronic device is configured to:
[0295] A transmission channel is established with the second device, wherein the electronic device shares cellular capabilities with the second device through the transmission channel; and function synchronization information is sent to the second device through the transmission channel, wherein the function synchronization information is used to synchronize a first service function that is allowed to be shared in the cellular communication function to the second device.
[0296] In one example, the function synchronization information is also used to indicate whether the cellular capability of the electronic device is available or unavailable.
[0297] In one example, the electronic device is also configured to: after sending function synchronization information to the second device through a transmission channel, synchronize first record information with the second device through the transmission channel, the first record information including the usage record of the first business function on the electronic device and the usage record on the second device.
[0298] In one example, the electronic device is further configured to: interact with the second device via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0299] In one example, the electronic device is configured to: establish a transmission channel with a second device, wherein the electronic device shares the shared cellular capability of the electronic device with the second device through the transmission channel; and send cellular status information of the first device to the second device, wherein the cellular status information is used by the second device to display a cellular status indicator icon.
[0300] In one example, the electronic device establishes a transmission channel with a second device, including: when a preset condition is met between the electronic device and the second device, a transmission channel is established with the second device; the preset condition is that the second device is a device determined by the electronic device to be allowed to share cellular capabilities, and the electronic device and the second device are within a preset range; or, the preset condition is that a touch operation is triggered between the electronic device and the second device; or, the preset condition is that the electronic device and the second device determine that sharing cellular capabilities is allowed by scanning a code; or, the preset condition is that the electronic device establishes UWB communication with the second device.
[0301] In the case of an integrated unit, Fig. 20A possible structural diagram of an electronic device is shown. The electronic device does not have cellular capability (ie, the electronic device does not have a modem, or has a modem but no SIM card), specifically the second device involved in the above embodiment. Fig. 20 , is a schematic diagram of the structure of an electronic device provided by the present application. The electronic device may include a processor 2001, a memory 2003, an antenna 3, a wireless communication module 2006, etc. It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0302] The processor 2001 may include at least one of the following types: CPU, the processor 2001 may also be other general-purpose processors, DSP, ASIC, 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. The processor 2001 may be the nerve center and command center of an electronic device. An operation control signal may be generated according to an instruction operation code and a timing signal to complete the control of fetching and executing instructions.
[0303] The memory 2003 can be used to store software programs and modules. The processor 2001 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 2003. The memory 2003 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as human-computer dialogue, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.), etc. In addition, the memory 2003 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0304] The wireless communication function of the electronic device can be realized through the antenna 3, the wireless communication module 2006, etc.
[0305] Antenna 3 is used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, antenna 3 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0306] The wireless communication module 2006 can provide solutions for wireless communications including WLAN (such as WiFi), BT, BLE, GNSS, FM, NFC, IR, etc. applied to electronic devices. GNSS may include GPS, GLONASS, BDS, QZSS and / or SBAS. The wireless communication module 2006 may be one or more devices integrating at least one communication processing module. The wireless communication module 2006 receives electromagnetic waves via the antenna 3, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 2001. The wireless communication module 2006 can also receive the signal to be sent from the processor 2001, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 3. In some embodiments, the antenna 3 of the electronic device is coupled to the wireless communication module 2006, so that the electronic device can communicate with the network and other devices through wireless communication technology.
[0307] based on Fig. 20 In the electronic device shown, when the processor 2001 executes the computer program stored in the internal memory 2003, the electronic device is configured to execute the following scheme:
[0308] In one example, the electronic device is configured to:
[0309] When a transmission channel is established with a first device, wherein the electronic device implements a cellular communication function by using the cellular capability shared by the first device through the transmission channel; function synchronization information sent by the first device is received through the transmission channel, and the function synchronization information is used to synchronize a first business function allowed to be shared in the cellular communication function to the electronic device; a first icon corresponding to the first business function is set from an unavailable state to an available state; and when the cellular capability sharing between the first device and the electronic device is ended, the first icon is set from an available state to an unavailable state.
[0310] In one example, the function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable; the electronic device sets the first icon corresponding to the first service function from an unavailable state to an available state, specifically including: when it is determined according to the function synchronization information that the cellular capability of the first device is available, setting the first icon from an unavailable state to an available state.
[0311] In one example, the unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the electronic device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the electronic device responds to operations on the first icon.
[0312] In one example, the electronic device is also configured to: after receiving function synchronization information sent by the first device through a transmission channel, synchronize first record information with the first device through the transmission channel, the first record information including the usage record of the first business function on the first device and the usage record on the electronic device.
[0313] In one example, the electronic device is further configured to: when cellular capability sharing with the first device is terminated, delete the record information corresponding to the first service function stored on the second device.
[0314] In one example, the electronic device is further configured to: interact with the first device via a radio interface layer RIL to perform cellular signaling corresponding to the first service function.
[0315] In one example, the electronic device is configured to: establish a transmission channel with a first device, wherein the electronic device implements a cellular communication function by using the cellular capability shared by the first device through the transmission channel; receive cellular status information of the first device sent by the first device, and display a cellular status indicator icon based on the cellular status information, and cancel displaying the cellular status indicator icon when the cellular capability sharing between the first device and the electronic device is terminated.
[0316] In one example, the electronic device establishes a transmission channel with the first device, including: when a preset condition is met between the electronic device and the first device, a transmission channel is established with the first device; the preset condition is that the electronic device is a device determined by the first device to allow sharing of cellular capabilities, and the first device and the electronic device are within a preset range; or, the preset condition is that a touch operation is triggered between the first device and the electronic device; or, the preset condition is that the first device and the electronic device determine that sharing of cellular capabilities is allowed by scanning a code; or, the preset condition is that the first device establishes UWB communication with the electronic device.
[0317] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0318] The present application also provides a communication system, including the above Fig.17 The device and Fig.18 The device described above, or comprising the device described above Fig.19 The electronic device and Fig. 20 The electronic device.
[0319] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method steps performed by the first device in the above embodiment are implemented.
[0320] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method steps performed by the second device in the above embodiment are implemented.
[0321] The present application also provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method steps executed by the first device in the above embodiment.
[0322] The present application also provides a computer program product, which includes a program. When the program is executed by an electronic device, the electronic device implements the method steps executed by the second device in the above embodiment.
[0323] 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.
[0324] 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, "plurality" means two or more than two.
[0325] 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. Therefore, the features defined as "first" and "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.
[0326] 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 a particular feature, structure or characteristic described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing 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.
[0327] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for sharing cellular capabilities, characterized in that: The method comprises: The first device establishes a transmission channel with the second device, wherein the first device shares a cellular capability with the second device through the transmission channel, and the second device uses the cellular capability of the first device to implement a cellular communication function; The first device displays a first card, the first card being used to indicate that the first device is sharing cellular capabilities; The second device displays a cellular status indication icon according to the cellular status information of the first device; When the cellular capability sharing between the first device and the second device ends, the second device cancels display of the cellular status indication icon.
2. The method according to claim 1, characterized in that The method further comprises: The first device receives a first operation of the user on the first card, and in response to the first operation, the first device displays a first setting interface, where the first setting interface is used to set the cellular sharing capability of the first device.
3. The method according to claim 1 or 2, characterized in that: Before the first device establishes a transmission channel with the second device, the method further includes: The first device receives a second operation of the user, and in response to the second operation, the first device displays a second setting interface, the second setting interface includes a first option, a second option and a third option, wherein the first option is used to turn on or off the mobile network sharing capability, the second option is used to turn on or off the call sharing capability, and the third option is used to turn on or off the SMS sharing capability.
4. The method according to any one of claims 1 to 3, characterized in that The first card is displayed in a notification center of the first device.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The second device sets the first icon corresponding to the first service function from an unavailable state to an available state; When the cellular capability sharing between the first device and the second device ends, the second device sets the first icon from the available state to the unavailable state.
6. The method according to claim 5, characterized in that Before the second device sets the first icon corresponding to the first service function from an unavailable state to an available state, the method further includes: The first device sends function synchronization information to the second device through the transmission channel, where the function synchronization information is used to synchronize the first service function that is allowed to be shared in the cellular communication function to the second device.
7. The method according to claim 6, characterized in that The function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable.
8. The method according to claim 6, characterized in that The second device setting the first icon corresponding to the first service function from an unavailable state to an available state includes: When the second device determines, according to the function synchronization information, that the cellular capability of the first device is available, the second device sets the first icon from an unavailable state to an available state.
9. The method according to claim 5, characterized in that The unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the second device responds to operations on the first icon.
10. The method according to claim 6, characterized in that After the first device sends the function synchronization information to the second device through the transmission channel, the method further includes: The first device and the second device synchronize first record information through the transmission channel, where the first record information includes a usage record of the first service function on the first device and a usage record on the second device.
11. The method according to claim 10, characterized in that When the cellular capability sharing between the first device and the second device ends, the second device deletes the record information corresponding to the first service function stored on the second device.
12. The method according to claim 1, characterized in that Before the second device displays a cellular status indication icon according to the cellular status information of the first device, the method further includes: The first device sends the cellular status information of the first device to the second device.
13. The method according to claim 5, characterized in that The first device and the second device exchange cellular signaling corresponding to the first service function through the radio interface layer RIL.
14. The method according to claim 1, characterized in that The first device establishing a transmission channel with the second device includes: When the first device and the second device meet a preset condition, the first device and the second device establish a transmission channel; The preset condition is that the second device is a device that is allowed to share cellular capabilities as determined by the first device, and the first device and the second device are within a preset range; or, The preset condition is triggering a touch operation between the first device and the second device; or, The preset condition is that the first device and the second device determine that the cellular capability is allowed to be shared by scanning a code; or, The preset condition is that the first device establishes UWB communication with the second device.
15. A method for sharing cellular capabilities, applied to a second device, characterized in that: The method comprises: The second device establishes a transmission channel with the first device, wherein the first device shares cellular capabilities with the second device through the transmission channel, and the second device uses the cellular capabilities of the first device to implement a cellular communication function; The second device displays a cellular status indication icon according to the cellular status information of the first device; When the cellular capability sharing between the first device and the second device ends, the second device cancels display of the cellular status indication icon.
16. The method according to claim 15, characterized in that The method further comprises: The second device sets the first icon corresponding to the first service function from an unavailable state to an available state; When the cellular capability sharing between the first device and the second device ends, the second device sets the first icon from the available state to the unavailable state.
17. The method according to claim 16, characterized in that Before the second device sets the first icon corresponding to the first service function from an unavailable state to an available state, the method further includes: The second device receives function synchronization information sent by the first device through the transmission channel, where the function synchronization information is used by the first device to synchronize the first service function that is allowed to be shared in the cellular communication function to the second device.
18. The method according to claim 17, characterized in that The function synchronization information is also used to indicate whether the cellular capability of the first device is available or unavailable.
19. The method according to claim 17, characterized in that The second device setting the first icon corresponding to the first service function from an unavailable state to an available state includes: When the second device determines, according to the function synchronization information, that the cellular capability of the first device is available, the second device sets the first icon corresponding to the first service function from an unavailable state to an available state.
20. The method according to any one of claims 16 to 19, characterized in that The unavailable state is a hidden state or a grayed-out display state; when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon; the available state is a normal display state, and when the first icon is in the normal display state, the second device responds to operations on the first icon.
21. The method according to claim 17, characterized in that After the second device receives the function synchronization information sent by the first device through the transmission channel, the method further includes: The second device synchronizes first record information with the first device through the transmission channel, where the first record information includes a usage record of the first service function on the first device and a usage record on the second device.
22. The method according to claim 21, characterized in that When the cellular capability sharing between the first device and the second device ends, the second device deletes the record information corresponding to the first service function stored on the second device.
23. The method according to claim 15, characterized in that Before the second device displays a cellular status indication icon according to the cellular status information of the first device, the method further includes: The second device receives the cellular status information of the first device sent by the first device.
24. The method according to claim 16, characterized in that The second device and the first device exchange cellular signaling corresponding to the first service function through the radio interface layer RIL.
25. The method according to claim 15, characterized in that The second device establishing a transmission channel with the first device includes: When the first device and the second device meet a preset condition, the second device establishes a transmission channel with the first device; The preset condition is that the second device is a device that is allowed to share cellular capabilities as determined by the first device, and the first device and the second device are within a preset range; or, The preset condition is triggering a touch operation between the first device and the second device; or, The preset condition is that the first device and the second device determine that the cellular capability is allowed to be shared by scanning a code; or, The preset condition is that the first device establishes UWB communication with the second device.
26. A terminal, characterized in that: It includes one or more processors, one or more memories, and one or more transceivers; wherein the one or more transceivers, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the terminal executes the method as described in any one of claims 15-25.
27. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed on a terminal, the terminal is caused to execute the method according to any one of claims 15 to 25.
Citation Information
Patent Citations
Extending use of a cellular communication capabilities in a wireless device to another device
CN104770055A
Profile sharing across persona
US20070121869A1
Cited By
Method and device for sharing cellular capability, readable storage medium and program product
CN115835216A
Methods, devices, readable storage media, and software products for sharing cellular capabilities
CN115835216B