Wireless connection method, multi-device system and non-transitory computer readable storage medium

By establishing a wireless connection with the network access device under the Wi-Fi protocol and establishing a wireless connection with the second electronic device on the same transmission channel, the problem of reducing the flow during technical communication between Wi-Fi is solved, and the flow rate is improved. Performance of multi-device system.

CN118921768APending Publication Date: 2024-11-08HTC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410391349.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-02
Filing Date
2024-04-02
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In Wi-Fi protocol applications, when major Wi-Fi devices operate as Wi-Fi sites at the same time and conduct technical communication between Wi-Fi levels, they often face the problem of reduced Wi-Fi circulation, and new methods are needed to solve it. This question.

Method used

By establishing a wireless connection between the first electronic device and the network access device and establishing a wireless connection with the second electronic device on the same transmission channel, communication is performed using a single antenna to reduce the performance reduction caused by frequent switching of the transmission channel. .

Benefits of technology

It effectively reduces the problem of reduced Wi-Fi circulation and improves the performance of multi-device systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921768A_ABST
    Figure CN118921768A_ABST
Patent Text Reader

Abstract

The present disclosure provides a wireless connection method suitable for a multi-device system including a first electronic device and a second electronic device, and the wireless connection method includes: connecting a network access device based on the first electronic device, enabling a wireless communication function through a first channel by the first electronic device, wherein the first electronic device establishes a first wireless connection with the network access device on the first channel; and establishing, by the first electronic device, a second wireless connection with the second electronic device on the first channel. A second wireless connection is established through the first electronic device and the second electronic device on the same transmission channel for communication between the first electronic device and the network access device. The first electronic device using a single antenna to communicate with the network access device and the second electronic device can reduce the problems of Wi-Fi traffic reduction and the like caused by frequent switching of transmission channels. Therefore, the multi-device system has the advantages of improving performance and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a method and a system, and more particularly to a wireless connection method and a multi-device system. Background Art

[0002] In the application of Wi-Fi protocol, a primary Wi-Fi device can operate as a Wi-Fi station to connect to the network using a Wi-Fi access point. At the same time, the primary Wi-Fi device can communicate with the secondary Wi-Fi device through Wi-Fi peer to peer technology (or Wi-Fi Direct technology). However, because the primary Wi-Fi device must always switch between two different transmission channels to operate as a Wi-Fi station and communicate through Wi-Fi peer to peer technology, the primary Wi-Fi device may face the problem of reduced Wi-Fi throughput. Therefore, it is necessary to provide a new method to solve the above-mentioned problems caused by operating as a Wi-Fi station and communicating through Wi-Fi peer to peer technology at the same time. Summary of the invention

[0003] One aspect of the present disclosure is a wireless connection method. The wireless connection method is applicable to a multi-device system, wherein the multi-device system includes a first electronic device and a second electronic device, and the wireless connection method includes: connecting a network access device based on the first electronic device, enabling a wireless communication function through a first channel through the first electronic device, wherein the first electronic device and the network access device establish a first wireless connection on the first channel; and establishing a second wireless connection with the second electronic device on the first channel through the first electronic device.

[0004] In some embodiments, the operation of enabling the wireless communication function through the first channel includes: creating a peer to peer (P2P) group on the first channel through the first electronic device.

[0005] In some embodiments, the wireless connection method further includes: sending, through the first electronic device, inter-peer group information of the inter-peer group through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the inter-peer group information includes a peer group name, an access password, and channel information for indicating the first channel.

[0006] In some embodiments, the wireless connection method further includes: sending an access message to the second electronic device through the first electronic device via a short-range wireless connection established between the first electronic device and the second electronic device, wherein the access message includes a service set identifier, an access password, and channel information for indicating the first channel.

[0007] In some embodiments, the first wireless connection and the second wireless connection are established under a Wi-Fi protocol, and the short-range wireless connection is established under a Bluetooth low energy protocol.

[0008] In some embodiments, the wireless connection method further includes: performing a network switch from the network access device to another network access device through the first electronic device; disabling the wireless communication function enabled through the first channel through the first electronic device; and enabling the wireless communication function through a third channel through the first electronic device, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

