Communication method and device based on WiFi6

By obtaining the number of device connections and target network speed information of the WiFi6 router, controlling the activation of the second WiFi6 router solves the problem of device lag and disconnection of the WiFi6 router under high device density, and improves the quality of network communication.

CN115396928BActive Publication Date: 2024-10-22MICRONET UNION TECH (CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210829894.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-13
Publication Date
2024-10-22
Estimated Expiration
2042-07-13

AI Technical Summary

Technical Problem

In the case of high device density, WiFi6 routers may cause device freezes and disconnections, affecting the quality of network communication.

Method used

By obtaining the number of device connections and target network speed information of the WiFi6 router, determine whether the router activation conditions are met, control the activation of the second WiFi6 router, and ensure that the target device is connected to a more stable WiFi6 network.

Benefits of technology

The network communication quality of the target device connected to the WiFi6 router is improved, and the user obtains a WiFi6 network with higher communication quality without any perception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396928B_ABST
    Figure CN115396928B_ABST
Patent Text Reader

Abstract

The disclosed embodiment relates to a communication method and device based on WiFi6, the method comprising: obtaining network information of a first WiFi6 router; determining whether the network information satisfies a predetermined router activation condition; if the network information satisfies the router activation condition, controlling the activation of a second WiFi6 router; if the target device requests to connect to the first WiFi6 router, controlling the target device to connect to the second WiFi6 router so that the target device can perform network communication. By using this method, the network communication quality of the target device connecting to the WiFi6 router for WiFi6 communication can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of communications, and in particular to a communication method and device based on WiFi6. Background Art

[0002] Nowadays, with the development of WiFi6 technology, the Internet experience of indoor wireless terminals is richer. Generally, WiFi6 can support more devices to communicate at a higher speed.

[0003] However, due to the large number of devices that can be connected to the Internet, the number of devices actually connected to the WiFi6 router that provides the WiFi6 network may vary greatly at different times. For example, at some times, the number of devices that need to be connected to the WiFi6 router may suddenly increase a lot, causing problems such as device freezes and disconnections.

[0004] It can be seen that how to improve the network communication quality of the device is an issue worthy of attention. Summary of the invention

[0005] In view of this, in order to solve some or all of the above-mentioned technical problems, the embodiments of the present disclosure provide a communication method and device based on WiFi6.

[0006] In a first aspect, an embodiment of the present disclosure provides a communication method based on WiFi6, the method comprising:

[0007] Obtain network information of the first WiFi6 router, wherein the network information includes at least one of the number of device connections and the target network speed of the first WiFi6 router;

[0008] Determining whether the above network information meets a predetermined router activation condition;

[0009] When the network information meets the router activation conditions, the second WiFi6 router is controlled to be activated;

[0010] When the target device requests to connect to the first WiFi6 router, the target device is controlled to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0011] Optionally, in the method of any embodiment of the present disclosure, the network information includes the number of devices connected to the first WiFi6 router, and the router activation condition includes that the number of devices connected is greater than or equal to a target number; and

[0012] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0013] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0014] Optionally, in the method of any embodiment of the present disclosure, the network information includes a target network speed of the first WiFi6 router, and the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; and

[0015] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0016] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0017] Optionally, in the method of any embodiment of the present disclosure, the target network speed is determined by:

[0018] Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set;

[0019] Sort the network speeds in the above network speed set in order of size to obtain a network speed sequence;

[0020] Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1;

[0021] Based on the network speed sequence and the weight sequence, a weighted sum of the network speeds in the network speed sequence is calculated;

[0022] The above result is determined as the target network speed.

[0023] Optionally, in the method of any embodiment of the present disclosure, the first weight subsequence of the above-mentioned weight sequence is arranged in ascending order, the second weight subsequence of the above-mentioned weight sequence is arranged in descending order, the above-mentioned first weight subsequence is composed of weights in the above-mentioned weight sequence that are located before the target weight, and the above-mentioned second weight subsequence is composed of weights in the above-mentioned weight sequence that are located after the above-mentioned target weight, and the above-mentioned target weight is the median of the above-mentioned network speed sequence.

[0024] Optionally, in the method of any embodiment of the present disclosure, the controlling the target device to connect to the second WiFi6 router includes:

[0025] Send a network switching request to the target device, wherein the network switching request indicates whether to authorize the router that the target device requests to connect to be changed to the second WiFi6 router;

[0026] Upon receiving an authorization operation for the network conversion request, the target device is controlled to connect to the second WiFi6 router.

