Method, device, readable storage medium, and program product for sharing cellular capabilities - Patents.com
The method for sharing cellular capabilities addresses privacy concerns by dynamically loading icons and managing recorded information, ensuring secure and efficient use of cellular features across devices.
Patent Information
- Application Number
- JP2024516956
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-17
- Filing Date
- 2022-09-08
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2042-09-08
AI Technical Summary
Existing methods for sharing cellular capabilities between devices do not adequately protect information privacy and security, as usage records are maintained on secondary devices, compromising user privacy.
A method for sharing cellular capabilities that involves establishing a transmission channel between devices, synchronizing service features, dynamically loading icons based on availability, and securely managing recorded information to ensure privacy and security.
Ensures information security and privacy by preventing access to recorded information during non-sharing periods and allowing intuitive cellular status awareness, enhancing user experience and operational efficiency.
Smart Images

Figure 2024537677000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority to Chinese Patent Application No. 202111095221.8, entitled "METHOD FOR SHARING CELLULAR CAPABILITY, DEVICE, READABLE STORAGE MEDIUM, AND PROGRAM PRODUCT," filed with the State Intellectual Property Administration of China on September 17, 2021, which is incorporated herein by reference in its entirety.
[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 technology]
[0003] Electronic devices are not only diverse but also play an important role in people's daily lives. An increasing number of users have multiple electronic devices, such as mobile phones, tablet computers, smart screens, personal computers, etc. In order to improve usage efficiency, data sharing, function sharing, etc. between devices gradually becomes a mainstream trend.
[0004] Currently, the cellular capabilities of a mobile phone may be shared with another device (e.g., a tablet computer, a personal computer, or a smart screen that cannot perform cellular communication functions) by using a hotspot or a wireless fidelity (Wi-Fi) local area network, so that the other device can perform cellular communication functions, such as accessing the Internet, making calls, and sending SMS messages, by using the cellular capabilities of the mobile phone. However, after the mobile phone ends its cellular capability sharing, usage records (e.g., call records or SMS message records) are usually retained on the other device. As a result, the information privacy of the mobile phone cannot be guaranteed. Summary of the Invention [Means for solving the problem]
[0005] The present application provides a method, a device, a readable storage medium, and a program product for sharing cellular capabilities to effectively protect information privacy and security.
[0006] According to a first aspect, the present application provides a method for sharing cellular capabilities, the method including: a first device establishing a transmission channel to a second device, wherein the first device shares its cellular capabilities with the second device through the transmission channel, and the second device performing a cellular communication function by using the cellular capabilities of the first device; the first device sending feature synchronization information to the second device through the transmission channel, wherein the feature synchronization information is used to synchronize to the second device a first service function that is allowed to be shared among the cellular communication functions; the second device setting a first icon corresponding to the first service function from an unavailable state to an available state; and the second device setting the first icon from an available state to an unavailable state when the cellular capability sharing between the first device and the second device ends.
[0007] According to the method for sharing cellular capabilities provided in the present application, the second device may dynamically load an icon corresponding to a cellular communication function based on whether cellular capability sharing is performed, so that the icon indicates availability during cellular capability sharing and indicates unavailable after sharing ends. In this way, it is ensured that the user cannot view recorded information corresponding to the cellular communication function on the second device during non-sharing periods. Therefore, information security and privacy are protected to a certain extent.
[0008] Optionally, the feature synchronization information further indicates whether cellular capability of the first device is available or unavailable. Setting by the second device a first icon corresponding to the first service feature from an unavailable state to an available state includes setting by the second device the first icon from an unavailable state to an available state when the second device determines based on the feature synchronization information that the cellular capability of the first device is available.
[0009] In one embodiment, the cellular capability of the first device may be unavailable because the first device is stuck. Therefore, based on this optional method, the second device can timely learn whether the cellular capability of the first device is available based on the display of the first device and determine whether to load the first icon. This avoids the case where the user continuously attempts to perform cellular communication by using the second device when the cellular capability of the first device is unavailable, because the cellular capability of the first device is still used to perform cellular communication functions. Therefore, the user's operation efficiency is improved.
[0010] Optionally, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon, or 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 the function synchronization information to the second device through the transmission channel, the method further includes the first device synchronizing first record information with the second 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 of the first service function on the second device.
[0012] In this optional manner, the usage record on the first device includes a usage record generated during the cellular capabilities sharing and a usage record stored before the cellular capabilities sharing. Based on this optional manner, in one aspect, a user may quickly view and use the first record information on the second device to improve operational efficiency. In another aspect, the first device may also update the complete usage record in real time, so that the user can subsequently view the complete usage record on the first device after the cellular capabilities sharing has ended.
[0013] Optionally, when the cellular capability sharing between the first device and the second device is terminated, the second device deletes recorded information corresponding to the first service function and stored on the second device.
[0014] Based on this optional scheme, information security and privacy can be further guaranteed when the second device is a device used by multiple users.
[0015] Optionally, after the first device establishes a transmission channel to the second device, the method further includes the first device sending cellular status information of the first device to the second device, the second device displaying a cellular status display icon based on the cellular status information, and the second device canceling the display of the cellular status display icon when the cellular capability sharing between the first device and the second device ends.
[0016] Based on this optional scheme, the second device can fully share the cellular capabilities of the first device and can fully sense the cellular status of the first device, so that the user can intuitively learn the cellular status of the first device and can start and run some applications that require a secure environment.
[0017] Optionally, the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0018] Optionally, establishing a transmission channel to the second device by the first device includes establishing a transmission channel to the second device by the first device when the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0019] According to a second aspect, the present application provides a method for sharing cellular capabilities, applied to a first device, the method including: the first device establishing a transmission channel to a second device, where the first device shares cellular capabilities with the second device through the transmission channel; and the first device sending feature synchronization information to the second device through the transmission channel, where the feature synchronization information is used to synchronize a first service feature among the cellular communication features that is allowed to be shared with the second device.
[0020] Optionally, the feature synchronization information further indicates whether cellular capabilities of the first device are available or unavailable.
[0021] Optionally, after the first device sends the function synchronization information to the second device through the transmission channel, the method further includes the first device synchronizing first record information with the second 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 of the first service function on the second device.
[0022] Optionally, after the first device establishes a transmission channel to the second device, the method further includes the first device sending 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 display icon.
[0023] Optionally, the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0024] Optionally, establishing a transmission channel to the second device by the first device includes establishing a transmission channel to the second device by the first device when the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0025] According to a third aspect, the present application provides a method for sharing cellular capabilities, applied to a second device, the method including: a first device establishing a transmission channel to a second device, wherein the second device performs a cellular communication function by using the cellular capabilities shared by the first device through the transmission channel; receiving, by the second device through the transmission channel, feature synchronization information sent by the first device, wherein the feature synchronization information is used to synchronize, to the second device, a first service function that is allowed to be shared among the cellular communication functions; setting, by the second device, a first icon corresponding to the first service function from an unavailable state to an available state; and setting, by the second device, the first icon from an available state to an unavailable state when the cellular capability sharing between the first device and the second device is terminated.
[0026] Optionally, the feature synchronization information further indicates whether cellular capability of the first device is available or unavailable. Setting by the second device a first icon corresponding to the first service feature from an unavailable state to an available state includes setting by the second device the first icon from an unavailable state to an available state when the second device determines based on the feature synchronization information that the cellular capability of the first device is available.
[0027] Optionally, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the second device does not respond to operations on the first icon, or 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 further includes the first device synchronizing first record information with the second 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 of the first service function 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 recorded information corresponding to the first service function and stored on the second device.
[0030] Optionally, after the first device establishes a transmission channel to the second device, the method further includes the second device receiving cellular status information of the first device sent by the first device, the second device displaying a cellular status display icon based on the cellular status information, and the second device canceling the display of the cellular status display icon when the cellular capability sharing between the first device and the second device ends.
[0031] Optionally, the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0032] Optionally, establishing a transmission channel to the second device by the first device includes establishing a transmission channel to the second device by the first device when the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0033] According to a fourth aspect, the present application provides an apparatus for use in a first device, the apparatus comprising: a processing unit configured to establish a transmission channel to a second device, wherein the first device shares cellular capabilities with the second device through the transmission channel; and a transmission unit configured to send feature synchronization information to the second device through a transmission channel, wherein the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0034] Optionally, the feature synchronization information further indicates whether cellular capabilities of the first device are available or unavailable.
[0035] Optionally, the transmission unit is further configured to synchronize first record information to the second device through the transmission channel after sending the function synchronization information to the second 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 of the first service function on the second device.
[0036] Optionally, the transmission unit is further configured to send cellular status information of the first device to the second device after a transmission channel to the second device is established, wherein the cellular status information is used by the second device to display a cellular status display icon.
[0037] Optionally, the transmission unit is further configured to exchange cellular signaling corresponding to the first service capability with the second device over a radio interface layer RIL.
[0038] Optionally, establishing a transmission channel to the second device by the processing unit includes establishing a transmission channel to the second device when the processing unit determines that the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0039] According to a fifth aspect, the present application provides an apparatus for use in a second device, the apparatus comprising: a processing unit configured to establish a transmission channel to a first device, wherein the second device performs a cellular communication function by using a cellular capability shared by the first device through the transmission channel; and a transmission unit configured to receive feature synchronization information sent by the first device through a transmission channel, wherein the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0040] The processing unit is further configured to set a first icon corresponding to the first service function from an unavailable state to an available state, and to set the first icon from the available state to the unavailable state when the cellular capability sharing between the first device and the second device is terminated.
[0041] Optionally, the feature synchronization information further indicates that cellular capability of the first device is available or unavailable. The processing unit's setting of the first icon corresponding to the first service feature from an unavailable state to an available state specifically includes the processing unit setting the first icon from an unavailable state to an available state when the processing unit determines based on the feature synchronization information that cellular capability of the first device is available.
[0042] Optionally, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the processing unit does not respond to operations on the first icon, or 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.
[0043] Optionally, the transmission unit is further configured to synchronize the first record information to the second device through the transmission channel after receiving the function synchronization information sent by 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 of the first service function on the second device.
[0044] Optionally, the processing unit is further configured to delete recorded information corresponding to the first service function and stored on the second device when the cellular capability sharing between the first device and the second device is terminated.
[0045] Optionally, the transmission unit is further configured to receive cellular status information of the first device sent by the first device.
[0046] The processing unit is further configured to display a cellular status indication icon based on the cellular status information received by the transmission unit, and to cancel displaying the cellular status indication icon when the cellular capability sharing between the first device and the second device ends.
[0047] Optionally, the transmission unit is further configured to exchange cellular signaling corresponding to the first service capability with the first device over a radio interface layer RIL.
[0048] Optionally, establishing a transmission channel to the first device by the processing unit includes establishing a transmission channel to the second device when the processing unit determines that the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0049] According to a sixth aspect, the present application provides an electronic device, comprising: The electronic device is configured to establish a transmission channel to a second device, wherein the electronic device shares cellular capabilities with the second device through the transmission channel, and to send feature synchronization information to the second device through the transmission channel, wherein the feature synchronization information is used to synchronize to the second device a first service feature among the cellular communication features that is allowed to be shared.
[0050] Optionally, the feature synchronization information further indicates whether cellular capabilities of the electronic device are available or unavailable.
[0051] Optionally, the electronic device is further configured to synchronize first record information with the second device through the transmission channel after sending the function synchronization information to the second device through the transmission channel, where the first record information includes a usage record of the first service function on the electronic device and a usage record of the first service function on the second device.
[0052] Optionally, the electronic device is further configured to send cellular status information of the electronic device to the second device after establishing a transmission channel to the second device, wherein the cellular status information is used by the second device to display a cellular status display icon.
[0053] Optionally, the electronic device is further configured to exchange cellular signaling corresponding to the first service capability with the second device over a radio interface layer RIL.
[0054] Optionally, establishing a transmission channel to the second device by the electronic device includes establishing a transmission channel to the second device by the electronic device when the electronic device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the electronic device and the second device, the preset condition is that the electronic device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the electronic device establishes UWB communication with the second device.
[0055] According to a seventh aspect, the present application provides an electronic device, comprising: The electronic device is configured to establish a transmission channel to a first device, wherein the electronic device performs a cellular communication function by using cellular capabilities shared by the first device through the transmission channel; receive function synchronization information sent by the first device through the transmission channel, wherein the function synchronization information is used to synchronize a first service function among the cellular communication functions that is allowed to be shared to the electronic device; set a first icon corresponding to the first service function from an unavailable state to an available state; and set the first icon from an available state to an unavailable state when the cellular capability sharing between the first device and the electronic device ends.
[0056] Optionally, the feature synchronization information further indicates whether cellular capability of the first device is available or unavailable. Setting by the electronic device a first icon corresponding to the first service feature from an unavailable state to an available state specifically includes setting by the electronic device the first icon from an unavailable state to an available state when determining based on the feature synchronization information that cellular capability of the first device is available.
[0057] Optionally, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the electronic device does not respond to operations on the first icon, or 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.
[0058] Optionally, the electronic device is further configured to synchronize first record information to the first device through the transmission channel after receiving the function synchronization information sent by 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 of the first service function on the electronic device.
[0059] Optionally, the electronic device is further configured to delete recorded information corresponding to the first service feature and stored on the second device when the cellular capability sharing between the first device and the electronic device is terminated.
[0060] Optionally, the electronic device is further configured to receive cellular status information of the first device sent by the first device after establishing a transmission channel to the first device, display a cellular status display icon based on the cellular status information, and cancel displaying the cellular status display icon when the cellular capability sharing between the first device and the electronic device ends.
[0061] Optionally, the electronic device is further configured to exchange cellular signaling corresponding to the first service capability with the first device over a radio interface layer RIL.
[0062] Optionally, establishing a transmission channel to the first device by the electronic device includes establishing a transmission channel to the first device by the electronic device when the electronic device and the first device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the electronic device, the preset condition is that the first device and the electronic device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the electronic device.
[0063] According to an eighth aspect, the present application provides a communication system comprising an apparatus according to the fourth aspect and an apparatus according to the fifth aspect, or comprising an electronic device according to the sixth aspect and an electronic device according to the seventh aspect.
[0064] According to a ninth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the method according to any one of the second aspects or the optional scheme of the second aspect.
[0065] According to a tenth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs a method according to any one of the third aspects or any of the optional schemes of the third aspect.
[0066] According to an eleventh aspect, the present application provides a computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform a method according to any one of the second aspects or any optional scheme of the second aspect.
[0067] According to a twelfth aspect, the present application provides a computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform a method according to any one of the third aspects or any optional scheme of the third aspect.
[0068] It can be understood that the beneficial effects of the second to twelfth aspects can be understood by referring to the relevant explanations in the first aspect, and the details will not be described again in this specification.
[0069] According to a thirteenth aspect, the present application provides a method for sharing cellular capabilities, the method including: a first device establishing a transmission channel to a second device, wherein the first device shares its cellular capabilities with the second device through the transmission channel, and the second device performing a cellular communication function by using the cellular capabilities of the first device; and the first device sending cellular status information of the first device to the second device, wherein the second device displays a cellular status indication icon based on the cellular status information, and when the cellular capability sharing between the first device and the second device is terminated, the second device cancels displaying the cellular status indication icon.
[0070] Currently, when a first device shares cellular capabilities with a second device, the devices connect by using Bluetooth, Wi-Fi, a dedicated chip, etc. Therefore, the second device is typically unable to sense the cellular status of the first device, such as the standard of the first device's primary and / or secondary cards, the strength of the cellular signal, and whether Voice over Long-Term Evolution (VoLTE) HD calling is enabled. In one aspect, when the second device cannot successfully perform cellular communication functions, a user may be unable to determine whether the problem is with the connection between the first device and the second device or with the cellular signal quality of the first device. In another aspect, 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.
[0071] 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 can fully sense the cellular status of the first device, so that the user can intuitively master the cellular status of the first device and can start and run some applications that require a secure environment.
[0072] According to a fourteenth aspect, the present application provides a method for sharing cellular capabilities, applied to a first device, the method including: the first device establishing a transmission channel to a second device, where the first device shares its cellular capabilities with the second device through the transmission channel; and the first device sending 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.
[0073] According to a fifteenth aspect, the present application provides a method for sharing cellular capabilities, applied to a second device. The method includes: a first device establishing a transmission channel to the second device, wherein the second device performs a cellular communication function by using the cellular capabilities shared by the first device through the transmission channel; the second device receiving cellular status information of the first device sent by the first device; the second device displaying a cellular status indication icon based on the cellular status information; and the second device canceling the display of the cellular status indication icon when the cellular capability sharing between the first device and the second device is terminated.
[0074] In the thirteenth to fifteenth aspects, optionally, establishing a transmission channel to the second device by the first device includes establishing a transmission channel to the second device by the first device when the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine by a code scan method that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0075] According to a sixteenth aspect, the present application provides an apparatus for use in a first device, the apparatus comprising: a processing unit configured to establish a transmission channel to a second device, wherein the first device shares the cellular capabilities of the first device with the second device through the transmission channel; and a transmission unit configured to 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 display icon.
[0076] Optionally, establishing a transmission channel to the second device by the processing unit includes establishing a transmission channel to the second device when the processing unit determines that the first device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0077] According to a seventeenth aspect, the present application provides an apparatus for use in a second device, the apparatus comprising: a processing unit configured to establish a transmission channel to a first device, wherein the second device performs a cellular communication function by using a cellular capability shared by the first device through the transmission channel; a transmission unit configured to receive the cellular status information of the first device sent by the first device.
[0078] The processing unit is further configured to display a cellular status indication icon based on the cellular status information, and cancel displaying the cellular status indication icon when the cellular capability sharing between the first device and the second device ends.
[0079] Optionally, the processing unit establishing a transmission channel to the first device includes:
[0080] When the processing unit determines that the first device and the second device satisfy a preset condition, the processing unit establishes a transmission channel to the second device, where 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine through a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0081] According to an eighteenth aspect, the present application provides an electronic device. The electronic device has cellular capability, the electronic device comprising: The electronic device is configured to establish a transmission channel to a second device, wherein the electronic device shares its cellular capabilities with the second device through the transmission channel, and to 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 display icon.
[0082] Optionally, establishing a transmission channel to the second device by the electronic device includes establishing a transmission channel to the second device by the electronic device when the electronic device and the second device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the electronic device and the second device, the preset condition is that the electronic device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the electronic device establishes UWB communication with the second device.
[0083] According to a nineteenth aspect, the present application provides an electronic device. The electronic device does not have cellular capability, and the electronic device comprises: The electronic device is configured to: establish a transmission channel to a first device, wherein the electronic device is configured to perform a cellular communication function by using cellular capabilities shared by the first device through the transmission channel; receive cellular status information of the first device sent by the first device; display a cellular status display icon based on the cellular status information; and cancel displaying the cellular status display icon when the cellular capability sharing between the first device and the electronic device ends.
[0084] Optionally, establishing a transmission channel to the first device by the electronic device includes establishing a transmission channel to the first device by the electronic device when the electronic device and the first device satisfy a preset condition, wherein 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, the preset condition is that a OneHop operation is triggered between the first device and the electronic device, the preset condition is that the first device and the electronic device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the electronic device.
[0085] According to a twentieth aspect, the present application provides a communication system comprising an apparatus according to the sixteenth aspect and an apparatus according to the seventeenth aspect, or comprising an electronic device according to the eighteenth aspect and an electronic device according to the nineteenth aspect.
[0086] According to a twenty-first aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method according to any one of the fourteenth aspects or the optional scheme of the fourteenth aspect is performed.
[0087] According to a twenty-second aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method according to any one of the fifteenth aspects or the optional scheme of the fifteenth aspect is performed.
[0088] According to a twenty-third aspect, the present application provides a computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform a method according to any one of the fourteenth aspects or any optional scheme of the fourteenth aspect.
[0089] According to a twenty-fourth aspect, the present application provides a computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform a method according to any one of the fifteenth aspects or any optional scheme of the fifteenth aspect.
[0090] It can be understood that the beneficial effects of the 14th to 24th aspects can be understood by referring to the relevant explanations in the 13th aspect, and the details will not be described again in this specification. [Brief explanation of the drawings]
[0091] [Figure 1] 1 is a schematic diagram of a communication system according to an embodiment of the present application; [Figure 2(a)] FIG. 1 is a schematic diagram of cellular signal transmission according to an embodiment of the present application; [Figure 2(b)] FIG. 1 is a schematic diagram of cellular signal transmission according to an embodiment of the present application; [Figure 3] 1 is a flowchart 1 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 4(a)] FIG. 1 is a schematic diagram of a scenario for terminating cellular capability sharing according to an embodiment of the present application; [Figure 4(b)-1] FIG. 1 is a schematic diagram of a scenario for terminating cellular capability sharing according to an embodiment of the present application; [Figure 4(b)-2] FIG. 1 is a schematic diagram of a scenario for terminating cellular capability sharing according to an embodiment of the present application; [Figure 4(c)-1] FIG. 1 is a schematic diagram of a scenario for terminating cellular capability sharing according to an embodiment of the present application; [Figure 4(c)-2]FIG. 1 is a schematic diagram of a scenario for terminating cellular capability sharing according to an embodiment of the present application; [Figure 5(a)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 5(a)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 5(a)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 5(b)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 5(b)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 5(b)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(a)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(a)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(a)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(b)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(b)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(b)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(c)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(c)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 6(c)-3]FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(a)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(a)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(a)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(b)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(b)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 7(b)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(a)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(a)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(a)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(b)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(b)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(b)-3] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(c)-1] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(c)-2] FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 8(c)-3]FIG. 2 is a schematic diagram of a scenario in which icons are dynamically loaded, according to an embodiment of the present application; [Figure 9] 2 is a flowchart 2 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 10] 3 is a flowchart 3 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 11] 4 is a flowchart 4 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 12A] 1 is a schematic diagram of a scenario in which a cellular status indication icon is displayed according to an embodiment of the present application; [Figure 12B] 1 is a schematic diagram of a scenario in which a cellular status indication icon is displayed according to an embodiment of the present application; [Figure 12C] 1 is a schematic diagram of a scenario in which a cellular status indication icon is displayed according to an embodiment of the present application; [Figure 13A] 5 is a flowchart 5 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 13B] 5 is a flowchart 5 of an embodiment of a method for sharing cellular capabilities according to an embodiment of the present application. [Figure 14A] FIG. 1 is a schematic diagram of a cellular capability sharing scenario according to an embodiment of the present application; [Figure 14B] FIG. 1 is a schematic diagram of a cellular capability sharing scenario according to an embodiment of the present application; [Figure 14C] FIG. 1 is a schematic diagram of a cellular capability sharing scenario according to an embodiment of the present application; [Figure 15(a)-1] FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 15(a)-2] FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 15(b)]FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 16(a)] FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 16(b)-1] FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 16(b)-2] FIG. 1 is a schematic diagram of a setting interface for a cellular sharing function according to an embodiment of the present application. [Figure 17] 1 is a schematic diagram of the structure of an apparatus according to an embodiment of the present application; [Figure 18] FIG. 2 is a schematic diagram of the structure of another device according to an embodiment of the present application. [Figure 19] 1 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application; [Figure 20] FIG. 2 is a schematic diagram of the structure of another electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0092] To ensure the privacy of user information, the present application provides a method for sharing cellular capabilities to protect user information and improve user experience by dynamically loading icons.
[0093] The following describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
[0094] The method for sharing cellular capabilities provided in this application is applied to a communication system including a network side device, a first device, and a second device. The first device is a device having cellular capabilities, i.e., an electronic device provided with a subscriber identity module (SIM) card, such as a mobile phone. The SIM card may be a physical SIM card, an embedded SIM (eSIM) card, a virtual SIM card, etc.
[0095] The second device is a device that does not have cellular capability, such as an electronic device that does not have a modem, or an electronic device that has a modem but is not provided with a SIM card. For example, the second device may be a Wi-Fi only PAD, a PC, a smart screen, etc., or may be a mobile phone that does not have a SIM card, or may be a vehicle-mounted device.
[0096] Cellular capability refers to the capability to perform cellular communication functions (e.g., communication functions implemented based on a cellular network, such as calling functions, SMS message functions, data service functions, Internet access functions, and network slicing functions) through a SIM card. After the first device and the second device establish a transmission channel by using the device connection, the first device may share its cellular capability with the second device through the transmission channel, so that the second device can perform cellular communication functions by using the cellular capability of the first device.
[0097] For example, a communication system may be shown in Figure 1. A first device is a mobile phone provided with a SIM card, and a second device is a WI-FI only PAD. After the mobile phone establishes a transmission channel with the PAD, the PAD performs cellular data exchange with a network layer device by using the cellular capabilities of the mobile phone to implement a cellular communication function by using the cellular capabilities of the mobile phone.
[0098] In the embodiment of the present application, the device connection may include a Wi-Fi local area network (LAN), a Bluetooth (BT) connection, a peer-to-peer (P2P) connection, a hotspot connection, a dedicated chip connection, etc. A hotspot connection means that a first device acts as a wireless access point (AP) and provides a wireless local area network connection to a second device by using the mobile network of the first device. A Bluetooth connection includes a conventional Bluetooth connection and a Bluetooth low energy (BLE) connection.
[0099] The cellular signaling exchange between the first device and the second device may be implemented by providing a private interface, or the cellular signaling exchange may be implemented by configuring a public interface.
[0100] For example, for an Android system, the present application provides a cellular signaling exchange method based on a radio interface layer (RIL). The RIL can enable an upper layer application to conform to basic cellular signaling procedures without modifying the upper layer application. In other words, the upper layer application can identify cellular signaling through the RIL.
[0101] In one example, both the first device and the second device run the Android system. For a process in which the first device shares its cellular capabilities with the second device through a transmission channel (including a channel such as Wi-Fi, P2P, BT, or AP) and the second device uses the cellular capabilities of the first device to perform cellular communication functions, please refer to the schematic diagram of cellular signal transmission shown in Figure 2(a).
[0102] After receiving the cellular signaling sent by the network-side device, the Modem of the first device forwards the cellular signaling to the RIL of the first device, which converts the cellular signaling into RIL signaling that can be identified by an upper layer application. The RIL of the first device forwards the RIL signaling to the RIL of the second device through a transmission channel, which forwards the RIL signaling to the upper layer application of the second device, and the upper layer application of the second device performs related cellular function operations based on the RIL signaling.
[0103] Similarly, when the upper layer application of the second device needs to send cellular signaling to the network layer device, for example, when a user dials up on the second device, the upper layer application of the second device sends the RIL signaling used for dialing to the RIL of the second device. The RIL of the second device forwards the RIL signaling to the RIL of the first device through a transmission channel. The RIL of the first device converts the RIL information into cellular signaling and sends the cellular signaling to the Modem of the first device. The Modem of the first device sends the cellular signaling to the network side device.
[0104] When the upper layer application of the second device identifies RIL signaling related to a service, the upper layer application of the second device activates a transmission channel to transmit a data flow corresponding to the service. For example, when the RIL signaling of "the called party picks up the phone" is identified, the upper layer application of the second device determines that voice data needs to be transmitted between the second device and the called party. In this case, the upper layer application of the second device activates a transmission channel between the second device and the first device. After detecting that the user's voice data is collected by sound pickup, the upper layer application of the second device sends the voice data to the first device through the transmission channel. The Modem of the first device sends the voice data to the network-side device, which then forwards the voice data to the called party. When the Modem of the first device receives the voice data from the called party and 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 activates the speaker to play the voice data from the called party. In this way, the cellular communication function of making a call is completed. It can be understood that for the second device, the RIL of the second device is used as a virtual Modem of the second device to assist the second device in completing the cellular communication function by using the Modem of the first device.
[0105] In addition, after receiving the cellular signaling sent by the Modem, the RIL of the first device also forwards the converted RIL signaling to the upper layer application of the first device.
[0106] For example, a first device is the called party. When the Modem of the first device receives cellular signaling indicating an incoming call, the RIL of the first device sends corresponding RIL signaling to both the upper layer application of the first device and the RIL of the second device, and the RIL of the second device forwards the RIL signaling to the upper layer application of the second device. Both the first device and the second device can display the incoming call. When a user answers the call using the first device, the first device communicates with the caller using the cellular capabilities of the first device, and the second device cancels displaying the incoming call. When a user answers the call using the second device, the second device communicates with the caller using the cellular capabilities of the first device, and the first device cancels displaying the incoming call.
[0107] In one example, when the first device runs an Android system, the second device may run a non-Android system, as shown in FIG. 2(b), and a signaling adaptation module may be disposed in the wireless interface of the second device (i.e., the interface used by the electronic device to perform wireless communication in the non-Android system). During cellular signaling exchange, after the Modem of the first device receives cellular signaling from the network-side device, the RIL of the first device converts the cellular signaling into RIL signaling and sends the RIL signaling to the wireless interface of the second device. The wireless interface of the second device converts the RIL signaling by using the signaling adaptation module to signaling that can be identified by an upper layer application of the second device, and the upper layer application of the second device performs related cellular function operations based on the RIL signaling.
[0108] 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 corresponding signaling to the radio interface of the second device. After the signaling adaptation module in the radio interface converts the signaling into RIL signaling, the radio interface forwards the RIL signaling to the RIL of the first device through a transmission channel. After the RIL of the first device converts the RIL signaling into cellular signaling, the Modem of the first device sends the cellular signaling to the network side device.
[0109] In other words, when the second device runs a non-Android system, a corresponding signaling adaptation layer may be configured for the wireless interface of the second device, and the wireless interface and signaling adaptation layer of the second device may be used as a virtual RIL of the second device to perform signaling exchanges with the RIL of the first device. For the second device, the virtual RIL of the second device is used as a virtual Modem of the second device to assist the second device in completing cellular communication functions by using the Modem of the first device.
[0110] In one example, when a first device is connected to Wi-Fi and a second device is not connected to Wi-Fi, when the first device assists the second device in transmitting a data flow (e.g., data corresponding to a specific service, such as voice data, video data, SMS message data, and Internet access data), whether to interact with the network-side device by using a Wi-Fi link or a mobile data link may be selected by identifying a service type. For example, when the first device identifies that the second device needs to be assisted in performing a call function or an SMS message function, the first device may switch the communication link to a mobile data link. When the first device identifies that the second device needs to be assisted in performing an Internet access function, the first device may switch the communication link to a Wi-Fi link to save traffic on the first device.
[0111] In one example, multiple transmission channels with different power consumptions may be established between a first device and a second device, and the first device and the second device may select a transmission channel with low power consumption based on the type of content to be transmitted while ensuring communication efficiency, in order to reduce the power consumption of the first device and the second device.
[0112] For example, a P2P channel and a Bluetooth® channel are established between a first device and a second device. The transmission rate of the P2P channel is faster than that of the Bluetooth® channel, but the power consumption of the P2P channel is higher. The first device and the second device may transmit signaling (e.g., the above-mentioned RIL signaling) through the Bluetooth® channel and may transmit data flows (e.g., voice data, video data, SMS message data, and Internet access data) through the P2P channel.
[0113] In another example, channels for two versions of BLE (e.g., BLE1 and BLE2, where the transmission rate of BLE1 is slower than that of BLE2 but the power consumption of BLE1 is lower) and a P2P channel are established between a first device and a second device. The first device and the second device may transmit signaling through the BLE1 channel, may transmit light traffic data flows (e.g., voice data and SMS message data) through the BLE2 channel, and may transmit heavy traffic data flows (e.g., video data and Internet access data) through the P2P channel.
[0114] It may be understood that before a communication interaction is performed, multiple transmission channels with different power consumptions may be established between the first device and the second device, or a transmission channel with low power consumption may be established first to perform signaling exchange. When an upper layer application of the second device determines that a data flow needs to be transmitted based on the exchanged signaling, a transmission channel with a corresponding power consumption is established based on the type of the data flow (e.g., whether the data flow is a light traffic data flow or a heavy traffic data flow).
[0115] 3 is a flowchart of an embodiment of a method for sharing cellular capabilities according to the present application. The method mainly relates to an icon loading method in the cellular capabilities sharing process. As shown in FIG. 3, the method includes the following steps:
[0116] S101: A first device establishes a transmission channel with a second device.
[0117] After the first device and the second device establish a transmission channel by using the device connection, the first device may share its cellular capabilities with the second device through the transmission channel, and the second device can perform a cellular communication function by using the cellular capabilities of the first device. For example, for the process in which the second device performs a cellular communication function by using the cellular capabilities of the first device, please refer to the description in the embodiment shown in Figures 2(a) and 2(b). The details will not be described again in this specification.
[0118] S102: The first device sends feature synchronization information to the second device through a transmission channel, where the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0119] In this embodiment of the present application, the first device may specify a first service function that is allowed to be shared. For example, 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 and triggers the distributed service module to synchronize the cellular communication function with 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 the cellular communication function to be implemented by using the cellular capabilities of the first device based on the content of the function synchronization information.
[0120] After the second device receives the function synchronization information sent by the first device, the second device may determine that the second device can perform the first service function. In other words, in this case, the second device may determine that the second device has virtual cellular capability.
[0121] S103: The second device sets a first icon corresponding to a first service function from an unavailable state to an available state.
[0122] In this embodiment of the present application, a component corresponding to each cellular communication function, for example, a telephone component corresponding to a call function or an SMS message component corresponding to an SMS message function, is pre-configured in the second device, and when the second device does not have cellular capability, the icon corresponding to each cellular communication function is set to an unavailable state.
[0123] The unavailable state is a hidden state or a grayed-out display state, and the available state is a normal display state. The hidden state is a non-display state, and the grayed-out display state is a state in which the icon is displayed by using a gray shade. In the grayed-out display state, the second device does not respond to operations on the first icon (e.g., a user's tap operation, drag operation, or touch and hold operation). In other words, in the hidden state or grayed-out display state, the user cannot operate the first icon, i.e., the first icon is unavailable.
[0124] Correspondingly, in the normal display state, the second device responds to operations on the first icon. In other words, in the normal display state, the user can operate the first icon, i.e., the first icon is unavailable.
[0125] In this embodiment of the present application, components of each cellular communication function are preconfigured in the second device. When the second device does not have cellular capability, the second device sets an icon corresponding to each cellular communication function to an unavailable state, so that the user cannot enable each cellular communication function on the second device. After the second device has cellular capability (i.e., can use the cellular capability of the first device), the second device may switch the corresponding icon from an unavailable state to an available state, so that the user can operate the icon.
[0126] For example, after receiving the function synchronization information, the distributed service module of the second device may notify the UI of the second device to load a first icon of the first service function.
[0127] After the UI of the second device completes loading of the first icon, when a user performs an operation on the first icon on the UI of the second device, the second device may activate components of the first service function and implement the first service function by using the cellular capabilities of the first device through a transmission channel.
[0128] In one embodiment, the cellular capability of the first device may be unavailable because the first device is stalled. Therefore, the feature synchronization information may further hold display information indicating whether the cellular capability of the first device is available or unavailable. If the distributed service module of the second device determines, based on the feature synchronization information, that the cellular capability of the first device is available, the distributed service module of the second device may notify the UI to load the first icon. If the distributed service module of the second device determines, based on the feature synchronization information, that the cellular capability of the first device is unavailable, the distributed service module of the second device does not need to notify the UI to load the first icon. In one example, the UI may be notified to display prompt information, for example, information indicating that the cellular capability of the first device is unavailable (e.g., stalled).
[0129] S104: The first device and the second device terminate the cellular capability sharing.
[0130] In this embodiment of the present application, the first device may terminate the cellular capability sharing, or the second device may terminate the cellular capability sharing.
[0131] The first device is used as an example. In one example, if the first device is set to be always on, when the first device turns off the screen (i.e., when the user triggers the screen to be turned off), it indicates that the first device is temporarily not in use, and the first device may then terminate cellular capability sharing.
[0132] In another example, if the first device detects that the first device and the second device are outside a preset range (e.g., outside a preset range or not in the same Wi-Fi local area network), the first device may terminate cellular capability sharing.
[0133] In another example, if the first device is not configured to be always on, the first device may terminate cellular capability sharing when the screen of the first device is continuously off for a preset period of time (e.g., 5 or 10 minutes).
[0134] In another example, when a first device shares cellular capabilities with a second device, the first device may display a card in the notification center and / or drop-down menu of the leftmost screen indicating that cellular capabilities are being shared. A user may use the card to disable the cellular sharing feature, which causes the first device to end cellular capabilities sharing.
[0135] For example, as shown in FIG. 4(a), when a first device shares its cellular capabilities, the notification center of the first device displays a card indicating that the cellular capabilities are being shared, with an OFF button on the card. The user accesses the control center through a drop-down menu and taps the OFF button on the card. After detecting the user operation, the first device terminates the cellular capabilities sharing.
[0136] Alternatively, as shown in Figures 4(b)-1 and 4(b)-2, after detecting that the user taps the card, the first device enters a setting interface, and a "Cellular Sharing" field is displayed on the setting interface. If the first device detects that the switch corresponding to the "Cellular Sharing" field is turned off by the user on the setting interface, the first device terminates cellular capability sharing.
[0137] Alternatively, as shown in FIG. 4(c)-1 and FIG. 4(c)-2, a card indicating that cellular capabilities are being shared is displayed on the leftmost screen of the first device. When the first device detects that the user taps the card, it enters a setting interface. When the first device detects that the switch corresponding to the "Cellular Sharing" field is turned off by the user, the first device ends cellular capabilities sharing.
[0138] After determining that the cellular capability sharing may end, the first device notifies the networking connection management module to initiate a link disconnection operation, and the networking connection module of the first device initiates a link disconnection operation to the networking connection module of the second device to terminate the cellular capability sharing and deletes the transmission channel between the first device and the second device.
[0139] It can be understood that the manner of terminating cellular capability sharing by the second device is the same as the manner of terminating cellular capability sharing by the first device, and the details will not be described again herein.
[0140] S105: The second device sets the first icon from an available state to an unavailable state.
[0141] Based on the method for sharing cellular capabilities provided in the present application, the second device may dynamically load an icon during the process of sharing cellular capabilities. After the cellular capability sharing between the first device and the second device is terminated, the second device sets the first icon to an unavailable state, so that the first icon is unavailable. Therefore, the user cannot operate the first service function on the second device. In this way, it is ensured 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.
[0142] The following describes the method steps shown in Figure 3 using an example in which the first service function includes a call function and an SMS message function, and with reference to the schematic diagrams of icon loading scenarios shown in Figures 5(a)-1 to 8(c)-3.
[0143] In one example, components corresponding to each cellular communication function are preconfigured in the second device, and when the second device does not have cellular capabilities, icons corresponding to each cellular communication function are hidden. In other words, 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 SMS message icon) corresponding to the first service function. When the first device establishes a communication connection to the second device and prepares to share cellular capabilities, the second device normally displays the phone icon and the SMS message icon (i.e., the icons corresponding to "Message" in the accompanying drawings).
[0144] When the first icon is changed from the hidden state to the normally displayed state, the second device may load the first icon onto the desktop. For example, as shown in FIGS. 5(a)-1 to 5(a)-3, the second device may load the first icon onto the desktop of the first page or onto the desktop of the last page. Alternatively, as shown in FIGS. 5(b)-1 to 5(b)-3, the second device may load the first icon into a dock area. The dock area refers to an area that does not change when switching between multiple desktops.
[0145] When the cellular capability sharing between the first device and the second device ends, the second device hides the first icon again.
[0146] Note that an address book (or sometimes called contacts) component is built into the second device. The second device may be configured to dynamically load an address book icon. For example, before the first device shares the first service function with the second device, the second device does not display the address book icon. After the first device establishes a communication connection to the second device, if the first device shares cellular communication functions related to the address book (e.g., calling and SMS messaging functions) with the second device, the second device typically displays the address book icon.
[0147] For example, after a first device establishes a communication connection to a second device, the second device displays a phone icon, an SMS message icon, and an address book icon on the desktop, as shown in Figures 6(a)-1 to 6(a)-3. Alternatively, the second device displays a phone icon, an SMS message icon, and an address book icon in the dock area, as shown in Figures 6(b)-1 to 6(b)-3.
[0148] When the cellular capability sharing between the first device and the second device ends, the second device again hides the phone icon, the SMS message icon, and the address book icon.
[0149] Alternatively, the second device may be configured to always display the address book icon normally, in other words, when the phone icon or SMS message icon is hidden, the address book icon is not hidden.
[0150] In one example, when the second device is configured to normally display an address book icon, the address book may store contact information or may not store contact information. As shown in Figures 6(c)-1 to 6(c)-3, if the address book stores contact information, before the first device shares the first service function with the second device, the second device hides the phone icon and the SMS message icon on the desktop or in the dock area, and also hides the phone icon and the SMS message icon on the corresponding contact interface.
[0151] After the first device establishes a communication connection to the second device, the second device typically displays an icon and an SMS message icon on the desktop or in a dock area, and also typically displays a phone icon and an SMS message icon on a corresponding contact interface.
[0152] Correspondingly, when the cellular capability sharing between the first device and the second device ends, the second device again hides the phone icon and SMS message icon displayed on the desktop and contact interface or in the dock area and on the contact interface.
[0153] In another example, when the second device does not have cellular capabilities, the icons corresponding to each cellular communication function are displayed in a grayed-out state. As shown in Figures 7(a)-1 to 7(a)-3, both the phone icon and the SMS message icon are displayed in a grayed-out state on the desktop. Alternatively, as shown in Figures 7(b)-1 to 7(b)-3, both the phone icon and the SMS message icon are displayed in a grayed-out state in the dock area.
[0154] After the first device establishes a communication connection to the second device, the second device sets the phone icon and the SMS message icon from a grayed-out display state to a normal display state, and when the cellular capability sharing between the first device and the second device ends, the second device sets the phone icon and the SMS message icon back to a grayed-out display state.
[0155] Correspondingly, if the second device is configured to dynamically load the address book icon when the address book component is built into the second device, the second device displays the address book icon in a grayed-out state before the first device shares the first service capability with the second device. After the first device establishes a communication connection to the second device, the second device normally displays the address book icon when the first device shares cellular communication capabilities related to the address book with the second device.
[0156] For example, after a first device establishes a communication connection to a second device, the phone icon, SMS message icon, and address book icon displayed by the second device on the desktop are set from a grayed-out display state to a normal display state, as shown in Figures 8(a)-1 to 8(a)-3. Alternatively, the phone icon, SMS message icon, and address book icon displayed by the second device in the dock area are set from a grayed-out display state to a normal display state, as shown in Figures 8(b)-1 to 8(b)-3.
[0157] When the cellular capability sharing between the first device and the second device ends, the second device resets the phone icon, SMS message icon, and address book icon from their normal display states to their grayed-out display states.
[0158] If the second device is configured to always display the address book icon normally, the display status of the address book icon will not change when the display status of the phone icon or SMS message icon changes.
[0159] In one example, when the second device is configured to always normally display an address book icon, the address book may store contact information. As shown in FIGS. 8(c)-1 to 8(c)-3, when the address book stores contact information, before the first device shares the first service function with the second device, the second device sets the phone icon and SMS message icon displayed on the desktop or in the dock area to a grayed-out display state, and also sets the phone icon and SMS message icon to a grayed-out display state on the corresponding contact interface.
[0160] After the first device establishes a communication connection to the second device, the second device sets the telephone icon and the SMS message icon on the desktop or in the dock area from a grayed-out display state to a normal display state, and also sets the telephone icon and the SMS message icon on the corresponding contact interface from a grayed-out display state to a normal display state.
[0161] Correspondingly, when the cellular capability sharing between the first device and the second device is terminated, the second device sets the telephone icon and the SMS message icon displayed on the desktop and contact interface or in the dock area and on the contact interface from a normal display state to a grayed-out display state again.
[0162] After 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, so that the user can understand that the first icon is unavailable. Therefore, the user cannot operate the first service function on the second device. In this way, it is ensured 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.
[0163] It should be noted that to make the cellular communication features shared by the first device to the second device more intuitive for the user, the icons for each cellular communication feature displayed on the second device and the first device may be unified to improve the user experience.
[0164] In some scenarios, multiple first devices may share cellular capabilities with the same second device. For example, each family member has a mobile phone and also uses the same tablet computer. Therefore, in order to further ensure information privacy on each first device, based on FIG. 3, as shown in FIG. 9, after S104, the method further includes the following steps:
[0165] S106: The second device deletes the record information corresponding to the first service function and stored on the second device.
[0166] For example, call records and SMS message records. The record information may include record information generated during the cellular capability sharing process.
[0167] For example, the second device may delete the recorded information based on the indication of the first device. For example, the first device may retain the indication information in the capability synchronization information sent to the second device to indicate to the second device that the indicated recorded information should be deleted when the sharing ends. Indeed, after determining that the cellular capability sharing will end, the first device may separately send the indication information to the second device to indicate to the second device that the recorded information should be deleted. Alternatively, the second device is configured to delete data generated during the current cellular capability sharing process when the cellular capability sharing ends.
[0168] Optionally, to facilitate the user to perform the first service function by using the second device, the first device may further synchronize the first record information with the second device. For example, based on FIG. 9, as shown in FIG. 10, after S102, the method further includes the following steps:
[0169] S107: The first device synchronizes the first recording information with the second device through the transmission channel.
[0170] In this 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 of the first service function on the second device, and the usage record on the first device includes a usage record generated during cellular capability sharing and a usage record stored before cellular capability sharing.
[0171] For example, if the first service function includes a call function and / or an SMS message function, the first record information may include call records and SMS message records, and may further include address book information related to the call function and / or the SMS message function.
[0172] The synchronized address book information may include address book information on the second device and / or 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 contact information in the address book stored on the first device to the second device, or may send contact information corresponding to call records in the address book to the second device. During cellular capability sharing, if a user adds contact information to the address book of the second device, the second device may send the added contact information to the first device, and the first device stores the contact information in the address book of the first device.
[0173] It should be noted that if a first device synchronizes address book information to a second device, when the first device and the second device end cellular capability sharing, the second device may also delete the synchronized address book from the first device to protect the privacy and security of the first device's address book.
[0174] In this manner, it can be appreciated that in one aspect, a user may quickly view and use the first record information on the second device to improve operational efficiency. In another aspect, the first device may also update the complete usage record in real time, so that the user can subsequently view the complete usage record on the first device after the cellular capability sharing has ended.
[0175] In one application scenario, currently, when a first device shares cellular capabilities with a second device, the devices connect by using Bluetooth, Wi-Fi, a dedicated chip, etc. Therefore, the second device is typically unable to sense the cellular status of the first device, such as the standard of the first device's primary and / or secondary cards, the strength of the cellular signal, and whether Voice over Long-Term Evolution (VoLTE) HD calls are enabled. In one aspect, when the second device cannot successfully perform cellular communication functions, a user may be unable to determine whether the connection between the first device and the second device is impaired or whether the cellular signal quality of the first device is impaired. In another aspect, when 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.
[0176] In this case, 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 sense the cellular status of the first device. For example, as shown in Figure 11, the method includes the following steps:
[0177] S201: A first device establishes a transmission channel with a second device.
[0178] For example, for the specific implementation process of S201, please refer to the description in S101, and the details will not be described again in this specification.
[0179] S202: The first device sends cellular status information of the first device to the second device.
[0180] S203: The second device displays a cellular status display icon based on the cellular status information.
[0181] 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 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 a corresponding cellular status display icon.
[0182] S204: The first device and the second device terminate the cellular capability sharing.
[0183] S205: The second device cancels displaying the cellular status display icon.
[0184] 12A to 12C, after a first device establishes a transmission channel with a second device, the first device notifies the second device that both the primary and secondary cards of the first device comply with the 5G communication standard and that the signal strength is full-bar by using cellular status information. The second device displays a corresponding cellular status display icon. When the cellular capability sharing between the first device and the second device ends, the second device cancels displaying the cellular status display icon.
[0185] In this embodiment, it can be understood that the first device sends cellular status display information to the second device, so that the second device can sense the cellular status of the first device and display a cellular status display icon based on the cellular status of the first device. Thus, a user may intuitively learn the cellular status of the first device from the second device. When an application that needs to run in a secure environment is installed on the second device, the second device may provide a secure execution environment for the application based on the cellular status of the first device, so that the application can start to run.
[0186] It should be noted that the embodiments shown in Figures 3, 9, 10, and 11 may be implemented in combination or independently. For example, based on the embodiments shown in Figures 10 and 11, the completion procedure of the method for sharing cellular capabilities provided in the present application may be shown in Figures 13A and 13B. The method includes the following steps:
[0187] S301: A first device establishes a transmission channel with a second device.
[0188] S302: The first device sends feature synchronization information to the second device through a transmission channel, where the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0189] S303: The second device sets a first icon corresponding to a first service function from an unavailable state to an available state.
[0190] S304: The first device synchronizes the first recording information with the second device through a transmission channel.
[0191] S305: The first device sends cellular status information of the first device to the second device.
[0192] S306: The second device displays a cellular status display icon based on the cellular status information.
[0193] S307: The second device executes a first service function based on the cellular capability of the first device.
[0194] S308: The first device and the second device terminate the cellular capability sharing.
[0195] S309: The second device sets the first icon from an available state to an unavailable state.
[0196] S310: The second device deletes record information corresponding to the first service function and stored on the second device.
[0197] S311: The second device cancels displaying the cellular status display icon.
[0198] Based on the flowcharts shown in FIGS. 13A and 13B, an example in which the second device hides icons corresponding to each cellular communication function when the second device does not have cellular capabilities is used to explain the example scenario. As shown in FIGS. 14A-14C, before the first device shares its cellular communication function with the second device, the second device does not display icons corresponding to each cellular communication function. After the first device establishes a communication connection to the second device, the first device specifies that the shared call function is allowed. The second device normally displays a phone icon and an address book icon corresponding to the call function. The first device synchronizes its stored call logs and address book with the second device. After the first device sends its cellular status information to the second device, the second device determines that the cellular status of the first device is in a state in which both the primary card and the secondary card are 5G communication standard and the signal strength is full bar. The second device displays two 5G cellular status indicator icons with full signal bars. The first device and the second device transmit cellular data flow and cellular signal flow through the RIL interface and transmission channel, so that the second device makes a call by using the cellular capabilities of the first device.
[0199] When the cellular capability sharing between the first device and the second device needs to end, the first device and the second device perform inter-device link disconnection and delete the transmission channel to end the cellular capability sharing, and then the second device deletes the address book and call records, hides the phone icon and address book icon, and cancels displaying the cellular status display icon.
[0200] In one aspect, according to the method for sharing cellular capabilities provided in the present application, it can be learned from the above that the second device may dynamically load an icon corresponding to a cellular communication function based on whether cellular capability sharing is performed, so that the icon indicates availability during cellular capability sharing and indicates unavailable after sharing is terminated. In this way, it is ensured to a certain extent that the user cannot view recorded information corresponding to the cellular communication function on the second device during non-sharing periods. Therefore, information security and privacy are protected.
[0201] In another aspect, according to 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 can fully sense the cellular status of the first device, so that the user can intuitively learn the cellular status of the first device and can start and run some applications that require a secure environment.
[0202] Optionally, to further ensure the information security of the first device, the first device may be triggered to share its cellular capabilities with the second device by using a preset condition. In other words, when the first device and the second device meet the preset condition, the first device may establish a transmission channel with the second device and share its cellular capabilities with the second device. The preset condition may be set based on the requirements of an actual application scenario.
[0203] For example, the preset condition may include a range condition, where the first device allows the second device to share its cellular capabilities when the second device is a device that is determined by the first device to be allowed to share its cellular capabilities and the first device and the second device are within a preset range.
[0204] The devices that allow cellular capability sharing may be devices that have the same account or devices in a device list configured in the first device.
[0205] The preset range may be a preset distance, for example, 1 m or 2 m, or may be within the same local area network range, for example, the first device and the second device are connected to the same Wi-Fi local area network and both are within the signal coverage of the Wi-Fi local area network.
[0206] In this embodiment of the present application, the first device and the second device may trigger a cellular capability sharing procedure based on a device discovery technique. The device discovery procedure may be performed by the first device or may be performed by the second device.
[0207] For example, a first device is used as an example. The first device may initiate device discovery when it is powered on. For example, upon detecting the power-on operation, the operating system of the first device notifies the networking connection management module to begin performing a device discovery procedure to detect whether a second device is present.
[0208] Alternatively, the first device may initiate device discovery when its screen turns on. For example, when the first device detects that its screen switches from off to on, the user interface (UI) of the first device notifies the networking connection management module to start performing a device discovery procedure to detect whether a second device is present.
[0209] Alternatively, the first device may initiate device discovery upon receiving a Wi-Fi local area network, for example, upon connecting to the Wi-Fi local area network, the networking connection management module begins performing a device discovery procedure to detect whether a second device is present.
[0210] Alternatively, the first device may initiate device discovery when it detects that a device with the same account goes online. For example, when it detects that a device with the same account (e.g., the same Huawei account as the first device) goes online, the distributed service module of the first device may notify the networking connection management module to start performing a device discovery procedure to detect whether a second device is present.
[0211] If the first device is configured to allow sharing of cellular capabilities within the same local area network, upon detecting that a second device is connected to the same Wi-Fi local area network as the first device, the networking connection management module may perform security authentication on the second device and, after determining that the second device is an authorized device, may immediately initiate a device connection of the second device to the connection management module.
[0212] If the first device is configured to allow the first device to share its 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, after detecting the presence of the second device by performing device discovery, performs security authentication on the second device, and after determining that the second device is an authorized device, notifies a ranging module (e.g., a Bluetooth ranging module or an ultrasonic ranging module) of the second device 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.
[0213] It can be understood that the process by which the second device performs device discovery is the same as the process by which the first device performs device discovery, and the details will not be described again herein.
[0214] Optionally, the pre-set condition may alternatively be that a OneHop operation is triggered between the first device and the second device.
[0215] For example, both the first device and the second device may have near field communication (NFC) capabilities and trigger a OneHop operation. When the NFC module of the first device detects that a OneHop operation is triggered between the first device and the second device, the NFC module of the first device may notify the networking connection management module to initiate a device connection to the second device to establish a transmission channel.
[0216] Optionally, the pre-set condition may alternatively be that the first device and the second device determine in a code-scan manner that sharing of cellular capabilities is permitted.
[0217] For example, a QR code is pre-configured on a first device. A second device may obtain authorization information of the first device by scanning the QR code, and the second device may initiate a device connection to the first device based on the authorization information. The first device may determine, based on the authorization information sent by the second device, that sharing of cellular capabilities with the second device should be permitted, and may perform the device connection to the second device. Alternatively, a QR code is pre-configured on the second device. The first device may obtain device information of the second device by scanning the QR code, and may determine that sharing of cellular capabilities with the second device should be permitted. The first device initiates a device connection to the second device based on the device information of the second device.
[0218] Optionally, the preset condition may alternatively be that ultra wideband (UWB) communication is established between the first device and the second device. For example, both the first device and the second device have UWB chips and UWB capabilities. When the first device points to the second device, after locating the second device based on the UWB capabilities, the first device determines that it should allow sharing of cellular capabilities with the second device and initiates a device connection to the second device.
[0219] In this embodiment of the present application, the first device may have a setting function, and can flexibly set the enabling conditions, devices allowed to share cellular capabilities, service functions allowed to be shared, erasing recorded information, etc.
[0220] For example, the first device provides a setting interface for a cellular sharing function. For example, based on FIG. 4(a), when a user taps on the "Cellular Sharing" field, the first device enters the setting interface for the cellular sharing function. As shown in FIG. 15(a)-1 and FIG. 15(a)-2, the setting interface provides an "Available Device Selection" field, an "Effective Conditions" field, a "Record Erase" field, and a "Service Capability Sharing" field, and these setting fields may be set on the same setting interface (for example, the two figures in FIG. 15(a) show the same interface), and the user may swipe up or down to view corresponding setting items.
[0221] In the "Available Device Selection" field, devices that the first device is allowed to share cellular capabilities with may be set. The "Available Device Selection" field displays devices that can currently be detected by the first device, such as devices that share an account with the first device, devices that share a Wi-Fi local area network, and / or Bluetooth-enabled devices. It is assumed that the first device currently detects two models of devices, namely, MATEPAD PRO and MATEBOOK X, and the user may tap the selection buttons corresponding to the two devices, namely, MATEPAD PRO and MATEBOOK X, respectively, in the "Available Device Selection" field to set the devices that the first device is allowed to share cellular capabilities with. As shown in FIGS. 15(a)-1 and 15(a)-2, when the buttons corresponding to MATEPAD PRO and MATEBOOK X are both selected, it indicates that both MATEPAD PRO and MATEBOOK X are devices that the first device is allowed to share cellular capabilities with. When the first device is connected to the MATEPAD PRO or MATEBOOK X, the first device may share its cellular capabilities with the MATEPAD PRO and MATEBOOK X.
[0222] It may be understood that if the "Available Device Selection" field is provided in the first device, after detecting the authorized second device, the networking connection management module of the first device may further determine whether the second device is a device that is determined by the first device to be allowed to share cellular capabilities. When the second device is a device that is allowed by the first device to share cellular capabilities, the networking connection module of the first device initiates a device connection to the second device.
[0223] In the "Effective Conditions" field, conditions under which the first device is allowed to perform cellular capability sharing may be set. That is, preset conditions may be set in the "Effective Conditions" field. For example, as shown in FIGS. 15(a)-1 and 15(a)-2, a "UWB to be Enabled" button, a "Same Local Area Network to be Enabled" button, a "Scan to be Enabled" button, a "OneHop to be Enabled" button, and an "Effective Distance" selection box are provided in the "Effective Conditions" field.
[0224] The "Effective Distance" selection box provides multiple distance buttons, such as a "1 m" button and a "2 m" button. When a user taps any distance button to turn on in the "Effective Distance" selection box, the remaining distance buttons are automatically turned off. For example, when a user taps to turn on the "1 m" button, if the "2 m" button is initially in the on state, the button automatically switches to the off state. After a user taps to turn on the "1 m" button, a first device may share its cellular capabilities with a second device if it detects a second device whose distance from the first device is less than 1 m.
[0225] For "scan to be issued," a QR code containing authorization information may be provided on the first device. As shown in FIG. 15(b), when a user taps the "scan to be issued" field, the first device may display a QR code, which is then scanned by the second device.
[0226] Its use may select one or more enabling conditions for the cellular capability sharing function. For example, if a user turns on the "UWB to Enable" button, the "Same Local Area Network to Enable" button, the "Scan to Enable" button, the "OneHop to Enable" button, and the "1m" button, when a first device detects a second device that meets any one of the conditions, the first device may share its cellular capabilities with the second device.
[0227] The "Service Capabilities Sharing" field may provide cellular communication features that are allowed to be shared by the first device, such as calling features, SMS messaging features, or Internet access features. The user may tap a selection button corresponding to each cellular communication feature to set the sharing permissions for the cellular communication feature to be opened.
[0228] The "Delete Records" field may set record information that needs to be deleted by the second device when the cellular capability sharing ends. For example, when the "Address Book" button is turned on, it indicates that the second device needs to delete the address book stored on the second device when the sharing ends. When the "SMS Message Records" button is turned on, it indicates that the second device needs to delete the SMS message records stored on the second device when the sharing ends.
[0229] Optionally, the setting interface may alternatively be as shown in FIG. 16(a), in which an "Available Device Selection" field is displayed on the setting interface. After a user selects a device that is allowed to share cellular capabilities in the "Available Device Selection" field, a corresponding setting interface is displayed. For example, when a user taps "MATEPAD PRO," the first device switches the setting interface to the setting interface corresponding to "MATEPAD PRO," as shown in FIG. 16(b)-1 and FIG. 16(b)-2. The "Effective Conditions," "Record Erase," and "Service Capability Sharing" fields are displayed on the setting interface and are used to set the sharing permission for "MATEPAD PRO." For example, the effective conditions of "MATEPAD PRO" are set in the "Effective Conditions" field. That is, when the first device and "MATEPAD PRO" are in a specific situation, the first device may share its cellular capabilities with "MATEPAD PRO." The sharing permission of the cellular communication function of "MATEPAD PRO", i.e., which cellular communication function can be shared by the first device with "MATEPAD PRO", is set in the "Service Capability Sharing" field. After the cellular capability sharing between "MATEPAD PRO" and the first device is terminated, the information that needs to be deleted is set in the "Record Erase" field.
[0230] It can be understood that by using the setting interfaces shown in Figures 16(b)-1 and 16(b)-2, a first device may open different sharing permissions to different second devices to improve the flexibility and security of cellular capability sharing.
[0231] It should be understood that the sequence numbers of the steps do not mean the execution sequence in the above embodiments. The execution sequence of the processes should be determined based on the functions and internal logic of the processes, and should not impose any limitations on the implementation process of the embodiments of the present application.
[0232] The above mainly describes the solutions provided in the present application from the perspective of interactions between electronic devices. To implement the above functions, it can be understood that an electronic device (e.g., the above first device or the above second device) includes corresponding hardware structures and / or software modules for performing each function. In combination with the example units and algorithm steps described in the embodiments disclosed herein, those skilled in the art will easily realize that the present application can be implemented by hardware or a combination of hardware and computer software. Whether the functions are performed by hardware or by hardware driven by computer software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use various methods to implement the described functions for each specific application, but the implementation should not be considered to go beyond the scope of the present application.
[0233] In the present application, functional modules of an electronic device may be obtained through division according to the above-described exemplary method. For example, functional modules may be obtained through division corresponding to various functions, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware or in the form of a software functional module. It should be noted that in the present application, the module division is merely an example and is a logical functional division. In actual implementation, other division methods may be used.
[0234] 17 is a schematic diagram of the structure of an apparatus when each functional module is obtained through division based on each corresponding function. The apparatus is used in the first device and may be, for example, a chip, a processor, or a functional module in the first device. As shown in FIG. 17, the apparatus includes a processing unit 1701 and a transmission unit 1702.
[0235] In one example, the processing unit 1701 is configured to establish a transmission channel to a second device, where the first device shares cellular capabilities with the second device through the transmission channel.
[0236] The transmission unit 1702 is configured to send feature synchronization information to the second device through a transmission channel, where the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0237] In one example, the feature synchronization information further indicates whether cellular capabilities of the first device are available or unavailable.
[0238] In one example, the transmission unit 1702 is further configured to, after sending the feature synchronization information to the second device through the transmission channel, synchronize first record information to the second device through the transmission channel, where the first record information includes a usage record of the first service feature on the first device and a usage record of the first service feature on the second device.
[0239] In one example, the transmitting unit 1702 is further configured to exchange cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0240] In one example, the processing unit 1701 is configured to establish a transmission channel to the second device when the first device and the second device satisfy a preset condition, wherein the first device shares the cellular capabilities of the first device with the second device through the transmission channel.
[0241] The transmission unit 1702 is configured to send 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 display icon.
[0242] In one example, the processing unit 1701 establishing a transmission channel to the second device includes the processing unit 1701 establishing a transmission channel to the second device when the processing unit 1701 determines that the first device and the second device satisfy a preset condition, where 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0243] 18 is a schematic diagram of the structure of the device. The device is used in the second device and may be, for example, a chip, a processor, or a functional module in the second device. As shown in FIG. 18, the device includes a processing unit 1801 and a transmission unit 1802.
[0244] In one example, the processing unit 1801 is configured to establish a transmission channel to a first device, wherein the second device performs cellular communication functions by using cellular capabilities shared by the first device through the transmission channel.
[0245] The transmission unit 1802 is configured to receive feature synchronization information sent by the first device through a transmission channel, where the feature synchronization information is used to synchronize a first service feature that is allowed to be shared among the cellular communication features to the second device.
[0246] The processing unit 1801 is further configured to set a first icon corresponding to the first service function from an unavailable state to an available state, and to set the first icon from the available state to the unavailable state when the cellular capability sharing between the first device and the second device is terminated.
[0247] In one example, the feature synchronization information further indicates that the cellular capability of the first device is available or unavailable. The processing unit 1801 setting the first icon corresponding to the first service feature from an unavailable state to an available state specifically includes, when the processing unit 1801 determines based on the feature synchronization information that the cellular capability of the first device is available, setting the first icon from an unavailable state to an available state.
[0248] In one example, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the processing unit 1801 does not respond to operations on the first icon, or 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.
[0249] In one example, the transmission unit 1802 is further configured to synchronize first record information to the second device through the transmission channel after receiving the function synchronization information sent by 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 of the first service function on the second device.
[0250] In one example, the processing unit 1801 is further configured to delete recorded information corresponding to the first service function and stored on the second device when the cellular capability sharing between the first device and the second device is terminated.
[0251] In one example, the transmitting unit 1802 is further configured to exchange cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0252] In one example, the processing unit 1801 is configured to establish a transmission channel to the first device when the first device and the second device satisfy a preset condition, wherein the second device performs a cellular communication function by using a cellular capability shared by the first device through the transmission channel.
[0253] The transmitting unit 1802 is configured to receive the cellular status information of the first device sent by the first device.
[0254] The processing unit 1801 is further configured to display a cellular status indication icon based on the cellular status information, and cancel displaying the cellular status indication icon when the cellular capability sharing between the first device and the second device ends.
[0255] In one example, the processing unit 1801 establishing a transmission channel to the first device includes the processing unit 1801 establishing a transmission channel to the first device when the processing unit 1801 determines that the first device and the second device satisfy a preset condition, where 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, the preset condition is that a OneHop operation is triggered between the first device and the second device, the preset condition is that the first device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the second device.
[0256] When an integrated unit is used, FIG. 19 is a schematic diagram of a possible structure of an electronic device. The electronic device has cellular capabilities, specifically, the first device in the above embodiment. FIG. 19 is a schematic diagram of the structure of an electronic device according to 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 shown in this embodiment of the present application does not constitute a specific limitation on the electronic device. In some other embodiments of the present application, the electronic device may include more or fewer components than those shown in the figure, may combine some components, may separate some components, or may have a different component arrangement. The components shown in the figure may be implemented using hardware, software, or a combination of software and hardware.
[0257] The processor 1901 may include at least one of the following types: a central processing unit (CPU). Alternatively, the processor 1901 may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The processor 1901 may be the brain and command center of an electronic device. The processor 1901 may generate operation control signals based on instruction operation codes and time sequence signals to complete the control of instruction reading and execution.
[0258] The memory 1903 may be configured to store software programs and modules. The processor 1901 executes the software programs and modules stored in the memory 1903 to perform various functional applications and data processing of the mobile phone. The memory 1903 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, applications (e.g., human-machine interaction), and the like required by at least one function. The data storage area may store data created based on use of the mobile phone (e.g., audio data or a phone book), and the like. In addition, the memory 1903 may include high-speed random access memory or non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or another volatile solid-state storage device.
[0259] The wireless communication function of the electronic device may be implemented by using antenna 1, antenna 2, mobile communication module 1905, wireless communication module 1906, modem processor, baseband processor, etc.
[0260] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic signals. Each antenna of the electronic device may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas may be used in combination with tuning switches.
[0261] The mobile communication module 1905 may be applied to an electronic device to provide wireless communication solutions including 2G / 3G / 4G / 5G. The mobile communication module 1905 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 1905 may receive electromagnetic waves through the antenna 1, perform processing such as filtering or amplification on the received electromagnetic waves, and send the electromagnetic waves to the modem processor for demodulation. The mobile communication module 1905 may further amplify signals modulated by the modem processor and convert the signals into electromagnetic waves for emission through the antenna 1. In other words, the mobile communication module 1905, the modem processor, and the antenna 1 provide cellular communication to the electronic device.
[0262] In some embodiments, at least some of the functional modules of the mobile communication module 1905 may be disposed within the processor 1901. In some embodiments, at least some of the functional modules of the mobile communication module 1905 may be disposed within the same component as at least some of the modules of the processor 1901.
[0263] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium- to high-frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the low-frequency baseband signal obtained through demodulation to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then transmitted to the application processor. In some embodiments, the modem processor may be an independent component. In some other embodiments, the modem processor may be separate from the processor 1901 and disposed in the same component as the mobile communication module 1905 or another functional module.
[0264] The wireless communication module 1906 may provide wireless communication solutions, including WLAN (e.g., Wi-Fi network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) technology, infrared (IR) technology, etc., and applied to electronic devices. The wireless communication module 1906 may be one or more components integrating at least one communication processing module. The wireless communication module 1906 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signals, and sends the processed signals to the processor 1901. The wireless communication module 1906 may further receive signals to be sent from the processor 1901, perform frequency modulation and amplification on the signals, and convert the signals into electromagnetic waves for radiation through the antenna 2.
[0265] In some embodiments, in the electronic device, Antenna 1 is coupled to a mobile communication module 1905 and Antenna 2 is coupled to a wireless communication module 1906, such that the electronic device can communicate with a network and other devices by using wireless communication technologies. The wireless communication technologies 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, IR technologies, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation system (SBAS).
[0266] The SIM card interface 1907 is configured to connect to a SIM card. The SIM card may be inserted into or removed from the SIM card interface 1907 to connect to or disconnect from the electronic device. The electronic device may support one or N SIM card interfaces, where N is a positive integer greater than one. The SIM card interface 1907 may support a nano-SIM card, a micro-SIM card, a SIM card, etc. Multiple cards may be inserted into the same SIM card interface 1907 at the same time. The multiple card types may be the same or different. The SIM card interface 1907 may also be compatible with different types of SIM cards. The SIM card interface 1907 may also be compatible with an external storage card. The electronic device interacts with a network through the SIM card to perform functions such as calling and data communication. In some embodiments, the electronic device uses an eSIM, i.e., an embedded SIM card. The eSIM card may be embedded in the electronic device and cannot be separated from the electronic device.
[0267] Based on the electronic device shown in FIG. 19, when the processor 1901 executes the computer program stored in the internal memory 1903, the electronic device is configured to implement the following solutions.
[0268] In one example, the electronic device The electronic device is configured to establish a transmission channel to a second device, wherein the electronic device shares cellular capabilities with the second device through the transmission channel, and to send feature synchronization information to the second device through the transmission channel, wherein the feature synchronization information is used to synchronize to the second device a first service feature among the cellular communication features that is allowed to be shared.
[0269] In one example, the feature synchronization information further indicates whether cellular capabilities of the electronic device are available or unavailable.
[0270] In one example, the electronic device is further configured to, after sending the feature synchronization information to the second device through the transmission channel, synchronize first record information to the second device through the transmission channel, where the first record information includes a usage record of the first service feature on the electronic device and a usage record of the first service feature on the second device.
[0271] In one example, the electronic device is further configured to exchange cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
[0272] In one example, the electronic device is configured to establish a transmission channel to a second device, wherein the electronic device shares cellular capabilities of the electronic device with the second device over 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 display icon.
[0273] In one example, establishing a transmission channel to the second device by the electronic device includes establishing a transmission channel to the second device by the electronic device when the electronic device and the second device satisfy a preset condition, where 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, the preset condition is that a OneHop operation is triggered between the electronic device and the second device, the preset condition is that the electronic device and the second device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the electronic device establishes UWB communication with the second device.
[0274] FIG. 20 is a schematic diagram of a possible structure of an electronic device when an integrated unit is used. The electronic device does not have cellular capabilities (i.e., the electronic device does not have a modem, or the electronic device has a modem but no SIM card), specifically, the second device in the above embodiment. FIG. 20 is a schematic diagram of the structure of an electronic device according to the present application. The electronic device may include a processor 2001, a memory 2003, an antenna 3, a wireless communication module 2006, etc. It can be understood that the structure shown in this embodiment of the present application does not constitute a specific limitation on the electronic device. In some other embodiments of the present application, the electronic device may include more or fewer components than those shown in the figure, or may combine some components, or may separate some components, or may have a different component arrangement. The components shown in the figure may be implemented using hardware, software, or a combination of software and hardware.
[0275] The processor 2001 may include at least one of the following types: a CPU. Alternatively, the processor 2001 may be another general-purpose processor, a DSP, an ASIC, an FPGA, or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The processor 2001 may be the brain and command center of an electronic device. The processor 2001 may generate operation control signals based on instruction operation codes and time sequence signals to complete the control of instruction reading and execution.
[0276] The memory 2003 may be configured to store software programs and modules. The processor 2001 executes the software programs and modules stored in the memory 2003 to perform various functional applications and data processing of the mobile phone. The memory 2003 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, applications (e.g., human-machine interaction), etc. required by at least one function. The data storage area may store data created based on the use of the mobile phone (e.g., audio data or a phone book), etc. In addition, the memory 2003 may include a high-speed random access memory or a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or another volatile solid-state storage device.
[0277] The wireless communication functionality of the electronic device may be implemented by using an antenna 3, a wireless communication module 2006, and the like.
[0278] The antenna 3 is configured to transmit and receive electromagnetic signals. Each antenna of the electronic device may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed to improve antenna utilization. For example, the antenna 3 may be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas may be used in combination with tuning switches.
[0279] The wireless communication module 2006 may be applied to the electronic device and provide wireless communication solutions including WLAN (e.g., Wi-Fi), BT, BLE, GNSS, FM, NFC, IR, etc. The GNSS may include GPS, GLONASS, BDS, QZSS, and / or SBAS. The wireless communication module 2006 may be one or more components integrating at least one communication processing module. The wireless communication module 2006 receives electromagnetic waves through the antenna 3, performs frequency modulation and filtering on the electromagnetic wave signals, and sends the processed signals to the processor 2001. The wireless communication module 2006 may further receive signals to be sent from the processor 2001, perform frequency modulation and amplification on the signals, and convert the signals into electromagnetic waves for emission through the antenna 3. In some embodiments, in the electronic device, the antenna 3 is coupled to the wireless communication module 2006, such that the electronic device can communicate with a network and another device by using wireless communication technology.
[0280] Based on the electronic device shown in FIG. 20, when the processor 2001 executes the computer program stored in the internal memory 2003, the electronic device is configured to implement the following solutions.
[0281] In one example, the electronic device The electronic device is configured to establish a transmission channel to a first device, wherein the electronic device performs a cellular communication function by using cellular capabilities shared by the first device through the transmission channel; receive function synchronization information sent by the first device through the transmission channel, wherein the function synchronization information is used to synchronize a first service function among the cellular communication functions that is allowed to be shared to the electronic device; set a first icon corresponding to the first service function from an unavailable state to an available state; and set the first icon from an available state to an unavailable state when the cellular capability sharing between the first device and the electronic device ends.
[0282] In one example, the feature synchronization information further indicates that cellular capability of the first device is available or unavailable. The electronic device setting a first icon corresponding to the first service feature from an unavailable state to an available state, in particular, includes the electronic device setting the first icon from an unavailable state to an available state when determining, based on the feature synchronization information, that cellular capability of the first device is available.
[0283] In one example, the unavailable state is a hidden state or a grayed-out display state, and when the first icon is in the grayed-out display state, the electronic device does not respond to operations on the first icon, or 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.
[0284] In one example, the electronic device is further configured to synchronize first record information to the first device through the transmission channel after receiving the function synchronization information sent by 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 of the first service function on the electronic device.
[0285] In one example, the electronic device is further configured to delete recorded information corresponding to the first service feature and stored on the second device when the cellular capability sharing between the first device and the electronic device is terminated.
[0286] In one example, the electronic device is further configured to exchange cellular signaling corresponding to the first service capability with the first device over a radio interface layer (RIL).
[0287] In one example, an electronic device is configured to establish a transmission channel to a first device, wherein the electronic device performs a cellular communication function by using cellular capabilities shared by the first device through the transmission channel; receive cellular status information of the first device sent by the first device; display a cellular status indication icon based on the cellular status information; and cancel displaying the cellular status indication icon when the cellular capability sharing between the first device and the electronic device ends.
[0288] In one example, establishing a transmission channel to the first device by the electronic device includes establishing a transmission channel to the first device by the electronic device when the electronic device and the first device satisfy a preset condition, where 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, the preset condition is that a OneHop operation is triggered between the first device and the electronic device, the preset condition is that the first device and the electronic device determine in a code scanning manner that sharing of cellular capabilities is allowed, or the preset condition is that the first device establishes UWB communication with the electronic device.
[0289] It can be understood that the structure shown in this embodiment of the present application does not constitute a particular limitation on the electronic device. In some other embodiments of the present application, the electronic device may include more or fewer components than those shown in the figures, or may combine some components, or may separate some components, or may have a different component arrangement. The components shown in the figures may be implemented using hardware, software, or a combination of software and hardware.
[0290] The present application further provides a communication system including the apparatus shown in FIG. 17 and the apparatus shown in FIG. 18, or including the electronic device shown in FIG. 19 and the electronic device shown in FIG.
[0291] The present application further provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, performs the method steps performed by the first device in the above embodiments.
[0292] The present application further provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, performs the method steps performed by the second device in the above embodiments.
[0293] The present application further provides a computer program product, which includes a program that, when executed on an electronic device, enables the electronic device to perform the method steps performed by the first device in the above-described embodiments.
[0294] The present application further provides a computer program product, which includes a program that, when executed on an electronic device, enables the electronic device to perform the method steps performed by the second device in the above embodiments.
[0295] For the purpose of convenient and concise description, for the detailed work processes of the above systems, devices and units, reference can be made to the corresponding processes in the above method embodiments, which can be clearly understood by those skilled in the art, and the details will not be described again in this specification.
[0296] In the description of the embodiments of the present application, unless otherwise specified, " / " means "or." For example, A / B may represent A or B. In this specification, "and / or" only describes an association relationship between related objects, and represents that three relationships may exist. For example, A and / or B may represent the following three cases: only A exists, both A and B exist, and only B exists. In addition, in the description of the embodiments of the present application, "plurality" means two or more.
[0297] The terms "first" and "second" are intended for descriptive purposes only and should not be understood as an indication or implication of relative importance or an implicit indication of the quantity of the technical features depicted. Thus, a feature qualified by "first" or "second" may explicitly or implicitly include one or more features. In the description of embodiments, "plurality" means two or more, unless otherwise specified.
[0298] References to "one embodiment" or "some embodiments" described in the specification of this application mean that one or more embodiments of the application include the particular feature, structure, or characteristic described with reference to this embodiment. Thus, statements such as "in one embodiment," "in some embodiments," "in some other embodiments," and "in other embodiments" appearing in different places throughout this specification are not necessarily meant to refer to the same embodiment, but rather to mean "one or more, but not all, of the embodiments," unless specifically emphasized otherwise. The terms "include," "contain," "having," and variations thereof all mean "including, but not limited to," unless specifically emphasized otherwise.
[0299] Finally, please note that the above description is only a specific implementation of the present application and does not limit the scope of protection of the present application. Any modifications or replacements within the technical scope disclosed in the present application shall fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the scope of protection of the claims. [Explanation of symbols]
[0300] 1701 Processing Unit 1702 Transmission Unit 1801 Processing Unit 1802 Transmission Unit 1901 processor 1903 memory 1905 Mobile Communication Module 1906 Wireless Communication Module 1907 Subscriber Identity Module Card Interface 2001 processor 2003 Memory 2006 Wireless Communication Module
Claims
1. 1. A method for sharing cellular capabilities, comprising: establishing a transmission channel by a first device to a second device, the first device sharing its cellular capabilities with the second device through the transmission channel, and the second device performing a cellular communication function by using the cellular capabilities of the first device; sending feature synchronization information by the first device to the second device through the transmission channel, the feature synchronization information being used to synchronize a first service feature among the cellular communication features that is allowed to be shared to the second device; setting a first icon corresponding to the first service function from an unavailable state to an available state by the second device; setting the first icon by the second device from the available state to the unavailable state when cellular capability sharing between the first device and the second device is terminated; A method for providing the above.
2. the capability synchronization information further indicates that the cellular capability of the first device is available or unavailable; setting, by the second device, a first icon corresponding to the first service function from an unavailable state to an available state; setting, by the second device, the first icon from the unavailable state to the available state when the second device determines based on the feature synchronization information that the cellular capability of the first device is available. The method of claim 1.
3. the unavailable state is a hidden or grayed out display state, and when the first icon is in the grayed out display state, the second device is unresponsive to an operation on the first icon; or the availability state is a normal display state, and when the first icon is in the normal display state, the second device responds to an operation on the first icon.
3. The method according to claim 1 or 2.
4. after the step of sending by the first device functional synchronization information to the second device over the transmission channel; and synchronizing, by the first device, first record information to the second device through the transmission channel, the first record information comprising a usage record of the first service function on the first device and a usage record of the first service function on the second device.
4. The method according to any one of claims 1 to 3.
5. 5. The method of claim 1, wherein when the cellular capability sharing between the first device and the second device is terminated, the second device deletes record information corresponding to the first service function and stored on the second device.
6. After the step of establishing by the first device a transmission channel to the second device, sending, by the first device, cellular status information of the first device to the second device; displaying, by the second device, a cellular status indication icon based on the cellular status information; canceling, by the second device, the step of displaying the cellular status indication icon when the cellular capability sharing between the first device and the second device is terminated; 6. The method of claim 1, further comprising:
7. 7. The method according to claim 1, wherein the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
8. said step of establishing, by the first device, a transmission channel to a second device, establishing, by the first device, the transmission channel to the second device when the first device and the second device satisfy a preset condition; The preset condition is that the second device is a device that is determined by the first device and is allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; 8. The method according to any one of claims 1 to 7.
9. 1. A method for sharing cellular capabilities, applied to a first device, comprising: establishing a transmission channel by the first device to a second device, the first device sharing cellular capabilities with the second device over the transmission channel; sending feature synchronization information by the first device to the second device through the transmission channel, the feature synchronization information being used to synchronize a first service feature among cellular communication features that is allowed to be shared to the second device; A method for providing the above.
10. The method of claim 9 , wherein the feature synchronization information further indicates that the cellular capability of the first device is available or unavailable.
11. after the step of sending by the first device functional synchronization information to the second device over the transmission channel; and synchronizing, by the first device, first record information to the second device through the transmission channel, the first record information comprising a usage record of the first service function on the first device and a usage record of the first service function on the second device.
11. The method of claim 9 or 10.
12. After the step of establishing by the first device a transmission channel to a second device, sending, by the first device, cellular status information of the first device to the second device, the cellular status information being used by the second device to display a cellular status indication icon.
12. The method according to any one of claims 9 to 11.
13. 13. The method according to claim 9, wherein the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
14. said establishing by said first device a transmission channel to a second device; establishing, by the first device, the transmission channel to the second device when the first device and the second device satisfy a preset condition; The preset condition is that the second device is a device that is determined by the first device and is allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; 14. The method according to any one of claims 9 to 13.
15. 1. A method for sharing cellular capabilities, applied to a second device, comprising: establishing a transmission channel by a first device to the second device, the second device performing a cellular communication function by using a cellular capability shared by the first device through the transmission channel; receiving, by the second device through the transmission channel, feature synchronization information sent by the first device, the feature synchronization information being used to synchronize, to the second device, a first service feature that is allowed to be shared among the cellular communication features; setting a first icon corresponding to the first service function from an unavailable state to an available state by the second device; setting the first icon by the second device from the available state to the unavailable state when cellular capability sharing between the first device and the second device is terminated; A method for providing the above.
16. the capability synchronization information further indicates that the cellular capability of the first device is available or unavailable; setting, by the second device, a first icon corresponding to the first service function from an unavailable state to an available state; setting, by the second device, the first icon from the unavailable state to the available state when the second device determines based on the feature synchronization information that the cellular capability of the first device is available. The method of claim 15.
17. the unavailable state is a hidden or grayed out display state, and when the first icon is in the grayed out display state, the second device is unresponsive to an operation on the first icon; or the availability state is a normal display state, and when the first icon is in the normal display state, the second device responds to an operation on the first icon.
17. The method of claim 15 or 16.
18. After the step of receiving, by the second device through the transmission channel, the function synchronization information sent by the first device, and synchronizing, by the first device, first record information to the second device through the transmission channel, the first record information comprising a usage record of the first service function on the first device and a usage record of the first service function on the second device.
18. The method according to any one of claims 15 to 17.
19. 19. The method of claim 15, wherein when the cellular capability sharing between the first device and the second device is terminated, the second device deletes record information corresponding to the first service function and stored on the second device.
20. After the step of establishing by the first device a transmission channel to the second device, receiving, by the second device, cellular status information of the first device sent by the first device; displaying, by the second device, a cellular status indication icon based on the cellular status information; canceling, by the second device, the step of displaying the cellular status indication icon when the cellular capability sharing between the first device and the second device is terminated; 20. The method of any one of claims 15 to 19, further comprising:
21. 21. The method according to claim 15, wherein the first device exchanges cellular signaling corresponding to the first service capability with the second device over a radio interface layer (RIL).
22. said step of establishing, by a first device, a transmission channel to said second device, establishing, by the first device, the transmission channel to the second device when the first device and the second device satisfy a preset condition; The preset condition is that the second device is a device that is determined by the first device and is allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; 22. The method according to any one of claims 15 to 21.
23. 1. A method for sharing cellular capabilities, comprising: establishing a transmission channel by a first device to a second device, the first device sharing its cellular capabilities with the second device through the transmission channel, and the second device performing a cellular communication function by using the cellular capabilities of the first device; sending, by the first device, cellular status information of the first device to the second device; displaying, by the second device, a cellular status indication icon based on the cellular status information; canceling, by the second device, the step of displaying the cellular status indication icon when cellular capability sharing between the first device and the second device is terminated; A method for providing the above.
24. said step of establishing, by the first device, a transmission channel to a second device, Establishing the transmission channel to the second device by the first device when the first device and the second device satisfy a preset condition, the preset condition being that the second device is a device that is determined by the first device to be allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; The method of claim 23.
25. 1. A method for sharing cellular capabilities, applied to a first device, comprising: establishing a transmission channel by the first device to a second device, the first device sharing cellular capabilities with the second device over the transmission channel; sending, by the first device, 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 indication icon. method.
26. said establishing by said first device a transmission channel to a second device; establishing, by the first device, the transmission channel to the second device when the first device and the second device satisfy a preset condition; The preset condition is that the second device is a device that is determined by the first device and is allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; The method of claim 25.
27. 1. A method for sharing cellular capabilities, applied to a second device, comprising: establishing a transmission channel by a first device to the second device, the second device performing a cellular communication function by using a cellular capability shared by the first device through the transmission channel; receiving, by the second device, cellular status information of the first device sent by the first device; displaying, by the second device, a cellular status indication icon based on the cellular status information; canceling, by the second device, the step of displaying the cellular status indication icon when cellular capability sharing between the first device and the second device is terminated; A method for providing the above.
28. said step of establishing, by a first device, a transmission channel to said second device, establishing, by the first device, the transmission channel to the second device when the first device and the second device satisfy a preset condition; The preset condition is that the second device is a device that is determined by the first device and is allowed to share the cellular capability, and the first device and the second device are within a preset range; The preset condition is that a OneHop operation is triggered between the first device and the second device; the pre-defined condition being that the first device and the second device determine in a code scanning manner that the sharing of the cellular capabilities is permitted; or The pre-set condition is that the first device establishes UWB communication with the second device; 28. The method of claim 27.
29. 27. An electronic device, the electronic device having cellular capabilities, the electronic device being configured to perform the method of any one of claims 9 to 14, 25 and 26.
30. 30. An electronic device, the electronic device having no cellular capability, a cellular communication functionality component pre-configured within the electronic device, the electronic device configured to execute a method according to any one of claims 15 to 22, 27 and 28.
31. A communication system comprising an electronic device according to claim 29 and an electronic device according to claim 30.
32. 27. A computer readable storage medium having a computer program stored therein, the computer program, when executed by a processor, performing the method of any one of claims 9 to 14, 25 and 26.
33. 29. A computer-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, performing the method of any one of claims 15 to 22, 27 and 28.
34. 27. A computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform the method according to any one of claims 9 to 14, 25 and 26.
35. 29. A computer program product, the program product comprising a program which, when executed on an electronic device, enables the electronic device to perform the method according to any one of claims 15 to 22, 27 and 28.
Citation Information
Patent Citations
Electronic apparatus for determining relay apparatus and method thereof
US20150156676A1
Systems and methods for tethering devices
US20160191688A1
Electronic device and WLAN relay function control method thereof
US20190380065A1