[0009] In some embodiments, the operation of performing a network switch from the network access device to the other network access device includes: switching, via the first electronic device, from connecting to the network access device to connecting to the other network access device.

[0010] In some embodiments, the operation of disabling the wireless communication function enabled through the first channel includes: removing a peer group created on the first channel, wherein the first electronic device and the second electronic device are members of the peer group.

[0011] In some embodiments, the wireless connection method further includes: based on the first electronic device not being connected to the network access device, enabling the wireless communication function through a second channel through the first electronic device; and establishing the second wireless connection with the second electronic device on the second channel through the first electronic device.

[0012] In some embodiments, the wireless connection method further includes: searching, through the first electronic device, for another network access device to which connection is available; disabling, through the first electronic device, the wireless communication function enabled through the second channel; and enabling, through the first electronic device, the wireless communication function through a third channel, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

[0013] Another aspect of the present disclosure is a multi-device system. The multi-device system includes a first electronic device and a second electronic device. The first electronic device is used to connect to a network access device, and is used to enable a wireless communication function through a first channel when the first electronic device is connected to the network access device, wherein the first electronic device and the network access device establish a first wireless connection on the first channel. The second electronic device is used to establish a second wireless connection with the first electronic device on the first channel.

[0014] In some embodiments, the first electronic device is used to create a peer to peer (P2P) group on the first channel.

[0015] In some embodiments, the first electronic device is used to send peer group information of the peer group through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the peer group information includes a peer group name, an access password, and channel information for indicating the first channel.

[0016] In some embodiments, the first electronic device is used to send an access message to the second electronic device via a short-range wireless connection established between the first electronic device and the second electronic device, wherein the access message includes a service set identifier, an access password, and channel information indicating the first channel.

[0017] In some embodiments, the first electronic device is used to perform network switching from the network access device to another network access device, to disable the wireless communication function enabled through the first channel, and to enable the wireless communication function through a third channel, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

[0018] In some embodiments, the first electronic device is used to switch from connecting to the network access device to connecting to the other network access device.

[0019] In some embodiments, the first electronic device is used to remove a peer group created on the first channel, wherein the first electronic device and the second electronic device are in the peer group.

[0020] In some embodiments, the first electronic device is used to enable the wireless communication function through a second channel when the first electronic device is not connected to the network access device, and is used to establish the second wireless connection with the second electronic device on the second channel.

[0021] In some embodiments, the first electronic device is used to search for another network access device to connect to, to disable the wireless communication function enabled through the second channel, and to enable the wireless communication function through a third channel, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

[0022] Another aspect of the present disclosure is a non-transitory computer-readable storage medium having a computer program for executing a wireless connection method, wherein the wireless connection method is applicable to a multi-device system, the multi-device system includes a first electronic device and a second electronic device, and the wireless connection method includes: connecting a network access device based on the first electronic device, enabling a wireless communication function through a first channel through the first electronic device, wherein the first electronic device and the network access device establish a first wireless connection on the first channel; and establishing a second wireless connection with the second electronic device on the first channel through the first electronic device.

[0023] In summary, by establishing a second wireless connection between the first electronic device and the second electronic device on the same transmission channel (i.e., the first channel or the third channel) as the transmission channel for communication between the first electronic device and the network access device, the first electronic device using a single antenna to communicate with the network access device and the second electronic device can reduce the problem of Wi-Fi throughput degradation caused by frequent switching of transmission channels. Therefore, the multi-device system of the present disclosure has advantages such as improved performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of a multi-device system according to some embodiments of the present disclosure.

[0025] Figure 2 The present invention is a block diagram of a first electronic device, a second electronic device, and a network access device according to some embodiments of the present disclosure.

[0026] Figure 3 The present invention is a flowchart of a wireless connection method according to some embodiments of the present disclosure.

[0027] Figure 4 A schematic diagram of a usage scenario of a multi-device system according to some embodiments of the present disclosure.

[0028] Figure 5 It is a schematic diagram of another usage scenario of a multi-device system according to some embodiments of the present disclosure.