[0027] Optionally, in the method of any embodiment of the present disclosure, the method further includes:

[0028] A prompt message is sent to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

[0029] In a second aspect, an embodiment of the present disclosure provides a communication device based on WiFi6, the device comprising:

[0030] An acquisition unit is configured to acquire network information of the first WiFi6 router, wherein the network information includes at least one of the number of device connections and the target network speed of the first WiFi6 router;

[0031] A determination unit, configured to determine whether the network information satisfies a predetermined router activation condition;

[0032] The first control unit is configured to control the activation of the second WiFi6 router when the network information meets the router activation condition;

[0033] The second control unit is configured to control the target device to connect to the second WiFi6 router when the target device requests to connect to the first WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0034] Optionally, in the apparatus of any embodiment of the present disclosure, the network information includes the number of devices connected to the first WiFi6 router, and the router activation condition includes that the number of devices connected is greater than or equal to a target number; and

[0035] The first control unit is specifically configured as follows:

[0036] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0037] Optionally, in the device of any embodiment of the present disclosure, the network information includes a target network speed of the first WiFi6 router, and the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; and

[0038] The first control unit is specifically configured as follows:

[0039] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0040] Optionally, in the device of any embodiment of the present disclosure, the target network speed is determined by:

[0041] Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set;

[0042] Sort the network speeds in the above network speed set in order of size to obtain a network speed sequence;

[0043] Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1;

[0044] Based on the network speed sequence and the weight sequence, a weighted sum of the network speeds in the network speed sequence is calculated;

[0045] The above result is determined as the target network speed.

[0046] Optionally, in the device of any embodiment of the present disclosure, the first weight subsequence of the above-mentioned weight sequence is arranged in ascending order, the second weight subsequence of the above-mentioned weight sequence is arranged in descending order, the above-mentioned first weight subsequence is composed of weights in the above-mentioned weight sequence that are located before the target weight, and the above-mentioned second weight subsequence is composed of weights in the above-mentioned weight sequence that are located after the above-mentioned target weight, and the above-mentioned target weight is the median of the above-mentioned network speed sequence.

[0047] Optionally, in the device of any embodiment of the present disclosure, the first control unit is specifically configured to:

[0048] Send a network switching request to the target device, wherein the network switching request indicates whether to authorize the router that the target device requests to connect to be changed to the second WiFi6 router;

[0049] Upon receiving an authorization operation for the network conversion request, the target device is controlled to connect to the second WiFi6 router.

[0050] Optionally, in the device of any embodiment of the present disclosure, the device further includes:

[0051] The sending unit is configured to send a prompt message to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

[0052] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0053] Memory for storing computer programs;

[0054] The processor is used to execute the computer program stored in the above-mentioned memory, and when the above-mentioned computer program is executed, it implements the method of any embodiment of the WiFi6-based communication method of the above-mentioned first aspect of the present disclosure.

[0055] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium. When the computer program is executed by a processor, it implements a method as in any embodiment of the WiFi6-based communication method of the first aspect mentioned above.

[0056] In a fifth aspect, an embodiment of the present disclosure provides a computer program, which includes a computer-readable code. When the computer-readable code runs on a device, the processor in the device executes instructions for implementing the steps in the method of any embodiment of the WiFi6-based communication method of the first aspect mentioned above.

[0057] The WiFi6-based communication method provided by the embodiment of the present disclosure obtains network information of a first WiFi6 router, wherein the network information includes at least one of the number of device connections and a target network speed of the first WiFi6 router, and then determines whether the network information satisfies a predetermined router activation condition, and then, if the network information satisfies the router activation condition, controls the activation of a second WiFi6 router, and finally, if the target device requests to connect to the first WiFi6 router, controls the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router. By this method, when the network information of the first WiFi6 router meets the router activation conditions and the target device requests to connect to the first WiFi6 router, the target device can be controlled to connect to the second WiFi6 router so that it can perform network communication based on the WiFi6 network provided by the second WiFi6 router, thereby improving the network communication quality of the target device connecting to the WiFi6 router for communication, and because the target device is controlled to connect to the second WiFi6 router when it requests to connect to the first WiFi6 router, therefore, in some cases (for example, once it is determined that the target device requests to connect to the first WiFi6 router, it is controlled to connect to the second WiFi6 router without performing other steps in between), a WiFi6 network with higher communication quality can be provided to the user of the target device without being aware of it. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A flow chart of a communication method based on WiFi6 provided in an embodiment of the present disclosure;

