Device interworking system, method, electronic device, pc, and storage medium
By incorporating dual communication chips into the laptop, the problem of the laptop being unable to connect to the internet when it is powered off or in sleep mode is solved, enabling automatic wake-up and login on the electronic device side and enhancing the user's smart connectivity experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-11-22
- Publication Date
- 2026-05-29
AI Technical Summary
Users cannot initiate smart interconnection services with other devices when the laptop is powered off or in sleep mode.
Two communication chips are installed in the laptop, one for the power-on state and the other for the power-off or sleep state. Bluetooth broadcasts are sent through the second communication chip. After receiving the broadcast, the electronic device establishes a Bluetooth connection and wakes up or logs into the laptop through commands.
Even when the laptop is powered off or in sleep mode, users can initiate interconnection services on the electronic device side, simplifying operations, improving user experience, and enabling automatic account login and device interconnection.
Smart Images

Figure CN122120737A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart terminal technology, and in particular to a device interconnection system, method, electronic device, PC, and storage medium. Background Technology
[0002] Smart connectivity refers to a technology that connects various smart devices (such as smartphones, tablets, and laptops) to enable data exchange and sharing. Through smart connectivity, users can easily control and manage these devices, achieving an efficient and convenient lifestyle and work style. For example, after connecting a smartphone and a laptop, users can wirelessly project their smartphone screen onto the laptop, and then drag and drop images, documents, and other files stored on the smartphone to the laptop's storage. However, users cannot initiate smart connectivity services for a laptop when it is powered off or in sleep mode. Summary of the Invention
[0003] This application provides a device interconnection system, method, electronic device, PC, and storage medium. In this method, even when the PC is powered off or in sleep mode, the user can initiate interconnection services to the PC from the electronic device side, thereby improving the user experience.
[0004] In a first aspect, embodiments of this application provide a device interconnection system. The system includes an electronic device and a personal computer (PC). The PC includes a first communication chip and a second communication chip; when the PC is powered on, it communicates externally via the first communication chip; when the PC is powered off or in hibernation mode, the first communication chip is powered down, and the PC communicates externally via the second communication chip.
[0005] The PC is used to: send Bluetooth broadcasts via the second communication chip when the PC is in a powered-off or hibernation state; the electronic device is used to: establish a Bluetooth connection with the second communication chip in response to receiving the Bluetooth broadcast; the electronic device is also used to: display a first interface; and send a target command to the PC's second communication chip via Bluetooth in response to a first operation performed on the first interface; wherein the first operation is used to trigger a target service between the electronic device and the PC; the PC is also used to: receive the target command via the second communication chip and power on or exit hibernation state according to the target command; the electronic device is also used to: establish a communication link with the PC's first communication chip after the PC is powered on or exits hibernation state, and transmit the target service data to the PC via the communication link.
[0006] For example, electronic devices can be smartphones, tablets, etc.
[0007] For example, the first communication chip can be the main communication chip mentioned below, and the second communication chip can be the auxiliary communication chip mentioned below. When the PC is powered on, the PC can connect to the router through the first communication chip and then establish a communication connection with the cloud server. The PC can also establish Bluetooth or Wi-Fi connections with other electronic devices through the first communication chip. When the PC is powered off or in hibernation mode, the PC can connect to the router through the second communication chip and then establish a communication connection with the cloud server. The PC can also establish Bluetooth or Wi-Fi connections with other electronic devices through the second communication chip.
[0008] For example, when the PC is powered off or in hibernation mode, the PC sends Bluetooth broadcasts through the second communication chip, but does not perform Bluetooth scanning through the second communication chip.
[0009] For example, the first interface can be referred to Figure 1b The trust ring interface shown in (4) is shown in the middle.
[0010] The target service can be an interconnected service initiated by the PC, such as screen sharing or network sharing. Taking screen sharing as an example, the first operation could be dragging and dropping the screen sharing card onto the PC's device globe, as shown in the example below. Figure 1b As shown in (4).
[0011] In this embodiment, the target instruction can refer to an instruction used to control the PC (such as power-on control or wake-up control), or a control instruction used to modify the PC's state. It is understood that when the PC is powered off, the target instruction can be a power-on instruction; when the PC is in hibernation mode, the target instruction can be a wake-up instruction.
[0012] In this embodiment, the PC exits hibernation mode, which can also be referred to as the PC being woken up.
[0013] In this embodiment, for example, the communication link established between the electronic device and the first communication chip of the PC can be a Wi-Fi communication link.
[0014] In this way, even if the PC is powered off or in hibernation mode, users can initiate interconnection services for the PC from the electronic device side without having to manually turn on the PC first, which simplifies user operations and improves the user experience.
[0015] According to the first aspect, the electronic device is also used to: in response to a first operation performed in the first interface, send the PC's login password to a second communication chip of the PC via Bluetooth connection; the PC is also used to: receive the PC's login password via the second communication chip, and complete account login based on the PC's login password.
[0016] In this way, even if the PC has an account login password, users can still initiate internet services on the electronic device while the PC is powered off or in hibernation mode. In other words, the electronic device can not only control the PC to power on or exit hibernation, but also control the PC to automatically log in to the account.
[0017] According to the first aspect, or any implementation of the first aspect above, the electronic device is further configured to: display a second interface before receiving a Bluetooth broadcast; and store the PC's login password in response to a second operation performed on the second interface.
[0018] For example, the second interface can be referred to below. Figure 8 The interface shown in (2) is an example. For instance, the second operation could be entering and saving the PC's login password on the second interface.
[0019] In this way, users can pre-store the PC login password on the electronic device, which can not only control the PC to turn on or exit hibernation, but also control the PC to automatically log in to the account.
[0020] According to the first aspect, or any implementation of the first aspect above, the electronic device is specifically used for: in response to receiving a Bluetooth broadcast, determining that the type of the Bluetooth broadcast is a target type, and establishing a Bluetooth connection with the second communication chip; wherein, the target type indicates that the Bluetooth broadcast was issued by the broadcasting device when it is in a power-off state or a sleep state.
[0021] The target type can be any customized type, and this implementation method does not limit it.
[0022] In this embodiment, the type of Bluetooth broadcast sent by the PC through the second communication chip is the target type. Thus, when an electronic device receives this Bluetooth broadcast, it can determine that the broadcast was sent by the PC while it is powered off or in sleep mode.
[0023] According to the first aspect, or any implementation of the first aspect above, the electronic device is further used to: after the electronic device establishes a Bluetooth connection with the second communication chip, establish a trust ring with the PC based on the Bluetooth connection; the first interface includes information about the trust ring.
[0024] The information in the trust ring may include, but is not limited to, device information within the trust ring and the status information of each device within the trust ring. For example, refer to... Figure 7 The devices in the trust ring include smartphone A2 and PC B2. The information in the trust ring may include: device information of smartphone A2, device information of PC B2, the status of smartphone A2 in the trust ring (such as online status), and the status of PC B2 in the trust ring (such as semi-online status).
[0025] According to the first aspect, or any implementation of the first aspect above, the content of the Bluetooth broadcast includes the terminal account logged in on the PC.
[0026] According to the first aspect, or any implementation of the first aspect above, the electronic device is used to: in response to receiving a Bluetooth broadcast, parse the Bluetooth broadcast to obtain the terminal account logged in by the PC; and if the terminal account logged in by the PC is the same as the terminal account logged in by the electronic device, establish a Bluetooth connection with the second communication chip.
[0027] In this way, the electronic device can only establish a Bluetooth connection with the PC's second communication chip if the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, which better meets the actual needs of users.
[0028] According to the first aspect, or any implementation of the first aspect above, the electronic device is used to: establish a Bluetooth connection with the second communication chip when the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, and the RSSI signal broadcast by Bluetooth within the target time period meets the target conditions.
[0029] In this way, the electronic device will only establish a Bluetooth connection with the PC's second communication chip when the quality of the Bluetooth signal received by the electronic device is good, which can ensure the stability of the Bluetooth connection between the electronic device and the PC's second communication chip.
[0030] According to the first aspect, or any implementation of the first aspect above, the target condition is that the average RSSI value of the Bluetooth broadcast signal is greater than or equal to a preset threshold.
[0031] According to the first aspect, or any implementation of the first aspect above, in the first interface, the electronic device is in the first state and the PC is in the second state; the first state is different from the second state; the second state indicates that the device is currently in a powered-off state or a hibernation state, but can initiate interconnection services for the device.
[0032] For example, the first state is an online state, and the second state is a semi-online state.
[0033] Based on the first aspect, or any of the implementation methods of the first aspect above, the target business is screen sharing business.
[0034] According to the first aspect, or any implementation of the first aspect above, the electronic device is further configured to: display a third interface; the third interface includes a prompt window; and display the first interface in response to a third operation performed in the prompt window.
[0035] For example, the third interface could be... Figure 7The interface displayed on the A2 smartphone includes a prompt window 401.
[0036] For example, the third action could be clicking the confirmation option 402 in the prompt window 401.
[0037] In this way, electronic devices can pop up a prompt window to guide users, so that users can quickly open the trust ring interface and initiate interconnection services for the PC.
[0038] According to the first aspect, or any implementation of the first aspect above, the electronic device is further configured to: display a third interface; the third interface includes a prompt window; display a fourth interface in response to a third operation performed in the prompt window; and display a first interface in response to an unlocking operation performed in the fourth interface.
[0039] For example, the fourth interface could be... Figure 10 The smartphone A2 displays a lock screen 403. For example, the unlocking operation performed on this fourth screen could be a fingerprint unlock, a password unlock, or a facial recognition unlock.
[0040] This prevents users' PCs from being maliciously accessed by others and protects users' privacy.
[0041] According to the first aspect, or any implementation of the first aspect above, the electronic device is also used to: display the first interface in response to the fourth operation.
[0042] For example, the fourth operation could be clicking the Trust Ring card in the control center interface of an electronic device.
[0043] In this way, electronic devices will not display pop-up prompts to users, thus not affecting the user's immersive experience of using electronic devices.
[0044] Secondly, embodiments of this application provide a device interconnection method. The method includes:
[0045] When the PC is powered off or in hibernation mode, the PC sends Bluetooth broadcasts through the second communication chip; wherein the PC includes a first communication chip and a second communication chip; when the PC is powered on, the PC communicates with the outside world through the first communication chip; when the PC is powered off or in hibernation mode, the first communication chip is powered off, and the PC communicates with the outside world through the second communication chip.
[0046] Upon receiving a Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the second communication chip.
[0047] The electronic device displays a first interface and, in response to a first operation performed on the first interface, sends a target command to a second communication chip of the PC via Bluetooth connection; wherein, the first operation is used to trigger a target service between the electronic device and the PC;
[0048] The PC receives the target command through the second communication chip and powers on or exits hibernation mode according to the target command.
[0049] After the PC is powered on or emerges from hibernation, the electronic device establishes a communication link with the PC's first communication chip and transmits data for the target service to the PC through the communication link.
[0050] According to the second aspect, the method further includes: the electronic device responding to a first operation performed in the first interface by sending the PC's login password to a second communication chip of the PC via Bluetooth connection; the PC receiving the PC's login password via the second communication chip and completing account login based on the PC's login account password.
[0051] According to the second aspect, or any implementation of the second aspect above, the method further includes:
[0052] The electronic device displays a second interface before receiving a Bluetooth broadcast;
[0053] The electronic device, in response to a second operation performed on the second interface, stores the PC's login password.
[0054] According to the second aspect, or any implementation of the second aspect above, the electronic device, in response to receiving a Bluetooth broadcast, establishes a Bluetooth connection with the second communication chip, including:
[0055] In response to receiving a Bluetooth broadcast, the electronic device determines that the type of the Bluetooth broadcast is the target type and establishes a Bluetooth connection with the second communication chip; wherein, the target type indicates that the Bluetooth broadcast was issued by the broadcasting device when it is in a power-off or sleep state.
[0056] According to the second aspect, or any implementation of the second aspect above, the method further includes:
[0057] After the electronic device establishes a Bluetooth connection with the second communication chip, the electronic device forms a trust ring with the PC based on the Bluetooth connection; wherein, the first interface includes information about the trust ring.
[0058] According to the second aspect, or any implementation of the second aspect above, the method further includes: the content of the Bluetooth broadcast includes the terminal account logged in by the PC.
[0059] According to the second aspect, or any implementation of the second aspect above, the electronic device, in response to receiving a Bluetooth broadcast, establishes a Bluetooth connection with the second communication chip, including:
[0060] The electronic device responds by receiving a Bluetooth broadcast and parses the Bluetooth broadcast to obtain the terminal account logged into the PC;
[0061] When the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, the electronic device establishes a Bluetooth connection with the second communication chip.
[0062] According to the second aspect, or any implementation of the second aspect above, when the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, the electronic device establishes a Bluetooth connection with the second communication chip, including:
[0063] If the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, and the RSSI signal broadcast by Bluetooth within the target time period meets the target conditions, the electronic device establishes a Bluetooth connection with the second communication chip.
[0064] According to the second aspect, or any implementation of the second aspect above, the target condition is that the average RSSI value of the Bluetooth broadcast signal is greater than or equal to a preset threshold.
[0065] According to the second aspect, or any implementation of the second aspect above, in the first interface, the electronic device is in a first state and the PC is in a second state; wherein, the first state is different from the second state; the second state indicates that the device is currently in a powered-off state or a hibernation state, but can initiate interconnection services for the device.
[0066] According to the second aspect, or any of the implementation methods of the second aspect above, the target business is screen sharing business.
[0067] According to the second aspect, or any implementation of the second aspect above, the electronic device displays a first interface, including: the electronic device displays a third interface; the third interface includes a prompt window; the electronic device displays the first interface in response to a third operation performed in the prompt window.
[0068] According to the second aspect, or any implementation of the second aspect above, the electronic device displays a first interface, including: the electronic device displays a third interface; the third interface includes a prompt window; the electronic device displays a fourth interface in response to a third operation performed in the prompt window; and the electronic device displays the first interface in response to an unlocking operation performed in the fourth interface.
[0069] According to the second aspect, or any implementation of the second aspect above, the electronic device displays a first interface, including: the electronic device responds to the fourth operation by displaying the first interface.
[0070] The second aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the second aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0071] Thirdly, embodiments of this application provide a device interconnection method. This method, applied in a PC, includes:
[0072] When the PC is powered off or in hibernation mode, the PC sends a Bluetooth broadcast through the second communication chip; wherein, the PC includes a first communication chip and a second communication chip; when the PC is powered on, the PC communicates externally through the first communication chip; when the PC is powered off or in hibernation mode, the first communication chip is powered down, and the PC communicates externally through the second communication chip;
[0073] The PC establishes a Bluetooth connection with the electronic device through the second communication chip;
[0074] The PC receives the target instruction through the second communication chip and powers on or exits sleep mode according to the target instruction; wherein, the target instruction is sent by the electronic device via Bluetooth connection;
[0075] After the PC is powered on or exits hibernation, a communication link is established with the electronic device through the first communication chip, and data of the target service is received through the communication link; wherein, the data of the target service is transmitted from the electronic device to the PC through the communication link.
[0076] According to the third aspect, the method includes: the PC receiving the login password of the PC through the second communication chip, and completing account login according to the login account password of the PC; wherein, the login password of the PC is sent to the PC by the electronic device through Bluetooth connection.
[0077] According to the third aspect, or any implementation of the third aspect above, the type of Bluetooth broadcast sent by the PC through the second communication chip is a target type; wherein, the target type indicates that the Bluetooth broadcast is sent by the broadcasting device when it is in a power-off or sleep state.
[0078] According to the third aspect, or any implementation of the third aspect above, the PC is based on a Bluetooth connection and a trust loop for electronic device components.
[0079] According to the third aspect, or any implementation of the third aspect above, the content of the Bluetooth broadcast includes the terminal account logged into the PC.
[0080] According to the third aspect, or any implementation of the third aspect above, the terminal account used for PC login is the same as the terminal account used for electronic device login.
[0081] According to the third aspect, or any implementation of the third aspect above, the target service is a screen sharing service.
[0082] The third aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the third aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0083] Fourthly, embodiments of this application provide a device interconnection method. This method is applied in an electronic device and includes:
[0084] In response to receiving a Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the second communication chip of the PC; wherein the PC includes a first communication chip and a second communication chip; when the PC is powered on, the PC communicates externally through the first communication chip; when the PC is powered off or in sleep mode, the first communication chip is powered down, and the PC communicates externally through the second communication chip; the Bluetooth broadcast is sent by the PC through the second communication chip when it is powered off or in sleep mode;
[0085] The electronic device displays a first interface and, in response to a first operation performed on the first interface, sends a target command to the second communication chip of the PC via the Bluetooth connection; wherein, the first operation is used to trigger a target service between the electronic device and the PC;
[0086] After the PC is powered on or exits hibernation, the electronic device establishes a communication link with the first communication chip of the PC and transmits the data of the target service to the PC through the communication link.
[0087] According to the fourth aspect, the method further includes: the electronic device, in response to a first operation performed in the first interface, sending the login password of the PC to the second communication chip of the PC via the Bluetooth connection.
[0088] According to the fourth aspect, or any implementation of the fourth aspect above, the method further includes:
[0089] Before receiving the Bluetooth broadcast, the electronic device displays a second interface; in response to a second operation performed on the second interface, the electronic device stores the login password of the PC.
[0090] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device, in response to receiving a Bluetooth broadcast, establishes a Bluetooth connection with the second communication chip of the PC, including:
[0091] In response to receiving the Bluetooth broadcast, the electronic device determines that the type of the Bluetooth broadcast is the target type and establishes a Bluetooth connection with the second communication chip; wherein, the target type indicates that the Bluetooth broadcast was issued by the broadcasting device when it is in a power-off or sleep state.
[0092] According to the fourth aspect, or any implementation of the fourth aspect above, the method further includes: after the electronic device establishes a Bluetooth connection with the second communication chip, the electronic device establishes a trust ring with the PC based on the Bluetooth connection; wherein, the first interface includes information about the trust ring.
[0093] According to the fourth aspect, or any implementation of the fourth aspect above, the content of the Bluetooth broadcast includes the terminal account logged into the PC.
[0094] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device, in response to receiving a Bluetooth broadcast, establishes a Bluetooth connection with the second communication chip of the PC, including:
[0095] In response to receiving the Bluetooth broadcast, the electronic device parses the Bluetooth broadcast to obtain the terminal account logged in by the PC; if the terminal account logged in by the PC is the same as the terminal account logged in by the electronic device, the electronic device establishes a Bluetooth connection with the second communication chip.
[0096] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device, in response to receiving a Bluetooth broadcast, establishes a Bluetooth connection with the second communication chip of the PC, including:
[0097] If the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, and the RSSI signal broadcast by Bluetooth meets the target conditions within the target time period, the electronic device establishes a Bluetooth connection with the second communication chip.
[0098] According to the fourth aspect, or any implementation of the fourth aspect above, the target condition is that the average RSSI value of the Bluetooth broadcast signal is greater than or equal to a preset threshold.
[0099] According to the fourth aspect, or any implementation of the fourth aspect above, in the first interface, the electronic device is in a first state, and the PC is in a second state; wherein, the first state is different from the second state; the second state indicates that the device is currently in a power-off state or a hibernation state, but can initiate interconnection services for the device.
[0100] According to the fourth aspect, or any implementation of the fourth aspect above, the target service is a screen sharing service.
[0101] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device displays a first interface, including: the electronic device displays a third interface; the third interface includes a prompt window; the electronic device displays the first interface in response to a third operation performed in the prompt window.
[0102] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device displays a first interface, including: the electronic device displays a third interface; the third interface includes a prompt window; the electronic device displays a fourth interface in response to a third operation performed in the prompt window; and the electronic device displays the first interface in response to an unlocking operation performed in the fourth interface.
[0103] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device displays a first interface, including: the electronic device responds to the fourth operation by displaying the first interface.
[0104] The fourth aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the fourth aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0105] Fifthly, embodiments of this application provide a PC. The PC includes: one or more processors; a first communication chip and a second communication chip; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when executed by the one or more processors, the PC causes the PC to perform the device interconnection method of the third aspect and any one of the third aspects.
[0106] The fifth aspect and any implementation thereof correspond to the third aspect and any implementation thereof, respectively. The technical effects of the fifth aspect and any implementation thereof can be found in the technical effects of the third aspect and any implementation thereof, as described above, and will not be repeated here.
[0107] Sixthly, embodiments of this application provide an electronic device. The electronic device includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when executed by the one or more processors, cause the electronic device to perform the device interconnection method of the fourth aspect and any one of the fourth aspects.
[0108] The sixth aspect and any implementation thereof correspond to the fourth aspect and any implementation thereof, respectively. The technical effects of the sixth aspect and any implementation thereof can be found in the technical effects of the fourth aspect and any implementation thereof, as described above, and will not be repeated here.
[0109] In a seventh aspect, embodiments of this application provide a computer-readable storage medium. The computer-readable storage medium includes a computer program that, when executed on an electronic device, causes the electronic device to perform the device interconnection method of the third aspect and any one thereof, or causes the electronic device to perform the device interconnection method of the fourth aspect and any one thereof.
[0110] The seventh aspect and any implementation thereof correspond to the third aspect and any implementation thereof, or to the fourth aspect and any implementation thereof. The technical effects corresponding to the seventh aspect and any implementation thereof can be found in the technical effects corresponding to the third aspect and any implementation thereof, or in the technical effects corresponding to the fourth aspect and any implementation thereof, and will not be repeated here.
[0111] Eighthly, embodiments of this application provide a computer program product, including a computer program that, when run, causes the computer to perform the device interconnection method of the third aspect and any one of the third aspects, or causes the computer to perform the device interconnection method of the fourth aspect and any one of the fourth aspects.
[0112] The eighth aspect and any implementation thereof correspond to the third aspect and any implementation thereof, or to the fourth aspect and any implementation thereof. The technical effects corresponding to the eighth aspect and any implementation thereof can be found in the technical effects corresponding to the third aspect and any implementation thereof, or in the technical effects corresponding to the fourth aspect and any implementation thereof, and will not be repeated here.
[0113] Ninthly, embodiments of this application provide a chip including a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path. The processing circuit executes the device interconnection method of the third aspect and any one thereof, or executes the device interconnection method of the fourth aspect and any one thereof, to control the receiving pin to receive signals and to control the transmitting pin to transmit signals.
[0114] The ninth aspect and any implementation thereof correspond to the third aspect and any implementation thereof, or to the fourth aspect and any implementation thereof. The technical effects corresponding to the ninth aspect and any implementation thereof can be found in the technical effects corresponding to the third aspect and any implementation thereof, or in the technical effects corresponding to the fourth aspect and any implementation thereof, and will not be repeated here. Attached Figure Description
[0115] Figures 1a-1e This is a schematic diagram illustrating a device interconnection scenario based on a trust ring;
[0116] Figure 2a This is an illustrative diagram illustrating a scenario where device interconnection is impossible when the device is powered off.
[0117] Figure 2b This is an illustrative diagram illustrating a problem scenario where a user's trust loop is affected due to the device being powered off.
[0118] Figure 3 A schematic diagram of the hardware structure of a PC as an example;
[0119] Figures 4a-4b This is an example of a PC communicating with the outside world in different states.
[0120] Figure 5a This is an illustrative diagram showing how a PC establishes a wireless connection with a cloud server under different states.
[0121] Figure 5b This is an illustrative diagram showing how a PC receives remote control commands based on a secondary communication chip when it is powered off or in hibernation mode.
[0122] Figure 6a This is an illustrative diagram showing how a PC establishes a Bluetooth connection with a smartphone in different states.
[0123] Figure 6b This is an illustrative diagram showing how a PC receives control commands based on a secondary communication chip when it is powered off or in hibernation mode.
[0124] Figure 7 This is an illustrative diagram illustrating a scenario where a PC establishes a trust loop with a smartphone when it is powered off or in hibernation.
[0125] Figure 8 This is an illustrative diagram illustrating a scenario where the Super Wake-up feature for PCs is enabled on a smartphone.
[0126] Figure 9 This is an illustrative flowchart of a method for establishing a trust loop between a PC and a smartphone when the PC is powered off or in hibernation.
[0127] Figure 10 This is an illustrative diagram illustrating a scenario where a PC establishes a trust loop with a smartphone when it is powered off or in hibernation.
[0128] Figure 11 This is an illustrative diagram illustrating a scenario where a PC establishes a trust loop with a smartphone when it is powered off or in hibernation.
[0129] Figure 12 This is an illustrative diagram illustrating a scenario where a PC establishes a trust loop with a smartphone when it is powered off or in hibernation. Detailed Implementation
[0130] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0131] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0132] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.
[0133] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0134] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.
[0135] With the rapid development of technology, the internet has become an indispensable part of people's lives. Electronic devices such as smartphones, tablets, and PCs (Personal Computers) can be intelligently interconnected through the network, allowing users to conveniently control and manage these devices anytime, anywhere, achieving an efficient and convenient lifestyle and work style. For example, a PC can be a laptop computer.
[0136] In one alternative implementation, electronic devices can achieve smart interconnection based on the same terminal account. Devices logged into the same terminal account can automatically form a trust loop when they are close to each other, enabling application services to flow seamlessly between devices and providing users with a cross-device intelligent collaborative experience. It should be noted that these devices not only need to be logged into the same account, but also need to have Bluetooth and Wi-Fi (wireless fidelity) enabled.
[0137] For example, after establishing a trust ring among smartphones, tablets, laptops, headphones, watches, printers, and in-vehicle systems logged into the same terminal account, these devices can be displayed in the trust ring interface of any one of the devices. Within the trust ring interface, users can easily access and transfer the advantageous services of each device within the trust ring to other devices with simple operations. In other words, within the trust ring interface of one device, users can control the free flow of services from all devices in the trust ring. For instance, through the trust ring interface, users can initiate cross-device application transfer services conveniently and efficiently.
[0138] Figures 1a-1e An exemplary application scenario is shown, using cross-terminal file transfer as an example to explain the use of trust rings.
[0139] Reference Figure 1a The user has three devices: a smartphone (A1), a PC (B1), and a tablet (C1). All three devices are logged into the same account and have Bluetooth and Wi-Fi enabled. When all three devices are powered on and close to each other, they can discover each other and establish a Bluetooth connection via Bluetooth scanning. Since all three devices are logged into the same account and have the Smart Interconnect service enabled, they can automatically form a trust loop based on their Bluetooth connection. The user can then initiate Smart Interconnect services among the three devices based on this trust loop.
[0140] It should be noted that the smart interconnection function needs to be enabled before any device can perform smart interconnection services with other devices. The naming of the smart interconnection function is merely illustrative and is not intended to limit its functionality in this embodiment.
[0141] For example, a user can open the Trust Ring interface on smartphone A1 and initiate smart interconnection services between devices within this interface. Specifically, the user can initiate smart interconnection services between smartphone A1 and PC B1, between smartphone A1 and tablet C1, or between PC B1 and tablet C1 within this Trust Ring interface.
[0142] It should be noted that any two devices logged into the same terminal account can form a trust ring, and this embodiment does not limit the number of devices in the trust ring. Figures 1a-1e The scenario shown is illustrated using an example where the number of devices in the trust ring is 3.
[0143] Reference Figure 1b As shown in (1), in response to a user swiping down from the top right of the smartphone A1 screen, the smartphone A1 displays a control center interface 101. The control center interface 101 includes a trust ring card 1011. In response to a user tapping the trust ring card 1011, the smartphone A1 displays a trust ring interface 102, which can be referred to... Figure 1b As shown in (2). The trust ring interface 102 displays the device identifier of the currently formed trust ring (hereinafter referred to as the ring), which can be displayed, for example, as a device sphere. Figure 1b As shown in Figure (2), the trust ring interface 102 includes three device balls: the local device ball (i.e., the device ball corresponding to smartphone A1) 1021, the PC B1 device ball 1022, and the Pad C1 device ball 1023. Among them, PC B1 and Pad C1 are both online, for example, PC B1 device ball 1022 and Pad C1 device ball 1023 are both online.
[0144] In one optional implementation, all devices displayed in the trust ring interface are online; offline devices are not displayed. For example, smartphone A1, smartphone A2, PC B1, and tablet C1 are logged into the same terminal account. Smartphone A1, PC B1, and tablet C1 are powered on and have Bluetooth and Wi-Fi enabled, while smartphone A2 is powered off. When these devices automatically form a trust ring when they are close to each other, the trust ring interface displayed on smartphone A1, PC B1, or tablet C1 only includes the device identifiers of smartphone A1, PC B1, and tablet C1, excluding the device identifier of smartphone A2.
[0145] In one optional implementation, the trust ring interface displays both the identifiers of devices in an online state and the identifiers of devices in an offline state. The online and offline states can be distinguished by text or by the color of the device identifier (such as a device sphere); this embodiment does not limit this distinction.
[0146] Within the trust ring interface, users can initiate smart interconnection services such as screen sharing, network sharing, and keyboard / mouse sharing between devices. For example, refer to... Figure 1b In step (2), the user clicks on the device ball 1021. In response to this user action, the smartphone A1 can display the trust ring interface 103, which can be referenced... Figure 1b As shown in (3). The Trust Ring interface 103 includes icons for services supported by the local machine, such as the screen sharing service icon 1021_1 and the network sharing service icon 1021_2. For example, a user clicks the screen sharing service icon 1021_1. In response to this user action, the screen sharing service card 1021_3 is displayed on the Trust Ring interface, as can be seen in [reference]. Figure 1b As shown in (4). The user drags the screen sharing service card 1021_3 to the PC B1 device ball 1022 and releases it from the PC B1 device ball 1022. In response to this user operation, the smartphone A1 and the PC B1 establish a Wi-Fi communication link, such as a Wi-Fi peer-to-peer (P2P) connection, and the smartphone A1 shares its screen interface to the PC B1 for display through this Wi-Fi communication link.
[0147] Continue to refer to Figure 1c In the middle (1), smartphone A1 displays the trust ring interface 104. In the trust ring interface 104, a screen sharing identifier 1022_1 is displayed above the PC B1 device sphere 1022, indicating that a device is currently sharing its screen interface to this device for display. (Continue referring to...) Figure 1cIn the middle (1), the collaborative window 111 of the smartphone A1 is simultaneously displayed on the display interface of the PC B1. The display interface in the collaborative window 111 is the mobile phone interface shared by the smartphone A1 to the PC B1.
[0148] The display interface in the collaboration window 111 and the display interface of the smartphone A1 are consistent. Users can perform operations on the smartphone A1 to change the display interface of the smartphone A1 and the display interface in the collaboration window 111; users can also perform operations in the collaboration window 111 to change the display interface of the smartphone A1 and the display interface in the collaboration window 111.
[0149] For example, a user operates on smartphone A1 or performs operations in the collaboration window 111, causing smartphone A1 and collaboration window 111 to simultaneously display the gallery application interface, which can be referred to as... Figure 1c As shown in (2). This image library application interface includes multiple images. Continue to refer to... Figure 1d In the middle (1), in response to some user operations, such as opening the image folder, PCB1 displays the first interface 113 of the image folder. After the user selects six images 112 in the collaboration window 111, they drag these six images onto the folder interface 113. (See reference...) Figure 1d As shown in (2). In response to the drag-and-drop operation, smartphone A1 transmits six images 112 to PC B1 and stores these six images in the image folder of PC B1. For example, as shown in (2). Figure 1e As shown, when the image transfer is complete, PC B1 displays a second interface 114 of the image folder. The second interface 114 not only does not include the original three images in the image folder, but also includes six images transferred by smartphone A1.
[0150] As mentioned above, smartphone A1 can display a collaboration window on the PC B1 screen via multi-screen collaboration, allowing users to continue using smartphone A1 within that window. Furthermore, users can transfer files between smartphone A1 and PC B1 through this collaboration window. Similarly, users can transfer files stored on PC B1 to smartphone A1 via the collaboration window, which will not be elaborated further here.
[0151] In addition, once multiple devices such as smartphones, tablets, and PCs logged into the same terminal account form a trust loop, calls, notifications, and videos can also flow freely between these devices. This will not be elaborated further, and it can bring users an efficient work and life experience.
[0152] However, once a device goes offline, users cannot initiate smart interconnection services between devices through the trust ring interface, and thus cannot achieve the free flow of applications and services between devices.
[0153] Continued Figures 1a-1b In scenarios where PC B1 is powered off or in sleep mode, the user cannot share the screen of smartphone A1 with PC B1. Optionally, refer to... Figure 2a In the middle (1), smartphone A1 displays the Trust Ring interface 105. In the Trust Ring interface 105, because PC B1 is powered off or in hibernation, PC B1 device sphere 1022 is offline. At this time, the user cannot drag the screen sharing service card 1021_3 of the local device sphere 1021 onto PC B1 device sphere 1022, and therefore cannot initiate smart interconnection services between smartphone A1 and PC B1. Optionally, refer to... Figure 2a In step (2), smartphone A1 displays the trust ring interface 106. Because PC B1 is powered off or in sleep mode, the PC B1 device ball 1022 is not displayed in the trust ring where smartphone A1 is located. At this time, the user is unable to initiate any smart interconnection services for PC B1.
[0154] In other words, if any device logged into the same terminal account is offline (e.g., the device is powered off or in sleep mode), the user will not be able to initiate any smart interconnection services for that device in the trust ring interface. Taking PCB1 as an example again, refer to... Figure 2b If a user needs to initiate smart connectivity services for PC B1, they must first manually power on PC B1. If PC B1 requires an account password upon startup, the user must enter the password on PC B1 after manually powering it on to complete the account login process. After PC B1 powers on, it will be online in the trust ring interface of smartphone A1. This allows the user to initiate smart connectivity services for PC B1 through the trust ring interface of smartphone A1, such as sharing the smartphone A1's screen to PC B1. Specific operations are detailed above and will not be repeated here.
[0155] Understandably, other online devices in the trust loop need to be interconnected with PC B1 in similar scenarios. Once PC B1 is powered off or in hibernation mode, users need to manually power on PC B1, enter their account password, and then perform related collaborative operations. This process is relatively cumbersome and results in a poor user experience.
[0156] This application provides a PC. In addition to the existing main communication chip, the PC also includes a secondary communication chip (or small communication chip). The main communication chip has Wi-Fi and Bluetooth communication capabilities, and the secondary communication chip also has Wi-Fi and Bluetooth communication capabilities. It should be noted that the main communication chip and the secondary communication chip are two independent communication chips in the PC. "Main communication chip" and "secondary communication chip" are merely exemplary names for these two communication chips to distinguish them. These two communication chips can also be referred to as "first communication chip" and "second communication chip." This embodiment does not limit the name, size, manufacturing process, etc., of these two communication chips.
[0157] When the PC is powered on, it communicates externally through the main communication chip, such as connecting to the router's Wi-Fi network or establishing Bluetooth or Wi-Fi connections with other devices. When the PC is powered off or in hibernation mode, the main communication chip disconnects from external communication, and the PC communicates externally through the auxiliary communication chip, such as connecting to the router's Wi-Fi network or establishing Bluetooth or Wi-Fi connections with other devices.
[0158] Optionally, when the PC is powered on, it communicates externally via its main communication chip, such as connecting to a router's Wi-Fi network. The PC also establishes Bluetooth and / or Wi-Fi connections with other devices via its secondary communication chip. Thus, when the PC becomes a Station (STA) by connecting to a Wi-Fi access point using its main communication chip, it can also establish Wi-Fi connections with other terminal devices using its secondary communication chip. □ Fi P2P connections are used to perform P2P services, such as wireless screen mirroring.
[0159] In one example Figure 3 A schematic diagram of a PC structure is shown. It should be understood that... Figure 3 The PC shown is just an example, and a PC may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. Figure 3 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0160] Reference Figure 3The PC may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, a main communication chip 250, an auxiliary communication chip 260, an audio module 270, a speaker 270A, a microphone 270B, a headphone jack 270C, a sensor module 280, buttons 290, an embedded controller (EC) 291, a camera 293, a display screen 294, and a power on / off control circuit 295, etc.
[0161] Processor 210 may include one or more processing units, such as a CPU, graphics processing unit (GPU), image signal processor (ISP), memory, video codec, digital signal processor (DSP), and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0162] The PC's wireless communication function can be implemented through a main communication chip 250 or an auxiliary communication chip 260. The main communication chip 250 has Wi-Fi and Bluetooth communication capabilities, while the auxiliary communication chip 260 also has Wi-Fi and Bluetooth communication capabilities.
[0163] The main communication chip 250 and the auxiliary communication chip 260 have different power supply circuits. When the PC is powered on, both the main communication chip 250 and the auxiliary communication chip 260 are powered on. When the PC is powered off or in hibernation mode, the main communication chip 250 is powered off, while the auxiliary communication chip 260 is powered by the battery 242 and remains powered on.
[0164] When the PC is powered on, it can communicate with the outside world through the main communication chip 250, including but not limited to: the PC accessing the router's Wi-Fi network through the main communication chip 250, the PC broadcasting via Bluetooth through the main communication chip 250, the PC establishing Bluetooth connections with other devices through the main communication chip 250, and the PC establishing Wi-Fi communication links (such as Wi-Fi P2P connections) with other devices through the main communication chip 250.
[0165] In the event of a malfunction in the main communication chip 250 (such as being powered off or experiencing a failure), the PC can communicate externally through the auxiliary communication chip 260, including but not limited to: the PC accessing the router's Wi-Fi network through the auxiliary communication chip 260, the PC broadcasting via Bluetooth through the auxiliary communication chip 260, the PC establishing Bluetooth connections with other devices through the auxiliary communication chip 260, and the PC establishing Wi-Fi communication links (such as Wi-Fi P2P connections) with other devices through the auxiliary communication chip 260.
[0166] It should be noted that when the PC is powered on, it can communicate externally via both the main communication chip 250 and the auxiliary communication chip 260. For example, when the PC is powered on, it can access the router's Wi-Fi network via the main communication chip 250 to establish a wireless connection with the cloud server through the router. Simultaneously, the PC can establish Bluetooth connections with other devices via the auxiliary communication chip 260, and / or establish Wi-Fi communication links (e.g., Wi-Fi P2P connections) with other devices via the auxiliary communication chip 260.
[0167] It is understood that, in order to implement the device interconnection method in the embodiments of this application, the PC includes hardware and / or software modules that perform various functions. Based on the algorithm steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0168] For example, refer to Figure 4a In a PC, the battery powers the main communication chip and other modules (such as the CPU, memory, and display) through a first power supply circuit, and the battery powers the auxiliary communication chip and the control circuit (EC) through a second power supply circuit. Optionally, after the PC is powered off or in hibernation mode, the battery powers the auxiliary communication chip and EC through the second power supply circuit, ensuring that the auxiliary communication chip and EC are powered on. Optionally, the battery continuously powers the auxiliary communication chip and EC through the second power supply circuit, ensuring that the auxiliary communication chip and EC are always powered on. The auxiliary communication chip and EC can interact via events; the EC controls the PC, such as powering on, waking up, and powering off, by setting relevant pins in the power-on / off control circuit.
[0169] In one optional implementation, the battery powers the auxiliary communication chip via a second power supply circuit, and the battery powers the EC via a third power supply circuit, so that the power supply status of the auxiliary communication chip and the EC is independent of the first power supply circuit. Optionally, after the PC is powered off or in sleep mode, the battery powers the auxiliary communication chip via the second power supply circuit, so that the auxiliary communication chip is powered on during PC shutdown or sleep mode. Optionally, the battery continuously powers the auxiliary communication chip via the second power supply circuit, so that the auxiliary communication chip is always powered on. Optionally, after the PC is powered off or in sleep mode, the battery powers the EC via the third power supply circuit, so that the EC is powered on during PC shutdown, sleep mode, or hibernation. Optionally, the battery continuously powers the EC via the third power supply circuit, so that the EC is always powered on.
[0170] Continue to refer to Figure 4a When the PC is powered on, it can communicate externally via its main communication chip. For example, the PC can connect to a router's Wi-Fi network through the main communication chip, and then establish a wireless connection with a cloud server. At this time, the PC can establish remote connections with other devices through the cloud server, allowing users to remotely control the PC (e.g., view files) through these other devices. As another example, the PC can establish Bluetooth or Wi-Fi P2P connections with other devices through the main communication chip. In this case, the PC can perform smart interconnection services with other devices, such as screen sharing.
[0171] Reference Figure 4b When the PC is powered off or in hibernation mode, it stops supplying power to the main communication chip and other modules through the first power supply circuit, causing the main communication chip to malfunction. At this time, the PC can continue to supply power to the auxiliary communication chip through the second power supply circuit, and the auxiliary communication chip operates normally.
[0172] The auxiliary communication chip has lower performance than the main communication chip; for example, it has lower power consumption and lower communication bandwidth. Therefore, if the main communication chip malfunctions, the PC communicates externally through the auxiliary communication chip, and the PC enters a low-power mode.
[0173] Since the PC's main communication chip is powered off, its communication connection is broken, allowing the PC to communicate externally via the auxiliary communication chip. For example, the PC can access the router's Wi-Fi network through the auxiliary communication chip and then establish a wireless connection with a cloud server. At this point, the PC can establish remote connections with other devices through the cloud server, allowing users to remotely control the PC (e.g., remote power-on, remote wake-up). As another example, the PC can broadcast via Bluetooth through the auxiliary communication chip and also establish Bluetooth connections with other devices. After establishing a Bluetooth connection with other devices, users can control the PC (e.g., power-on, wake-up) through those devices.
[0174] In a PC, after the main communication chip is powered on, it can establish a wired communication link with the auxiliary communication chip. The main communication chip and the auxiliary communication chip can then exchange information based on this wired communication link.
[0175] Optionally, the main communication chip can synchronize relevant network access information (or network configuration information) to the auxiliary communication chip via the wired communication link. The auxiliary communication chip stores the network access information. This network access information may include, but is not limited to, the Wi-Fi network's SSID (Service Set Identifier) and password, the cloud server's URL (Uniform Resource Locator) address, the password for accessing the cloud server, and the PC's device ID information within the cloud server.
[0176] After receiving the network access information synchronized by the main communication chip, the auxiliary communication chip saves this information. This allows it to automatically access the router's Wi-Fi network and establish a wireless connection with the cloud server should the main communication chip malfunction. For example, when the PC is powered off or in hibernation mode, the main communication chip is powered down, disconnecting the wireless connection between it and the cloud server. The auxiliary communication chip then accesses the router's Wi-Fi network based on the pre-stored network configuration information and establishes a wireless connection with the cloud server.
[0177] Optionally, the main communication chip can also synchronize Bluetooth settings information to the auxiliary communication chip via this wired communication link, and the auxiliary communication chip can save the Bluetooth settings information. This Bluetooth settings information may include, but is not limited to, Bluetooth device information (Bluetooth address, device name, supported Bluetooth versions, etc.) and pairing keys.
[0178] After receiving the Bluetooth settings information synchronized by the main communication chip, the auxiliary communication chip saves this information so that when the PC connects via Bluetooth through the auxiliary communication chip, it can quickly identify other devices and pair with them.
[0179] After establishing a wired communication link with the auxiliary communication chip, the main communication chip can periodically send heartbeat packets to the auxiliary communication chip. Upon receiving the heartbeat packets, the auxiliary communication chip replies with acknowledgment. In this way, the main and auxiliary communication chips can mutually confirm each other's status based on heartbeat messages. Specifically, the auxiliary communication chip can determine if the main communication chip is malfunctioning based on the abnormality of the main communication chip's heartbeat packets, and the main communication chip can determine if the auxiliary communication chip is malfunctioning based on the abnormality of the auxiliary communication chip's acknowledgment messages. If the main communication chip does not receive an acknowledgment message from the auxiliary communication chip after sending a heartbeat packet within a timeout period, the main communication chip determines that the auxiliary communication chip is malfunctioning and controls the auxiliary communication chip to reset.
[0180] For example, if the secondary communication chip does not receive a heartbeat packet from the primary communication chip within a timeout period, it determines that the primary communication chip is malfunctioning. The secondary communication chip can start timing from the moment it last received a heartbeat packet from the primary communication chip to determine if a timeout has occurred; this embodiment does not limit this. As another example, if the secondary communication chip determines that the PC is in an abnormal operating state based on information transmitted by the EC, it also determines that the primary communication chip is malfunctioning.
[0181] In one alternative implementation, when the PC is powered off or in hibernation mode, the main communication chip sends a power-off event or hibernation event to the auxiliary communication chip. Upon receiving the power-off event or hibernation event, the auxiliary communication chip determines that the main communication chip is malfunctioning. Subsequently, the auxiliary communication chip can communicate externally. For example, the auxiliary communication chip can establish a wireless connection with a cloud server, or it can perform Bluetooth broadcasts.
[0182] For example, if the auxiliary communication chip does not receive a power-off event or a sleep event, and does not receive a heartbeat packet from the main communication chip within a timeout period, the auxiliary communication chip determines that the main communication chip is malfunctioning. Subsequently, the auxiliary communication chip communicates with the outside world.
[0183] For example, if the auxiliary communication chip does not receive a power-off event or a sleep event, it starts timing after sending an interaction request to the main communication chip. If it does not receive a response from the main communication chip within the timeout period, or if it fails to receive a response from the main communication chip multiple times (e.g., 10 times), it determines that the main communication chip is malfunctioning. Subsequently, the auxiliary communication chip communicates with the outside world.
[0184] When a PC establishes a wireless connection with a cloud server via an auxiliary communication chip, the user can remotely control the PC through other devices. For example, in response to a user's operation on a device, that device sends remote control commands (such as remote power-on commands, remote wake-up commands, etc.) to the PC's auxiliary communication chip through the cloud server. When a PC establishes a Bluetooth connection with other devices via its auxiliary communication chip, the user can also control the PC through those devices. For example, in response to a user's operation on a device, that device sends control commands (such as power-on commands, wake-up commands, etc.) to the PC's auxiliary communication chip through its Bluetooth connection with the PC. Upon receiving the remote control command or control command, the PC's auxiliary communication chip controls the PC accordingly. Specifically, the auxiliary communication chip can manipulate the pins of the PC's power-on / wake-up circuit via the EC (Electronic Control Panel) to achieve power-on or wake-up control of the PC.
[0185] In this embodiment, the auxiliary communication chip and the EC can be connected via an IIC (Inter-Integrated Circuit) interface, and information exchange between the auxiliary communication chip and the EC is based on the IIC bus. Specifically, the auxiliary communication chip can transmit remote control commands or control commands to the EC via the IIC bus; the EC can transmit PC status information, such as power-off status or hibernation status, to the auxiliary communication chip via the IIC bus.
[0186] After receiving remote control commands or control commands, the auxiliary communication chip sends corresponding commands to the EC via the IIC bus. The EC then configures the relevant pins of the power-on / off control circuit according to the received commands, thereby controlling the PC. For example, the EC can pull up the relevant GPIO (General-Purpose Input / Output) pins of the power-on / off control circuit to perform control operations on the PC, such as powering on, powering off, and waking up.
[0187] In addition, the EC can also detect the PC's status and send the detected PC status to the auxiliary communication chip via the IIC bus. The auxiliary communication chip can then report the PC's status information to the peer device through its communication connection. This status information can include states such as power-off and sleep.
[0188] It should be noted that the encoding method of the remote control commands or control commands received by the auxiliary communication chip and the related commands sent by the auxiliary communication chip to the EC can be the same or different; this embodiment does not limit this. For example, when the auxiliary communication chip receives a remote power-on command or power-on instruction, the instruction sent by the auxiliary communication chip to the EC is used to instruct the PC to be powered on. For example, when the auxiliary communication chip receives a remote wake-up command or wake-up instruction, the instruction sent by the auxiliary communication chip to the EC is used to instruct the PC to be woken up.
[0189] Figure 5a , Figure 5b An example is shown where a PC establishes a wireless connection with a cloud server based on a secondary communication chip.
[0190] like Figure 5a As shown, when the PC is powered on, the PC's main communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server. When the PC switches from powered on to powered off or hibernation, the wireless connection between the main communication chip and the cloud server is disconnected, and the PC's secondary communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server. In other words, when the PC is powered off or hibernation, the secondary communication chip connects to the Wi-Fi network for wireless communication, while the main communication chip, being powered off, can no longer communicate wirelessly. When the PC switches from powered off or hibernation back to powered on, the secondary communication chip disconnects from the cloud server, and the main communication chip establishes a wireless connection with the cloud server. In other words, when the PC is powered on, the main communication chip connects to the Wi-Fi network for wireless communication, while the secondary communication chip no longer communicates wirelessly.
[0191] Regarding network configuration information, the PC's main communication chip and auxiliary communication chip can synchronize in real time via a wired communication link. The network configuration information may change whether the PC is powered on, powered off, or in sleep mode; for example, the password for accessing the cloud server may expire and need to be updated. When the PC is powered on, the main communication chip can obtain the latest network configuration information, while when the PC is powered off or in sleep mode, the auxiliary communication chip can obtain the latest network configuration information. In this way, both the main and auxiliary communication chips use the latest network configuration information to access the router's Wi-Fi network and successfully establish a wireless connection with the cloud server.
[0192] With the PC powered on, it establishes a wireless connection with the cloud server via the main communication chip. When network configuration information is updated, the main communication chip updates its stored network configuration information and synchronizes the latest network configuration information to the auxiliary communication chip. The auxiliary communication chip then saves the received latest network configuration information so that it can successfully connect to the network on the first attempt in subsequent calls.
[0193] When the PC is powered off or in hibernation mode, it establishes a wireless connection with the cloud server via a secondary communication chip. When network configuration information is updated, the secondary communication chip cannot synchronize the latest network configuration information because the primary communication chip is powered off. After the PC powers on or exits hibernation, the primary communication chip powers on and establishes a wired communication link with the secondary communication chip. The primary communication chip can then actively query the secondary communication chip for the latest network configuration information. For example, if the primary communication chip finds that the network configuration information stored in the secondary communication chip is different from that stored in the primary communication chip, and the update time of the network configuration information stored in the primary communication chip is earlier than that stored in the secondary communication chip, then the primary communication chip reads the network configuration information stored in the secondary communication chip and updates its own network configuration information. As another example, if the primary communication chip finds that the network configuration information stored in the secondary communication chip is the same as that stored in the primary communication chip, then the primary communication chip does not need to update its own network configuration information.
[0194] After the auxiliary communication chip establishes a wireless connection with the cloud server, it can periodically send messages to the cloud server, such as MQTT (Message Queuing Telemetry Transport) messages or other heartbeat messages, to maintain the wireless communication link between the auxiliary communication chip and the cloud server. The power consumption of the PC maintaining the wireless communication link between the auxiliary communication chip and the cloud server is also low, for example, not exceeding 5mW. Thus, because the auxiliary communication chip maintains the wireless communication link with the cloud server, the cloud server will not release the link resources allocated to the auxiliary communication chip, ensuring that the wireless communication link between the auxiliary communication chip and the cloud server remains uninterrupted. This allows users to send remote control commands to the PC at any time based on the wireless connection between the auxiliary communication chip and the cloud server.
[0195] It should be noted that since the network configuration information used by the main communication chip and the auxiliary communication chip to establish a wireless connection with the cloud server is the same, the wireless connection between the main communication chip and the cloud server and the wireless connection between the auxiliary communication chip and the cloud server cannot exist simultaneously.
[0196] After establishing a wireless connection between the auxiliary communication chip and the cloud server, the auxiliary communication chip can also report the PC's status information to other devices (such as smartphones) through the cloud server. Specifically, the auxiliary communication chip can send the PC's status information to the router, the router will then forward the PC's status information to the cloud server, and the cloud server can then forward the PC's status information to the smartphone. In this way, the user can clearly understand the PC's status on the smartphone, such as whether it is powered off or in sleep mode.
[0197] For example, the auxiliary communication chip of a PC can obtain the PC's status information based on the event information sent by the main communication chip, and then send the PC status information to the cloud server. For instance, when the main communication chip sends a shutdown event to the auxiliary communication chip, the auxiliary communication chip determines that the current PC status is shutdown; when the main communication chip sends a hibernation event to the auxiliary communication chip, the auxiliary communication chip determines that the current PC status is hibernation.
[0198] For example, the PC's auxiliary communication chip can obtain the PC's status information based on the interaction information with the EC, and then send the PC status information to the cloud server. For instance, if the EC notifies the auxiliary communication chip via the IIC bus that the current PC status is powered off, the auxiliary communication chip will send the current PC status information as powered off to the cloud server.
[0199] Continue to refer to Figure 5b When the PC is powered off or in hibernation mode, it establishes a wireless connection with the cloud server via an auxiliary communication chip. At this time, the user can remotely control the PC using relevant applications on their smartphone (such as remote control applications), such as remotely powering on or waking up. In response to the user's remote control operation on the PC, such as clicking the remote power-on control or the remote wake-up control, the smartphone sends the corresponding remote control command to the cloud server. After receiving the remote control command, the cloud server forwards it to the PC's auxiliary communication chip via a router. Upon receiving the remote control command, the PC's auxiliary communication chip sends it to the EC (Electronic Control Unit), which then controls the PC's power-on or wake-up via its control circuit pins.
[0200] It should be noted that in this embodiment, the information exchange between the PC and the cloud server, whether the PC sends information to the cloud server or the cloud server sends information to the PC, is transmitted transparently through the router. This will not be emphasized separately in each step.
[0201] Figure 6a , Figure 6b An example is shown where a PC establishes a Bluetooth connection with a smartphone based on a secondary communication chip.
[0202] like Figure 6a As shown, when the PC is powered on, it establishes an initial Bluetooth connection with the smartphone via its main communication chip. After the PC switches from powered on to powered off or hibernation, the Bluetooth connection between the main communication chip and the smartphone is lost. At this point, the PC's secondary communication chip can re-establish a Bluetooth connection with the smartphone.
[0203] When the PC is powered off or in sleep mode, the auxiliary communication chip can send Bluetooth broadcasts and establish a Bluetooth connection with a smartphone. At this time, the main communication chip, being powered off, can no longer communicate wirelessly. After the PC switches from powered off or sleep mode to powered on, the Bluetooth connection between the auxiliary communication chip and the smartphone may or may not be disconnected; this embodiment does not impose any limitations on this.
[0204] Optionally, the initial Bluetooth connection between the PC and the smartphone can also be implemented based on a secondary communication chip. For example, when the PC is powered off or in sleep mode, the secondary communication chip sends out a Bluetooth broadcast. The smartphone scans for the Bluetooth broadcast sent by the PC through the secondary communication chip and displays the PC in its Bluetooth device list. For example, in response to the user selecting the PC in the Bluetooth device list, the smartphone requests pairing with the PC's secondary communication chip, and establishes a Bluetooth connection with the PC's secondary communication chip after successful pairing. This embodiment does not limit the pairing method; it can be a traditional pairing method based on a pairing code, or a quick pairing mode that enables automatic pairing.
[0205] Regarding Bluetooth settings, the PC's main communication chip and auxiliary communication chip can synchronize in real time via a wired communication link. Understandably, if the initial Bluetooth connection between the PC and smartphone is established using the main communication chip, the main communication chip can synchronize the Bluetooth settings corresponding to that device to the auxiliary communication chip. Conversely, if the initial Bluetooth connection is established using the auxiliary communication chip, the auxiliary communication chip can synchronize the Bluetooth settings corresponding to that device to the main communication chip after the main communication chip is powered on. In this way, both the main and auxiliary communication chips can automatically establish Bluetooth connections with the smartphone based on the stored Bluetooth settings.
[0206] After a Bluetooth connection is established between the PC's auxiliary communication chip and the smartphone, the auxiliary communication chip can also report the PC's status information to the smartphone via this Bluetooth connection. This allows the user to clearly understand the PC's status on the smartphone, such as whether it is powered off or in sleep mode.
[0207] Continue to refer to Figure 6bWhen the PC is powered off or in sleep mode, a Bluetooth connection is established between the PC's auxiliary communication chip and the smartphone. At this time, the user can control the PC through relevant applications on the smartphone (such as remote control applications, trust loop applications, etc.), such as powering on or waking it up. In response to the user's control operations on the PC, such as clicking the power-on control or the wake-up control, the smartphone sends corresponding control commands to the PC's auxiliary communication chip via its Bluetooth connection. After receiving the control commands, the PC's auxiliary communication chip forwards them to the EC (Electronic Control Unit), thereby controlling the PC's power-on or wake-up through the EC's control circuit pins.
[0208] Compared to a PC's communication system based on the main communication chip, a PC's communication system based on the auxiliary communication chip is an independent system. Even when the PC is powered off or in sleep mode, it can still communicate externally. For example, establishing a wireless connection between a PC and a cloud server using the auxiliary communication chip doesn't rely on a local router. The router doesn't need to parse the interaction information between the PC and the cloud server; the information is simply passed through the router. This makes it suitable for a wider range of scenarios, such as PCs connecting to the internet via a public router in an office. Similarly, establishing a Bluetooth connection between a PC and a smartphone using the auxiliary communication chip doesn't depend on any other devices (such as a router). The power-on or wake-up control of the PC can be achieved simply through the Bluetooth connection between the two devices.
[0209] Thus, when the PC is powered off or in hibernation mode, although the main communication chip cannot communicate externally due to power loss, the auxiliary communication chip can still communicate, powered by the PC battery. In this state, the PC can receive user commands such as power-on and wake-up through the communication connection via the auxiliary communication chip, allowing the user to control the PC at any time to meet their needs. After the PC is powered on, it communicates externally through the main communication chip, satisfying the user's requirements without requiring significant modifications to the PC's existing logic.
[0210] The embodiments of this application, by utilizing a PC equipped with an auxiliary communication chip, can solve the following problems: Figure 2b This illustrates the relatively complex user operation when initiating smart interconnection services for offline devices. In this embodiment, when the PC is powered off or in hibernation mode, the PC can establish a trust ring with other devices using the same terminal account based on its auxiliary communication chip, and be marked as semi-offline in the trust ring, allowing users to initiate smart interconnection services for that PC.
[0211] The semi-online state is a different state from the online and offline states; it can be understood as an intermediate state between online and offline. Similar to the online state, when a device is in a semi-online state within the trust ring, a user can initiate smart interconnection services for that device. It's called semi-online because the device is not powered on, but rather in a powered-off or dormant state. Therefore, unlike devices in the online state, when a user initiates a smart interconnection service for a semi-online device, the device will first be powered on or woken up, and the corresponding smart interconnection service will only be executed after it is powered on.
[0212] For example, the semi-online, online, and offline states can be distinguished by text, the color of the device ball, or a status icon, etc. This embodiment does not limit this.
[0213] Optionally, when a PC equipped with an auxiliary communication chip is powered off or in hibernation mode, the PC can be marked as online in the trust ring, allowing users to initiate smart interconnection services for that PC. The PC can also be marked as semi-online. The advantage of this is that it distinguishes itself from the online state, not only prompting the user that a smart interconnection service can be initiated for that device, but also indicating that the device is currently offline and needs to be powered on before executing the smart interconnection service. In other words, the semi-online state implicitly suggests to the user that the response time for smart interconnection services on a semi-online device will be slightly longer than on an online device, avoiding the situation where users mistakenly believe there is a problem with the service due to a prolonged unsuccessful response.
[0214] Optionally, even when the PC equipped with the auxiliary communication chip is in a powered-off or hibernation state, the PC can still be marked as offline, powered-off, or otherwise in the trust ring. This embodiment does not limit the state in which the PC (in a powered-off or hibernation state) is marked in the trust ring. It is understood that regardless of the state in which the PC is marked in the trust ring, the user can initiate smart interconnection services for it.
[0215] For example, refer to Figure 7 The user has two devices: a smartphone A2 and a PC B2. Both devices are logged into the same account, and Bluetooth, Wi-Fi, and smart connectivity services are enabled. PC B2 contains both a main communication chip and a secondary communication chip. In this scenario, PC B2 is either powered off or in sleep mode; in this state, its Bluetooth and Wi-Fi functions are implemented using its secondary communication chip.
[0216] like Figure 7As shown, PC B2 broadcasts Bluetooth information via its auxiliary communication chip. For example, PC B2 only broadcasts Bluetooth information through its auxiliary communication chip and does not perform Bluetooth scanning. Since PC B2 is in a powered-off or sleep state, it only needs to broadcast Bluetooth information to be discoverable by other devices; it does not need to actively search for other devices via Bluetooth scanning, thus avoiding wasting device power. When smartphone A2 approaches PC B2 and detects PC B2's Bluetooth broadcast, smartphone A2 can establish a Bluetooth connection with PC B2 through PC B2's auxiliary communication chip.
[0217] For example, after smartphone A2 scans the Bluetooth broadcast sent by PC B2 via the auxiliary communication chip, it determines that PCB2 is the same as the terminal account logged in on its own device, and then can send a Bluetooth connection request to PC B2. In response to the Bluetooth connection request, PC B2 establishes a Bluetooth connection with smartphone A2 via the auxiliary communication chip. If PC B2 has previously established a Bluetooth connection with smartphone A2, the two can automatically pair and establish a Bluetooth connection based on their respective recorded Bluetooth settings. If PC B2 has not previously established a Bluetooth connection with smartphone A2, the two can establish a Bluetooth connection after successful pairing.
[0218] After smartphone A2 establishes a Bluetooth connection with PC B2, smartphone A2 and PC B2 can automatically form a trust loop based on this Bluetooth connection. For example, smartphone A2 sends a trust loop establishment request to PC B2 based on this Bluetooth connection. PC B2's auxiliary communication chip authenticates and authorizes smartphone A2 based on the trust loop establishment request, and establishes a trust loop with smartphone A2 after successful authentication and authorization.
[0219] Continue to refer to Figure 7 After smartphone A2 and PC B2 automatically establish a trust ring, smartphone A2 can display a prompt window 401 to ask the user whether they need to open the trust ring interface for smart interconnection services. In response to the user clicking the confirmation option 402 in prompt window 401, smartphone A2 displays the trust ring interface. In the trust ring interface, PC B2 is in a semi-online state. The user can initiate smart interconnection services for PC B2, such as screen sharing.
[0220] Optionally, if smartphone A2 has previously established a trust ring with PC B2, after smartphone A2 establishes a Bluetooth connection with PCB2, it is not necessary for smartphone A2 to re-establish a trust ring with PC B2 based on that Bluetooth connection. For example, after smartphone A2 establishes a Bluetooth connection with PC B2, PC B2 can update its state in the trust ring. For instance, PC B2 can request an update on the status of the device in the trust ring from the trust ring server (i.e., the server related to the trust ring service). See [reference]. Figure 2a As shown in Figure (1), after smartphone A2 and PC B2 establish a trust loop, if PC B2 is powered off or in sleep mode, PC B2's state in the trust loop is offline. For example, after smartphone A2 and PC B2's auxiliary communication chip establish a Bluetooth connection, PC B2's state in the trust loop is updated to a semi-online state. Understandably, after PC B2 is powered on, its state in the trust loop is updated to an online state.
[0221] Optionally, even if PC B2 is currently powered off or in hibernation, its status can still be displayed as online in the trust ring interface of smartphone A2, thereby prompting the user to initiate smart interconnection services for PC B2. This embodiment does not limit this.
[0222] Continue to refer to Figure 7 Within the trust ring interface of smartphone A2, the user initiates a smart interconnection service for PC B2, such as dragging the screen sharing service card from the smartphone's A2 device sphere onto the PC B2 device sphere. In response to this user action, smartphone A2 first sends a power-on or wake-up command to PC B2. Smartphone A2 can send the power-on or wake-up command to PC B2 via its Bluetooth connection with PC B2's auxiliary communication chip.
[0223] After receiving a power-on or wake-up command via its auxiliary communication chip, PC B2 executes the power-on process or exits sleep mode. Understandably, when PC B2 is powered off, smartphone A2 sends a power-on command to PC B2; conversely, when PC B2 is in sleep mode, smartphone A2 sends a wake-up command. After PC B2 powers on, smartphone A2 and PC B2's main communication chip establish a Wi-Fi communication link, through which smartphone A2 shares its screen data with PC B2. Once the collaborative window of smartphone A2 is displayed on PC B2, the user can transfer files between smartphone A2 and PC B2 via drag-and-drop operations.
[0224] Thus, even when PC B2 is powered off or in hibernation mode, users can directly initiate smart interconnection services for PC B2 through the trust ring interface of smartphone A2, without having to manually power on or wake up PC B2 beforehand, simplifying user operations and improving the user experience.
[0225] Given that users may set login accounts and passwords for PCs when they are turned on, in order to implement the device interconnection method provided in this application, users can pre-store the login accounts and passwords for PCs when they are turned on at the interconnection service initiator (such as smartphones, tablets, etc.).
[0226] For example, refer to Figure 8 As shown in Figure (1), the user opens the Smart Interconnection Interface 411 in the settings application of smartphone A2. The Smart Interconnection Interface 411 includes Super Wake-up and Login function options for PC B2. When this option is enabled, smartphone A2 can execute the device interconnection method provided in the embodiments of this application, and power on or wake up PC B2 before performing mutual services with PC B2; when this option is disabled, smartphone A2 does not execute the method provided in the embodiments of this application.
[0227] Continue to refer to Figure 8 In example (1), in response to the user clicking the switch control 412 for the Super Wake-up and Login function options, the smartphone A2 switches the state of the Super Wake-up and Login function options for the PC B2 from off to on, and may display, for example... Figure 8 The account password setting interface 413 is shown in (2). The account password setting interface 413 includes options 414 for entering the login account and password for PC B2. Users can enter the login account and password used when PC B2 is powered on and then click the save control 415. In this way, the login account and password used when PC B2 is powered on are stored in the smartphone A2. When controlling PC B2 to power on or wake up PC B2, the login account and password used when PC B2 is powered on can be transmitted to PC B2, allowing PC B2 to automatically log in based on the login account and password.
[0228] Optionally, the account password setting interface 413 includes a login password field for PC B2. In this case, the user does not need to enter the PC B2 login account, but only the PC B2 login password. Thus, the smartphone A2 stores the login password used when PC B2 is powered on. When controlling PC B2 to power on or wake it up, this login password can be transmitted to PCB2, allowing PC B2 to automatically log in to the account based on that password.
[0229] Optionally, the account password setting interface 413 includes a login account field for PC B2. In this case, the user only needs to enter the PC B2's login account. Thus, the smartphone A2 stores the login account used when PC B2 is powered on. When controlling PCB2 to power on or wake up PC B2, the smartphone A2 can transmit this login account to PC B2, allowing PC B2 (such as its EC or business modules) to retrieve its locally stored login password based on this login account. Consequently, PC B2 can automatically log in using this login account and password.
[0230] Understandably, if the user has not set a login account and password for PC B2 upon startup, the user can leave the login account and password field 414 blank and directly click the save control 415. Alternatively, if the user has not set a login account and password for PC B2 upon startup, in response to the user clicking the toggle control 412 for the Super Wake-up and Login function options, the smartphone A2 will switch the status of the Super Wake-up and Login function options for PC B2 from off to on, without displaying, for example... Figure 8 The account password setting interface 413 is shown in (2). This embodiment does not limit the case where the PC B2 does not have a login account password set.
[0231] It should be noted that the scenarios involving users enabling Super Wake-Up and Login for PC B2 on the smartphone A2 side, and users storing PC B2's login account password on the smartphone A2 side, are not covered. Figure 8 This is merely an illustrative example, and the relevant interface settings are not limited in this embodiment.
[0232] Figure 9 An exemplary diagram illustrating the device interaction process is shown. For example... Figure 9 As shown, the process of the device interconnection method provided in this application embodiment may include:
[0233] The S501 and PC B2 send Bluetooth broadcasts via an auxiliary communication chip when the device is powered off or in sleep mode.
[0234] When PC B2 is powered off or in sleep mode, its main communication chip is powered down, and PC B2 can communicate externally via its auxiliary communication chip. In this embodiment, the auxiliary communication chip of PC B2 sends out Bluetooth broadcasts. Optionally, the auxiliary communication chip only performs Bluetooth broadcasts and does not perform Bluetooth scanning. This way, when other devices are near PC B2, they can scan for PC B2's Bluetooth broadcasts and thus discover PC B2's presence. When PC B2 is powered off or in sleep mode, it typically does not have active service needs, therefore PC B2 does not need to perform Bluetooth scanning via the auxiliary communication chip. PCB2 only performs Bluetooth broadcasts via the auxiliary communication chip, which does not cause much power consumption for PC B2.
[0235] For example, Bluetooth broadcasting can be a customized type of Bluetooth broadcasting, which indicates that the broadcast is sent when the broadcasting device is in a powered-off or sleep state. The content of this customized type of Bluetooth broadcasting may include, but is not limited to, the identifier of the broadcasting device and the terminal account logged into the broadcasting device.
[0236] For example, Bluetooth broadcasting can also be a general type of Bluetooth broadcasting. The content of this Bluetooth broadcast may include, but is not limited to, a broadcast device status flag, a broadcast device identifier, and the terminal account logged into the broadcast device. For instance, a first value for the broadcast device status flag indicates that the broadcast device is powered off; a second value indicates that the broadcast device is in sleep mode.
[0237] S502, the communication module of smartphone A2 scans the Bluetooth broadcast of PC B2 and parses the broadcast data.
[0238] When smartphone A2 is close to PC B2, for example, when the distance between smartphone A2 and PC B2 is less than a preset threshold, smartphone A2 can scan the Bluetooth broadcast of PC B2, and then smartphone A2 can parse the data carried by the Bluetooth broadcast.
[0239] For example, if the type of Bluetooth broadcast scanned by smartphone A2 is a customized type, smartphone A2 can determine whether the broadcasting device is in a powered-off or sleep state based on the customized type. Furthermore, smartphone A2 can also parse the broadcasting device's identifier and the terminal account logged into the broadcasting device from the Bluetooth broadcast, such as parsing the identifier of PCB2 and the terminal account logged into PC B2.
[0240] For example, if the type of Bluetooth broadcast scanned by smartphone A2 is general, smartphone A2 can parse the broadcast device status flag, the broadcast device identifier, and the terminal account logged in by the broadcast device from the Bluetooth broadcast, such as parsing the status flag, the identifier, and the terminal account logged in by PC B2.
[0241] After the smartphone A2 parses the Bluetooth broadcast sent by the PC B2, it determines whether the PC B2 is in a powered-off or hibernation state based on the broadcast device status flag, and also determines whether the terminal account logged in by the smartphone A2 and the terminal account logged in by the PC B2 are the same.
[0242] S503, the communication module of smartphone A2 determines that PC B2 is a device with the same terminal account, and PC B2 is in a powered-off or hibernation state.
[0243] In this scenario, smartphone A2 receives a Bluetooth broadcast from PC B2, parses the data carried in the Bluetooth broadcast, and determines whether PC B2 is in a powered-off or hibernation state, as well as whether smartphone A2 and PC B2 are logged into the same terminal account, and that the two are mutually trusted devices.
[0244] S504, the communication module of smartphone A2 determines that the received signal strength indication (RSSI) of Bluetooth signal within the target time period meets the target condition, sends device discovery indication information to the interconnection module, and sends a Bluetooth connection request to the PC B2 auxiliary communication chip.
[0245] After smartphone A2 detects a Bluetooth broadcast emitted by PC B2 while it is powered off or in sleep mode, it can measure the RSSI of the Bluetooth broadcast signal. The RSSI of the Bluetooth broadcast signal can be used to measure signal quality. A higher RSSI value indicates a stronger Bluetooth signal, and a higher RSSI value maintained for a longer period indicates a more stable Bluetooth connection.
[0246] In this embodiment, the communication module of smartphone A2 can measure the RSSI of the Bluetooth signal and determine whether the RSSI of the Bluetooth signal within a target time period meets the target conditions (or preset conditions). If the RSSI of the Bluetooth signal within the target time period meets the target conditions, it indicates that the signal quality of the current Bluetooth signal is relatively good. At this time, smartphone A2 can establish a relatively stable Bluetooth connection with the broadcasting device (i.e., PC B2). The target time period can be understood as the current time period, for example, a period of time counted backwards from the current moment (e.g., 3 seconds, 5 seconds, etc.).
[0247] For example, smartphone A2 can calculate the average RSSI of the Bluetooth signal within a target time period and determine whether the average RSSI is greater than a preset threshold. If the average RSSI is greater than or equal to the preset threshold, it indicates that the Bluetooth signal quality is good, and smartphone A2 and PC B2 can establish a relatively stable Bluetooth connection. Therefore, smartphone A2 determines that the average RSSI of the Bluetooth signal within the target time period is greater than the preset threshold, and can send device discovery indication information to the interconnection module and a Bluetooth connection request to the auxiliary communication chip of PC B2. The device discovery indication information is used to report to the interconnection module the currently discovered trustworthy devices that can be interconnected. In this scenario, the device discovery indication information can be used by the communication module to report to the interconnection module the currently discovered PC B2 that can be interconnected.
[0248] For example, smartphone A2 can also count the minimum RSSI value of the Bluetooth signal within a target time period and determine whether the minimum RSSI value is greater than the lower signal limit. If the minimum RSSI value is greater than the lower signal limit, it indicates that the Bluetooth signal quality is relatively good, and smartphone A2 and PC B2 can establish a relatively stable Bluetooth connection. Therefore, if smartphone A2 determines that the minimum Bluetooth signal RSSI value within the target time period is greater than the lower signal limit, it can send a device discovery indication message to the interconnection module and a Bluetooth connection request to the auxiliary communication chip of PC B2.
[0249] It should be noted that the target condition refers to the condition indicating that the Bluetooth signal quality is relatively good. The target condition can also be that the RSSI fluctuation of the Bluetooth signal is within a preset fluctuation range during the target time period, or that the RSSI variance of the Bluetooth signal is less than a preset variance threshold during the target time period. This embodiment does not limit the specific content of the target condition.
[0250] It should also be noted that RSSI is merely an example parameter for evaluating Bluetooth signal quality. This embodiment can also use other parameters to evaluate the quality of Bluetooth broadcast signals received by smartphone A2, such as reference signal receiving power (RSRP), etc., but this embodiment does not limit this. For example, smartphone A2 can also locate the Bluetooth signal emitted by the auxiliary communication chip on PCB2 through methods such as channel sounding, and evaluate the Bluetooth signal quality based on the location results. It is understood that when other parameters are used to evaluate Bluetooth signal quality in this embodiment, the corresponding target conditions also need to be adaptively adjusted, and this embodiment does not limit the specific content of the target conditions.
[0251] It should be noted that this embodiment does not limit the timing of the communication module of smartphone A2 sending device discovery indication information to the interconnection module, and the communication module of smartphone A2 sending Bluetooth connection request to the auxiliary communication chip of PC B2.
[0252] The S505 and PC B2 establish a Bluetooth connection with the communication module of the smartphone A2 based on the auxiliary communication chip.
[0253] After receiving a Bluetooth connection request from smartphone A2, the auxiliary communication chip of PC B2 pairs with smartphone A2 and establishes a Bluetooth connection with it after successful pairing.
[0254] After the communication module of smartphone A2 successfully establishes a Bluetooth connection with the auxiliary communication chip of PC B2, the communication module of smartphone A2 can send a Bluetooth connection success indication message to the interconnection module.
[0255] S506, the smartphone A2 establishes a trust loop based on its Bluetooth connection with the auxiliary communication chip of PC B2, and sends the loop formation information to the service module.
[0256] After receiving the device discovery indication and Bluetooth connection success indication information sent by the communication module, the interconnection module of smartphone A2 can automatically initiate the process of establishing a trust loop with PC B2. Subsequently, smartphone A2 and PC B2 can establish a trust loop.
[0257] For example, smartphone A2 sends a trust ring establishment request to PC B2. This request may include, but is not limited to, device identifier, device login account information, and device authentication information. Upon receiving the trust ring establishment request, PC B2's auxiliary communication module parses the information carried in the request and authenticates or authorizes smartphone A2. If authentication or authorization is successful, PC B2 responds to the trust ring establishment request sent by smartphone A2 and establishes a trust ring with smartphone A2.
[0258] It should be noted that during the trust ring establishment process, if PC B2 needs to communicate with the trust ring server, for example, to authenticate smartphone A2 through the trust ring server, PC B2 can also establish a wireless connection with the trust ring server through its auxiliary communication chip to complete relevant information exchange. In other words, during the trust ring establishment process, whether PC B2 interacts with smartphone A2 via Bluetooth or with the server via Wi-Fi, the corresponding communication connection can be implemented based on PC B2's auxiliary communication chip, which will not be elaborated further here. This embodiment does not limit the trust ring establishment process; the authentication process for establishing the trust ring can also refer to existing technologies, and will not be elaborated further here.
[0259] Since smartphone A2 is powered on and PC B2 is powered off or in sleep mode, in the trust ring formed by smartphone A2 and PC B2, smartphone A2 is online and PC B2 is semi-online. After the trust ring is formed between smartphone A2 and PC B2, the interconnect module of smartphone A2 sends ring formation information to the service module. This ring formation information (or trust ring information) describes the trust ring and may include, but is not limited to, device information (such as device type, device name, etc.) and device status (such as online or semi-online).
[0260] In this process, taking the example of smartphone A2 and PC B2 logging into the same terminal account, the prerequisites for establishing a trust ring are explained. The same terminal account is the basis for authentication between trusted devices. If smartphone A2 and PC B2 log into different terminal accounts, they can still authenticate each other through other methods to establish a trust ring. That is, the prerequisites for smartphone A2 and PC B2 to establish a trust ring can also be other conditions, such as smartphone A2 and PC B2 holding the same authentication code or key, etc., which is not limited in this embodiment.
[0261] Understandably, if the prerequisite for establishing a trust loop is that smartphone A2 and PC B2 possess the same authentication code or key, then PC B2, even when powered off or in sleep mode, can carry its authentication code or key in the Bluetooth broadcast sent via its auxiliary communication chip. Subsequently, after smartphone A2 scans this Bluetooth broadcast and determines that PC B2 is a device with the same authentication code or key, smartphone A2 can establish a trust loop with PC B2. For details not explained in sufficient detail, please refer to [link to relevant documentation]. Figure 9 The process shown will not be repeated here.
[0262] It should be noted that the trust loop established by smartphone A2 based on its Bluetooth connection with the auxiliary communication chip of PC B2 is only an illustrative example. When PC B2 is powered off or in sleep mode, the network environment for establishing the trust loop between smartphone A2 and PC B2 is not limited. For example, if the auxiliary communication chips of smartphone A2 and PC B2 are connected to the same network, they can also establish a trust loop based on that network. For instance, if the auxiliary communication chips of smartphone A2 and PC B2 are connected to the same router's Wi-Fi network, they can also establish a trust loop based on that Wi-Fi network.
[0263] S507, a pop-up notification window appears in the business module of smartphone A2.
[0264] After receiving the loop formation information, the service module of smartphone A2 can display a prompt window on its screen. This prompt window can be used to inform the user that a trusted device has been discovered or that the device has formed a trusted loop with other devices (such as PC B2). The user can open the trusted loop interface to view it.
[0265] For example, the prompt window can refer to Figure 7 The smartphone A2 shown in the image displays a prompt window 401 on its interface.
[0266] S508, in response to the user opening the trust ring interface and initiating a screen sharing service from the device to the PC B2 within the trust ring interface, the smartphone A2 sends a power-on command or wake-up command to the PC B2's auxiliary communication chip via its Bluetooth connection with the PC B2's auxiliary communication chip.
[0267] For example, continue to refer to Figure 7 In response to the user clicking the confirmation option 402 in the prompt window 401, smartphone A2 displays the trust ring interface. This trust ring interface includes two device balls currently forming a ring: the local device ball (i.e., the device ball corresponding to smartphone A2) and the PC B2 device ball. The PC B2 device ball is in a semi-online state.
[0268] At this point, the user can initiate screen sharing, network sharing, etc., between smartphone A2 and PC B2. For example, the user clicks the local device ball in the trust ring interface, causing smartphone A2 to display the screen sharing service icon and network sharing service icon supported by smartphone A2. For example, the user can click the screen sharing service icon and drag the corresponding screen sharing service card to the PC B2 device ball, as shown in the example. Figure 7 As shown. In response to the user's operation, smartphone A2 sends a power-on command or wake-up command to the auxiliary communication chip of PC B2 via its Bluetooth connection with the auxiliary communication chip of PC B2, so as to power on or wake up PC B2.
[0269] Understandably, when PC B2 is currently powered off, smartphone A2 sends a power-on command to PC B2's auxiliary communication chip via Bluetooth connection; when PC B2 is currently in sleep mode, smartphone A2 sends a wake-up command to PC B2's auxiliary communication chip via Bluetooth connection.
[0270] In one optional implementation, when smartphone A2 sends a power-on command or a wake-up command to the auxiliary communication chip of PC B2, it also sends the login account and login password stored by smartphone A2 when PC B2 was powered on to the auxiliary communication chip of PC B2.
[0271] In one optional implementation, when smartphone A2 sends a power-on command or wake-up command to the auxiliary communication chip of PC B2, it also sends the login account or login password stored when PC B2 was powered on to the auxiliary communication chip of PC B2.
[0272] Optionally, the login account and / or password for PC B2 at startup can be the content carried by the power-on command or wake-up command.
[0273] Optionally, the login account and / or password for PC B2 during startup can be information independent of the startup command or wake-up command. Smartphone A2 sends the login account and / or password for PC B2 during startup, along with the startup command or wake-up command, to the auxiliary communication chip of PC B2.
[0274] In another optional implementation, smartphone A2 sends a power-on command or wake-up command to the auxiliary communication chip of PC B2. After PC B2 is powered on, if smartphone A2 receives the power-on feedback information sent by PC B2, smartphone A2 then sends the login account and / or login password of PC B2 when it was powered on to the auxiliary communication chip of PC B2, so that the service modules of PC B2 can complete the account login operation of PC B2 according to the login account and / or login password.
[0275] After receiving a power-on command or wake-up command, the auxiliary communication chip of S509 PC B2 sends a power-on command or wake-up command to the EC.
[0276] Once the auxiliary communication chip of PC B2 receives, or parses, the login account and / or login password of PC B2 when it is powered on from the power-on command or wake-up command, it also sends the login account and / or login password of PC B2 when it is powered on to EC.
[0277] S510, PC B2's EC controls the PC to power on or exit hibernation mode, and sends an account login request to PC B2's business module.
[0278] The EC (Electronic Control Unit) controls the PC to power on or exit hibernation mode based on the received power-on or wake-up command. After controlling the PC to power on or exit hibernation mode, the EC can generate an account login request and send it to the business module. This account login request carries the login username and / or password used when the PC B2 was powered on.
[0279] S511, PC B2 business module login account.
[0280] After receiving the account login request, the business module parses the login username and / or password used when PC B2 was powered on, and then logs in using the username and password. After successful account login, PC B2 powers on successfully.
[0281] It should be noted that if the PC B2's auxiliary communication chip only receives the login account or password, the corresponding login account or password can be stored in the PC B2's EC or service module, as long as the service module can hold the login account and password when logging in. In this way, the PC B2 can complete the account operation.
[0282] S512, PC B2 establishes a communication link with smartphone A2 based on the main communication chip.
[0283] When PC B2 is powered on, its main communication chip is powered on, and then PC B2 can establish a communication link with smartphone A2 based on the main communication chip to carry out smart interconnection services with smartphone A2.
[0284] For example, PC B2 can establish a Wi-Fi communication link with smartphone A2 based on its main communication chip, and then PCB2 can establish a Wi-Fi communication link with smartphone A2 based on its main communication chip to conduct smart interconnection services with smartphone A2. The following explanation uses the establishment of a Wi-Fi communication link between PC B2's main communication chip and smartphone A2 as an example.
[0285] For example, after PC B2 is powered on, PC B2's state in the trust ring switches from a semi-offline state to an online state.
[0286] In this scenario, since the user has initiated a screen sharing service from smartphone A2 to PC B2 within the trust ring, after PC B2 goes online, PC B2 can establish a Wi-Fi communication link with smartphone A2 based on its main communication chip, allowing smartphone A2 to share screen data with PC B2 through this Wi-Fi link. For example, PC B2's main communication chip and smartphone A2 establish a Wi-Fi P2P connection, allowing smartphone A2 to share screen data with PC B2 through this Wi-Fi P2P connection. It should be noted that the Wi-Fi P2P connection is merely an illustrative example of a Wi-Fi communication link, and this embodiment does not limit the type of Wi-Fi communication link.
[0287] For example, after PC B2 is powered on, the Bluetooth connection between PC B2's auxiliary communication chip and smartphone A2 remains unbroken. PC B2 and smartphone A2 can complete GO (Group Owner) negotiation based on the Bluetooth connection between PC B2's auxiliary communication chip and smartphone A2, that is, negotiate which device is the GO node, which device is the GC (Group Client) node, and the characteristic information of the P2P group.
[0288] GO negotiation determines which device is the GO node, which device is the GC node, and the characteristics of the P2P group through three frame interactions. These three frame interactions include GO Negotiation Request, GO Negotiation Response, and GO Negotiation Confirmation. In this embodiment, PC B2 and smartphone A2 can perform these three frame interactions based on the Bluetooth connection between the auxiliary communication chip and smartphone A2.
[0289] The GO negotiation request and response include a GO Intent, which is an integer value between 0 and 15. The size of these two values determines which device becomes the GO node. If the GO Intents of the two devices are not equal, the device with the larger GO Intent becomes the GO node. If the GO Intents of the two devices are equal and less than 15, the Tie Breaker in the GO negotiation request determines the GO node: if the Tie Breaker is 1, the local device becomes the GO node; otherwise, the peer device becomes the GO node. If the GO Intents of the two devices are equal and equal to 15, the GO negotiation fails.
[0290] In this embodiment of the application, the result of the GO negotiation between PC B2 and smartphone A2 is that PC is the GO node.
[0291] For any points regarding GO negotiation that are not explained in detail, please refer to existing technologies; they will not be elaborated upon here.
[0292] Before establishing a Wi-Fi P2P connection between the main communication chip of PC B2 and smartphone A2, it is necessary to select a channel corresponding to the Wi-Fi P2P service, that is, a channel corresponding to the Wi-Fi P2P connection. After determining the channel corresponding to the Wi-Fi P2P service, PC B2 can send the channel information used to carry the Wi-Fi P2P service to smartphone A2 based on the Bluetooth connection between its auxiliary communication chip and smartphone A2. The channel information used to carry the Wi-Fi P2P service can also be sent by PC B2 to smartphone A2 in other processes before establishing the Wi-Fi P2P connection (such as certain processes before exchanging connection establishment information), and this embodiment does not limit this.
[0293] After GO negotiation is completed between PC B2 and smartphone A2, and PC B2 selects the channel corresponding to the Wi-Fi P2P connection, PC B2, acting as the GO node, can exchange connection establishment information with smartphone A2, acting as the GC node. Subsequently, PC B2's main communication chip establishes a Wi-Fi P2P connection with smartphone A2 based on the connection establishment information. For the GO node, the connection establishment information may include, but is not limited to, channel information, password, SSID (Service Set Identifier), and the MAC address of the GC node. For the GC node, the connection establishment information may include, but is not limited to, channel information, password, SSID, and the MAC address of the GO node.
[0294] For any points in the Wi-Fi P2P connection establishment process that are not explained in detail, please refer to existing technologies; they will not be elaborated upon here.
[0295] In one possible implementation, after PC B2 is powered on, the Bluetooth connection between PC B2's auxiliary communication chip and smartphone A2 can be disconnected. PC B2's main communication chip then re-establishes a Bluetooth connection with smartphone A2. Based on the Bluetooth connection between PC B2's main communication chip and smartphone A2, PCB2 and smartphone A2 can complete GO negotiation, Wi-Fi P2P service channel selection, and exchange other relevant information. Subsequently, a Wi-Fi P2P connection is established between PC B2's main communication chip and smartphone A2.
[0296] S513, the smartphone A2 transmits screen data to the PC B2 based on the communication link between itself and the main communication chip of the PC B2.
[0297] In this way, when a user brings their smartphone A2 close to PC B2, even if PC B2 is powered off or in sleep mode, smartphone A2 and PC B2 can automatically establish a trust ring. The user can then initiate a screen sharing service from smartphone A2 to PC B2 through the trust ring interface.
[0298] In one scenario, if a user's smartphone is held near a PC by someone else, and a pop-up notification appears after the smartphone automatically establishes a trust loop with the PC to remind the user to use it, this could lead to the PC being maliciously opened by someone else, posing a risk of privacy breach. To protect user privacy and prevent the user's PC from being maliciously opened by someone else, this application embodiment also adds a user authentication process.
[0299] Reference Figure 10 When PC B2 is powered off or in sleep mode, it broadcasts Bluetooth messages via its auxiliary communication chip. When smartphone A2 approaches PC B2, it detects the Bluetooth broadcast. Smartphone A2 establishes a Bluetooth connection with PC B2's auxiliary communication chip, forming a trust loop. Subsequently, smartphone A2 can display a prompt window 401 to ask the user whether they need to open the trust loop interface for smart interconnection services. (Continue to refer to...) Figure 10 In response to the user clicking the confirmation option 402 in the prompt window 401, smartphone A2 displays the lock screen 403. In response to the user performing an unlock operation on the lock screen 403, smartphone A2 displays the trust ring screen. Figure 10 In the example shown, the unlocking method displayed on the lock screen 403 is fingerprint unlocking. This unlocking method can be facial recognition unlocking, password unlocking, etc. This embodiment does not limit the unlocking method.
[0300] Subsequently, after the user successfully unlocks the smartphone A2 and displays the trust ring interface, the user can initiate smart interconnection services for the semi-online PC B2. For details not explained here, please refer to the previous text. Figure 7 The scenario shown will not be described in detail here.
[0301] In one scenario, a user brings their smartphone to a PC, and only after using the phone for a period of time might the user need to establish a smart connection with the PC. To avoid disrupting the user's immersive smartphone experience, the smartphone can establish a trust loop with the PC without notifying the user; the user can simply activate the trust loop service when needed.
[0302] Reference Figure 11When PC B2 is powered off or in sleep mode, it broadcasts Bluetooth messages via its auxiliary communication chip. When smartphone A2 approaches PC B2, it scans for the broadcast. Smartphone A2 establishes a Bluetooth connection with PC B2 through the auxiliary communication chip, forming a trust loop. At this time, smartphone A2 does not provide any notification to the user. When the user needs to initiate smart connectivity services for PC B2, they can click the trust loop card in the control center interface of smartphone A2 to open the trust loop interface. For an example of how to open the trust loop interface via the trust loop card in the control center interface, please refer to [link to example]. Figure 1b The situation described will not be elaborated upon here.
[0303] Subsequently, after the user successfully unlocks the smartphone A2 and displays the trust ring interface, the user can initiate smart interconnection services for the semi-online PC B2. For details not explained here, please refer to the previous text. Figure 7 The scenario shown will not be described in detail here.
[0304] In one scenario, refer to Figure 12 When PC B2 is powered on, it broadcasts Bluetooth information via its main and auxiliary communication chips. When smartphone A2 approaches PC B2, it establishes a Bluetooth connection with PC B2 through PC B2's auxiliary communication chip, forming a trust loop. The user can then initiate screen sharing with PC B2 from smartphone A2. At this time, PC B2 is in an online state within the trust loop. For example, if the user manually powers off PC B2, or if PC B2 enters sleep mode due to prolonged inactivity, its main communication chip is powered down. PC B2's external connections based on its main communication chip (such as Bluetooth or Wi-Fi connections with smartphone A2, or access to a router's Wi-Fi network) are disconnected. In this case, since PC B2 is powered off or in sleep mode, it broadcasts Bluetooth information via its auxiliary communication chip. When smartphone A2 approaches PC B2 again (or if smartphone A2 remains near PC B2), it scans for PC B2's Bluetooth broadcast. Smartphone A2 can then establish a Bluetooth connection with PC B2's auxiliary communication chip.
[0305] Optionally, after the auxiliary communication chip of smartphone A2 and PC B2 establishes a Bluetooth connection, the two re-establish a trust loop. After the user operates smartphone A2 to display the trust loop interface, the user can initiate smart interconnection services for the semi-online PC B2.
[0306] Optionally, after smartphone A2 and PC B2's auxiliary communication chip establish a Bluetooth connection, they do not rebuild the trust ring; instead, they acquire or activate the previously established trust ring. For example, before smartphone A2 and PC B2's auxiliary communication chip establish a Bluetooth connection (e.g., the user carries smartphone A2 away from PC B2), if the user operates smartphone A2 to display the trust ring interface, PC B2's status in this interface is offline. After smartphone A2 and PC B2's auxiliary communication chip establish a Bluetooth connection, if the user operates smartphone A2 to display the trust ring interface, PC B2's status in this interface is semi-online. At this time, the user can initiate smart interconnection services for the semi-online PC B2. For example, after smartphone A2 and PC B2's auxiliary communication chip establish a Bluetooth connection, smartphone A2 sends an online notification to PC B2's auxiliary communication chip. Upon receiving the online notification, PC B2's auxiliary communication chip sends a status update request to the trust ring server, so that the trust ring server can change PC B2's status in the trust ring from offline to semi-online based on the status update request. For example, after the smartphone A2 establishes a Bluetooth connection with the auxiliary communication chip of PC B2, PC B2 sends a status update request to the trust ring server based on the auxiliary communication chip, so that the trust ring server can change the status of PC B2 in the trust ring from offline to semi-online based on the status update request.
[0307] For details regarding this scenario that have not been explained in full, please refer to the previous text; they will not be repeated here.
[0308] It should be noted that the preceding embodiments all used screen sharing as an example of smart interconnection services for explanation. The same applies to other types of smart interconnection services initiated by users on PCs (such as network sharing services), which will not be elaborated here.
[0309] The preceding text used a PC as an example of an electronic device simultaneously equipped with a main communication chip and an auxiliary communication chip to explain the device interconnection method provided in this application. It is understood that other types of electronic devices (such as tablet computers) can also simultaneously be equipped with a main communication chip and an auxiliary communication chip. Thus, similar to the PC described above, when the tablet computer is powered on, it can communicate externally through the main communication chip; when the tablet computer is powered off or in sleep mode, the main communication chip is powered down, and the tablet computer can communicate externally through the auxiliary communication chip. Furthermore, when the tablet computer is powered off or in sleep mode, it can send Bluetooth broadcasts through its auxiliary communication chip, allowing other electronic devices to discover the tablet computer. Subsequently, users can initiate interconnection services for the tablet computer on other electronic devices without first powering on the tablet computer. For details, please refer to the embodiments corresponding to the PC described above, which will not be repeated here.
[0310] It should be understood that the electronic device in this application can be a terminal device, which can be a wireless terminal device capable of receiving network device scheduling and instruction information. A wireless terminal device can be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. For example, a terminal device can communicate with one or more core networks or the Internet via a radio access network (RAN). Terminal devices can also be referred to as terminals, user equipment (UE), mobile stations, mobile terminals, etc. Terminal devices can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), ultra-reliable low-latency communication (URLLC), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, smart cities, or satellite communication, etc. The terminal can be a mobile phone, tablet computer, computer with wireless transceiver capabilities, wearable device, vehicle, drone, helicopter, airplane, hot air balloon, ship, robot, robotic arm, or smart home device, etc. The embodiments of this application do not limit the form of the terminal device.
[0311] In this application, the apparatus for implementing the functions of a terminal device can be the terminal device itself, or any apparatus capable of supporting the terminal device in implementing those functions, such as a processor, circuit, chip, or chip system. This apparatus can be installed in or connected to the terminal device. In the technical solutions provided in this application, the example of a terminal device being used to implement the functions of a terminal device is used to describe the technical solutions provided in this application.
[0312] For clarity, the term "preset" in this application can be replaced with "predefined," "preconfigured," etc. It can be understood as predefined by the protocol, specified by the communication equipment manufacturer, defined by the communication operator, pre-installed in the communication equipment at the time of manufacture, or agreed upon in advance by other means. No specific limitations are imposed on this.
[0313] This embodiment also provides an electronic device (or terminal device). This electronic device may be, for example, a smartphone or tablet computer as mentioned above. Exemplarily, the electronic device may include: a processor, an external memory interface, internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, antenna 1, antenna 2, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, a headphone jack, a sensor module, buttons, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface, etc. The sensor module may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0314] A processor may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0315] It should be understood that the structure of the electronic device mentioned above is merely an example of an electronic device, and electronic devices may have more or fewer components than those described above, may combine two or more components, or may have different component configurations. The various components described above may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0316] This embodiment also provides a device interconnection system. The system includes an electronic device and a PC. The electronic device may be, for example, a smartphone, a tablet computer, etc., and the PC may be, for example, the PC B2 mentioned above, equipped with an auxiliary communication chip. When the PC is powered on, its main communication chip can communicate externally; when the PC is powered off or in sleep mode, its main communication chip is powered off; after the main communication chip is powered off, its external communication connection is disconnected, and its auxiliary communication chip can communicate externally. When the PC is powered off or in sleep mode, its auxiliary communication chip can receive remote control commands or control commands sent by the electronic device to change the PC's state.
[0317] In this embodiment, when the PC is powered off or in sleep mode, its auxiliary communication chip broadcasts via Bluetooth. For example, the Bluetooth broadcast can be a customized type, indicating that the broadcast is sent when the broadcasting device is powered off or in sleep mode. The content of this customized Bluetooth broadcast may include, but is not limited to, the identifier of the broadcasting device and the terminal account logged into the broadcasting device.
[0318] When an electronic device approaches a PC and detects the PC's Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the PC through the PC's auxiliary communication chip, forming a trust loop. For example, the electronic device scans the PC's Bluetooth broadcast and parses the broadcast data. If the electronic device determines that it shares the same terminal account as the PC, that the PC is powered off or in sleep mode, and that the Bluetooth signal RSSI within the target time period meets the target conditions, then it establishes a Bluetooth connection with the PC, forming a trust loop. In this trust loop, the PC is in a semi-online state.
[0319] In response to a user's initiation of a smart interconnection service for the PC within the trust ring interface, the electronic device sends a power-on or wake-up command to the PC's secondary communication chip via Bluetooth, based on the connection between the electronic device and the PC's secondary communication chip. For example, the electronic device also sends its login account password sent during startup to the PC. This allows the user to log in to the PC using the password sent by the electronic device after startup. After the PC powers on, it establishes a communication link with the electronic device based on its primary communication chip, enabling data transmission related to their smart interconnection services.
[0320] It should be noted that this application does not limit the names of the various objects mentioned. For example, the "device ball" displayed in the trust ring interface is merely an exemplary name for the relevant control. The name and / or display format of the control can be adjusted according to the interface interaction design, and this embodiment does not limit this. As another example, the "half-online" state is also an exemplary name; this state can also be called the "half-online" state, the "pending online" state, etc. It is understood that the naming of any interface, such as the "trust ring interface," is merely an illustrative example; this interface can also be called the "first interface," the "Nth interface," etc., and this embodiment does not limit this either.
[0321] It is understood that electronic devices (such as smartphones) and PCs, in order to implement the device interconnection method in the embodiments of this application, include hardware and / or software modules that perform various functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or software-driven manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0322] This embodiment also provides a computer storage medium storing computer instructions. When the computer instructions are run on an electronic device or PC, the electronic device or PC executes the aforementioned method steps to implement the device interconnection method in the above embodiment.
[0323] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the device interconnection method described in the above embodiment.
[0324] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory. The memory is used to store computer execution instructions. When the apparatus is running, the processor can execute the computer execution instructions stored in the memory to cause the chip to execute the device interconnection methods in the above method embodiments.
[0325] In this embodiment, the electronic devices (such as smartphones), PCs, computer storage media, computer program products, or chips are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0326] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0327] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0328] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0329] It should be noted that the illustrations in this application are merely illustrative examples. For instance, the user interface (UI) design examples in the accompanying drawings are only for illustrating the technical solution, and this application does not impose any limitations on specific UI designs. Any user interface, component, interaction, or other design that can implement the technical solution of this application should be within the scope of protection of this application.
Claims
1. A device interconnection system, characterized in that, include: Electronic devices and personal computers (PCs); wherein the PC includes a first communication chip and a second communication chip; when the PC is powered on, the PC communicates externally through the first communication chip; when the PC is powered off or in hibernation mode, the first communication chip is powered off, and the PC communicates externally through the second communication chip; The PC is used to send Bluetooth broadcasts via the second communication chip when the PC is in a powered-off or hibernation state. The electronic device is configured to: establish a Bluetooth connection with the second communication chip in response to receiving the Bluetooth broadcast; The electronic device is further configured to: display a first interface; and, in response to a first operation performed on the first interface, send a target instruction to the second communication chip of the PC via the Bluetooth connection; wherein the first operation is configured to trigger a target service between the electronic device and the PC; The PC is also configured to: receive the target instruction via the second communication chip, and power on or exit hibernation state according to the target instruction; The electronic device is further configured to: establish a communication link with the first communication chip of the PC after the PC is powered on or exits hibernation, and transmit the data of the target service to the PC through the communication link.
2. The system according to claim 1, characterized in that, The electronic device is further configured to: in response to a first operation performed in the first interface, send the login password of the PC to the second communication chip of the PC via the Bluetooth connection; The PC is also used to: receive the login password of the PC through the second communication chip, and complete the account login according to the login password of the PC.
3. The system according to claim 2, characterized in that, The electronic device is further configured to: display a second interface before receiving the Bluetooth broadcast; and store the login password of the PC in response to a second operation performed on the second interface.
4. The system according to claim 1, characterized in that, The electronic device is configured to: in response to receiving the Bluetooth broadcast, determine that the type of the Bluetooth broadcast is the target type, and establish a Bluetooth connection with the second communication chip; wherein the target type indicates that the Bluetooth broadcast was issued by the broadcasting device when it is in a power-off or sleep state.
5. The system according to claim 1, characterized in that, The electronic device is further configured to: after establishing a Bluetooth connection between the electronic device and the second communication chip, establish a trust loop with the PC based on the Bluetooth connection; The first interface includes information about the trust ring.
6. The system according to claim 1, characterized in that, The Bluetooth broadcast content includes the terminal account logged into the PC.
7. The system according to claim 6, characterized in that, The electronic device is configured to: in response to receiving the Bluetooth broadcast, parse the Bluetooth broadcast to obtain the terminal account logged in by the PC; and, if the terminal account logged in by the PC is the same as the terminal account logged in by the electronic device, establish a Bluetooth connection with the second communication chip.
8. The system according to claim 7, characterized in that, The electronic device is configured to: establish a Bluetooth connection with the second communication chip when the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, and the RSSI signal broadcast by Bluetooth meets the target conditions within the target time period.
9. The system according to claim 8, characterized in that, The target condition is that the mean RSSI value of the Bluetooth broadcast signal is greater than or equal to a preset threshold.
10. The system according to claim 1, characterized in that, In the first interface, the electronic device is in a first state, and the PC is in a second state; the first state is different from the second state; the second state indicates that the device is currently in a power-off or hibernation state, but can initiate interconnection services for the device.
11. The system according to claim 1, characterized in that, The target service is screen sharing.
12. The system according to claim 1, characterized in that, The electronic device is further configured to: display a third interface; the third interface including a prompt window; and display the first interface in response to a third operation performed in the prompt window; or, The electronic device is further configured to: display a third interface; the third interface including a prompt window; display a fourth interface in response to a third operation performed in the prompt window; and display the first interface in response to an unlocking operation performed in the fourth interface. or, The electronic device is further configured to: display the first interface in response to the fourth operation.
13. A device interconnection method, characterized in that, include: When the PC is powered off or in hibernation mode, the PC sends a Bluetooth broadcast through the second communication chip; wherein, the PC includes a first communication chip and a second communication chip; when the PC is powered on, the PC communicates externally through the first communication chip; when the PC is powered off or in hibernation mode, the first communication chip is powered down, and the PC communicates externally through the second communication chip; In response to receiving the Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the second communication chip; The electronic device displays a first interface and, in response to a first operation performed on the first interface, sends a target command to the second communication chip of the PC via the Bluetooth connection; wherein, the first operation is used to trigger a target service between the electronic device and the PC; The PC receives the target instruction through the second communication chip and powers on or exits hibernation state according to the target instruction. After the PC is powered on or exits hibernation, the electronic device establishes a communication link with the first communication chip of the PC and transmits the data of the target service to the PC through the communication link.
14. The method according to claim 13, characterized in that, Also includes: In response to a first operation performed on the first interface, the electronic device sends the PC's login password to the PC's second communication chip via the Bluetooth connection. The PC receives the login password of the PC through the second communication chip, and completes the account login according to the login account password of the PC.
15. The method according to claim 14, characterized in that, Also includes: The electronic device displays a second interface before receiving the Bluetooth broadcast; The electronic device, in response to a second operation performed on the second interface, stores the login password of the PC.
16. The method according to claim 13, characterized in that, In response to receiving the Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the second communication chip, including: In response to receiving the Bluetooth broadcast, the electronic device determines that the type of the Bluetooth broadcast is the target type and establishes a Bluetooth connection with the second communication chip; wherein, the target type indicates that the Bluetooth broadcast was issued by the broadcasting device when it is in a power-off or sleep state.
17. The method according to claim 13, characterized in that, Also includes: After the electronic device establishes a Bluetooth connection with the second communication chip, the electronic device forms a trust loop with the PC based on the Bluetooth connection; wherein, the first interface includes information about the trust loop.
18. The method according to claim 13, characterized in that, Also includes: The Bluetooth broadcast content includes the terminal account logged into the PC.
19. The method according to claim 18, characterized in that, In response to receiving the Bluetooth broadcast, the electronic device establishes a Bluetooth connection with the second communication chip, including: The electronic device responds to receiving the Bluetooth broadcast by parsing the Bluetooth broadcast to obtain the terminal account logged into the PC; If the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, the electronic device establishes a Bluetooth connection with the second communication chip.
20. The method according to claim 19, characterized in that, When the terminal account logged into the PC is the same as the terminal account logged into the electronic device, the electronic device establishes a Bluetooth connection with the second communication chip, including: If the terminal account logged in on the PC is the same as the terminal account logged in on the electronic device, and the RSSI signal broadcast by Bluetooth meets the target conditions within the target time period, the electronic device establishes a Bluetooth connection with the second communication chip.
21. The method according to claim 20, characterized in that, The target condition is that the mean RSSI value of the Bluetooth broadcast signal is greater than or equal to a preset threshold.
22. The method according to claim 13, characterized in that, In the first interface, the electronic device is in a first state and the PC is in a second state; wherein, the first state is different from the second state; the second state indicates that the device is currently in a power-off state or a hibernation state, but can initiate interconnection services for the device.
23. The method according to claim 13, characterized in that, The target service is screen sharing.
24. The method according to claim 13, characterized in that, The electronic device displays a first interface, including: The electronic device displays a third interface; the third interface includes a prompt window; The electronic device displays the first interface in response to a third operation performed in the prompt window; or, The electronic device displays a third interface; the third interface includes a prompt window; The electronic device displays a fourth interface in response to a third operation performed in the prompt window; The electronic device displays the first interface in response to the unlocking operation performed on the fourth interface; or, The electronic device responds to the fourth operation by displaying the first interface.
25. A personal computer (PC), characterized in that, include: One or more processors; a first communication chip and a second communication chip; Memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the PC to perform the device interconnection method constituted by the method steps performed by the PC as claimed in any one of claims 13-24.
26. An electronic device, characterized in that, include: One or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the device interconnection method constituted by the method steps performed by the electronic device as claimed in any one of claims 13-24.
27. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program runs on the electronic device, it causes the electronic device to perform the device interconnection method constituted by the method steps performed by the PC as described in any one of claims 13-24, or causes the electronic device to perform the device interconnection method constituted by the method steps performed by the electronic device as described in any one of claims 13-24.