[0029] Figure 6 The present invention is a flowchart of a wireless connection method according to some embodiments of the present disclosure.

[0030] Figure 7 The present invention is a flowchart of a wireless connection method according to some embodiments of the present disclosure.

[0031] Explanation of symbols:

[0032] 10: First electronic device

[0033] 12: Second electronic device

[0034] 20: Network access device

[0035] 100:Multi-device system

[0036] 101: First processor

[0037] 103,123: First communication circuit

[0038] 105,125: Second communication circuit

[0039] 121: Second processor

[0040] 300: Wireless connection method

[0041] A1, A2: Area

[0042] C1: First Wireless Connection

[0043] C2: Second wireless connection

[0044] C3: Third Wireless Connection

[0045] CSD: Short Range Wireless Connection

[0046] H1: First channel

[0047] H2: Second channel

[0048] H3: The third channel

[0049] S301~S307,S601~S603,S701~S703: Operation

[0050] SD: Information

[0051] SNA: Access Information DETAILED DESCRIPTION

[0052] The following embodiments are described in detail with reference to the accompanying drawings, but the specific embodiments described are only used to explain the present case and are not used to limit the present case. The description of the structural operation is not used to limit the order of its execution. Any structure recombined by the elements to produce a device with equal functions is within the scope of the present disclosure.

[0053] As used herein, “coupled” or “connected” may refer to two or more elements being in direct physical or electrical contact with each other, or being in indirect physical or electrical contact with each other, or may refer to two or more elements operating or moving with each other.

[0054] In the following embodiments, if only a component or signal symbol is used without specifying the index of the component or signal symbol, it means that the component or signal symbol refers to any unspecified one of the component group or signal group to which it belongs. For example, the second electronic device 12 refers to any unspecified one of the plurality of second electronic devices 12[1] to 12[3].

[0055] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram of a multi-device system 100 according to some embodiments of the present disclosure. In some embodiments, the multi-device system 100 includes a first electronic device 10 and a plurality of second electronic devices 12[1] to 12[3]. Figure 1 As shown, a network access device 20[1] is responsible for providing network services (not shown) in an area A1 (that is, area A1 can be referred to as the service area of ​​the network access device 20[1]). When the first electronic device 10 moves into area A1, the first electronic device 10 can receive network services via the network access device 20[1]. It is worth noting that the first electronic device 10 can communicate with the second electronic devices 12[1] to 12[3] based on the channel information obtained from the connection between the first electronic device 10 and the network access device 20[1]. Under this configuration, the first electronic device 10 can avoid the trouble of switching communication or transmission channels.

[0056] In some embodiments, the first electronic device 10 and each of the plurality of second electronic devices 12[1] to 12[3] can operate in a Wi-Fi peer to peer (P2P) mode. Specifically, the first electronic device 10 and one of the plurality of second electronic devices 12[1] to 12[3] can operate as a P2P Group Owner, and the remaining electronic devices of the first electronic device 10 and the plurality of second electronic devices 12[1] to 12[3] can operate as P2P Group Clients. In order to achieve Figure 1 In the configuration, the first electronic device 10 operates as a peer group owner, and the plurality of second electronic devices 12[1] to 12[3] each operate as a peer group client. Figure 1In the embodiment, the network access device 20[1] operates in a Wi-Fi access point mode, wherein the network access device 20[1] can be implemented via a Wi-Fi access point. In order to receive network services via the network access device 20[1], the first electronic device 10 operates in a Wi-Fi station mode. As can be seen from the above description, the first electronic device 10 can operate in a Wi-Fi peer mode (as a peer group owner) and a Wi-Fi station mode, thereby communicating with the network access device 20[1] and the second electronic devices 12[1] to 12[3].

[0057] In the above embodiment, the first electronic device 10 may be implemented by a device capable of operating in at least one of Wi-Fi peer mode (as a peer group owner) and Wi-Fi station mode, and each of the plurality of second electronic devices 12[1] to 12[3] may be implemented by a device capable of operating in Wi-Fi peer mode (as a peer group client). Figure 1 As shown, the first electronic device 10 may be a head mounted device. The second electronic device 12[1] may be a controller or other accessories for immersive content provided by the head mounted device (e.g., virtual reality (VR) environment, augmented reality (AR) environment, mixed reality (MR) environment, etc.). The second electronic device 12[2] may be a game controller or other entertainment device. The second electronic device 12[3] may be a mobile device (e.g., a tablet computer, a smart phone, etc.).