[0059] Figure 2 A flowchart of another WiFi6-based communication method provided in an embodiment of the present disclosure;

[0060] Figure 3 A flowchart of another communication method based on WiFi6 provided in an embodiment of the present disclosure;

[0061] Figure 4 A schematic diagram of the structure of a communication device based on WiFi6 provided in an embodiment of the present disclosure;

[0062] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0063] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0064] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish objects such as different steps, devices or modules, and do not represent any specific technical meanings, nor do they indicate the logical order between them.

[0065] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0066] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0067] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.

[0068] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0069] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0070] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.

[0071] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0072] It should be noted that, in the absence of conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present disclosure, the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0073] Figure 1 A flow chart of a communication method based on WiFi6 provided in an embodiment of the present disclosure is shown as follows: Figure 1 As shown, the method specifically includes:

[0074] 101. Obtain network information of a first WiFi6 router, wherein the network information includes at least one of the number of device connections and a target network speed of the first WiFi6 router.

[0075] In this embodiment, the executor of the WiFi6-based communication method (such as a server, a terminal device, a WiFi6-based communication device, etc.) can obtain the network information of the first WiFi6 router from other electronic devices or locally.

[0076] Among them, the above-mentioned network information includes at least one of the number of device connections and the target network speed of the above-mentioned first WiFi6 router.

[0077] Among them, the above-mentioned first WiFi6 router can be any WiFi6 router. The first WiFi6 router can provide a WiFi6 network so that the device connected to the first WiFi6 router can communicate through the WiFi6 network.

[0078] The number of device connections can be the number of devices connected to the first WiFi6 router.

[0079] The target network speed may be the network speed of any one or more devices connected to the first WiFi6 router, or may be the network speed calculated based on the network speed of any one or more devices connected to the first WiFi6 router. For example, the target network speed may be the average, median, or mode of the network of all devices connected to the first WiFi6 router.

[0080] 102. Determine whether the above network information meets a predetermined router activation condition.

[0081] In this embodiment, the execution subject may determine whether the network information satisfies a predetermined router activation condition.

[0082] Among them, the above-mentioned router activation conditions can indicate whether to enable the second WiFi6 router.

[0083] As an example, when the network information includes the number of device connections and the target network speed, the router activation condition may include: the target value calculated based on the number of device connections and the target network speed is greater than or equal to the preset value. The following formula may be used to calculate the target value Z based on the number of device connections X and the target network speed Y:

[0084]

[0085] Here, a represents a predetermined value, which is a positive number less than 1.

[0086] In some cases, the value of a in the above formula can be determined based on the maximum number of devices that can be connected to the first WiFi6 router and the maximum network speed that the first WiFi6 router can provide. For example, if the first WiFi6 router allows a maximum of 100 (that is, the maximum number of devices that can be connected) devices to connect, and the maximum network speed that the first WiFi6 router can provide is 1000 megabits per second, then the value of a can be 0.5. In addition, the value of a can be negatively correlated with the maximum number of devices that can be connected to the first WiFi6 router, and negatively correlated with the maximum network speed that the first WiFi6 router can provide.

[0087] 103. When the above network information meets the above router activation conditions, control the activation of the second WiFi6 router.

[0088] In this embodiment, when the above-mentioned network information meets the above-mentioned router activation conditions, the above-mentioned execution entity can control the activation of the second WiFi6 router.

[0089] Among them, the above-mentioned execution entity can control the activation of the second WiFi6 router by sending an activation instruction to the second WiFi6 router, or by connecting the power supply of the second WiFi6 router.

[0090] Here, it can be in a disabled state before the second WiFi6 router is enabled.

[0091] In some optional implementations of this embodiment, the network information includes the number of devices connected to the first WiFi6 router. The router activation condition includes that the number of devices connected is greater than or equal to the target number. On this basis, when the network information meets the router activation condition, the execution subject can control the activation of the second WiFi6 router in the following manner:

[0092] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0093] It can be understood that the above-mentioned optional implementation method can control the activation of the second WiFi6 router when the number of the above-mentioned device connections is greater than or equal to the above-mentioned target number. Thus, by controlling the number of devices connected to the first WiFi6 router, the network communication quality of the target device connecting to the WiFi6 router for WiFi6 communication is improved.

[0094] In some optional implementations of this embodiment, the network information includes the target network speed of the first WiFi6 router. The router activation condition includes that the target network speed is less than or equal to the target network speed threshold. On this basis, when the network information meets the router activation condition, the execution subject can control the activation of the second WiFi6 router in the following manner:

