Electronic equipment for communication
By introducing the on, intermediate and off states of wireless near-field communication services in electronic devices and controlling them through switches on and off of the setting interface, the problem of users needing to frequently operate Bluetooth and WiFi controls is solved, improving the user experience.
Patent Information
- Application Number
- CN202411399739.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, users need to frequently operate Bluetooth and WiFi controls to maintain the operation of collaborative services in all scenarios, resulting in poor user experience. Especially for beginners, complex control status and operational processes increase learning costs.
An electronic device is designed, whose wireless near-field communication service has an on state, an intermediate state and a closed state. The wireless near-field communication service is controlled to switch between different states through the switch of the setting interface, simplifying user operations.
Users can maintain the operation of all-scene collaborative services without frequent operation of wireless near-field communication service controls, improving user experience, especially for beginner users.
Smart Images

Figure CN119520672A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an electronic device for communication. Background Art
[0002] With the development of science and technology, electronic devices have gradually become one of the indispensable tools in people's lives. Electronic devices can run full-scenario collaborative services with other electronic devices, such as file sharing, wireless screen projection, multi-screen collaboration, cross-device clipboard, application flow, keyboard and mouse sharing, service interoperability, etc. These full-scenario collaborative services require the initiating electronic device and the receiving electronic device to jointly turn on the Bluetooth and wireless fidelity (WiFi) functions. However, most users may not often keep the Bluetooth and WiFi functions of their electronic devices turned on, which will affect the operation of full-scenario collaborative services.
[0003] At present, the operation of full-scenario collaborative services is usually promoted by setting three display states for the Bluetooth control and / or WiFi control of the control center: on state, off state, and an intermediate state between on and off. When the Bluetooth control and WiFi control of the control center are in an on state or an intermediate state between on and off, the electronic device can run the full-scenario collaborative service. In this way, the display state of the Bluetooth control and WiFi control is more complicated, which changes the user's cognition of the control switch, increases the user's learning cost, and is not friendly to primary users. Summary of the invention
[0004] The present application provides an electronic device for communication, wherein the wireless near field communication service of the electronic device includes one or more of the following: Bluetooth, WiFi, and the wireless near field communication service has an on state, an intermediate state, and an off state. Wherein, when the wireless near field communication service is in the on state, the electronic device supports the operation of the first service and the second service; when the wireless near field communication service is in the off state, the electronic device does not support the operation of the first service and the second service; when the wireless near field communication service is in the intermediate state, the electronic device does not support the operation of the second service but supports the operation of the first service. The control center of the electronic device is configured to display the wireless near field communication service control, and the setting interface of the electronic device is configured to display the first switch, and the setting interface is different from the interface of the control center; when the first switch is turned on, the wireless near field communication service control is used to control the wireless near field communication service to switch between the on state and the intermediate state; when the first switch is turned off, the wireless near field communication service control is used to control the wireless near field communication service to switch between the on state and the off state. In this way, the user can maintain the operation of the full-scene collaborative service without frequent operation of the wireless near field communication service control, which is more friendly to primary users and improves the user experience.
[0005] In a first aspect, the present application provides an electronic device for communication, wherein the wireless near-field communication service of the electronic device includes one or more of the following: Bluetooth, wireless fidelity WiFi, and the wireless near-field communication service has an on state, an intermediate state, and an off state; wherein, when the wireless near-field communication service is in the on state, the electronic device supports the operation of a first service and a second service; when the wireless near-field communication service is in the off state, the electronic device does not support the operation of the first service and the second service; when the wireless near-field communication service is in the intermediate state, the electronic device does not support the operation of the second service but supports the operation of the first service; a setting interface of the electronic device, wherein the control center of the electronic device is configured to display a wireless near-field communication service control, and the setting interface of the electronic device is configured to display a first switch, and the setting interface is an interface different from that of the control center; when the first switch is on, the wireless near-field communication service control is used to control the switching of the wireless near-field communication service between the on state and the intermediate state; when the first switch is off, the wireless near-field communication service control is used to control the switching of the wireless near-field communication service between the on state and the off state.
[0006] Among them, the electronic device can be Figure 1 For the electronic device 100 shown, the first service may be a full-scenario collaborative service, the second service may be a device scenario service, the setting interface of the electronic device may be a user interface for the out-of-box experience (OOBE) of the electronic device 100 (e.g., user interface 410, user interface 420), the setting interface of the electronic device may also be a user interface for advanced options for multi-device collaboration in a setting application (e.g., user interface 520, user interface 530), and the first switch may be a multi-device collaboration enhanced service switch (e.g., control 411, control 421, control 521, control 531).
[0007] Among them, the display state of the wireless near field communication service control only has a first state (on state) and a second state (off state), and the wireless near field communication service control can be displayed in the control center and can also be displayed in the setting application, and the display state of the wireless near field communication service control displayed in the setting application changes synchronously with the display state of the wireless near field communication service control displayed in the control center, that is, when the display state of the wireless near field communication service control displayed in one position changes, the display state of the wireless near field communication service control displayed in another position will also change. Exemplarily, when the display state of the Bluetooth and WiFi controls displayed in the control center changes from the off state to the on state, the display state of the Bluetooth and WiFi controls displayed in the setting application will also change from the off state to the on state.
[0008] In some embodiments, when the wireless near-field communication service is in an off state (i.e., the display state of the online near-field communication service control is in an off state), the electronic device 100 detects the operation of turning on the first switch, and the wireless near-field communication service can be switched from the off state to the intermediate state. In other embodiments, when the wireless near-field communication service is in an intermediate state (i.e., the display state of the online near-field communication service control is in an off state and the first switch is in an on state), the electronic device 100 detects the operation of turning off the first switch, and the wireless near-field communication service can be switched from the intermediate state to the off state.
[0009] By using the electronic device provided by the first aspect, users can maintain the operation of full-scenario collaborative services without frequently operating the wireless near-field communication service controls, which is more friendly to novice users and improves the user experience.
[0010] In combination with the first aspect, in some embodiments, the setting interface of the electronic device is configured to display a wireless near field communication service control.
[0011] The setting interface may also be a user interface in a setting application, and the display state of the wireless near field communication service control displayed in the setting application changes synchronously with the display state of the wireless near field communication service control displayed in the control center, that is, when the display state of the wireless near field communication service control displayed in one position changes, the display state of the wireless near field communication service control displayed in another position also changes. Exemplarily, when the display state of the Bluetooth and WiFi controls displayed in the control center changes from an off state to an on state, the display state of the Bluetooth and WiFi controls displayed in the setting application also changes from an off state to an on state.
[0012] In combination with the first aspect, in some embodiments, the display state of the wireless near field communication service control includes a first state and a second state.
[0013] The first state may be an on state, and the second state may be a off state.
[0014] In combination with the first aspect, in some embodiments, the power consumption of the first service is lower than that of the second service, and the first service includes one or more of the following: file sharing, wireless screen projection, multi-screen collaboration, cross-device clipboard, keyboard and mouse sharing, service interoperability, and continuation; the second service includes one or more of the following: watch device connection, bracelet device connection, audio device connection, headphone device connection, speaker device connection, stylus pen connection, and Bluetooth mouse connection.
[0015] The first service may be a full-scenario collaborative service, and the second service may be a device scenario service.
[0016] In combination with the first aspect, in some embodiments, when the electronic device is already running the first service and the second service, the electronic device is specifically configured to keep the first service and the second service running; or, when the electronic device is not yet running the first service and the second service, the startup operation of the first service and the second service is detected, and the electronic device is specifically configured to start the first service and the second service.
[0017] Exemplarily, the electronic device is running a first service of a cross-device clipboard and a second service of a stylus connection. If Bluetooth and WiFi are both turned on, the electronic device can keep the first service of the cross-device clipboard and the second service of the stylus connection running.
[0018] Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service of the stylus connection. If Bluetooth and WiFi are both turned on and an operation to start the first service of the cross-device clipboard and the second service of the stylus connection is detected, the electronic device can start the first service of the cross-device clipboard and the second service of the stylus connection.
[0019] In combination with the first aspect, in some embodiments, when the electronic device is already running the first service and the second service, the electronic device is specifically configured to stop running the first service and the second service; or, when the electronic device is not yet running the first service and the second service, the startup operation of the first service and the second service is detected, and the electronic device is specifically configured not to start the first service and the second service.
[0020] Exemplarily, the electronic device is running a first service of a cross-device clipboard and a second service of a stylus connection. If Bluetooth and WiFi are both turned off, the electronic device can stop running the first service of the cross-device clipboard and the second service of the stylus connection.
[0021] Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service of the stylus connection. If Bluetooth and WiFi are both in an off state, and an operation to start the first service of the cross-device clipboard and the second service of the stylus connection is detected, the electronic device may not start the first service of the cross-device clipboard and the second service of the stylus connection.
[0022] In combination with the first aspect, in some embodiments, when the electronic device is already running a first service and a second service, the electronic device is specifically configured to stop running the second service but keep the first service running; or, when the electronic device is not yet running the first service and the second service, and a startup operation of the first service and the second service is detected, the electronic device is specifically configured not to start the second service but to start the first service.
[0023] Exemplarily, the electronic device is running a first cross-device clipboard service and a second stylus-connected service. If Bluetooth and WiFi are both in an intermediate state, the electronic device can stop running the second stylus-connected service but keep the first cross-device clipboard service running.
[0024] Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service of the stylus connection. If Bluetooth and WiFi are both in an intermediate state and an operation to start the first service of the cross-device clipboard and the second service of the stylus connection is detected, the electronic device may not start the second service of the stylus connection, but start the first service of the cross-device clipboard.
[0025] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an off state, an operation of turning on the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the off state to an intermediate state.
[0026] For example, Figures 12A-12F As shown, in Fig. 12A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 12B The star flash control (such as control 551) in the user interface 550 is in the closed state and Fig. 12C In the case where the first switch (such as control 521) in the user interface 520 shown is in the off state (i.e., the wireless near-field communication service is in the off state), an on operation of the first switch (such as control 521) in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the off state to the intermediate state and display Fig.12D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.12E The user interface 540 shown in FIG. 5 shows a closed star flash control (such as control 541) and Fig.12F The first switch (eg, control 531 ) in the user interface 530 is shown in an on state.
[0027] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the Bluetooth Low Energy (BLE) mode of Bluetooth from off to on, but keep the Basic Rate (BR) mode off.
[0028] In the process of switching the wireless near field communication service from the off state to the intermediate state, the electronic device 100 may switch the BLE mode of Bluetooth from off to on, but keep the BR mode off. In this case, the electronic device 100 may continue to not support the second service operation, but support the first service operation (for example, Fig. 12B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.12E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0029] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the private connection mode of WiFi from off to on, but keep the WiFi Station mode off.
[0030] In the process of switching the wireless near-field communication service from the off state to the intermediate state, the electronic device 100 may switch the private connection mode of WiFi from off to on, but keep the WiFi Station mode off. In this case, the electronic device 100 may continue to not support the operation of the second service, but support the operation of the first service (for example, Fig. 12B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.12E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0031] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an intermediate state, an operation of closing the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the intermediate state to the closed state.
[0032] For example, Figures 13A-13F As shown, in Fig.13A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 13B The star flash control (such as control 541) in the user interface 540 is in the closed state and Fig. 13CIn the case where the first switch (such as control 531) in the user interface 530 shown is in the on state (i.e., the wireless near field communication service is in the intermediate state), a closing operation of the first switch (such as control 531) in the on state is detected, and the electronic device 100 can switch the wireless near field communication service from the intermediate state to the off state and display Fig.13D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.13E The user interface 550 shown in FIG. 5 shows a closed star flash control (such as control 551) and Fig.13F The first switch (eg, control 521) in the user interface 520 is shown in an off state.
[0033] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the BLE mode of Bluetooth from on to off, and keep the BR mode off.
[0034] In the process of switching the wireless near field communication service from the intermediate state to the closed state, the electronic device 100 may switch the BLE mode of Bluetooth from on to off, and keep the BR mode closed. In this case, the electronic device 100 may not support the operation of the first service, and continue to not support the operation of the second service (for example, Fig. 13B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 540 are in an open state, and Fig.13E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0035] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to turn off the private connection mode of the WiFi and keep the WiFi Station mode turned off.
[0036] In the process of switching the wireless near-field communication service from the intermediate state to the closed state, the electronic device 100 may switch the private connection mode of WiFi from on to off, and keep the WiFi Station mode closed. In this case, the electronic device 100 may not support the operation of the first service, and continue to not support the operation of the second service (for example, Fig. 13B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 540 are in an open state, and Fig.13EThe full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0037] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an on state, an operation of turning on the first switch is detected, and the electronic device is further configured to keep the wireless near field communication service in an on state.
[0038] For example, Figure 14A-14F As shown, in Fig.14A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 14B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 14C When the first switch (such as the control 521) in the user interface 520 shown in the figure is in the off state, and an on operation of the first switch (such as the control 521) in the off state is detected, the electronic device 100 can keep the wireless near-field communication service in the on state and display Fig.14D The user interface 320 shown in FIG. 3 includes a WiFi control (such as control 321) in an on state, a Bluetooth control (such as control 322) in a off state, Fig.14E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.14F The first switch (eg, control 531 ) in the user interface 530 is shown in an on state.
[0039] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an on state, an operation of closing the first switch is detected, and the electronic device is further configured to keep the wireless near field communication service in an on state.
[0040] For example, Figures 15A-15F As shown, in Fig.15A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 15B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 15C When the first switch (such as the control 531) in the user interface 530 shown in the figure is in the on state, and a closing operation of the first switch (such as the control 531) in the on state is detected, the electronic device 100 can keep the wireless near-field communication service in the on state and display Fig.15D The user interface 320 shown in FIG. 3 includes a WiFi control (such as control 321) in an on state, a Bluetooth control (such as control 322) in a off state, Fig.15E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.15F The first switch (eg, control 521) in the user interface 520 is shown in an off state.
[0041] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to keep the BR mode and the BLE mode of Bluetooth turned on.
[0042] In the process of keeping the wireless near-field communication service turned on, the electronic device 100 can keep the Bluetooth BR mode and BLE mode turned on. In this case, the electronic device 100 can continue to support the operation of the first service and the second service (for example, the full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 are in the turned-on state).
[0043] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to keep the WiFi Station mode and the private connection mode of the WiFi turned on.
[0044] In the process of keeping the wireless near-field communication service turned on, the electronic device 100 can keep the WiFi Station mode and the private connection mode of the WiFi turned on. In this case, the electronic device 100 can continue to support the operation of the first service and the second service (for example, the full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 are turned on).
[0045] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an intermediate state, an operation of turning on the wireless near field communication service is detected, and the electronic device is further configured to switch the wireless near field communication service from the intermediate state to the turned-on state.
[0046] For example, Figures 16A-16F As shown, in Fig.16A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 16B The star flash control (such as control 541) in the user interface 540 is in the closed state and Fig. 16CWhen the first switch (such as control 531) in the user interface 530 shown in FIG. 1 is in the on state (i.e., the wireless near-field communication service is in the intermediate state), an on operation of the wireless near-field communication service in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the intermediate state to the on state and display Fig.16D The WiFi control (such as control 321) in the user interface 320 is turned on, the Bluetooth control (such as control 322) in the user interface 320 is turned on, Fig.16E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.16F The first switch (eg, control 531 ) in the user interface 530 is shown in an on state.
[0047] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the BR mode of Bluetooth from off to on, and keep the BLE mode on.
[0048] In the process of switching the wireless near field communication service from the intermediate state to the on state, the electronic device 100 can switch the Bluetooth BR mode from off to on, and keep the BLE mode on. In this case, the electronic device 100 can continue to support the first service and support the second service (for example, Fig. 16B The user interface 540 and Fig.16E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 shown are in the turned-on state).
[0049] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the WiFi Station mode of the WiFi from off to on, and keep the private connection mode on.
[0050] In the process of switching the wireless near-field communication service from the intermediate state to the on state, the electronic device 100 can switch the WiFi Station mode of the WiFi from off to on, and keep the private connection mode on. In this case, the electronic device 100 can continue to support the first service and support the second service (for example, Fig. 16B The user interface 540 and Fig.16E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 shown are in the turned-on state).
[0051] In combination with the first aspect, in some embodiments, when the wireless near-field communication service is in an on state, the operation of turning off the wireless near-field communication service and turning on the first switch is detected, and the electronic device is further configured to switch the wireless near-field communication service from the on state to an intermediate state.
[0052] For example, Figures 10A-10F As shown, in Fig. 10A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 10B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 10C When the first switch (such as control 521) in the user interface 520 shown in the figure is in the off state, the electronic device 100 detects the off operation of the WiFi control (such as control 321), the Bluetooth control (such as control 322), and the Star Flash control (such as control 511) in the on state and the on operation of the first switch (such as control 521) in the off state, and can switch the wireless near-field communication service from the on state to the intermediate state and display Fig. 10D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig. 10E The user interface 540 shown in FIG. 5 shows a closed star flash control (such as control 541) and Fig.10F The first switch (eg, control 531 ) in the user interface 530 is shown in an on state.
[0053] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the BR mode of Bluetooth from on to off, but keep the BLE mode on.
[0054] In the process of switching the wireless near field communication service from the on state to the intermediate state, the electronic device 100 may switch the Bluetooth BR mode from on to off, but keep the BLE mode on. In this case, the electronic device 100 may not support the continued operation of the second service, but support the continued operation of the first service (for example, Fig. 10B The user interface 510 and Fig. 10E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0055] In combination with the first aspect, in some embodiments, the electronic device includes a first software system, the first software system includes a control center and a Bluetooth module, the electronic device is specifically configured to control the Bluetooth module through the control center to switch the BR mode from on to off; the electronic device is specifically configured to turn off the BR mode through the Bluetooth module and switch the Bluetooth state from on to an intermediate state; the electronic device is specifically configured to keep the BLE mode on through the Bluetooth module; the electronic device is specifically configured to notify the control center through the Bluetooth module to switch the display state of the Bluetooth control from on to off.
[0056] The first software system may include a control center, a WiFi module, a private connection protocol module, a WiFi enhancement module, a Bluetooth module, and a Star Flash module. The WiFi module, the Bluetooth module, and the Star Flash module are respectively a WiFi driver module, a Bluetooth driver module, and a Star Flash driver module, which are essentially software modules. The Bluetooth process may be, for example, Fig.11 Steps S111-S114 are shown.
[0057] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the WiFi Station mode of the WiFi from on to off, but keep the private connection mode on.
[0058] In the process of switching the wireless near-field communication service from the on state to the intermediate state, the electronic device 100 may switch the WiFi Station mode of the WiFi from on to off, but keep the private connection mode on. In this case, the electronic device 100 may not support the continued operation of the second service, but support the continued operation of the first service (for example, Fig. 10B The user interface 510 and Fig. 10E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0059] In combination with the first aspect, in some embodiments, the electronic device includes a first software system, the first software system includes a control center, a private connection protocol module, and a WiFi module. The electronic device is specifically configured to control the WiFi module through the control center to switch the WiFi Station mode from on to off, and to notify the control center through the WiFi module to switch the display state of the WiFi control from on to off; the electronic device is specifically configured to turn off the WiFi Station mode through the WiFi module and switch the WiFi state from on to an intermediate state; the electronic device is specifically configured to notify the private connection protocol module through the WiFi module to learn the WiFi state; the electronic device is specifically configured to learn from the WiFi module through the private connection protocol module that the WiFi is in an intermediate state, triggering the private connection protocol module to keep the private connection mode on.
[0060] In combination with the first aspect, in some embodiments, the first software system also includes a WiFi enhancement module. After switching the WiFi state from the on state to the intermediate state, the electronic device is also configured to obtain from the WiFi module through the WiFi enhancement module that the WiFi is in the intermediate state, triggering the WiFi enhancement module to determine whether the WiFi point-to-point P2P mode comes from a third-party application. If so, the WiFi module is notified through the WiFi enhancement module to turn off the P2P mode.
[0061] The first software system may include a control center, a WiFi module, a private connection protocol module, a WiFi enhancement module, a Bluetooth module, and a Star Flash module. The WiFi module, the Bluetooth module, and the Star Flash module are respectively a WiFi driver module, a Bluetooth driver module, and a Star Flash driver module, which are essentially software modules. The WiFi process may be, for example, Fig.11 Steps S101-S110 are shown.
[0062] In combination with the first aspect, in some embodiments, when the wireless near-field communication service is in an on state, an operation of turning off the wireless near-field communication service and turning off the first switch is detected, and the electronic device is further configured to switch the wireless near-field communication service from an on state to an off state.
[0063] For example, Figures 17A-17F As shown, in Fig.17A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 17B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 17CWhen the first switch (such as control 531) in the user interface 530 shown in the figure is in the on state, the electronic device 100 detects the off operation of the wireless near-field communication service in the on state and the first switch (such as control 531) in the on state, and can switch the wireless near-field communication service from the on state to the off state, and display Fig.17D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.17E The user interface 550 shown in FIG. 5 shows a closed star flash control (such as control 551) and Fig.17F The first switch (eg, control 521) in the user interface 520 is shown in an off state.
[0064] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the BR mode and the BLE mode of Bluetooth from on to off.
[0065] In the process of switching the wireless near field communication service from the on state to the off state, the electronic device 100 may switch the BR mode and the BLE mode of Bluetooth from on to off. In this case, the electronic device 100 may not support the operation of the first service and the second service (for example, Fig. 17B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 510 are in an open state, and Fig.17E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0066] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the WiFi Station mode and the private connection mode of the WiFi from on to off.
[0067] In the process of switching the wireless near field communication service from the on state to the off state, the electronic device 100 may switch the WiFi Station mode and the private connection mode of the WiFi from on to off. In this case, the electronic device 100 may not support the operation of the first service and the second service (for example, Fig. 17B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 510 are in an open state, and Fig.17EThe full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0068] In combination with the first aspect, in some embodiments, when the wireless near field communication service is in an off state, an operation to turn on the wireless near field communication service is detected, and the electronic device is further configured to switch the wireless near field communication service from the off state to the on state.
[0069] For example, Figure 18A-18F As shown, in Fig.18A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig.18B The star flash control (such as control 551) in the user interface 550 is in the closed state and Fig.18C When the first switch (such as control 521) in the user interface 520 shown in FIG. 1 is in the off state (i.e., the wireless near-field communication service is in the off state), an on operation of the wireless near-field communication service in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the off state to the on state and display Fig.18D The WiFi control (such as control 321) in the user interface 320 is turned on, the Bluetooth control (such as control 322) in the user interface 320 is turned on, Fig.18E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.18F The first switch (eg, control 521) in the user interface 520 is shown in an off state.
[0070] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the BR mode and the BLE mode of Bluetooth from off to on
[0071] In the process of switching the wireless near field communication service from the off state to the on state, the electronic device 100 can switch the BR mode and the BLE mode of Bluetooth from off to on. In this case, the electronic device 100 can support the operation of the first service and the second service (for example, Fig.18B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.18E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in the turned-on state).
[0072] In combination with the first aspect, in some embodiments, the electronic device is specifically configured to switch the WiFi Station mode and the private connection mode of the WiFi from off to on.
[0073] In the process of switching the wireless near field communication service from off to on, the electronic device 100 can switch the WiFi Station mode and the private connection mode of the WiFi from off to on. In this case, the electronic device 100 can support the operation of the first service and the second service (for example, Fig.18B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.18E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in the turned-on state).
[0074] In combination with the first aspect, in some embodiments, the wireless near-field communication service also includes SparkLink.
[0075] In a second aspect, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps described in any one of the above-mentioned first aspects.
[0076] In a third aspect, the present application provides a computer program product. When the computer program product is executed by a processor, the steps described in any one of the above-mentioned first aspects will be implemented.
[0077] In a fourth aspect, the present application provides a chip, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the chip performs the steps described in any one of the above-mentioned first aspect.
[0078] The solutions provided in the second to fourth aspects are used to implement or cooperate with the corresponding methods provided in the first aspect, and therefore can achieve the same or corresponding beneficial effects as the corresponding methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 is a structural schematic diagram of an electronic device 100 provided in an embodiment of the present application;
[0080] Figure 2A-2B It is a set of interface schematic diagrams provided in the embodiments of the present application;
[0081] Figure 3A-3B is another set of interface schematic diagrams provided in an embodiment of the present application;
[0082] Figure 4A-4B is another set of interface schematic diagrams provided in an embodiment of the present application;
[0083] Figure 5A-5D is another set of interface schematic diagrams provided in an embodiment of the present application;
[0084] Figure 6A-6C is another set of interface schematic diagrams provided in an embodiment of the present application;
[0085] Figure 7A-7C is another set of interface schematic diagrams provided in an embodiment of the present application;
[0086] Figure 8A-8C is another set of interface schematic diagrams provided in an embodiment of the present application;
[0087] Figure 9A-9C is another set of interface schematic diagrams provided in an embodiment of the present application;
[0088] Figures 10A-10F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0089] Fig.11 It is a schematic diagram of a process of switching a wireless near field communication service from an on state to an intermediate state provided by an embodiment of the present application;
[0090] Figures 12A-12F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0091] Figures 13A-13F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0092] Figure 14A-14F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0093] Figures 15A-15F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0094] Figures 16A-16F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0095] Figures 17A-17F is another set of interface schematic diagrams provided in an embodiment of the present application;
[0096] Figure 18A-18F This is another set of interface schematic diagrams provided in an embodiment of the present application. DETAILED DESCRIPTION
[0097] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0098] With the development of science and technology, electronic devices have gradually become one of the indispensable tools in people's lives. Electronic devices can run full-scenario collaborative services such as file sharing, wireless screen projection, multi-screen collaboration, cross-device clipboard, application flow, keyboard and mouse sharing, and service intercommunication with other electronic devices. These full-scenario collaborative services require the initiating electronic device and the receiving electronic device to jointly turn on the Bluetooth and WiFi functions. For example, in the scenario where different users share files, user A needs to turn on the Bluetooth and WiFi functions of electronic device A, and user B also needs to turn on the Bluetooth and WiFi functions of electronic device B. Then, user A and user B can turn on the file sharing service respectively, user A can select files and share them with user B, and user B can confirm the receipt of the files shared by user A. For another example, in the scenario where the same user takes photos across devices, user A needs to turn on the Bluetooth and WiFi functions of electronic device A and electronic device B respectively. Then, user A can use electronic device A to initiate a cross-device photo service and use the camera of electronic device B to take photos. After saving the photos taken, user A can use electronic device A to confirm the receipt of photos taken by electronic device B. However, according to statistics, for WiFi, 73% of the subjects' mobile phones or tablets have had their WiFi turned on in the last 24 hours, and 27% of the subjects' mobile phones or tablets have had their WiFi turned off in the last 24 hours; for Bluetooth, only 33% of the subjects' mobile phones or tablets have had their Bluetooth turned on in the last 24 hours, while as many as 67% of the subjects' mobile phones or tablets have had their Bluetooth turned off in the last 24 hours. This shows that most users may not often keep the Bluetooth and WiFi functions of their electronic devices turned on, which will affect the operation of full-scenario collaborative services.
[0099] At present, the operation of full-scenario collaborative services is usually promoted by setting three display states for the Bluetooth control and / or WiFi control of the control center: on state, off state, and an intermediate state between on and off. When the Bluetooth control and WiFi control of the control center are in an on state or an intermediate state between on and off, the electronic device can run the full-scenario collaborative service. In this way, the display state of the Bluetooth control and WiFi control is more complicated, which changes the user's cognition of the control switch, increases the user's learning cost, and is not friendly to primary users.
[0100] Based on the above problems, the embodiment of the present application provides an electronic device for communication, and the wireless near field communication service of the electronic device includes one or more of the following: Bluetooth, WiFi, and the wireless near field communication service has an on state, an intermediate state, and an off state. Among them, when the wireless near field communication service is in the on state, the electronic device supports the operation of the first service and the second service; when the wireless near field communication service is in the off state, the electronic device does not support the operation of the first service and the second service; when the wireless near field communication service is in the intermediate state, the electronic device does not support the operation of the second service but supports the operation of the first service. The control center of the electronic device is configured to display the wireless near field communication service control, and the setting interface of the electronic device is configured to display the first switch, and the setting interface is different from the interface of the control center; when the first switch is turned on, the wireless near field communication service control is used to control the wireless near field communication service to switch between the on state and the intermediate state; when the first switch is turned off, the wireless near field communication service control is used to control the wireless near field communication service to switch between the on state and the off state. In this way, the user can maintain the operation of the full-scene collaborative service without frequent operation of the wireless near field communication service control, which is more friendly to primary users and improves the user experience.
[0101] Among them, the wireless near-field communication service can also include SparkLink. Regarding the SparkLink technology, the following protocols can be referred to: T / XS 00001-2022, SparkLink Wireless Communication System–Architecture, V1.0.0; T / XS 00002-2022, SparkLink Wireless Communication SystemLayer 2 Identification Allocation Guidelines, V1.0.0; T / XS10002-2022, SparkLinkWireless Communication-Radio Access Layer-Air-interface Low Energy TechnicalRequirements and Test Methods, V1.0.0; T / XS20001-2022, SparkLink WirelessCommunication System–Basic Service Layer-Device Discovery and ServiceManagement, V1.0.0; T / XS20002-2022, SparkLink Wireless Communication System-Basic Serveice Layer-Data transmission and Control Management, V1.0.0; T / XS20003-2022, Sparklink Wireless Communication System-Basic Service Layer–QoSManagement, V1.0.0; T / XS 40001-2022, SparkLink Wireless Communication System-Cybersecurity–General Requirements, V1.0.0; T / XS 50001-2022, SparkLink WirelessCommunication System-Test-SparkLink Basic Access Technology(SLB)DeviceSecurity Requirements and Test Methods, V1.0.0; T / XS 50002-2022, SparkLink Wireless Communication System-Test-SparkLink Basic Access Technology (SLB) Device Security Requirements and Test Methods, V1.0.0. .
[0102] Among them, the display state of the wireless near field communication service control only has a first state (on state) and a second state (off state), and the wireless near field communication service control can be displayed in the control center and can also be displayed in the setting application (setting interface), and the display state of the wireless near field communication service control displayed in the setting application (setting interface) changes synchronously with the display state of the wireless near field communication service control displayed in the control center, that is, when the display state of the wireless near field communication service control displayed in one position changes, the display state of the wireless near field communication service control displayed in another position will also change. Exemplarily, when the display state of the Bluetooth and WiFi controls displayed in the control center changes from the off state to the on state, the display state of the Bluetooth and WiFi controls displayed in the setting application will also change from the off state to the on state.
[0103] Among them, the first service may be a full-scenario collaborative service (i.e., a near-field private protocol interconnection service), which refers to a service in which electronic devices perform near-field interconnection and networking through a private protocol in a low-power scenario, and may include but is not limited to one or more of the following: file sharing, wireless screen projection, multi-screen collaboration, cross-device clipboard, keyboard and mouse sharing, service interoperability, and continuation. The second service may be a device scenario service, which refers to a service in which an electronic device establishes a connection with a peripheral device, and may include but is not limited to one or more of the following: watch device connection, bracelet device connection, audio device connection, headphone device connection, speaker device connection, stylus connection, and Bluetooth mouse connection. It can be understood that the power consumption of the first service is lower than that of the second service.
[0104] In some embodiments, when the wireless near-field communication service is turned on, the electronic device supports the operation of the first service and the second service, which may specifically mean that when the electronic device is already running the first service and the second service, the electronic device can keep the first service and the second service running. Exemplarily, the electronic device is running the first service of the cross-device clipboard and the second service connected by the stylus. If Bluetooth and WiFi are both turned on, the electronic device can keep the first service of the cross-device clipboard and the second service connected by the stylus running. Alternatively, when the electronic device has not yet run the first service and the second service, the startup operation of the first service and the second service is detected, and the electronic device can start the first service and the second service. Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service connected by the stylus. If Bluetooth and WiFi are both turned on, and the operation of starting the first service of the cross-device clipboard and the second service connected by the stylus is detected, the electronic device can start the first service of the cross-device clipboard and the second service connected by the stylus.
[0105] In some embodiments, when the wireless near-field communication service is in a closed state, the electronic device does not support the operation of the first service and the second service, which may specifically mean that when the electronic device is already running the first service and the second service, the electronic device may stop running the first service and the second service. Exemplarily, the electronic device is running the first service of the cross-device clipboard and the second service connected by the stylus. If Bluetooth and WiFi are both in a closed state, the electronic device may stop running the first service of the cross-device clipboard and the second service connected by the stylus. Alternatively, when the electronic device has not yet run the first service and the second service, the start-up operation of the first service and the second service is detected, and the electronic device may not start the first service and the second service. Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service connected by the stylus. If Bluetooth and WiFi are both in a closed state, the operation of starting the first service of the cross-device clipboard and the second service connected by the stylus is detected, and the electronic device may not start the first service of the cross-device clipboard and the second service connected by the stylus.
[0106] In some embodiments, when the wireless near field communication service is in an intermediate state, the electronic device does not support the second service but supports the operation of the first service, which may specifically mean: when the electronic device has already run the first service and the second service, the electronic device may stop running the second service, but keep the first service running. Exemplarily, the electronic device is running the first service of the cross-device clipboard and the second service of the stylus connection. If Bluetooth and WiFi are both in an intermediate state, the electronic device may stop running the second service of the stylus connection, but keep the first service of the cross-device clipboard running. Alternatively, when the electronic device has not yet run the first service and the second service, the start operation of the first service and the second service is detected, and the electronic device may not start the second service, but start the first service. Exemplarily, the electronic device has not yet run the first service of the cross-device clipboard and the second service of the stylus connection. If Bluetooth and WiFi are both in an intermediate state, the operation of starting the first service of the cross-device clipboard and the second service of the stylus connection is detected, then the electronic device may not start the second service of the stylus connection, but start the first service of the cross-device clipboard. Among them, the intermediate state is an intermediate state between the open state and the closed state. Currently, in the control center of some electronic devices, if the display status of the Bluetooth control and / or WiFi control is this intermediate state, these electronic devices can run the first service (full-scenario collaborative service) as if they were in the on state, but cannot run the second service (device scenario service).
[0107] First, an electronic device 100 provided in an embodiment of the present application is introduced.
[0108] Figure 1 An electronic device 100 provided in an embodiment of the present application is exemplarily shown.
[0109] In the embodiment of the present application, the electronic device may be referred to as the electronic device 100. The electronic device 100 may be various types of intelligent terminal devices, and the embodiment of the present application does not limit the specific type of the electronic device 100. For example, the electronic device 100 may be a mobile phone, a mobile tablet computer, a car tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a watch, etc.
[0110] like Figure 1 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a subscriber identity module (SIM) card interface 130, a display screen 140, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a sensor module 170, etc. The sensor module 170 may include but is not limited to a touch sensor 170A.
[0111] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0112] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0113] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0114] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0115] In the embodiment of the present application, the processor 110 may be configured to control the state of the wireless communication module 160 (ie, the wireless near field communication service) to change after detecting an operation on the first switch and / or the wireless near field communication service control.
[0116] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data such as music, photos, and videos can be stored in the external memory card.
[0117] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can run the above instructions stored in the internal memory 121, so that the electronic device 100 executes the communication method provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0118] The SIM card interface 130 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting the SIM card interface 130 or pulling it out from the SIM card interface 130. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 130 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 130 at the same time. The types of the above multiple cards can be the same or different. The SIM card interface 130 can also be compatible with different types of SIM cards. The SIM card interface 130 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100. In some embodiments, the electronic device 100 may also not include a SIM card interface 130.
[0119] The electronic device 100 can realize a display function through a GPU, a display screen 140, and an application processor, etc., such as displaying a setting interface of an electronic device (such as user interface 520, user interface 530, user interface 410, user interface 420), wherein the setting interface of the electronic device includes a first switch (such as control 521, control 531, control 411, control 421), and the first switch can be used to switch the wireless near-field communication service between an off state and an intermediate state. The GPU is a microprocessor for image processing, which is connected to the display screen 140 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute instructions to generate or change display information.
[0120] The display screen 140 is used to display images, videos, etc. The display screen 140 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 140, where N is a positive integer greater than 1.
[0121] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0122] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0123] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier, etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0124] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0125] The wireless communication module 160 can provide wireless communication solutions including wireless local area network (WLAN) (such as WiFi network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), ultra wideband (UWB), SparkLink, etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna. Exemplarily, the wireless communication module 160 may include one or more of the following: Bluetooth module, WiFi module, SparkLink module, etc. In the embodiment of the present application, the wireless communication module 160 may have an open state, an intermediate state, and a closed state. In some embodiments, when the wireless communication module 160 is in the on state, the electronic device 100 may support the operation of the first service and the second service. Specifically, when the electronic device 100 has already run the first service and the second service, the electronic device 100 may keep the first service and the second service running. Alternatively, when the electronic device 100 has not yet run the first service and the second service, the start-up operation of the first service and the second service is detected, and the electronic device 100 may start the first service and the second service. In some embodiments, when the wireless communication module 160 is in the off state, the electronic device 100 may not support the operation of the first service and the second service. Specifically, when the electronic device 100 has already run the first service and the second service, the electronic device 100 may stop running the first service and the second service. Alternatively, when the electronic device 100 has not yet run the first service and the second service, the start-up operation of the first service and the second service is detected, and the electronic device 100 may not start the first service and the second service. In some embodiments, when the wireless communication module 160 is in the intermediate state, the electronic device 100 may not support the second service but support the operation of the first service. Specifically, when the electronic device 100 has already run the first service and the second service, the electronic device 100 may stop running the second service but keep the first service running.Alternatively, when the electronic device 100 has not yet started the first service and the second service, and the start-up operation of the first service and the second service is detected, the electronic device 100 may not start the second service but start the first service.
[0126] In some embodiments, a portion of the antenna of the electronic device 100 is coupled to the mobile communication module 150, and another portion of the antenna is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), millimeter wave (mmWave), BT, GNSS, WLAN, NFC, FM, UWB, and / or IR technology, 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).
[0127] Touch sensor 170A, also known as touch panel or touch-sensitive surface. Touch sensor 170A can be arranged on display screen 140, and touch sensor 170A and display screen 140 form a touch screen, also known as "touch screen". Touch sensor 170A is used to detect touch operations acting on or near it, such as a click operation on a first switch (such as control 411 in user interface 410, control 421 in user interface 420, control 521 in user interface 520, and control 531 in user interface 530), and a click operation on a wireless near-field communication service control (such as a WiFi control, a Bluetooth control, and a Star Flash control). The touch sensor can pass the detected touch operation to an application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 140. In other embodiments, touch sensor 170A can also be arranged on the surface of electronic device 100, which is different from the position where display screen 140 is located.
[0128] The following introduces a series of graphical user interfaces provided in the embodiments of the present application.
[0129] In the embodiment of the present application, the status of the wireless near-field communication service of the electronic device 100 can be fed back through the display status of one or more of the following controls: Bluetooth, WiFi, and the display status of the Bluetooth and / or WiFi controls only has an on state and a off state. Among them, the Bluetooth and / or WiFi controls can be located in the control center, and can also be located in the setting application. The display status of the Bluetooth and / or WiFi controls located in the control center and the display status of the Bluetooth and / or WiFi controls located in the setting application are changed synchronously, that is, when the display status of the Bluetooth and / or WiFi controls located in one position changes, the display status of the Bluetooth and / or WiFi controls located in another position will also change. Exemplarily, when the display status of the Bluetooth and WiFi controls located in the control center changes from the off state to the on state, the display status of the Bluetooth and WiFi controls located in the setting application will also change from the off state to the on state. Among them, the control center is a user interface that integrates multiple functions and settings, which allows users to quickly access and adjust various configurations of the system, such as WiFi, Bluetooth, volume, brightness, network settings, etc. Exemplarily, the electronic device 100 is a mobile phone, and the user can open the control center by sliding down from the top of the screen. The setting application is a system application built into the electronic device 100, which allows the user to adjust and configure various functions and parameters of the electronic device 100, such as WiFi, Bluetooth, volume, brightness, network settings, storage, security, etc. For example, the electronic device 100 is a mobile phone, and the user can open the setting application by clicking the icon of the setting application on the desktop. Generally speaking, the types of functions that can be adjusted through the setting application are more than the types of functions that can be adjusted through the control center.
[0130] For example, Figure 2A As shown, the electronic device 100 may display a user interface 210, which may be a user interface of a control center of the electronic device 100. The user interface 210 may include a wireless near-field communication service control (such as a WiFi control 211 and a Bluetooth control 212) in a closed state, and the wireless near-field communication service control may be used to enable the wireless near-field communication service. Figure 2B As shown, the electronic device 100 can display a user interface 220, which can be a user interface of a setting application of the electronic device 100. The user interface 220 can include a wireless near-field communication service control in a closed state (such as a WiFi control 221 and a Bluetooth control 222). The wireless near-field communication service control can be used to turn on the wireless near-field communication service.
[0131] In some embodiments, the electronic device 100 may receive an input operation (e.g., a click) from a user on a wireless near-field communication service control that is in an off state. In response to the input operation, the electronic device 100 may switch the display state of the wireless near-field communication service control from an off state to an on state. Figure 2A The input operation (eg, single click) of the WiFi control 211 and the Bluetooth control 212 of the user interface 210 shown in FIG. 10A , in response to the input operation, the electronic device 100 may display the following Figure 3A The user interface 310 shown in FIG. 3 is shown in FIG. 3. Furthermore, when the display state of the WiFi control 211 and the Bluetooth control 212 changes from the closed state to the open state, as shown in FIG. Figure 2B The display status of the WiFi control 221 and the Bluetooth control 222 of the user interface 220 shown in FIG. 220 will also change from the closed state to the open state (ie, the electronic device 100 can display the following information: Figure 3B For example, the electronic device 100 may receive a user action such as Figure 2B The input operation (eg, single click) of the WiFi control 221 and the Bluetooth control 222 of the user interface 220 shown in FIG. 100 is performed. In response to the input operation, the electronic device 100 may display the following Figure 3B The user interface 320 shown in FIG. 3 is shown in FIG. 3. Furthermore, when the display state of the WiFi control 221 and the Bluetooth control 222 changes from the closed state to the open state, as shown in FIG. Figure 2A The display status of the WiFi control 211 and the Bluetooth control 212 of the user interface 210 shown in FIG. 210 will also change from the closed state to the open state (ie, the electronic device 100 can display the following information: Figure 3A User interface 310 shown).
[0132] For example, Figure 3A As shown, the electronic device 100 may display a user interface 310, which may be a user interface of a control center of the electronic device 100. The user interface 310 may include a wireless near-field communication service control (such as a WiFi control 311 and a Bluetooth control 312) in an on state, and the wireless near-field communication service control may be used to turn off the wireless near-field communication service. Figure 3B As shown, the electronic device 100 can display a user interface 320, which can be a user interface of a setting application of the electronic device 100. The user interface 320 can include a wireless near-field communication service control in an turned-on state (such as a WiFi control 321 and a Bluetooth control 322), and the wireless near-field communication service control can be used to turn off the wireless near-field communication service.
[0133] In some embodiments, the electronic device 100 may receive an input operation (e.g., a click) from a user on a wireless near field communication service control that is in an on state, and in response to the input operation, the electronic device 100 may switch the display state of the wireless near field communication service control from an on state to an off state. Figure 3A The input operation (eg, single click) of the WiFi control 311 and the Bluetooth control 312 of the user interface 310 shown in FIG. 10A , in response to the input operation, the electronic device 100 may display the following Figure 2A The user interface 210 shown in FIG. 210 is shown in FIG. 210. Furthermore, when the display state of the WiFi control 311 and the Bluetooth control 312 changes from the on state to the off state, as shown in FIG. Figure 3B The display status of the WiFi control 321 and the Bluetooth control 322 of the user interface 320 shown in FIG. 1 will also change from the on state to the off state (ie, the electronic device 100 may display the following: Figure 2B For example, the electronic device 100 may receive a user action such as Figure 3B The input operation (eg, single click) of the WiFi control 321 and the Bluetooth control 322 of the user interface 320 shown in FIG. 100 is performed. In response to the input operation, the electronic device 100 may display the following Figure 2B The user interface 220 shown in FIG. 20 is shown in FIG. 20. Furthermore, when the display state of the WiFi control 321 and the Bluetooth control 322 changes from the on state to the off state, as shown in FIG. Figure 3A The display status of the WiFi control 311 and the Bluetooth control 312 of the user interface 310 shown in FIG. 1 will also change from the on state to the off state (ie, the electronic device 100 may display the following: Figure 2A User interface 210 shown).
[0134] In an embodiment of the present application, the electronic device 100 may display a setting interface of the electronic device, and the setting interface of the electronic device may include a first switch, which may be used to switch the wireless near-field communication service between an off state and an intermediate state. In some embodiments, when the wireless near-field communication service is in an off state (i.e., the display state of the online near-field communication service control is in an off state), an operation of turning on the first switch is detected, and the electronic device 100 may switch the wireless near-field communication service from the off state to the intermediate state. In other embodiments, when the wireless near-field communication service is in an intermediate state (i.e., the display state of the online near-field communication service control is in an off state and the first switch is in an on state), an operation of turning off the first switch is detected, and the electronic device 100 may switch the wireless near-field communication service from the intermediate state to the off state.
[0135] Exemplarily, the setting interface of the electronic device may be a user interface of the out-of-box experience (OOBE) of the electronic device 100, the first switch may be a multi-device collaborative enhanced service switch, and the user interface of OOBE may be a user interface that appears after the user turns on the electronic device 100 when the user first uses the electronic device 100. The setting interface of the electronic device may be, for example, the user interface 410, and the first switch may be, for example, the control 411; the setting interface of the electronic device may also be, for example, the user interface 420, and the first switch may also be, for example, the control 421.
[0136] like Figure 4A As shown, the electronic device 100 can display a user interface 410, which may include a first switch in a closed state (such as a control 411), and the first switch in the closed state can be used to turn on a multi-device collaborative enhanced service (i.e., switching the wireless near-field communication service from a closed state to an intermediate state). Optionally, the user interface 410 may also include relevant information for prompting the user to enable the multi-device collaboration enhancement service, such as prompt information 412, which may be "service enabling multi-device collaboration in multi-device collaboration, multi-device collaboration enhancement services, file sharing, continuation, wireless screen projection, keyboard and mouse sharing, super desktop, cross-device clipboard, cross-device intercommunication, and multi-screen collaboration functions. When these functions are running, they need to use Bluetooth and WLAN functions to read the MAC address, device identifier, and device name of Bluetooth and WLAN. In addition, file sharing requires calling file permissions to obtain your user account nickname and avatar information; wireless screen projection requires the use of local recording and screen recording functions; the super desktop requires reading application list information, camera, microphone, and location information permissions; navigation continuation requires enabling extended services to retrieve the content of the active window to identify the address therein. Among them, the multi-device collaboration enhancement service provides enhanced capabilities for Bluetooth and WLAN scanning and connection. Even if the Bluetooth and WLAN switches are turned off, the multi-device collaboration function can still be used; using the continuation function, you can continue the task operation on the current device between devices with the same account." It can be seen from the prompt information that the electronic device 100 prompts the user to enable the role and required permissions of the multi-device collaboration enhancement service. In some examples, the above prompt information may not be conveyed to the user in the form of text display, but may be conveyed to the user in other ways, for example, in the form of voice broadcast.
[0137] In some embodiments, the electronic device 100 may receive an input operation (e.g., a single click) from a user on a first switch that is in an off state. In response to the input operation, the electronic device 100 may switch the wireless near-field communication service from the off state to an intermediate state and display a user interface 420.
[0138] like Figure 4BAs shown, the electronic device 100 can display a user interface 420, which may include a first switch in an on state (such as a control 421), which can be used to turn off the multi-device collaborative enhancement service (i.e., switch the wireless near-field communication service from an intermediate state to an off state).
[0139] In some embodiments, the electronic device 100 may receive an input operation (e.g., a single click) from a user on a first switch that is in an on state. In response to the input operation, the electronic device 100 may switch the wireless near-field communication service from an intermediate state to an off state and display a user interface 410.
[0140] Exemplarily, the setting interface of the electronic device may be a user interface for advanced options of multi-device collaboration in a setting application, and the first switch may be a multi-device collaboration enhanced service switch. The setting interface of the electronic device may be, for example, user interface 520, and the first switch may be, for example, control 521; the setting interface of the electronic device may also be, for example, user interface 530, and the first switch may also be, for example, control 531.
[0141] like Figure 5A As shown, the electronic device 100 can display a user interface 320, which can also include a multi-device collaboration option (such as option 323). The multi-device collaboration option can include a jump control (such as control 324). Both the multi-device collaboration option and the jump control can be used to jump to the multi-device collaboration user interface (such as user interface 510).
[0142] In some embodiments, the electronic device 100 may receive a user input operation (e.g., a single click) on a multi-device collaboration option or a jump control, and in response to the input operation, the electronic device 100 may display a multi-device collaboration user interface (e.g., user interface 510).
[0143] like Figure 5B As shown, the electronic device 100 can display a user interface 510, which may include a Star Flash control in an on state (such as control 511), and advanced options (such as option 512), and the advanced options may include a jump control (such as control 513). Among them, as can be seen from the foregoing, the wireless near-field communication service may also include Star Flash, and the Star Flash control in an on state can be used to turn off the Star Flash in the wireless near-field communication service. Among them, both the advanced options and the jump controls can be used to jump to the user interface of the advanced options (such as user interface 520). The user interface 510 may also include one or more full-scene collaborative services (including but not limited to file sharing, continuation, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration) options, and the full-scene collaborative service options can be used to control the opening and closing of the full-scene collaborative service.
[0144] In some embodiments, the electronic device 100 may receive a user input operation (eg, a single click) on an advanced option or jump control, and in response to the input operation, the electronic device 100 may display a user interface for the advanced options (eg, user interface 520).
[0145] like Figure 5C As shown, the electronic device 100 can display a user interface 520, which may include a first switch in a closed state (such as a control 521), which can be used to turn on the multi-device collaborative enhancement service (i.e., switching the wireless near-field communication service from the closed state to the intermediate state). Optionally, the user interface 520 may also include relevant information for prompting the user to turn on the multi-device collaborative enhancement service, such as prompt information 522, which may be "Multi-device collaborative enhancement services provide enhanced capabilities for Bluetooth and WLAN scanning and connection, and even if the Bluetooth and WLAN switches are turned off, you can still use file sharing, connection, wireless screen projection, keyboard and mouse sharing, super desktop, cross-device clipboard, cross-device intercommunication, multi-screen collaboration and other multi-device collaborative functions." It can be seen from the prompt information that the electronic device 100 prompts the user to turn on the multi-device collaborative enhancement service. In some examples, the above prompt information may not be conveyed to the user in the form of text display, but in other ways, for example, in the form of voice broadcast.
[0146] In some embodiments, the electronic device 100 may receive an input operation (e.g., a single click) from a user on a first switch that is in an off state. In response to the input operation, the electronic device 100 may switch the wireless near-field communication service from the off state to an intermediate state and display a user interface 530.
[0147] like Figure 5D As shown, the electronic device 100 can display a user interface 530, which may include a first switch in an on state (such as a control 531), and the first switch in the on state can be used to turn off the multi-device collaborative enhancement service (i.e., switch the wireless near-field communication service from an intermediate state to an off state).
[0148] In some embodiments, the electronic device 100 may receive an input operation (e.g., a single click) from a user on a first switch that is in an on state. In response to the input operation, the electronic device 100 may switch the wireless near-field communication service from an intermediate state to an off state and display a user interface 520.
[0149] As can be seen from the foregoing, the wireless near field communication service of the electronic device 100 has an on state, an intermediate state, and an off state. When the wireless near field communication service is in the on state, the display state of the wireless near field communication service control is in the on state, and the first switch can be in the on state or in the off state. When the wireless near field communication service is in the intermediate state, the display state of the wireless near field communication service control is in the off state, and the first switch is in the on state. When the wireless near field communication service is in the off state, the display state of the wireless near field communication service control is in the off state, and the first switch is also in the off state.
[0150] Correspondingly, when the display state of the wireless near field communication service control is in the on state, no matter the first switch is in the on state or the off state, the wireless near field communication service is in the on state. When the display state of the wireless near field communication service control is in the off state and the first switch is in the on state, the wireless near field communication service is in the intermediate state. When the display state of the wireless near field communication service control is in the off state and the first switch is also in the off state, the wireless near field communication service is in the off state.
[0151] For example, Figure 6A-6C As shown, when the WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, and the SparkLink control (such as control 511) in the user interface 510 are in the on state (that is, the display state of the wireless near field communication service control is in the on state), and the first switch (such as control 531) in the user interface 530 is in the on state, the wireless near field communication service is in the on state. When the wireless near field communication service is in the on state, the wireless fidelity site (WiFi Station, WiFi STA) mode and the private connection mode (such as the private peer to peer (Peer to Peer, P2P) mode) of the WiFi in the wireless near field communication service are in the on state, the basic rate (Basic Rate, BR) mode and the low power consumption Bluetooth (Bluetooth Low Energy, BLE) mode of the Bluetooth in the wireless near field communication service are in the on state, and the SparkLink Basic access (SparkLink Basic, SLB) mode and the low power consumption access (SparkLink Low Energy, SLE) mode of the SparkLink in the wireless near field communication service are in the on state. In this case, the electronic device 100 can support the aforementioned first service (eg Figure 6B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 510 shown are in the turned-on state), and the second business is running.
[0152] For example, Figure 7A-7C As shown, when the WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, and the Star Flash control (such as control 511) in the user interface 510 are in the on state (that is, the display state of the wireless near field communication service control is in the on state), and the first switch (such as control 521) in the user interface 520 is in the off state, the wireless near field communication service is in the on state. When the wireless near field communication service is in the on state, the WiFi Station mode and the private connection mode (such as the private P2P mode) of the WiFi in the wireless near field communication service are in the on state, the BR mode and the BLE mode of the Bluetooth in the wireless near field communication service are in the on state, and the SLB mode and the SLE mode of the Star Flash in the wireless near field communication service are in the on state. In this case, the electronic device 100 can support the aforementioned first service (such as Figure 7B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 510 shown are in the turned-on state), and the second business is running.
[0153] For example, Figure 8A-8C As shown, when the WiFi control in the user interface 220 (such as control 221), the Bluetooth control in the user interface 220 (such as control 222), and the Star Flash control in the user interface 540 (such as control 541) are in the off state (that is, the display state of the wireless near-field communication service control is in the off state), and the first switch in the user interface 530 (such as control 531) is in the on state, the wireless near-field communication service is in an intermediate state. When the wireless near-field communication service is in an intermediate state, the WiFi Station mode of the WiFi in the wireless near-field communication service is in an off state, but the private connection mode of the WiFi (such as the private P2P mode) is in an on state; the BR mode of the Bluetooth in the wireless near-field communication service is in an off state, but the BLE mode of the Bluetooth is in an on state. It can be understood that the BLE mode in the on state here refers to the BLE mode that only supports full-scenario collaborative services (i.e., the private connection mode of BLE); the SLB mode of Star Flash in the wireless near-field communication service is in an off state, but the SLE mode of Star Flash is in an on state. It can be understood that the SLE mode in the on state here refers to the SLE mode that only supports full-scenario collaborative services (i.e., the private connection mode of SLE). In this case, the electronic device 100 may not support the aforementioned second service but support the operation of the aforementioned first service based on the above-mentioned mode (for example Figure 8BThe full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0154] For example, Figure 9A-9C As shown, when the WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, and the Star Flash control (such as control 551) in the user interface 550 are in the off state (that is, the display state of the wireless near-field communication service control is in the off state), and the first switch (such as control 521) in the user interface 520 is in the off state, the wireless near-field communication service is in the off state. When the wireless near-field communication service is in the off state, the WiFi Station mode and the private connection mode (such as the private P2P mode) of the WiFi in the wireless near-field communication service are in the off state, the BR mode and the BLE mode of the Bluetooth in the wireless near-field communication service are in the off state, and the SLB mode and the SLE mode of the Star Flash in the wireless near-field communication service are in the off state. In this case, the electronic device 100 may not support the aforementioned first service (such as Fig. 9B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 shown are in a closed state), and the second business is running.
[0155] In some embodiments, when the airplane mode is on, the electronic device 100 cannot receive the user's operation on the first switch. Furthermore, the wireless near-field communication service only has two states: an off state and an on state.
[0156] In some embodiments, the user does not enable the multi-device collaborative enhancement service in the OOBE user interface (such as user interface 410). When the display status of the WiFi control, the display status of the Bluetooth control, and the display status of the Star Flash control are not all consistent (i.e., the display status of the WiFi control, the display status of the Bluetooth control, and the display status of the Star Flash control are not all in the on state or not all in the off state), the operation of enabling the multi-device collaborative enhancement service is detected in the user interface of the advanced options (such as user interface 520), and the electronic device 100 can switch the state of the wireless near-field communication service to an intermediate state.
[0157] In some embodiments, when the wireless near field communication service is in the on state, if the operation of turning off the wireless near field communication service and turning on the first switch is detected, the electronic device 100 may switch the wireless near field communication service from the on state to the intermediate state. Figures 10A-10F As shown, in Fig. 10AThe WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 10B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 10C When the first switch (such as control 521) in the user interface 520 shown in the figure is in the off state, the electronic device 100 detects the off operation of the WiFi control (such as control 321), the Bluetooth control (such as control 322), and the Star Flash control (such as control 511) in the on state and the on operation of the first switch (such as control 521) in the off state, and can switch the wireless near-field communication service from the on state to the intermediate state and display Fig. 10D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig. 10E The user interface 540 shown in FIG. 5 shows a closed star flash control (such as control 541) and Fig.10F The first switch (such as control 531) in the user interface 530 shown is in the turned-on state. In the process of switching the wireless near-field communication service from the turned-on state to the intermediate state, the electronic device 100 can switch the WiFi Station mode of WiFi from on to off, but keep the private connection mode on; the electronic device 100 can also switch the BR mode of Bluetooth from on to off, but keep the BLE mode on; the electronic device 100 can also switch the SLB mode of Star Flash from on to off, but keep the SLE mode on. In this case, the electronic device 100 may not support the continued operation of the second service, but support the continued operation of the first service (for example Fig. 10B The user interface 510 and Fig. 10E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0158] A flowchart of switching a wireless near-field communication service from an on state to an intermediate state provided by an embodiment of the present application will be described in detail below.
[0159] Fig.11 The specific process of switching a wireless near field communication service from an on state to an intermediate state provided by an embodiment of the present application is exemplified. The method can be applied to Figure 1The electronic device 100 shown. The electronic device 100 may include a first software system, which may include a control center, a WiFi module, a private connection protocol module, a WiFi enhancement module, a Bluetooth module, and a Star Flash module. The WiFi module, the Bluetooth module, and the Star Flash module are respectively a WiFi driver module, a Bluetooth driver module, and a Star Flash driver module, which are essentially software modules.
[0160] like Fig.11 As shown, the method may include:
[0161] S101. The control center controls the WiFi module to switch the WiFi Station mode from on to off.
[0162] S102, the WiFi module turns off the WiFi Station mode and switches the WiFi state from the on state to the intermediate state.
[0163] Specifically, upon detecting an operation of switching the wireless near field communication service from an on state to an intermediate state, the control center may control the WiFi module to switch the WiFi Station mode from on to off, that is, the control center may send a notification to the WiFi module to turn off the WiFi Station mode.
[0164] Specifically, after receiving the notification from the control center to turn off the WiFi Station mode, the WiFi module can switch the WiFi status from activated to semi-activated. In addition to activated and semi-activated, the WiFi status can also include inactivated, semi-activated, activating, and deactivating. Among them, activated is the aforementioned on state, inactivated is the aforementioned off state, semi-activated is the aforementioned intermediate state, semi-activated is an intermediate state that has not yet reached semi-activated, activated is an intermediate state that has not yet reached activated, and deactivated is an intermediate state that has not yet reached inactivated.
[0165] Specifically, after switching the WiFi status from activated to semi-activated, the WiFi module can turn off the WiFi Station mode by calling the first interface (e.g., disablewifista interface), and switch the WiFi status to an intermediate state (i.e., semi-activated). The return value of the first interface can be a Boolean type (boolean). When the return value is true, it indicates that the WiFi module successfully turns off the WiFi Station mode. When the return value is false, it indicates that the WiFi module fails to turn off the WiFi Station mode. It is understandable that the above-mentioned first interface is limited to being called by system applications.
[0166] In some embodiments, when the WiFi Station mode is turned off, the WiFi module may also turn off the public P2P mode of WiFi.
[0167] S103: The WiFi module notifies the private connection protocol module to obtain the WiFi status.
[0168] S104: The private connection protocol module obtains the WiFi status from the WiFi module.
[0169] S105 , the WiFi module notifies the private connection protocol module that the WiFi is in an intermediate state.
[0170] S106. The private connection protocol module keeps the private connection mode turned on.
[0171] Optionally, after switching the state of WiFi to the intermediate state, the WiFi module may send a notification to the private connection protocol module to learn the state of WiFi. In some embodiments, after receiving the notification sent by the WiFi module, the private connection protocol module may send a notification to the WiFi module to obtain the state of WiFi. In other embodiments, after the WiFi module switches the state of WiFi to the intermediate state, the private connection protocol module may actively send a notification to the WiFi module to obtain the state of WiFi.
[0172] Specifically, after receiving the notification of obtaining the status of WiFi sent by the private connection protocol module, the WiFi module can obtain the status of WiFi by calling the second interface (e.g., getwifiDetailState interface). After obtaining the status of WiFi, the WiFi module can send a notification that WiFi is in an intermediate state to the private connection protocol module, so that the private connection protocol module knows that WiFi is in an intermediate state. Among them, the return value of the second interface can be of DetailState type, and the DetailState type can include seven WiFi states: activated, inactivated, semi-activated, activating, deactivating, semi-activated, and unknown. Among them, activated is the aforementioned on state, inactivated is the aforementioned off state, semi-activated is the aforementioned intermediate state, activated is an intermediate state that has not yet reached activated, deactivating is an intermediate state that has not yet reached inactivated, semi-activated is an intermediate state that has not yet reached semi-activated, and unknown is the state of WiFi other than the above six states. It can be understood that the above second interface is limited to being called by system applications.
[0173] Specifically, after knowing that the WiFi is in the intermediate state, the private connection protocol module may keep the private connection mode turned on.
[0174] S107. The WiFi module notifies the control center to switch the display state of the WiFi control from the on state to the off state.
[0175] Specifically, upon detecting an operation of switching the wireless near field communication service from an on state to an intermediate state, the WiFi module may send a notification to the control center to switch the display state of the WiFi control from an on state to an off state. After receiving the notification sent by the WiFi module, the control center may switch the display state of the WiFi control from an on state to an off state, and at the same time, the setting application may also switch the display state of the WiFi control from an on state to an off state.
[0176] S108. The WiFi module notifies the WiFi enhancement module that the WiFi is in an intermediate state.
[0177] S109. The WiFi enhancement module determines whether the P2P mode is from a third-party application.
[0178] S110. The WiFi enhancement module notifies the WiFi module to turn off the P2P mode.
[0179] Optionally, after the WiFi module switches the WiFi state from the on state to the intermediate state, the WiFi module may send a notification to the WiFi enhancement module to learn the WiFi state. In some embodiments, after receiving the notification sent by the WiFi module, the WiFi enhancement module may send a notification to the WiFi module to obtain the WiFi state. In other embodiments, after the WiFi module switches the WiFi state from the on state to the intermediate state, the WiFi enhancement module may actively send a notification to the WiFi module to obtain the WiFi state.
[0180] Specifically, after receiving the notification of obtaining the status of WiFi sent by the WiFi enhancement module, the WiFi module can obtain the status of WiFi by calling the second interface (e.g., getwifiDetailState interface). After obtaining the status of WiFi, the WiFi module can send a notification that WiFi is in an intermediate state to the WiFi enhancement module, so that the WiFi enhancement module knows that WiFi is in an intermediate state.
[0181] Specifically, after knowing that the WiFi is in the intermediate state, the WiFi enhancement module can determine whether the P2P mode of the WiFi is from a third-party application. If so, the WiFi enhancement module can send a notification to the WiFi module to turn off the P2P mode. After receiving the notification sent by the WiFi enhancement module to turn off the P2P mode, the WiFi module can turn off the P2P mode.
[0182] S111. The control center controls the Bluetooth module to switch the BR mode from on to off.
[0183] S112: The Bluetooth module turns off the BR mode and switches the Bluetooth state from the on state to the intermediate state.
[0184] S113, the Bluetooth module remains turned on in BLE mode.
[0185] S114: The Bluetooth module notifies the control center to switch the display state of the Bluetooth control from the on state to the off state.
[0186] Specifically, upon detecting an operation of switching the wireless near field communication service from an on state to an intermediate state, the control center may control the Bluetooth module to switch the BR mode from on to off, that is, the control center may send a notification to the Bluetooth module to turn off the BR mode.
[0187] Specifically, after receiving the notification of turning off the BR mode sent by the control center, the Bluetooth module can turn off the BR mode and switch the state of Bluetooth from the on state to the intermediate state. In addition, the Bluetooth module can keep the BLE mode on. After turning off the BR mode, the Bluetooth module can send a notification to the control center to switch the display state of the Bluetooth control from the on state to the off state. After receiving the notification sent by the Bluetooth module, the control center can switch the display state of the Bluetooth control from the on state to the off state. At the same time, the setting application can also switch the display state of the Bluetooth control from the on state to the off state. It can be understood that the state of Bluetooth can be identified by the state of the BR mode and the BLE mode. Specifically, if both the BR mode and the BLE mode are on, it means that the state of Bluetooth is on; if both the BR mode and the BLE mode are off, it means that the state of Bluetooth is off; if the BR mode is off and the BLE mode is on, it means that the state of Bluetooth is in the intermediate state.
[0188] S115, the control center controls the star flash module to switch the SLB mode from on to off.
[0189] S116, the star flash module turns off the SLB mode and switches the star flash state from the on state to the intermediate state.
[0190] S117, the Star Flash module remains turned on in SLE mode.
[0191] S118. The star flash module notifies the control center to switch the display state of the star flash control from the on state to the off state.
[0192] Specifically, when an operation of switching the wireless near-field communication service from an on state to an intermediate state is detected, the control center can control the Star Flash module to switch the SLB mode from on to off, that is, the control center can send a notification to the Star Flash module to turn off the SLB mode.
[0193] Specifically, after receiving the notification sent by the control center to turn off the SLB mode, the Star Flash module can turn off the SLB mode and switch the state of the Star Flash from the on state to the intermediate state. And, the Star Flash module can keep the SLE mode on. After turning off the SLB mode, the Star Flash module can send a notification to the control center to switch the display state of the Star Flash control from the on state to the off state. After receiving the notification sent by the Star Flash module, the control center can switch the display state of the Star Flash control from the on state to the off state. At the same time, the setting application can also switch the display state of the Star Flash control from the on state to the off state. It can be understood that the state of Star Flash can be identified by the state of the SLB mode and the SLE mode. Specifically, if the SLB mode and the SLE mode are both in the on state, it means that the state of Star Flash is on; if the SLB mode and the SLE mode are both in the off state, it means that the state of Star Flash is off; if the SLB mode is off and the SLE mode is on, it means that the state of Star Flash is in the intermediate state.
[0194] In the embodiment of the present application, when the wireless near field communication service switches from the on state to the intermediate state, the WiFi process may include steps S101-S110, the Bluetooth process may include steps S111-S114, and the Star Flash process may include steps S115-S118. It is easy to understand that the execution time sequence of the above WiFi process, Bluetooth process, and Star Flash process can be arbitrary. The embodiment of the present application only uses Fig.11 The execution time sequence shown is for illustration only and should not be construed as limiting the present application.
[0195] In some embodiments, when the wireless near-field communication service is in an intermediate state, the electronic device 100 may broadcast the status of WiFi through a private connection of WiFi (e.g., a private P2P connection), and / or broadcast the status of Bluetooth through a private field in Bluetooth's BLE, and / or broadcast the status of Star Flash through a private field in Star Flash's SLE, and applications registered to receive the above broadcasts can obtain the status of the wireless near-field communication service, but the intermediate state can only be obtained by system applications. In other embodiments, when the wireless near-field communication service is in an intermediate state, the application can actively obtain the status of the wireless near-field communication service from one or more of WiFi, Bluetooth, and Star Flash, but only system applications can obtain the intermediate state of the wireless near-field communication service.
[0196] In an embodiment of the present application, when the wireless near-field communication service is in an intermediate state, the soft bus service can learn the status of the wireless near-field communication service. After learning the status of the wireless near-field communication service, the soft bus service can also broadcast the status of the wireless near-field communication service. In some embodiments, when the peer device is detected, the soft bus service can parse the data packet sent by the peer device. In the process of parsing the data packet sent by the peer device, the soft bus service can distinguish the communication transmission mode of the peer device (that is, whether the peer device communicates via WiFi, Bluetooth or Star Flash). After distinguishing the communication transmission mode of the peer device, the soft bus service can communicate with the peer device through the private connection of WiFi (e.g., private P2P connection) and / or the private field in the BLE of Bluetooth and / or the private field in the SLE of Star Flash. In addition, the soft bus service can also control the broadcast cycle. It can be understood that the soft bus service only acts as a proxy for the private connection protocol of WiFi (e.g., private P2P connection protocol), the private connection protocol in the BLE of Bluetooth, and the private connection protocol in the SLE of Star Flash.
[0197] In an embodiment of the present application, when the wireless near-field communication service is in an intermediate state, the electronic device 100 can run full-scenario collaborative services through a private connection of WiFi (for example, a private P2P connection), a private field in Bluetooth's BLE, and a private field in StarFlash's SLE.
[0198] In some embodiments, when the wireless near field communication service is in the off state, if the operation of turning on the first switch is detected, the electronic device 100 may switch the wireless near field communication service from the off state to the intermediate state. Figures 12A-12F As shown, in Fig. 12A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 12B The star flash control (such as control 551) in the user interface 550 is in the closed state and Fig. 12C In the case where the first switch (such as control 521) in the user interface 520 shown is in the off state (i.e., the wireless near-field communication service is in the off state), an on operation of the first switch (such as control 521) in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the off state to the intermediate state and display Fig.12D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.12E The user interface 540 shown in FIG. 5 shows a closed star flash control (such as control 541) and Fig.12FThe first switch (such as control 531) in the user interface 530 shown is in the turned-on state. In the process of switching the wireless near-field communication service from the off state to the intermediate state, the electronic device 100 can switch the private connection mode of WiFi from off to on, but keep the WiFi Station mode off; the electronic device 100 can also switch the BLE mode of Bluetooth from off to on, but keep the BR mode off; the electronic device 100 can also switch the SLE mode of Star Flash from off to on, but keep the SLB mode off. In this case, the electronic device 100 can continue to not support the operation of the second service, but support the operation of the first service (for example Fig. 12B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.12E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 540 shown are in the turned-on state).
[0199] The process of switching the wireless near-field communication service from the off state to the intermediate state may include a WiFi process, a Bluetooth process, and a star flash process. Among them, the WiFi process is specifically as follows: when the operation of switching the wireless near-field communication service from the off state to the intermediate state is detected, the control center can control the WiFi module to keep the WiFi Station mode closed. Then, the WiFi module can switch the WiFi state from inactive to semi-activated. Then, the WiFi module can keep the WiFi Station mode closed and switch the WiFi state to the intermediate state (i.e., semi-activated). After knowing that the WiFi is in the intermediate state, the private connection protocol module can switch the WiFi private connection mode from off to on. When the operation of switching the wireless near-field communication service from the off state to the intermediate state is detected, the WiFi module can notify the control center to keep the display state of the WiFi control in the off state, and at the same time, the setting application can also keep the display state of the WiFi control in the off state. Among them, the Bluetooth process is specifically as follows: when the operation of switching the wireless near-field communication service from the off state to the intermediate state is detected, the control center can control the Bluetooth module to keep the BR mode closed. Then, the Bluetooth module can keep the BR mode closed and switch the Bluetooth state from the off state to the intermediate state. In addition, the Bluetooth module can switch the BLE mode of Bluetooth from off to on. After turning off the BR mode, the Bluetooth module can notify the control center to keep the display state of the Bluetooth control in the off state. At the same time, the setting application can also keep the display state of the Bluetooth control in the off state. Among them, the Star Flash process is as follows: when the operation of switching the wireless near-field communication service from the off state to the intermediate state is detected, the control center can control the Star Flash module to keep the SLB mode off. Then, the Star Flash module can keep the SLB mode off and switch the state of Star Flash from the off state to the intermediate state. In addition, the Star Flash module can switch the SLE mode of Star Flash from off to on. After turning off the SLB mode, the Star Flash module can notify the control center to keep the display state of the Star Flash control in the off state. At the same time, the setting application can also keep the display state of the Star Flash control in the off state.
[0200] In an embodiment of the present application, when the wireless near-field communication service is in an intermediate state, the electronic device 100 can run full-scenario collaborative services through a private connection of WiFi (for example, a private P2P connection), a private field in Bluetooth's BLE, and a private field in StarFlash's SLE.
[0201] In some embodiments, when the wireless near field communication service is in an intermediate state, if the operation of closing the first switch is detected, the electronic device 100 may switch the wireless near field communication service from the intermediate state to the closed state. Figures 13A-13F As shown, in Fig.13A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 13B The star flash control (such as control 541) in the user interface 540 is in the closed state and Fig. 13C In the case where the first switch (such as control 531) in the user interface 530 shown is in the on state (i.e., the wireless near field communication service is in the intermediate state), a closing operation of the first switch (such as control 531) in the on state is detected, and the electronic device 100 can switch the wireless near field communication service from the intermediate state to the off state and display Fig.13D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.13E The user interface 550 shown in FIG. 5 shows a closed star flash control (such as control 551) and Fig.13F The first switch (such as control 521) in the user interface 520 shown is in the off state. In the process of switching the wireless near-field communication service from the intermediate state to the off state, the electronic device 100 can switch the private connection mode of WiFi from on to off, and keep the WiFi Station mode off; the electronic device 100 can also switch the BLE mode of Bluetooth from on to off, and keep the BR mode off; the electronic device 100 can also switch the SLE mode of Star Flash from on to off, and keep the SLB mode off. In this case, the electronic device 100 may not support the operation of the first service, and continue to not support the operation of the second service (for example Fig. 13B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 540 are in an open state, and Fig.13E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0202] The process of switching the wireless near-field communication service from the intermediate state to the closed state may include a WiFi process, a Bluetooth process, and a star flash process. Among them, the WiFi process is as follows: when the operation of switching the wireless near-field communication service from the intermediate state to the closed state is detected, the control center can control the WiFi module to keep the WiFi Station mode closed. Then, the WiFi module can switch the WiFi state from semi-activated to deactivated. Then, the WiFi module can keep the WiFi Station mode closed and switch the WiFi state to the closed state (i.e., not activated). After knowing that the WiFi is in the closed state, the private connection protocol module can switch the WiFi private connection mode from on to off. When the operation of switching the wireless near-field communication service from the intermediate state to the closed state is detected, the WiFi module can notify the control center to keep the display state of the WiFi control closed, and at the same time, the setting application can also keep the display state of the WiFi control closed. Among them, the Bluetooth process is as follows: when the operation of switching the wireless near-field communication service from the intermediate state to the closed state is detected, the control center can control the Bluetooth module to keep the BR mode closed. Then, the Bluetooth module can keep the BR mode closed and switch the Bluetooth state from the intermediate state to the closed state. In addition, the Bluetooth module can switch the BLE mode of Bluetooth from on to off. After turning off the BR mode, the Bluetooth module can notify the control center to keep the display state of the Bluetooth control in the off state. At the same time, the setting application can also keep the display state of the Bluetooth control in the off state. Among them, the Star Flash process is as follows: when the operation of switching the wireless near-field communication service from the intermediate state to the off state is detected, the control center can control the Star Flash module to keep the SLB mode off. Then, the Star Flash module can keep the SLB mode off and switch the state of Star Flash from the intermediate state to the off state. In addition, the Star Flash module can switch the SLE mode of Star Flash from on to off. After turning off the SLB mode, the Star Flash module can notify the control center to keep the display state of the Star Flash control in the off state. At the same time, the setting application can also keep the display state of the Star Flash control in the off state.
[0203] In some embodiments, when the wireless near field communication service is in the on state, the electronic device 100 detects the operation of turning on the first switch, and can keep the wireless near field communication service in the on state. Figure 14A-14F As shown, in Fig.14A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 14BThe star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 14C When the first switch (such as the control 521) in the user interface 520 shown in the figure is in the off state, and an on operation of the first switch (such as the control 521) in the off state is detected, the electronic device 100 can keep the wireless near-field communication service in the on state and display Fig.14D The user interface 320 shown in FIG. 3 includes a WiFi control (such as control 321) in an on state, a Bluetooth control (such as control 322) in a off state, Fig.14E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.14F The first switch (such as control 531) in the user interface 530 shown is in an on state. In the process of keeping the wireless near-field communication service in an on state, the electronic device 100 can keep the WiFi Station mode and private connection mode of WiFi turned on; the electronic device 100 can also keep the BR mode and BLE mode of Bluetooth turned on; the electronic device 100 can also keep the SLB mode and SLE mode of Star Flash turned on. In this case, the electronic device 100 can continue to support the operation of the first service and the second service (for example Fig. 14B The user interface 510 and Fig.14E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 shown are in the turned-on state).
[0204] In some embodiments, when the wireless near field communication service is in the on state, if the operation of closing the first switch is detected, the electronic device 100 may keep the wireless near field communication service in the on state. Figures 15A-15F As shown, in Fig.15A The WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 15B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 15C When the first switch (such as the control 531) in the user interface 530 shown in the figure is in the on state, and a closing operation of the first switch (such as the control 531) in the on state is detected, the electronic device 100 can keep the wireless near-field communication service in the on state and display Fig.15DThe user interface 320 shown in FIG. 3 includes a WiFi control (such as control 321) in an on state, a Bluetooth control (such as control 322) in a off state, Fig.15E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.15F The first switch (such as control 521) in the user interface 520 shown is in the off state. In the process of keeping the wireless near-field communication service in the on state, the electronic device 100 can keep the WiFi Station mode and the private connection mode of WiFi turned on; the electronic device 100 can also keep the BR mode and the BLE mode of Bluetooth turned on; the electronic device 100 can also keep the SLB mode and the SLE mode of Star Flash turned on. In this case, the electronic device 100 can continue to support the operation of the first service and the second service (for example Fig. 15B The user interface 510 and Fig.15E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 shown are in the turned-on state).
[0205] In some embodiments, when the wireless near field communication service is in an intermediate state, if an operation of starting the wireless near field communication service is detected, the electronic device 100 may switch the wireless near field communication service from the intermediate state to the on state. Figures 16A-16F As shown, in Fig.16A The WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig. 16B The star flash control (such as control 541) in the user interface 540 is in the closed state and Fig. 16C When the first switch (such as control 531) in the user interface 530 shown in FIG. 1 is in the on state (i.e., the wireless near-field communication service is in the intermediate state), an on operation of the wireless near-field communication service in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the intermediate state to the on state and display Fig.16D The WiFi control (such as control 321) in the user interface 320 is turned on, the Bluetooth control (such as control 322) in the user interface 320 is turned on, Fig.16E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.16FThe first switch (such as control 531) in the user interface 530 shown is in the turned-on state. In the process of switching the wireless near-field communication service from the intermediate state to the turned-on state, the electronic device 100 can switch the WiFiStation mode of WiFi from off to on, and keep the private connection mode turned on; the electronic device 100 can also switch the BR mode of Bluetooth from off to on, and keep the BLE mode turned on; the electronic device 100 can also switch the SLB mode of Star Flash from off to on, and keep the SLE mode turned on. In this case, the electronic device 100 can continue to support the continued operation of the first service, and support the operation of the second service (for example Fig. 16B The user interface 540 and Fig.16E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 510 shown are in the turned-on state).
[0206] The process of switching the wireless near-field communication service from the intermediate state to the on state may include a WiFi process, a Bluetooth process, and a star flash process. Among them, the WiFi process is specifically as follows: when the operation of switching the wireless near-field communication service from the intermediate state to the on state is detected, the control center can control the WiFi module to switch the WiFi Station mode from off to on. Then, the WiFi module can switch the WiFi state from semi-activated to activated. Then, the WiFi module can turn on the WiFiStation mode and switch the WiFi state to the on state (i.e. activated). In some embodiments, when the WiFiStation mode is turned on, the WiFi module can also turn on the public P2P mode of WiFi. After knowing that the WiFi is in the on state, the private connection protocol module can keep the private connection mode on. When the operation of switching the wireless near-field communication service from the intermediate state to the on state is detected, the WiFi module can notify the control center to switch the display state of the WiFi control from the off state to the on state, and at the same time, the setting application can also switch the display state of the WiFi control from the off state to the on state. Among them, the Bluetooth process is specifically as follows: when the operation of switching the wireless near-field communication service from the intermediate state to the on state is detected, the control center can control the Bluetooth module to switch the BR mode from off to on. Then, the Bluetooth module can switch the BR mode from off to on, and switch the state of Bluetooth from the middle state to the on state. And, the Bluetooth module can keep the BLE mode on. After turning off the BR mode, the Bluetooth module can notify the control center to switch the display state of the Bluetooth control from off to on, and at the same time, the setting application can also switch the display state of the Bluetooth control from off to on. Among them, the Star Flash process is as follows: when the operation of switching the wireless near-field communication service from the middle state to the on state is detected, the control center can control the Star Flash module to switch the SLB mode from off to on. Then, the Star Flash module can switch the SLB mode from off to on, and switch the state of the Star Flash from the middle state to the on state. And, the Star Flash module can keep the SLE mode on. After turning off the SLB mode, the Star Flash module can notify the control center to switch the display state of the Star Flash control from off to on, and at the same time, the setting application can also switch the display state of the Star Flash control from off to on.
[0207] In some embodiments, when the wireless near field communication service is in the on state, if the operation of turning off the wireless near field communication service and turning off the first switch is detected, the electronic device 100 may switch the wireless near field communication service from the on state to the off state. Figures 17A-17F As shown, in Fig.17AThe WiFi control (such as control 321) in the user interface 320, the Bluetooth control (such as control 322) in the user interface 320, Fig. 17B The star flash control (such as control 511) in the user interface 510 shown is in an open state (ie, the wireless near field communication service is in an open state) and Fig. 17C When the first switch (such as control 531) in the user interface 530 shown in the figure is in the on state, the electronic device 100 detects the off operation of the wireless near-field communication service in the on state and the first switch (such as control 531) in the on state, and can switch the wireless near-field communication service from the on state to the off state, and display Fig.17D The WiFi control (such as control 221) in the user interface 220 is turned off, the Bluetooth control (such as control 222) in the user interface 220 is turned off, Fig.17E The user interface 550 shown in FIG. 5 shows a closed star flash control (such as control 551) and Fig.17F The first switch (such as control 521) in the user interface 520 shown is in the off state. In the process of switching the wireless near-field communication service from the on state to the off state, the electronic device 100 can switch the WiFi Station mode and the private connection mode of WiFi from on to off; the electronic device 100 can also switch the BR mode and the BLE mode of Bluetooth from on to off; the electronic device 100 can also switch the SLB mode and the SLE mode of Star Flash from on to off. In this case, the electronic device 100 may not support the operation of the first service and the second service (for example, Fig. 17B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 510 are in an open state, and Fig.17E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in a closed state).
[0208] The process of switching the wireless near-field communication service from the on state to the off state may include a WiFi process, a Bluetooth process, and a Star Flash process. Among them, the WiFi process is as follows: when the operation of switching the wireless near-field communication service from the on state to the off state is detected, the control center can control the WiFi module to switch the WiFi Station mode from on to off. Then, the WiFi module can switch the WiFi state from activated to deactivated. Then, the WiFi module can turn off the WiFiStation mode and switch the WiFi state to the off state (i.e., not activated). In some embodiments, when turning off the WiFiStation mode, the WiFi module can also turn off the public P2P mode of WiFi. After knowing that the WiFi is in the off state, the private connection protocol module can switch the private connection mode of WiFi from on to off. When the operation of switching the wireless near-field communication service from the on state to the off state is detected, the WiFi module can notify the control center to switch the display state of the WiFi control from the on state to the off state. At the same time, the setting application can also switch the display state of the WiFi control from the on state to the off state. Among them, the Bluetooth process is as follows: when the operation of switching the wireless near-field communication service from the on state to the off state is detected, the control center can control the Bluetooth module to switch the BR mode from on to off. Then, the Bluetooth module can switch the BR mode from on to off, and switch the state of Bluetooth from on to off. In addition, the Bluetooth module can switch the BLE mode of Bluetooth from on to off. After turning off the BR mode, the Bluetooth module can notify the control center to switch the display state of the Bluetooth control from on to off. At the same time, the settings application can also switch the display state of the Bluetooth control from on to off. Among them, the Star Flash process is as follows: when the operation of switching the wireless near-field communication service from on to off is detected, the control center can control the Star Flash module to switch the SLB mode from on to off. Then, the Star Flash module can switch the SLB mode from on to off, and switch the state of Star Flash from on to off. In addition, the Star Flash module can switch the SLE mode of Star Flash from on to off. After turning off the SLB mode, the Star Flash module can notify the control center to switch the display state of the Star Flash control from on to off. At the same time, the Settings application can also switch the display state of the Star Flash control from on to off.
[0209] In some embodiments, when the wireless near field communication service is in the off state, if an operation to turn on the wireless near field communication service is detected, the electronic device 100 may switch the wireless near field communication service from the off state to the on state. Figures 18A-18F As shown, in Fig.18AThe WiFi control (such as control 221) in the user interface 220, the Bluetooth control (such as control 222) in the user interface 220, Fig.18B The star flash control (such as control 551) in the user interface 550 is in the closed state and Fig.18C When the first switch (such as control 521) in the user interface 520 shown in FIG. 1 is in the off state (i.e., the wireless near-field communication service is in the off state), an on operation of the wireless near-field communication service in the off state is detected, and the electronic device 100 can switch the wireless near-field communication service from the off state to the on state and display Fig.18D The WiFi control (such as control 321) in the user interface 320 is turned on, the Bluetooth control (such as control 322) in the user interface 320 is turned on, Fig.18E The user interface 510 shown in FIG. 5 shows a star flash control (such as control 511) in an open state and Fig.18F The first switch (such as control 521) in the user interface 520 shown is in the off state. In the process of switching the wireless near-field communication service from the off state to the on state, the electronic device 100 can switch the WiFiStation mode and the private connection mode of WiFi from off to on; the electronic device 100 can also switch the BR mode and the BLE mode of Bluetooth from off to on; the electronic device 100 can also switch the SLB mode and the SLE mode of Star Flash from off to on. In this case, the electronic device 100 can support the operation of the first service and the second service (for example, Fig.18B The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, and multi-screen collaboration in the user interface 550 are in a closed state, and Fig.18E The full-scenario collaborative services such as file sharing, connection, keyboard and mouse sharing, cross-device clipboard, cross-device intercommunication, super desktop, wireless screen projection, multi-screen collaboration, etc. in the user interface 550 shown are in the turned-on state).
[0210] The process of switching the wireless near-field communication service from the off state to the on state may include a WiFi process, a Bluetooth process, and a star flash process. Among them, the WiFi process is specifically as follows: when the operation of switching the wireless near-field communication service from the off state to the on state is detected, the control center can control the WiFi module to switch the WiFi Station mode from off to on. Then, the WiFi module can switch the WiFi state from inactive to active. Then, the WiFi module can turn on the WiFiStation mode and switch the WiFi state to the on state (i.e., activated). In some embodiments, when the WiFiStation mode is turned on, the WiFi module can also turn on the public P2P mode of WiFi. After knowing that WiFi is in the on state, the private connection protocol module can switch the private connection mode of WiFi from off to on. When the operation of switching the wireless near-field communication service from the off state to the on state is detected, the WiFi module can notify the control center to switch the display state of the WiFi control from the off state to the on state, and at the same time, the setting application can also switch the display state of the WiFi control from the off state to the on state. Among them, the Bluetooth process is specifically as follows: when the operation of switching the wireless near-field communication service from the off state to the on state is detected, the control center can control the Bluetooth module to switch the BR mode from off to on. Then, the Bluetooth module can switch the BR mode from off to on, and switch the state of Bluetooth from off to on. And, the Bluetooth module can switch the BLE mode of Bluetooth from off to on. After turning off the BR mode, the Bluetooth module can notify the control center to switch the display state of the Bluetooth control from off to on, and at the same time, the setting application can also switch the display state of the Bluetooth control from off to on. Among them, the Star Flash process is as follows: when the operation of switching the wireless near-field communication service from off to on is detected, the control center can control the Star Flash module to switch the SLB mode from off to on. Then, the Star Flash module can switch the SLB mode from off to on, and switch the state of Star Flash from off to on. And, the Star Flash module can switch the SLE mode of Star Flash from off to on. After turning off the SLB mode, the Star Flash module can notify the control center to switch the display state of the Star Flash control from off to on, and at the same time, the setting application can also switch the display state of the Star Flash control from off to on.
[0211] In the embodiment of the present application, the electronic device 100 can perform inter-device networking through Bluetooth BLE broadcast and BLE scanning (that is, the electronic device 100 and other devices are connected to each other and communicate to run full-scenario collaborative services). Specifically, the electronic device 100 can send BLE broadcasts to other devices, and other devices can receive BLE broadcast messages sent by the electronic device 100 through BLE scanning; the electronic device 100 can also receive broadcast messages sent by other devices through BLE scanning. BLE broadcast and BLE scanning have different duty cycles in different scenarios, which can be specifically described as follows: in a non-networked scenario, when the electronic device 100 is in the screen-on state, the duty cycle of BLE broadcast is 3.33%, and when the electronic device 100 is in the screen-off state, the electronic device 100 does not perform BLE broadcast; in a networked scenario, when the electronic device 100 is in the screen-on state and the screen-off state, the duty cycle of BLE broadcast is 3.33%, but the electronic device 100 will only maintain BLE broadcast when the surrounding devices are online; when the electronic device 100 is in the screen-on state, the duty cycle of BLE scanning is 10%, and when the electronic device 100 is in the screen-off state, the duty cycle of BLE scanning is 2%. It can be seen that when the electronic device 100 is in the screen-on state, the electronic device 100 can actively network by sending BLE broadcasts, and the duty cycle of the BLE scan is 10%; when the electronic device 100 is in the screen-off state, the electronic device 100 can passively network by not sending BLE broadcasts but only performing BLE scanning (duty cycle is 2%), so that the electronic device 100 can passively receive networking broadcast messages from surrounding devices; when the electronic device 100 is networked and in the screen-off state, the electronic device 100 can perform BLE broadcasts and BLE scanning to maintain the networking state.
[0212] The smart sensor hub (Sensor Hub) can be used to connect and process data from various sensor devices. When the central processing unit (CPU) is in sleep mode, the Sensor Hub can realize real-time control of the sensor, thereby reducing power consumption. The Sensor Hub can be used to process low-power tasks, so it is more energy-efficient than the main processor. In an embodiment of the present application, the Sensor Hub can be used to perform BLE broadcasting and BLE scanning when the electronic device 100 is in the screen-off state to maintain the networking state. Therefore, if the electronic device 100 includes a Sensor Hub, the electronic device 100 can process the tasks of BLE broadcasting and BLE scanning through the Sensor Hub when the electronic device 100 is in the screen-off state without increasing power consumption; otherwise, the electronic device 100 can adjust the duty cycle of the BLE broadcasting and BLE scanning to reduce power consumption.
[0213] In some embodiments, in a non-networked scenario, if the user has not logged into the user account on the electronic device 100, then when the electronic device 100 is in the screen-on state, the electronic device 100 may not perform BLE broadcasting, but only perform BLE scanning (with a duty cycle of 10%), and when the electronic device 100 is in the screen-off state, the electronic device 100 may not perform BLE broadcasting and BLE scanning.
[0214] Table 1
[0215]
[0216] In this example, Table 1 shows the corresponding relationship between the state of the wireless near field communication service (Bluetooth) and the power consumption of the electronic device 100. It can be seen from the above Table 1 that, compared with the wireless near field communication service (Bluetooth) being in the off state, when the wireless near field communication service (Bluetooth) is in the intermediate state and the user logs in to the user account, the screen-on current of the electronic device 100 increases, the screen-off current increases, and the 24-hour power consumption also increases. Moreover, compared with the wireless near field communication service (Bluetooth) being in the on state, when the wireless near field communication service (Bluetooth) is in the intermediate state and the user logs in to the user account, the electronic device 100 may not perform BR scanning, the whole machine current is reduced, and the 24-hour power consumption is also reduced, thereby saving the power consumption required for BR scanning.
[0217] It is understandable that the above Table 1 only exemplifies a data format for recording the corresponding relationship between the state of the wireless near field communication service (Bluetooth) and the power consumption of the electronic device 100. Not limited to this, the recording format of the corresponding relationship can also be other, and the embodiment of the present application does not limit this.
[0218] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the steps performed by the electronic device in the above method embodiment, or the steps performed by the human-computer interaction module and the computing module.
[0219] The embodiment of the present application also provides a computer program product. When the computer program product is executed on a terminal device, the terminal device can implement the steps performed by the electronic device in the above method embodiment.
[0220] The present application also provides a chip system, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps performed by the electronic device in any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0221] The term "user interface (UI), or interface for short) in the specification and drawings of this application refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. A control, also called a widget, is a basic element of a user interface. Typical controls include a toolbar, menu bar, text box, button, scrollbar, picture and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The controls contained in the interface are specified by nodes such as <head> and <body>. A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content. In addition, many applications, such as hybrid applications, usually also include web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code. For example, HTML is defined by <body> tags or nodes in the web page source code. 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0222] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0223] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0224] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0225] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0226] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0227] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. An electronic device for communication, characterized in that: The wireless near-field communication service of the electronic device includes one or more of the following: Bluetooth, wireless fidelity WiFi, and the wireless near-field communication service has an on state, an intermediate state, and an off state; wherein, when the wireless near-field communication service is in the on state, the electronic device supports the operation of the first service and the second service; when the wireless near-field communication service is in the off state, the electronic device does not support the operation of the first service and the second service; when the wireless near-field communication service is in the intermediate state, the electronic device does not support the operation of the second service but supports the operation of the first service; the control center of the electronic device is configured to display a wireless near-field communication service control, and the setting interface of the electronic device is configured to display a first switch, and the setting interface is an interface different from the control center; When the first switch is turned on, the wireless near field communication service control is used to control the wireless near field communication service to switch between the turned-on state and the intermediate state; When the first switch is turned off, the wireless near field communication service control is used to control the wireless near field communication service to switch between the on state and the off state.
2. The electronic device according to claim 1, characterized in that: The setting interface of the electronic device is configured to display the wireless near field communication service control.
3. The electronic device according to claim 1 or 2, characterized in that: The display state of the wireless near field communication service control includes a first state and a second state.
4. The electronic device according to any one of claims 1 to 3, characterized in that: The power consumption of the first service is lower than that of the second service. The first service includes one or more of the following: file sharing, wireless screen projection, multi-screen collaboration, cross-device clipboard, keyboard and mouse sharing, service interoperability, and continuation; the second service includes one or more of the following: watch device connection, bracelet device connection, audio device connection, headphone device connection, speaker device connection, stylus pen connection, and Bluetooth mouse connection.
5. The electronic device according to any one of claims 1 to 4, characterized in that: When the electronic device is already running the first service and the second service, the electronic device is specifically configured to keep the first service and the second service running; or, when the electronic device is not yet running the first service and the second service, a startup operation of the first service and the second service is detected, and the electronic device is specifically configured to start the first service and the second service.
6. The electronic device according to any one of claims 1 to 5, characterized in that: When the electronic device is already running the first service and the second service, the electronic device is specifically configured to stop running the first service and the second service; or, when the electronic device is not yet running the first service and the second service, a startup operation of the first service and the second service is detected, the electronic device is specifically configured not to start the first service and the second service.
7. The electronic device according to any one of claims 1 to 6, characterized in that: When the electronic device is already running the first service and the second service, the electronic device is specifically configured to stop running the second service but keep the first service running; or, when the electronic device is not yet running the first service and the second service, the startup operation of the first service and the second service is detected, and the electronic device is specifically configured not to start the second service but to start the first service.
8. The electronic device according to any one of claims 1 to 7, characterized in that: When the wireless near field communication service is in the off state, an operation of turning on the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the off state to the intermediate state.
9. The electronic device according to claim 8, characterized in that: The electronic device is specifically configured to switch the Bluetooth low energy consumption BLE mode of the Bluetooth from off to on, but keep the basic rate BR mode off.
10. The electronic device according to claim 8, characterized in that: The electronic device is specifically configured to switch the private connection mode of the WiFi from off to on, but keep the WiFi Station mode off.
11. The electronic device according to any one of claims 1 to 10, characterized in that: When the wireless near field communication service is in the intermediate state, an operation of closing the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the intermediate state to the closed state.
12. The electronic device according to claim 11, characterized in that: The electronic device is specifically configured to switch the BLE mode of the Bluetooth from on to off, and keep the BR mode turned off.
13. The electronic device according to claim 11, characterized in that: The electronic device is specifically configured to turn off the private connection mode of the WiFi and keep the WiFiStation mode turned off.
14. The electronic device according to any one of claims 1 to 13, characterized in that: When the wireless near field communication service is in the on state, an operation of turning on the first switch is detected, and the electronic device is further configured to keep the wireless near field communication service in the on state.
15. The electronic device according to any one of claims 1 to 14, characterized in that: When the wireless near field communication service is in the on state, an operation of closing the first switch is detected, and the electronic device is further configured to keep the wireless near field communication service in the on state.
16. The electronic device according to claim 14 or 15, characterized in that: The electronic device is specifically configured to keep the BR mode and the BLE mode of the Bluetooth turned on.
17. The electronic device according to claim 14 or 15, characterized in that: The electronic device is specifically configured to keep the WiFi Station mode and the private connection mode of the WiFi turned on.
18. The electronic device according to any one of claims 1 to 17, characterized in that: When the wireless near field communication service is in the intermediate state, an operation of starting the wireless near field communication service is detected, and the electronic device is further configured to switch the wireless near field communication service from the intermediate state to the started state.
19. The electronic device according to claim 18, characterized in that: The electronic device is specifically configured to switch the BR mode of the Bluetooth from off to on, and keep the BLE mode on.
20. The electronic device according to claim 18, characterized in that The electronic device is specifically configured to switch the WiFi Station mode of the WiFi from off to on, and keep the private connection mode on.
21. The electronic device according to any one of claims 1 to 20, characterized in that: When the wireless near field communication service is in the on state, the operation of turning off the wireless near field communication service and turning on the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the on state to the intermediate state.
22. The electronic device according to claim 21, characterized in that: The electronic device is specifically configured to switch the BR mode of the Bluetooth from on to off, but keep the BLE mode on.
23. The electronic device according to claim 22, characterized in that: The electronic device includes a first software system, wherein the first software system includes a control center and a Bluetooth module. The electronic device is specifically configured to control the Bluetooth module through the control center to switch the BR mode from on to off; the electronic device is specifically configured to turn off the BR mode through the Bluetooth module and switch the Bluetooth state from the on state to the intermediate state; the electronic device is specifically configured to keep the BLE mode on through the Bluetooth module; the electronic device is specifically configured to notify the control center through the Bluetooth module to switch the display state of the Bluetooth control from the on state to the off state.
24. The electronic device according to claim 21, characterized in that: The electronic device is specifically configured to switch the WiFi Station mode of the WiFi from on to off, but keep the private connection mode on.
25. The electronic device according to claim 24, characterized in that: The electronic device includes a first software system, wherein the first software system includes a control center, a private connection protocol module, and a WiFi module. The electronic device is specifically configured to control the WiFi module through the control center to switch the WiFiStation mode from on to off, and to notify the control center through the WiFi module to switch the display state of the WiFi control from the on state to the off state; the electronic device is specifically configured to turn off the WiFi Station mode through the WiFi module and switch the WiFi state from the on state to the intermediate state; the electronic device is specifically configured to notify the private connection protocol module through the WiFi module to learn the WiFi state; the electronic device is specifically configured to learn from the WiFi module through the private connection protocol module that the WiFi is in the intermediate state, triggering the private connection protocol module to keep the private connection mode on.
26. The electronic device according to claim 25, characterized in that: The first software system further includes a WiFi enhancement module, after the WiFi state is switched from the on state to the intermediate state, The electronic device is also configured to obtain from the WiFi module through the WiFi enhancement module that the WiFi is in the intermediate state, trigger the WiFi enhancement module to determine whether the point-to-point P2P mode of the WiFi comes from a third-party application, and if so, notify the WiFi module through the WiFi enhancement module to turn off the P2P mode.
27. The electronic device according to any one of claims 1 to 26, characterized in that: When the wireless near field communication service is in the on state, the operation of turning off the wireless near field communication service and turning off the first switch is detected, and the electronic device is further configured to switch the wireless near field communication service from the on state to the off state.
28. The electronic device according to claim 27, characterized in that: The electronic device is specifically configured to switch the BR mode and the BLE mode of the Bluetooth from on to off.
29. The electronic device according to claim 27, characterized in that: The electronic device is specifically configured to switch the WiFi Station mode and the private connection mode of the WiFi from on to off.
30. The electronic device according to any one of claims 1 to 29, characterized in that: When the wireless near field communication service is in the off state, an operation of turning on the wireless near field communication service is detected, and the electronic device is further configured to switch the wireless near field communication service from the off state to the on state.
31. The electronic device according to claim 30, characterized in that: The electronic device is specifically configured to switch the BR mode and the BLE mode of the Bluetooth from off to on.
32. The electronic device according to claim 30, characterized in that The electronic device is specifically configured to switch the WiFi Station mode and the private connection mode of the WiFi from off to on.
33. The electronic device according to any one of claims 1 to 32, characterized in that: The wireless near-field communication service also includes SparkLink.
34. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps described in any one of claims 1 to 33 are implemented.
35. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps described in any one of claims 1 to 33 are implemented.
Citation Information
Cited By
Electronic device for communication
WO2026077334A1