[0058] It should be understood that the configuration of the multi-device system 100 is not limited to Figure 1 For example, in some embodiments, the multi-device system 100 may include a first electronic device 10 and at least one second electronic device 12 (eg, Figure 1 Since the plurality of second electronic devices 12 [1] to 12 [3] may have the same operation, the following embodiments will only describe the first electronic device 10 and the second electronic device 12 [1] .

[0059] See also Figure 2 , Figure 2 for Figure 1 A block diagram of a first electronic device 10, a second electronic device 12[1] and a network access device 20[1]. Figure 2In an embodiment of the present invention, the first electronic device 10 includes a first processor 101, a first communication circuit 103 and a second communication circuit 105. The first processor 101 is coupled to the first communication circuit 103 and the second communication circuit 105. The second electronic device 12[1] includes a second processor 121, a first communication circuit 123 and a second communication circuit 125. The second processor 121 is coupled to the first communication circuit 123 and the second communication circuit 125. Specifically, the first processor 101 and the second processor 121 can each be implemented by a central processing unit (CPU), an application specific integrated circuit (ASIC), a microprocessor, a system on a chip (SOC) or other suitable processing circuits. The first communication circuit 103 and the first communication circuit 123 can each support a Bluetooth Low Energy (BLE) protocol, a Bluetooth protocol or other short-range communication protocols. The second communication circuit 105 and the second communication circuit 125 can each support a Wi-Fi protocol or other long-range communication protocols.

[0060] In some embodiments, at the start of operation of the multi-device system 100, the first communication circuit 123 of the second electronic device 12[1] attempts to establish a short-range wireless connection CSD with the first communication circuit 103 of the first electronic device 10 under a short-range communication protocol (e.g., a low-power Bluetooth protocol). If the first communication circuit 123 cannot establish a short-range wireless connection CSD with the first communication circuit 103, the second processor 121 will quickly shut down the second electronic device 12[1] to save power of the second electronic device 12[1].

[0061] In some embodiments, the network access device 20[1] may include a communication circuit (not shown) that supports the Wi-Fi protocol or other long-distance communication protocols. The first processor 101 controls the second communication circuit 105 to search for at least one network access device 20 that is available for connection near the first electronic device 10. In some embodiments, the network access device 20[1] is found to be available. In this case, if Figure 1As shown, the second communication circuit 105 of the first electronic device 10 will establish a first wireless connection C1 with the network access device 20[1] under a long-distance communication protocol (e.g., Wi-Fi protocol). In some further embodiments, the second communication circuit 105 may notify the first processor 101 that the first wireless connection C1 is established on a first channel H1 (i.e., channel information). The second communication circuit 105 of the first electronic device 10 will establish a second wireless connection C2 with the second communication circuit 125 of the second electronic device 12[1] on the same first channel H1 under a long-distance communication protocol (e.g., Wi-Fi protocol).

[0062] If no available network access device 20 is found, the second communication circuit 105 of the first electronic device 10 establishes a second wireless connection C2 with the second communication circuit 125 of the second electronic device 12[1] on a predetermined channel under a long-distance communication protocol (e.g., Wi-Fi protocol). The predetermined channel may be different from the first channel H1. As can be seen from the above description, the first electronic device 10 is used to establish the second wireless connection C2 with the second electronic device 12[1] on one of a plurality of transmission channels, wherein one of the plurality of transmission channels may be selected based on the result of searching for available network access devices 20 near the first electronic device 10.

[0063] In the above embodiment, the transmission bandwidth and transmission speed of the first wireless connection C1 and the second wireless connection C2 are greater than those of the short-range wireless connection CSD.

[0064] Next, the operation of the first electronic device 10 and the second electronic device 12[1] in the multi-device system 100 will be further described in conjunction with a wireless connection method 300 applicable to the multi-device system 100. Figure 3 , Figure 3 FIG. 3 is a flow chart of a wireless connection method 300 according to some embodiments of the present disclosure. In some embodiments, Figure 3 As shown, the wireless connection method 300 includes a plurality of operations S301 - S307 .

[0065] In operation S301, it is determined whether the first electronic device 10 is connected to a network access device 20 near the first electronic device 10 (eg, Figure 1 or the network access device 20[1] in 2). Then, Figure 4 and 5 The determination in operation S301 is described in detail. Figure 4 and 5 Schematic diagram of different usage scenarios of the multi-device system 100 according to some embodiments of the present disclosure.

[0066] At Figure 4In the embodiment of FIG. 1 , the first electronic device 10 finds an available network access device 20[1] in area A1 and connects to the network access device 20[1]. For instructions on how the first electronic device 10 connects to the network access device 20[1], please refer to Figure 2 In the embodiment, the description of establishing the first wireless connection C1 on the first channel H1 is omitted here. Figure 3 As shown, operation S302 is then performed.

[0067] In operation S302, the first electronic device 10 enables a wireless communication function through the first channel H1. In some embodiments, the wireless communication function is a Wi-Fi peer-to-peer (or Wi-Fi Direct) communication function. In order to enable the Wi-Fi peer-to-peer communication function through the first channel H1, the first electronic device 10 creates a peer group by setting a peer group name, an access password, and a transmission channel. Specifically, the peer group name and the access password are information required for other devices (e.g., the second electronic device 12[1]) to enter or join the peer group. In addition, the transmission channel is set to the first channel H1 so that transmissions in the peer group can be performed on the first channel H1.

[0068] By creating the peer group, the first electronic device 10 will operate as the peer group owner of the peer group, and operation S303 is then performed. Figure 2 As shown, the first electronic device 10 sends access information SNA to the second electronic device 12[1]. In some embodiments of operation S303, the first electronic device 10 sends the peer group information of the peer group as the access information SNA through the short-range wireless connection CSD, wherein the peer group information of the peer group may include at least the peer group name, the access password and the channel information indicating the transmission channel (i.e., the first channel H1). Then, the second electronic device 12[1] receives the access information SNA. In some embodiments, the peer group name is also called the service set identifier (SSID). In other words, the access information SNA may include the service set identifier, the access password and the channel information indicating the first channel H1.

[0069] In response to receiving the access information SNA, the second electronic device 12[1] sends a group join request (not shown) to the first electronic device 10 to attempt to join the peer group created by the first electronic device 10. The first electronic device 10 can verify the information carried in the group join request with the peer group information set by the first electronic device 10, thereby authenticating the second electronic device 12[1] as a peer group client of the peer group. In other words, the second electronic device 12[1] joins the peer group. Then, operation S304 is performed.

[0070] In operation S304, Figure 4 As shown, the first electronic device 10 establishes a second wireless connection C2 with the second electronic device 12[1] on the first channel H1. For instructions on establishing the second wireless connection C2 on the first channel H1, please refer to Figure 2 The description of the embodiments is omitted here. Figure 2 As shown, the first electronic device 10 is used to transmit data information SD via the second wireless connection C2. Specifically, the data information SD may be time synchronization data for synchronizing multiple electronic devices in the multi-device system 100, map data of the physical environment where the multi-device system 100 is located, data for updating map data, or any large-capacity data.

[0071] Returning to the description of operation S301, in some embodiments, Figure 5 As shown, the first electronic device 10 does not find an available network access device 20[1] in area A1, and thus does not connect to the network access device 20[1]. Figure 3 As shown, operation S305 is performed.

[0072] In operation S305, the first electronic device 10 enables the wireless communication function through a second channel H2 (i.e., a predetermined channel). The description of operation S305 can refer to the description of operation S302, so it is omitted here. The difference between operation S302 and operation S305 is that the transmission channel of the peer group created in operation S305 is set to the second channel H2 or the random channel.

[0073] In operation S306, the first electronic device 10 sends access information SNA to the second electronic device 12[1]. The description of operation S306 can refer to the description of operation S303, so it is omitted here. That is, in some embodiments of operation S306, the access information SNA may include a service set identifier (i.e., a peer group name), an access password, and channel information for indicating the second channel H2. In this way, the second electronic device 12[1] can join the peer group created by the first electronic device 10 on the second channel H2.

[0074] In operation S307, Figure 5 As shown, the first electronic device 10 establishes a second wireless connection C2 with the second electronic device 12[1] on the second channel H2. For instructions on establishing the second wireless connection C2 on the second channel H2, please refer to Figure 2 The description of the embodiment is omitted here. It should be understood that when the second wireless connection C2 is established on the second channel H2, the first electronic device 10 can still transmit the data information SD through the second wireless connection C2.

[0075] The wireless connection method 300 is not limited to Figure 3 The multiple operations S301 to S307 shown in FIG. Figure 6 and 7 See Figure 6 , Figure 6 FIG. 3 is a flow chart of a wireless connection method 300 according to some embodiments of the present disclosure. In some embodiments, the wireless connection method 300 further includes a plurality of operations S601 to S603. Figure 4 Detailed description.

[0076] At Figure 4 In the embodiment, after the first electronic device 10 establishes the first wireless connection C1 and the second wireless connection C2 with the network access device 20[1] and the second electronic device 12[1] (on the first channel H1) respectively (i.e., operations S301 to S304), the first electronic device 10 and the second electronic device 12[1] may be moved. For example, a user of the multi-device system 100 may carry a first electronic device 10 implemented by a head-mounted device and a second electronic device 12[1] implemented by a controller in a physical environment such as a gaming venue. The network access device 20[1] and another network access device 20[2] may be set at different locations in the physical environment, wherein the network access device 20[2] may also be implemented by a Wi-Fi access point. When the user moves around in the physical environment, such as Figure 4 As shown, the first electronic device 10 may move from area A1 to another area A2 where network access device 20[2] is responsible for providing network services. It should be understood that the first electronic device 10 can still provide network services via network access device 20[1] at this point in time because area A1 and area A2 may partially overlap with each other. In this case, operation S601 is performed.

[0077] In operation S601, the first electronic device 10 performs a network handoff from the network access device 20[1] to the network access device 20[2]. In some embodiments, the second communication circuit 105 of the first electronic device 10 may transmit the connection information of the first wireless connection C1 (not shown) and a network handoff request signal (not shown) to the network access device 20[2] to attempt to perform a network handoff. After the network access device 20[2] receives the connection information of the first wireless connection C1 and the network handoff request signal, the first electronic device 10 may switch from connecting to the network access device 20[1] to connecting to the network access device 20[2], so that the first electronic device 10 receives network services via the network access device 20[2]. Figure 4 As shown, the first electronic device 10 moving into the area A2 establishes a third wireless connection C3 with the network access device 20[2] on a third channel H3 different from the first channel H1 under a long-distance communication protocol (e.g., Wi-Fi protocol). Network switching can be accomplished by known techniques in the related art, so its detailed description is omitted here.

[0078] In operation S602, the first electronic device 10 disables the wireless communication function enabled through the first channel H1. In some embodiments, the first electronic device 10 removes the peer group created on the first channel H1 (i.e., the peer group created by the first electronic device 10 in operation S302) to disable the wireless communication function enabled through the first channel H1. It should be understood that before the peer group created on the first channel H1 is removed, the first electronic device 10 and the second electronic device 12[1] are both members of the peer group created on the first channel H1. For example, the peer group name, access password, and transmission channel of the peer group created on the first channel H1 can be cleared from the first electronic device 10. Figure 4 As shown, by deactivating the wireless communication function enabled through the first channel H1 , the second wireless connection C2 established on the first channel H1 will disappear.

[0079] In operation S603, the first electronic device 10 activates the wireless communication function through the third channel H3. The description of operation S603 can refer to the description of operation S302, so it is omitted here. Figure 4 As shown, after the wireless communication function is enabled again through the third channel H3 (i.e., operation S603), the first electronic device 10 will establish a second wireless connection C2 with the second electronic device 12[1] again on the third channel H3. The description of establishing the second wireless connection C2 with the second electronic device 12[1] on the third channel H3 can refer to operations S303 and S304, so it is omitted here.

[0080] See also Figure 7 , Figure 7 FIG. 3 is a flow chart of a wireless connection method 300 according to some embodiments of the present disclosure. In some embodiments, the wireless connection method 300 further includes a plurality of operations S701 to S703. Figure 5 Detailed description.

[0081] At Figure 5 In the embodiment of FIG. 1 , after the first electronic device 10 and the second electronic device 12[1] establish the second wireless connection C2 on the second channel H2 (i.e., operations S301 and S305-S307), the first electronic device 10 and the second electronic device 12[1] may be moved, for example, by a user of the multi-device system 100. Figure 5 As shown, the first electronic device 10 may move from area A1 to area A2 where the network access device 20[2] is responsible for providing network services. In this case, operation S701 is performed.

[0082] In operation S701, the first electronic device 10 searches for a network access device 20[2] that can be connected. Figure 5 As shown, the first electronic device 10 moving into area A2 establishes a third wireless connection C3 with the network access device 20[2] under a long-distance communication protocol (e.g., Wi-Fi protocol) on a third channel H3 different from the second channel H2, so that the first electronic device 10 receives network services via the network access device 20[2].

[0083] In operation S702, the first electronic device 10 disables the wireless communication function enabled through the second channel H2. The description of operation S702 can refer to the description of operation S602, so it is omitted here. Figure 5 As shown, by deactivating the wireless communication function enabled via the second channel H2, the second wireless connection C2 established on the second channel H2 will disappear.

[0084] In operation S703, the first electronic device 10 activates the wireless communication function through the third channel H3. The description of operation S703 can refer to the description of operation S302, so it is omitted here. Figure 5 As shown, after the wireless communication function is enabled again through the third channel H3 (i.e., operation S703), the first electronic device 10 will establish a second wireless connection C2 with the second electronic device 12[1] again on the third channel H3. The description of establishing the second wireless connection C2 with the second electronic device 12[1] on the third channel H3 can be referred to operations S303 and S304, so it is omitted here.

[0085] As can be seen from the above embodiments of the present disclosure, by establishing a second wireless connection C2 between the first electronic device 10 and the second electronic device 12 on the same transmission channel (i.e., the first channel H1 or the third channel H3) as the transmission channel for communication between the first electronic device 10 and the network access device 20, the first electronic device 10 using a single antenna (not shown) to communicate with the network access device 20 and the second electronic device 12 can reduce the problem of Wi-Fi throughput degradation caused by frequent switching of transmission channels. In summary, the multi-device system 100 of the present disclosure has advantages such as improved performance.

[0086] The method of the present disclosure may exist in the form of program code. The program code may be contained in a physical medium, such as a floppy disk, a CD, a hard disk, or any other transient or non-transient computer-readable storage medium, wherein when the program code is loaded and executed by a computer, the computer becomes a device for implementing the method. The program code may also be transmitted through some transmission medium, such as wires or cables, through optical fibers, or through any other transmission mode, wherein when the program code is received, loaded and executed by a computer, the computer becomes a device for implementing the method. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique device that operates similarly to an application-specific logic circuit.

[0087] Although the present disclosure has been disclosed in the above-mentioned implementation mode, it is not intended to limit the present disclosure. A person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be determined by the following claims.

Claims

1. A wireless connection method, characterized in that: Applicable to a multi-device system, wherein the multi-device system includes a first electronic device and a second electronic device, and the wireless connection method includes: Based on the first electronic device being connected to a network access device, a wireless communication function is enabled through the first electronic device through a first channel, wherein the first electronic device and the network access device establish a first wireless connection on the first channel; and A second wireless connection is established with the second electronic device on the first channel through the first electronic device.

2. The wireless connection method according to claim 1, characterized in that: The operation of enabling the wireless communication function through the first channel includes: A peer group is created in the first channel by the first electronic device.

3. The wireless connection method according to claim 2, characterized in that: Also includes: The first electronic device sends peer group information of the peer group through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the peer group information includes a peer group name, an access password, and channel information for indicating the first channel.

4. The wireless connection method according to claim 1, wherein: Also includes: An access message is sent to the second electronic device through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the access message includes a service set identifier, an access password and channel information indicating the first channel.

5. The wireless connection method according to claim 4, characterized in that: The first wireless connection and the second wireless connection are established under the Wi-Fi protocol, and the short-range wireless connection is established under the Bluetooth low energy protocol.

6. The wireless connection method according to claim 1, wherein: Also includes: Performing a network switch from the network access device to another network access device through the first electronic device; Deactivating, by the first electronic device, the wireless communication function enabled through the first channel; and The wireless communication function is enabled through a third channel via the first electronic device, wherein a third wireless connection is established between the first electronic device and the other network access device on the third channel.

7. The wireless connection method according to claim 6, characterized in that: The operation of performing a network switch from the network access device to the other network access device includes: The connection with the network access device is switched to the connection with the other network access device through the first electronic device.

8. The wireless connection method according to claim 6, characterized in that: The operation of disabling the wireless communication function enabled through the first channel includes: A peer group created on the first channel is removed, wherein the first electronic device and the second electronic device are members of the peer group.

9. The wireless connection method according to claim 1, wherein: Also includes: Based on the fact that the first electronic device is not connected to the network access device, enabling the wireless communication function through a second channel via the first electronic device; and The second wireless connection is established with the second electronic device on the second channel through the first electronic device.

10. The wireless connection method according to claim 9, characterized in that: Also includes: Searching for another network access device that can be connected through the first electronic device; Deactivating, by the first electronic device, the wireless communication function enabled by the second channel; and The wireless communication function is enabled through a third channel via the first electronic device, wherein a third wireless connection is established between the first electronic device and the other network access device on the third channel.

11. A multi-device system, characterized in that: Include: a first electronic device, used to connect to a network access device, and to enable a wireless communication function through a first channel when the first electronic device is connected to the network access device, wherein the first electronic device and the network access device establish a first wireless connection on the first channel; and A second electronic device is used to establish a second wireless connection with the first electronic device on the first channel.

12. The multi-device system according to claim 11, wherein: The first electronic device is used to create an in-class group on the first channel.

13. The multi-device system according to claim 12, wherein: The first electronic device is used to send peer group information of the peer group through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the peer group information includes a peer group name, an access password and channel information for indicating the first channel.

14. The multi-device system according to claim 11, wherein: The first electronic device is used to send an access message to the second electronic device through a short-range wireless connection established between the first electronic device and the second electronic device, wherein the access message includes a service set identifier, an access password and channel information for indicating the first channel.

15. The multi-device system according to claim 11, wherein: The first electronic device is used to perform network switching from the network access device to another network access device, to disable the wireless communication function enabled through the first channel, and to enable the wireless communication function through a third channel, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

16. The multi-device system according to claim 15, wherein: The first electronic device is used to switch from being connected to the network access device to being connected to the other network access device.

17. The multi-device system according to claim 15, wherein: The first electronic device is used to remove a peer group created on the first channel, wherein the first electronic device and the second electronic device are in the peer group.

18. The multi-device system according to claim 11, wherein: The first electronic device is used to enable the wireless communication function through a second channel when the first electronic device is not connected to the network access device, and is used to establish the second wireless connection with the second electronic device on the second channel.

19. The multi-device system of claim 18, wherein: The first electronic device is used to search for another network access device available for connection, to disable the wireless communication function enabled through the second channel, and to enable the wireless communication function through a third channel, wherein the first electronic device and the other network access device establish a third wireless connection on the third channel.

20. A non-transitory computer-readable storage medium, characterized in that: A computer program is provided for executing a wireless connection method, wherein the wireless connection method is applicable to a multi-device system, the multi-device system includes a first electronic device and a second electronic device, and the wireless connection method includes: Based on the first electronic device being connected to a network access device, a wireless communication function is enabled through the first electronic device through a first channel, wherein the first electronic device and the network access device establish a first wireless connection on the first channel; and A second wireless connection is established with the second electronic device on the first channel through the first electronic device.