[0095] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0096] The target network speed threshold may be a predetermined network speed value, for example, 100 megabits per second.

[0097] It can be understood that the above-mentioned optional implementation method can control the activation of the second WiFi6 router when the target network speed of the first WiFi6 router is less than or equal to the above-mentioned target network speed threshold. Thus, by monitoring the network speed of the device connected to the first WiFi6 router, the network communication quality of the target device connecting to the WiFi6 router for WIFi6 communication is improved.

[0098] In some application scenarios of the above optional implementations, the above target network speed is determined by:

[0099] First, obtain the network speed of each device connected to the first WiFi6 router (that is, all devices connected to the first WiFi6 router) to obtain a network speed set.

[0100] Afterwards, the network speeds in the network speed set are sorted in order of magnitude to obtain a network speed sequence. Here, the network speeds in the network speed sequence can be arranged in ascending order or descending order.

[0101] Then, a weight sequence corresponding to the network speed sequence is determined, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1.

[0102] Then, based on the network speed sequence and the weight sequence, the weighted sum of each network speed in the network speed sequence is calculated. For example, if the network speed sequence is: a, b, c; the weight sequence is: A, B, C, then the weighted sum result R = a×A+b×B+c×C.

[0103] Finally, the above result R is determined as the target network speed.

[0104] It can be understood that in the above application scenarios, whether to enable the second WiFi6 router can be determined based on the network speed of each device connected to the first WiFi6 router. In this way, the WiFi6 network communication quality provided by the first WiFi6 router can be determined more accurately, thereby reducing the probability of erroneous activation of the second WiFi6 router due to misjudgment of the WiFi6 network communication quality provided by the first WiFi6 router.

[0105] In some cases of the above application scenarios, the first weight subsequence of the above weight sequence is arranged in ascending order. The second weight subsequence of the above weight sequence is arranged in descending order. The above first weight subsequence is composed of weights located before the target weight in the above weight sequence. The above second weight subsequence is composed of weights located after the above target weight in the above weight sequence. The above target weight is the median of the above network speed sequence.

[0106] It can be understood that in the above situation, lower weights can be assigned to higher network speeds and lower network speeds, so that the network speeds of high-performance devices and low-performance devices have less impact on the final calculated target network speed. As a result, the accuracy of determining the WiFi6 network communication quality provided by the first WiFi6 router can be further improved, and the probability of misactivation of the second WiFi6 router can be reduced.

[0107] 104. When the target device requests to connect to the first WiFi6 router, control the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0108] In this embodiment, when the target device requests to connect to the first WiFi6 router, the execution entity may control the target device to connect to the second WiFi6 router.

[0109] Among them, the above-mentioned target device is used for network communication based on the WiFi6 network provided by the above-mentioned second WiFi6 router.

[0110] The above-mentioned second WiFi6 router may be another router other than the first WiFi6 router.

[0111] In this embodiment, the first WiFi6 router, the second WiFi6 router, and the target device can respectively implement the above-mentioned control and being controlled as well as data transmission through applications.

[0112] The WiFi6-based communication method provided by the embodiment of the present disclosure obtains network information of a first WiFi6 router, wherein the network information includes at least one of the number of device connections and a target network speed of the first WiFi6 router, and then determines whether the network information satisfies a predetermined router activation condition, and then, if the network information satisfies the router activation condition, controls the activation of a second WiFi6 router, and finally, if the target device requests to connect to the first WiFi6 router, controls the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router. By this method, when the network information of the first WiFi6 router meets the router activation conditions and the target device requests to connect to the first WiFi6 router, the target device can be controlled to connect to the second WiFi6 router so that it can perform network communication based on the WiFi6 network provided by the second WiFi6 router, thereby improving the network communication quality of the target device connecting to the WiFi6 router for WiFi6 communication, and because the target device is controlled to connect to the second WiFi6 router when it requests to connect to the first WiFi6 router, therefore, in some cases (for example, once it is determined that the target device requests to connect to the first WiFi6 router, it is controlled to connect to the second WiFi6 router without performing other steps in between), a WiFi6 network with higher communication quality can be provided to the user of the target device without being aware of it.

[0113] Figure 2 A flow chart of another communication method based on WiFi6 provided in an embodiment of the present disclosure, such as Figure 2 As shown, the method specifically includes:

[0114] 201. Obtain network information of a first WiFi6 router, wherein the network information includes at least one of the number of device connections and a target network speed of the first WiFi6 router.

[0115] In this embodiment, the execution entity of the WiFi6-based communication method (such as a server, a terminal device, a WiFi6-based communication device, etc.) can obtain the network information of the first WiFi6 router.

[0116] The network information includes at least one of the number of devices connected to the first WiFi6 router and the target network speed.

[0117] In this embodiment, step 201 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.

[0118] 202. Determine whether the network information satisfies a predetermined router activation condition.

[0119] In this embodiment, the execution subject may determine whether the network information satisfies a predetermined router activation condition.

[0120] In this embodiment, step 202 and Figure 1 Step 102 in the corresponding embodiment is basically the same and will not be described again here.

[0121] 203. When the above network information meets the above router activation conditions, control the activation of the second WiFi6 router.

[0122] In this embodiment, when the above-mentioned network information meets the above-mentioned router activation conditions, the above-mentioned execution entity can control the activation of the second WiFi6 router.

[0123] In this embodiment, step 203 and Figure 1 Step 103 in the corresponding embodiment is basically the same and will not be described again here.

[0124] 204. When the target device requests to connect to the first WiFi6 router, a network switching request is sent to the target device, wherein the network switching request indicates whether to authorize changing the router to which the target device requests to connect to the second WiFi6 router.

[0125] In this embodiment, when the target device requests to connect to the first WiFi6 router, the execution entity may send a network switching request to the target device.

[0126] Among them, the above-mentioned network conversion request represents: whether to authorize the change of the router to which the above-mentioned target device requests to connect to the above-mentioned second WiFi6 router.

[0127] 205. Upon receiving an authorization operation for the network conversion request, control the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0128] In this embodiment, upon receiving an authorization operation for the above-mentioned network conversion request, the above-mentioned execution entity can control the above-mentioned target device to connect to the above-mentioned second WiFi6 router.

[0129] Among them, the above-mentioned target device is used for network communication based on the WiFi6 network provided by the above-mentioned second WiFi6 router.

[0130] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The technical features described in the corresponding embodiments are realized Figure 1 The technical effect of the communication method based on WiFi6 is shown in the figure. For details, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.

[0131] The WiFi6-based communication method provided by the embodiment of the present disclosure controls the target device to connect to the second WiFi6 router when an authorization operation for the network conversion request is received, so that the user of the target device can decide whether to connect to the second WiFi6 router.

[0132] Figure 3 A flow chart of another communication method based on WiFi6 provided in an embodiment of the present disclosure is provided. This method can be applied to electronic devices such as servers, smart phones, laptops, desktop computers, portable computers, etc.

[0133] Specifically, if Figure 3 As shown, the method specifically includes:

[0134] 301. Obtain network information of a first WiFi6 router, wherein the network information includes at least one of the number of device connections and a target network speed of the first WiFi6 router.

[0135] In this embodiment, the execution entity of the WiFi6-based communication method (such as a server, a terminal device, a WiFi6-based communication device, etc.) can obtain the network information of the first WiFi6 router.

[0136] The network information includes at least one of the number of devices connected to the first WiFi6 router and the target network speed.

[0137] In this embodiment, step 301 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.

[0138] 302. Determine whether the network information satisfies a predetermined router activation condition.

[0139] In this embodiment, the execution subject may determine whether the network information satisfies a predetermined router activation condition.

[0140] In this embodiment, step 302 and Figure 1 Step 102 in the corresponding embodiment is basically the same and will not be described again here.

[0141] 303. When the above network information meets the above router activation conditions, control the activation of the second WiFi6 router.

[0142] In this embodiment, when the above-mentioned network information meets the above-mentioned router activation conditions, the above-mentioned execution entity can control the activation of the second WiFi6 router.

[0143] In this embodiment, step 303 and Figure 1 Step 103 in the corresponding embodiment is basically the same and will not be described again here.

[0144] 304. When the target device requests to connect to the first WiFi6 router, control the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0145] In this embodiment, when the target device requests to connect to the first WiFi6 router, the execution entity may control the target device to connect to the second WiFi6 router.

[0146] Among them, the above-mentioned target device is used for network communication based on the WiFi6 network provided by the above-mentioned second WiFi6 router.

[0147] In this embodiment, step 304 and Figure 1 Step 104 in the corresponding embodiment is basically the same and will not be described again here.

[0148] 305. Send a prompt message to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

[0149] In this embodiment, the above-mentioned execution entity can send a prompt message to the above-mentioned target device to indicate that the above-mentioned target device has successfully connected to the above-mentioned second WiFi6 router.

[0150] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The technical features described in the corresponding embodiments are realized Figure 1 The technical effect of the communication method based on WiFi6 is shown in the figure. For details, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.

[0151] The WiFi6-based communication method provided by the embodiment of the present disclosure sends a prompt message to the target device to indicate that the target device has successfully connected to the second WiFi6 router, so that the user of the target device can obtain the connection status of the WiFi6 router in a timely manner.

[0152] Figure 4 A schematic diagram of the structure of a communication device based on WiFi6 provided in an embodiment of the present disclosure specifically includes:

[0153] The acquisition unit 401 is configured to acquire network information of the first WiFi6 router, wherein the network information includes at least one of the number of device connections and the target network speed of the first WiFi6 router;

[0154] The determination unit 402 is configured to determine whether the above network information meets a predetermined router activation condition;

[0155] The first control unit 403 is configured to control the activation of the second WiFi6 router when the network information meets the router activation condition;

[0156] The second control unit 404 is configured to control the target device to connect to the second WiFi6 router when the target device requests to connect to the first WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0157] Optionally, in the apparatus of any embodiment of the present disclosure, the network information includes the number of devices connected to the first WiFi6 router, and the router activation condition includes that the number of devices connected is greater than or equal to a target number; and

[0158] The first control unit 403 is specifically configured as follows:

[0159] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0160] Optionally, in the device of any embodiment of the present disclosure, the network information includes a target network speed of the first WiFi6 router, and the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; and

[0161] The first control unit 403 is specifically configured as follows:

[0162] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0163] Optionally, in the device of any embodiment of the present disclosure, the target network speed is determined by:

[0164] Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set;

[0165] Sort the network speeds in the above network speed set in order of size to obtain a network speed sequence;

[0166] Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1;

[0167] Based on the network speed sequence and the weight sequence, a weighted sum of the network speeds in the network speed sequence is calculated;

[0168] The above result is determined as the target network speed.

[0169] Optionally, in the device of any embodiment of the present disclosure, the first weight subsequence of the above-mentioned weight sequence is arranged in ascending order, the second weight subsequence of the above-mentioned weight sequence is arranged in descending order, the above-mentioned first weight subsequence is composed of weights in the above-mentioned weight sequence that are located before the target weight, and the above-mentioned second weight subsequence is composed of weights in the above-mentioned weight sequence that are located after the above-mentioned target weight, and the above-mentioned target weight is the median of the above-mentioned network speed sequence.

[0170] Optionally, in the device of any embodiment of the present disclosure, the first control unit 403 is specifically configured to:

[0171] Send a network switching request to the target device, wherein the network switching request indicates whether to authorize the router that the target device requests to connect to be changed to the second WiFi6 router;

[0172] Upon receiving an authorization operation for the network conversion request, the target device is controlled to connect to the second WiFi6 router.

[0173] Optionally, in the device of any embodiment of the present disclosure, the device further includes:

[0174] The sending unit (not shown in the figure) is configured to send a prompt message to the above-mentioned target device to indicate that the above-mentioned target device has successfully connected to the above-mentioned second WiFi6 router.

[0175] The WiFi6-based communication device provided in this embodiment can be as follows Figure 4 The WiFi6-based communication device shown in can perform the following Figure 1-3 All steps of the WiFi6-based communication method are implemented Figure 1-3 The technical effect of the communication method based on WiFi6 is shown in the figure. For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.

[0176] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure is provided. Figure 5 The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not described in detail. Figure 5 Various buses are labeled as bus system 505 .

[0177] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0178] It can be understood that the memory 502 in the embodiment of the present disclosure can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0179] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .

[0180] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application 5022.

[0181] In this embodiment, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:

[0182] Obtain network information of the first WiFi6 router, wherein the network information includes at least one of the number of device connections and the target network speed of the first WiFi6 router;

[0183] Determining whether the above network information meets a predetermined router activation condition;

[0184] When the network information meets the router activation conditions, the second WiFi6 router is controlled to be activated;

[0185] When the target device requests to connect to the first WiFi6 router, the target device is controlled to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0186] Optionally, in the method of any embodiment of the present disclosure, the network information includes the number of devices connected to the first WiFi6 router, and the router activation condition includes that the number of devices connected is greater than or equal to a target number; and

[0187] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0188] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0189] Optionally, in the method of any embodiment of the present disclosure, the network information includes a target network speed of the first WiFi6 router, and the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; and

[0190] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0191] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0192] Optionally, in the method of any embodiment of the present disclosure, the target network speed is determined by:

[0193] Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set;

[0194] Sort the network speeds in the above network speed set in order of size to obtain a network speed sequence;

[0195] Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1;

[0196] Based on the network speed sequence and the weight sequence, a weighted sum of the network speeds in the network speed sequence is calculated;

[0197] The above result is determined as the target network speed.

[0198] Optionally, in the method of any embodiment of the present disclosure, the first weight subsequence of the above-mentioned weight sequence is arranged in ascending order, the second weight subsequence of the above-mentioned weight sequence is arranged in descending order, the above-mentioned first weight subsequence is composed of weights in the above-mentioned weight sequence that are located before the target weight, and the above-mentioned second weight subsequence is composed of weights in the above-mentioned weight sequence that are located after the above-mentioned target weight, and the above-mentioned target weight is the median of the above-mentioned network speed sequence.

[0199] Optionally, in the method of any embodiment of the present disclosure, the controlling the target device to connect to the second WiFi6 router includes:

[0200] Send a network switching request to the target device, wherein the network switching request indicates whether to authorize the router that the target device requests to connect to be changed to the second WiFi6 router;

[0201] Upon receiving an authorization operation for the network conversion request, the target device is controlled to connect to the second WiFi6 router.

[0202] Optionally, in the method of any embodiment of the present disclosure, the method further includes:

[0203] A prompt message is sent to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

[0204] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 501 or the instruction in the form of software. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.

[0205] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present disclosure, or a combination thereof.

[0206] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0207] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in FIG. 1 may perform the following steps: Figure 1-3 All steps of the WiFi6-based communication method are implemented Figure 1-3 The technical effect of the communication method based on WiFi6 is shown in the figure. For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.

[0208] The embodiments of the present disclosure also provide a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0209] When one or more programs in the storage medium can be executed by one or more processors to implement the above-mentioned WiFi6-based communication method executed on the electronic device side.

[0210] The above-mentioned processor is used to execute the WiFi6-based communication program stored in the memory to implement the following steps of the WiFi6-based communication method performed on the electronic device side:

[0211] Obtain network information of the first WiFi6 router, wherein the network information includes at least one of the number of device connections and the target network speed of the first WiFi6 router;

[0212] Determining whether the above network information meets a predetermined router activation condition;

[0213] When the network information meets the router activation conditions, the second WiFi6 router is controlled to be activated;

[0214] When the target device requests to connect to the first WiFi6 router, the target device is controlled to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router.

[0215] Optionally, in the method of any embodiment of the present disclosure, the network information includes the number of devices connected to the first WiFi6 router, and the router activation condition includes that the number of devices connected is greater than or equal to a target number; and

[0216] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0217] When the number of connected devices is greater than or equal to the target number, the second WiFi6 router is controlled to be enabled.

[0218] Optionally, in the method of any embodiment of the present disclosure, the network information includes a target network speed of the first WiFi6 router, and the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; and

[0219] When the network information satisfies the router activation condition, controlling the activation of the second WiFi6 router includes:

[0220] When the above target network speed is less than or equal to the above target network speed threshold, the second WiFi6 router is controlled to be enabled.

[0221] Optionally, in the method of any embodiment of the present disclosure, the target network speed is determined by:

[0222] Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set;

[0223] Sort the network speeds in the above network speed set in order of size to obtain a network speed sequence;

[0224] Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond to the network speeds in the network speed sequence one by one, and the sum of the weights in the weight sequence is 1;

[0225] Based on the network speed sequence and the weight sequence, a weighted sum of the network speeds in the network speed sequence is calculated;

[0226] The above result is determined as the target network speed.

[0227] Optionally, in the method of any embodiment of the present disclosure, the first weight subsequence of the above-mentioned weight sequence is arranged in ascending order, the second weight subsequence of the above-mentioned weight sequence is arranged in descending order, the above-mentioned first weight subsequence is composed of weights in the above-mentioned weight sequence that are located before the target weight, and the above-mentioned second weight subsequence is composed of weights in the above-mentioned weight sequence that are located after the above-mentioned target weight, and the above-mentioned target weight is the median of the above-mentioned network speed sequence.

[0228] Optionally, in the method of any embodiment of the present disclosure, the controlling the target device to connect to the second WiFi6 router includes:

[0229] Send a network switching request to the target device, wherein the network switching request indicates whether to authorize the router that the target device requests to connect to be changed to the second WiFi6 router;

[0230] Upon receiving an authorization operation for the network conversion request, the target device is controlled to connect to the second WiFi6 router.

[0231] Optionally, in the method of any embodiment of the present disclosure, the method further includes:

[0232] A prompt message is sent to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

[0233] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0234] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0235] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present disclosure in detail. It should be understood that the above description is only the specific implementation methods of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A communication method based on WiFi6, characterized in that: The method comprises: Obtain network information of the first WiFi6 router, wherein the network information includes a target network speed of the first WiFi6 router, and the target network speed is an average, median, or mode of network speeds of all devices connected to the first WiFi6 router; Determining whether the network information satisfies a predetermined router activation condition, wherein the router activation condition includes that the target network speed is less than or equal to a target network speed threshold; When the network information meets the router activation condition, control the second WiFi6 router to be activated; In the case where the target device requests to connect to the first WiFi6 router, controlling the target device to connect to the second WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router; When the network information satisfies the router activation condition, controlling the second WiFi6 router to be activated includes: When the target network speed is less than or equal to the target network speed threshold, controlling the second WiFi6 router to be enabled; The target network speed is determined by: Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set; Sort the network speeds in the network speed set in order of magnitude to obtain a network speed sequence; Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond one-to-one to the network speeds in the network speed sequence, and the sum of the weights in the weight sequence is 1; Based on the network speed sequence and the weight sequence, calculating a weighted sum of each network speed in the network speed sequence; Determine the result as the target network speed; The first weight subsequence of the weight sequence is arranged in ascending order, and the second weight subsequence of the weight sequence is arranged in descending order. The first weight subsequence is composed of weights in the weight sequence that are located before the target weight, and the second weight subsequence is composed of weights in the weight sequence that are located after the target weight, and the target weight is the median of the network speed sequence.

2. The method according to claim 1, characterized in that The network information also includes the number of devices connected to the first WiFi6 router, and the router activation condition also includes that the number of devices connected is greater than or equal to the target number.

3. The method according to any one of claims 1-2, characterized in that: The controlling the target device to connect to the second WiFi6 router includes: Sending a network switching request to the target device, wherein the network switching request indicates whether to authorize changing the router to which the target device requests to connect to the second WiFi6 router; Upon receiving an authorization operation for the network switching request, control the target device to connect to the second WiFi6 router.

4. The method according to any one of claims 1-2, characterized in that: The method further comprises: Send a prompt message to the target device to indicate that the target device has successfully connected to the second WiFi6 router.

5. A communication device based on WiFi6, characterized in that: The device comprises: An acquisition unit is configured to acquire network information of the first WiFi6 router, wherein the network information includes a target network speed of the first WiFi6 router, and the target network speed is an average, a median, or a mode of network speeds of all devices connected to the first WiFi6 router; a determining unit configured to determine whether the network information satisfies a predetermined router enabling condition, wherein the router enabling condition includes that the target network speed is less than or equal to a target network speed threshold; A first control unit is configured to control the activation of a second WiFi6 router when the network information meets the router activation condition; A second control unit is configured to control the target device to connect to the second WiFi6 router when the target device requests to connect to the first WiFi6 router, wherein the target device is used to perform network communication based on the WiFi6 network provided by the second WiFi6 router; When the network information satisfies the router activation condition, controlling the second WiFi6 router to be activated includes: When the target network speed is less than or equal to the target network speed threshold, controlling the second WiFi6 router to be enabled; The target network speed is determined by: Obtain the network speed of each device connected to the first WiFi6 router to obtain a network speed set; Sort the network speeds in the network speed set in order of magnitude to obtain a network speed sequence; Determine a weight sequence corresponding to the network speed sequence, wherein the weights in the weight sequence correspond one-to-one to the network speeds in the network speed sequence, and the sum of the weights in the weight sequence is 1; Based on the network speed sequence and the weight sequence, calculating a weighted sum of each network speed in the network speed sequence; Determine the result as the target network speed; The first weight subsequence of the weight sequence is arranged in ascending order, and the second weight subsequence of the weight sequence is arranged in descending order. The first weight subsequence is composed of weights in the weight sequence that are located before the target weight, and the second weight subsequence is composed of weights in the weight sequence that are located after the target weight, and the target weight is the median of the network speed sequence.

6. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute a computer program stored in the memory, and when the computer program is executed, implement the method described in any one of claims 1 to 4 above.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method described in any one of claims 1 to 4 is implemented.