Wireless communication method, terminal and storage medium

By a method of obtaining and replacing wireless access points in a time-sharing SISO system, the application problem of dual WIFI technology in a SISO system is solved, and the communication rate and user experience are improved.

CN115412985BActive Publication Date: 2025-07-08GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211058056.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-13
Publication Date
2025-07-08
Estimated Expiration
2040-01-13

AI Technical Summary

Technical Problem

The prior art can only be applied to terminal devices that support MIMO systems, and the application of dual WIFI technology in SISO systems cannot be realized.

Method used

Provide a wireless communication method, by communicating with the currently connected wireless access point in time, obtaining data throughput, scanning and connecting wireless access points with high data throughput, replacing access points with low data throughput, and realizing dual WIFI connection.

Benefits of technology

It improves WIFI communication rate, reduces the frequency of stuttering scenarios, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115412985B_ABST
    Figure CN115412985B_ABST
Patent Text Reader

Abstract

The present disclosure provides a wireless communication method, a terminal, and a storage medium. The method includes: communicating with a currently connected first wireless access point and a second wireless access point at different communication intervals in a time-sharing manner; respectively obtaining the data throughput of the currently connected first wireless access point and the second wireless access point; determining whether to scan other wireless access points based on the data throughput of the first wireless access point and the second wireless access point; and when a connectable third wireless access point is scanned, connecting to the third wireless access point during the communication interval of the wireless access point with the lower data throughput among the first wireless access point and the second wireless access point; and communicating with the wireless access point with the higher data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-sharing manner.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the application with the application number 202010033416.9 and the invention title of "Wireless Communication Method, Terminal and Storage Medium", which was filed on January 13, 2020. Technical Field

[0002] The present disclosure relates to the field of wireless communication technologies, and in particular, to a wireless communication method, a terminal, and a storage medium. Background Art

[0003] The dual-WiFi technology based on the MIMO (Multiple-Input Multiple-Output) system has been applied. The dual-WiFi technology means that a terminal device simultaneously connects to two wireless access points (APs) and communicates with the two connected wireless access points based on the WiFi technology. The advantage of the dual-WiFi technology is that it improves the stability of the wireless network. When the quality of one wireless link is poor or the throughput is low, another wireless link can be used for communication.

[0004] However, currently, the dual-WiFi technology can only be applied to terminal devices that support the MIMO system.

[0005] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a wireless communication method, a terminal, and a storage medium to provide a dual-WiFi technology that can be applied to terminal devices that support the SISO (Single-Input Single-Output) system.

[0007] Other features and advantages of the present disclosure will become apparent through the following detailed description, or be partially learned through the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, there is provided a wireless communication method, including: communicating with a currently connected first wireless access point and a second wireless access point at different communication intervals in a time-division manner; respectively obtaining data throughputs of the currently connected first wireless access point and the second wireless access point; determining whether to scan other wireless access points based on the data throughputs of the first wireless access point and the second wireless access point; and when a connectable third wireless access point is scanned, connecting to the third wireless access point during a communication interval of the wireless access point with a lower data throughput among the first wireless access point and the second wireless access point; and communicating with the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-division manner.

[0009] According to an embodiment of the present disclosure, determining whether to scan other wireless access points based on the data throughputs of the first wireless access point and the second wireless access point includes: selecting the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point; and when the wireless access point with a higher data throughput is less than or equal to a preset throughput threshold, scanning other wireless access points.

[0010] According to an embodiment of the present disclosure, the method further includes: determining a communication duration ratio of the first wireless access point and the second access point within a preset communication cycle based on the high or low data throughputs of the first wireless access point and the second wireless access point.

[0011] According to an embodiment of the present disclosure, respectively obtaining data throughputs of the currently connected first wireless access point and the second wireless access point includes: periodically sending network access requests to the first wireless access point and the second wireless access point respectively to request receiving downlink data from the first wireless access point and the second wireless access point; and respectively determining the data throughputs of the first wireless access point and the second wireless access point based on the received downlink data from the first wireless access point and the second wireless access point.

[0012] According to an embodiment of the present disclosure, the network access request includes: an HTTP request.

[0013] According to an embodiment of the present disclosure, respectively obtaining data throughputs of the currently connected first wireless access point and the second wireless access point includes: periodically sending uplink data to the first wireless access point and the second wireless access point; and respectively determining the data throughputs of the first wireless access point and the second wireless access point based on the sent uplink data to the first wireless access point and the second wireless access point.

[0014] According to an embodiment of the present disclosure, obtaining the data throughput of the currently connected first wireless access point and second wireless access point respectively includes: detecting in real time the uplink data sent to the first wireless access point and the second wireless access point and / or the downlink data received from the first wireless access point and the second wireless access point; and determining the data throughput of the first wireless access point and the second wireless access point respectively based on the detected uplink data and / or downlink data.

[0015] According to an embodiment of the present disclosure, during the communication gap of the wireless access point with a lower data throughput among the first wireless access point and the second wireless access point, scan for other wireless access points.

[0016] According to an embodiment of the present disclosure, the method further includes: when no connectable wireless access point is scanned, reconnecting to the wireless access point with a lower data throughput among the first wireless access point and the second wireless access point.

[0017] According to another aspect of the present invention, there is provided a terminal, including: a data transceiver unit for communicating with a currently connected first wireless access point and second wireless access point at different communication gaps in a time-division manner; and a processing unit for obtaining the data throughput of the currently connected first wireless access point and second wireless access point respectively; determining whether to scan for other wireless access points based on the data throughput of the first wireless access point and the second wireless access point; and when a connectable third wireless access point is scanned by the data transceiver unit, connecting to the third wireless access point through the data transceiver unit during the communication gap of the wireless access point with a lower data throughput among the first wireless access point and the second wireless access point; the data transceiver unit is further used for communicating with the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-division manner.

[0018] According to an embodiment of the present disclosure, the processing unit is used to select the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point; and when the wireless access point with a higher data throughput is less than or equal to a preset throughput threshold, scan for other wireless access points.

[0019] According to an embodiment of the present disclosure, the processing unit is further used to determine the communication duration ratio of the first wireless access point and the second access point within a preset communication period based on the high and low data throughput of the first wireless access point and the second wireless access point.

[0020] According to an embodiment of the present disclosure, the processing unit is configured to periodically send network access requests to the first wireless access point and the second wireless access point respectively through the data transceiver unit to respectively request to receive downlink data from the first wireless access point and the second wireless access point; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the downlink data received by the data transceiver unit from the first wireless access point and the second wireless access point.

[0021] According to an embodiment of the present disclosure, the network access request includes: an HTTP request.

[0022] According to an embodiment of the present disclosure, the processing unit is configured to periodically send uplink data to the first wireless access point and the second wireless access point respectively through the data transceiver unit; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the uplink data sent by the data transceiver unit to the first wireless access point and the second wireless access point.

[0023] According to an embodiment of the present disclosure, the processing unit is configured to respectively and real-time detect the uplink data sent to the first wireless access point and the second wireless access point and / or the downlink data received from the first wireless access point and the second wireless access point through the data transceiver unit; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the detected uplink data and / or the downlink data.

[0024] According to an embodiment of the present disclosure, the data transceiver unit is configured to scan other wireless access points during the communication gap of the wireless access point with a low data throughput among the first wireless access point and the second wireless access point.

[0025] According to an embodiment of the present disclosure, the processing unit is further configured to notify the data transceiver unit to reconnect to the wireless access point with a low data throughput among the first wireless access point and the second wireless access point when no connectable wireless access point is scanned through the data transceiver unit.

[0026] According to another aspect of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned wireless communication method is implemented.

[0027] The wireless communication method provided by the embodiment of the present disclosure can be applied to a terminal that only supports the SISO antenna system, so that it can communicate with different wireless access points in a time-sharing manner. And based on the data throughput of the connected wireless access point, it is determined whether it is necessary to scan other wireless access points; after scanning other wireless access points, the previously connected wireless access point with low data throughput is replaced, so that the terminal can continue to maintain the dual WIFI communication connection. This method can improve the communication rate of WIFI, reduce the frequency of freeze scenes, and thus improve the user experience.

[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0030] Figure 1 It is a structural diagram of a communication system provided by an exemplary embodiment of the present disclosure.

[0031] Figure 2 A flow chart of a wireless communication method in an embodiment of the present disclosure is shown.

[0032] Figure 3 A flow chart of another wireless communication method in an embodiment of the present disclosure is shown.

[0033] Figure 4 A flow chart of another wireless communication method in an embodiment of the present disclosure is shown.

[0034] Figure 5 A flow chart of another wireless communication method in an embodiment of the present disclosure is shown.

[0035] Figure 6 A flow chart of another wireless communication method in an embodiment of the present disclosure is shown.

[0036] Figure 7 A flow chart of another wireless communication method in an embodiment of the present disclosure is shown.

[0037] Figure 8 A schematic diagram of a terminal in an embodiment of the present disclosure is shown.

[0038] Figure 9 A schematic diagram of a terminal device in an embodiment of the present disclosure is shown.

[0039] Figure 10 Schematic diagram showing a readable storage medium in an embodiment of the present disclosure. Detailed implementation manners

[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments.

[0041] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0042] In addition, in the description of the present disclosure, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0043] A terminal device supporting a MIMO antenna system has two physical layer channels. The two channels can be respectively connected to different wireless access points and communicate with the two wireless access points respectively based on the WIFI technology, thereby realizing dual WIFI connections. Moreover, since the terminal device has two physical layer channels, the terminal device can simultaneously perform data transmission with the two wireless access points.

[0044] However, a terminal device that only supports a SISO antenna system only has one physical layer channel and cannot be connected to two wireless access points based on the MIMO-dual WIFI technology to realize dual WIFI communication.

[0045] An embodiment of the present disclosure provides a wireless communication method, a terminal, and a storage medium, and can provide a dual WIFI communication method based on a SISO antenna system.

[0046] Next, each step of the wireless communication method in the example embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings and embodiments.

[0047] Figure 1It is a schematic structural diagram of a communication system provided by an exemplary embodiment of the present disclosure. As Figure 1 The illustrated communication system 1 includes: a terminal 11, a plurality of wireless access points 12a to 12d, and a network 13.

[0048] The terminal 11 may be a mobile terminal such as a mobile phone with a WIFI communication module, a game console, a tablet computer, an e-book reader, smart glasses, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart home device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, etc.; alternatively, the terminal 11 may also be a personal computer (PC), such as a laptop computer and a desktop computer, etc.

[0049] Among them, a program for providing the wireless communication method of the embodiment of the present disclosure may be installed in the terminal 11.

[0050] The terminal 11 is connected to two wireless access points ( Figure 1 taking the wireless access points 12a and 12b as an example), and communicates with the wireless access points 12a and 12b based on the WIFI technology.

[0051] Each of the wireless access points 12a to 12d may be identified, for example, by its SSID (Service Set Identifier).

[0052] It should be noted that the number of wireless access points 12 in the figure (i.e., the number of wireless access points that can be scanned and / or connected around the terminal 11) is only an example, rather than limiting the present disclosure.

[0053] In addition, those skilled in the art can understand that each of the wireless access points 12 may be an independent access device in actual application, or may also be an integrated device with a routing function, such as a wireless router.

[0054] Network 13 is usually the Internet, but can also be any network, including but not limited to a Local Area Network (LAN), a Metropolitan Area Network (MAN), or a Wide Area Network (WAN). In some embodiments, the wireless access point 12 and the network 13 may use technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. to represent data exchanged over the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. may be used to encrypt all or some of the links. In other embodiments, custom and / or proprietary data communication technologies may be used to replace or supplement the above data communication technologies.

[0055] Figure 2 A flowchart of a wireless communication method according to an embodiment of the present disclosure is shown. The method provided by the embodiment of the present disclosure may be executed, for example, by Figure 1 the terminal 11 shown in

[0056] With joint reference to Figure 1 and Figure 2 , the wireless communication method 10 includes:

[0057] In step S102, communicate with the currently connected first wireless access point and second wireless access point at different communication intervals in a time-division manner.

[0058] For example, as Figure 1 shown, the terminal 11 communicates with the currently connected wireless access point 12a (which may be, for example, the first wireless access point) and wireless access point 12b (which may be, for example, the second wireless access point) at different communication intervals in a time-division manner. That is, at the same moment, the terminal 11 communicates with only one of the wireless access points 12a and 12b based on the WIFI technology. Communicating based on the WIFI technology means that the terminal 11 and the wireless access points 12a and 12b communicate using a communication protocol compliant with the 802.11 standard.

[0059] The time allocation between the terminal 11 and the wireless access points 12a and 12b can be determined based on the specific communication conditions between the terminal 11 and the wireless access points 12a and 12b. For example, when the terminal 11 is connected to the network 13 (such as the Internet) through the wireless access point 12a and requests data transmission, the terminal 11 can switch to the connection with the wireless access point 12b only when the relevant data transmission between the terminal 11 and the network 13 is completed through the wireless access point 12a. Similarly, when the terminal 11 uploads data to the network 13 through the wireless access point 12a, the terminal 11 will switch to the connection with the wireless access point 12b only when the relevant data upload is completed.

[0060] In some embodiments, the time allocation between the terminal 11 and the wireless access points 12a and 12b can also be completed through configuration. For example, multiple communication cycles can be set, and the communication duration ratio of the wireless access points 12a and 12b within the communication cycle can be configured. This duration ratio can be configured according to requirements in actual applications, or can also be allocated based on the wireless link quality and / or data throughput between the wireless access points 12a and 12b and the terminal 11. The wireless access point with good wireless link quality and / or high data throughput is allocated a longer duration. For example, for the current wireless access point with good wireless link quality and / or high data throughput, all the communication duration within the communication cycle can also be allocated to this wireless access point. For example, the quality of the wireless link can be characterized by detecting RSSI (Received Signal Strength Indication), but the present disclosure is not limited thereto. The data throughput can include downlink data throughput and can also include uplink data throughput. Among them, the downlink data refers to the data sent from the wireless access point 12a or 12b to the terminal 11, and the uplink data refers to the data sent from the terminal 11 to the wireless access point 12a or 12b.

[0061] In step S104, the data throughputs of the first wireless access point and the second wireless access point currently connected are respectively obtained.

[0062] The terminal 11 respectively obtains the data throughputs of the wireless access points 12a and 12b connected thereto. As described above, this data throughput can include downlink data throughput and / or uplink data throughput.

[0063] In some embodiments, as described above, the wireless communication method 10 can further include: determining the communication duration ratio of the wireless access points 12a and 12b within a preset communication cycle based on the high and low data throughputs of the wireless access points 12a and 12b.

[0064] In step S106, based on the data throughputs of the first wireless access point and the second wireless access point, it is determined whether to scan other wireless access points.

[0065] In step S108, when a connectable third wireless access point is scanned, during the communication gap of the wireless access point with a low data throughput among the first wireless access point and the second wireless access point, connect to the third wireless access point; and communicate with the wireless access point with a high data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-sharing manner.

[0066] For example, if the data throughput of the wireless access point 12a is lower than that of the wireless access point 12b, then when the terminal scans the third wireless access point (taking the wireless access point 12c in Figure 1 as an example), disconnect from the wireless access point 12a, and during the previous communication gap with the wireless access point 12a, connect to the wireless access point 12c and perform data communication.

[0067] Further, after establishing a connection with the wireless access point 12c, the data throughput of the wireless access point 12c can also be obtained, and based on the throughputs of the wireless access point 12b and the wireless access point 12c, determine the communication duration ratio of the two within the above-mentioned one communication cycle.

[0068] In some embodiments, when scanning other connectable wireless access points, for example, scanning can be performed during the communication gap of the wireless access point 12a (the wireless access point with a low data throughput). At this time, it is necessary to disconnect from the wireless access point 12a. And when no connectable wireless access point is scanned, reconnect to the wireless access point 12a and continue to maintain the dual-WIFI communication.

[0069] In addition, when the terminal 11 scans multiple wireless access points, for example, when scanning the connectable wireless access points 12c and 12d, the terminal 11 can select the wireless access point with good communication link quality among them as the third wireless access point to connect, or can also randomly select one of them as the third wireless access point to connect; the terminal 11 can also display the scanned wireless access points to the user through the user interface for the user to select, and determine the wireless access point selected by the user as the third wireless access point to connect.

[0070] The wireless communication method provided by the embodiments of the present disclosure can be applied to a terminal that only supports a SISO antenna system, enabling it to communicate with different wireless access points in a time-sharing manner. And based on the data throughput of the connected wireless access point, determine whether to scan other wireless access points; after scanning other wireless access points, replace the previously connected wireless access point with a low data throughput, so that the terminal can continue to maintain the dual-WIFI communication connection. Through this method, the communication rate of WIFI can be improved, the frequency of occurrence of lag scenarios can be reduced, and thus the user experience can be improved.

[0071] Figure 3 Shows a flowchart of another wireless communication method in an embodiment of the present disclosure. Different from Figure 2 the wireless communication method 10 shown, Figure 3 the wireless communication method shown further provides an implementation manner of how to determine whether to scan other wireless access points based on the data throughput of the first wireless access point and the second wireless access point, that is, provides an implementation manner of step S106.

[0072] With joint reference to Figure 1 and Figure 3 , step S106 includes:

[0073] In step S1062, select the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point.

[0074] Following the above, after obtaining the data throughput of the wireless access points 12a and 12b, compare the data throughput of the two. Still taking the data throughput of the wireless access point 12a being lower than the data throughput of the wireless access point 12b as an example, for example, the wireless access point 12b can be identified as the primary access point, and the wireless access point 12a can be identified as the secondary access point to distinguish the high and low data throughput of the two.

[0075] In step S1064, when the wireless access point with a higher data throughput is less than or equal to a preset throughput threshold, scan other wireless access points.

[0076] As described above, the wireless access point 12b with a higher data throughput can be identified as the primary access point, then compare the data throughput of the primary access point with the preset throughput threshold. When the data throughput of the primary access point is less than or equal to the preset data throughput threshold, start scanning other connectable wireless access points.

[0077] The connectable wireless access points are, for example, wireless access points that match the communication protocol in the terminal 11, and / or wireless access points for which the terminal 11 has stored or obtained their access passwords and has passed authentication, etc.

[0078] The primary access point is the wireless access point with a higher data throughput. If the data throughput of the primary access point is less than or equal to the throughput threshold, it means that the data throughput of the currently connected two wireless access points is relatively low. To ensure the wireless connection speed, it is necessary to rescan the wireless access points to find a wireless access point with a higher throughput to connect.

[0079] In addition, as described above, when a connection is established with a third wireless access point, such as the wireless access point 12c, the data throughput of the wireless access point 12c can also be obtained, and the data throughput of the currently connected wireless access points 12b and 12c can be compared, and then the primary access point and the secondary access point can be re-determined.

[0080] Figure 4 Shows a flowchart of yet another wireless communication method in an embodiment of the present disclosure. Different from Figure 2 the wireless communication method 10 shown, Figure 4 the wireless communication method shown further provides an implementation manner of how to respectively obtain the data throughput of the first wireless access point and the second wireless access point currently connected, that is, provides an implementation manner of step S104.

[0081] Referring to Figure 4 , step S104 includes:

[0082] In step S1042a, periodically send network access requests to the first wireless access point and the second wireless access point respectively to request to receive downlink data from the first wireless access point and the second wireless access point respectively.

[0083] Continuing to refer to Figure 1 , for example, at intervals of the above-mentioned communication cycle, periodically send network access requests to the wireless access points 12a and 12b respectively to request to receive downlink data from the wireless access points 12a and 12b respectively.

[0084] The network access request can be, for example, an HTTP request, or can also be a request conforming to other communication protocols, such as an FTP connection request, etc.

[0085] Taking an HTTP request as an example, the requested URL can be, for example, pre-configured in the terminal 11, or can also be one of the URLs accessed by the terminal 11 within a preset time.

[0086] In step S1044a, based on the downlink data received from the first wireless access point and the second wireless access point, respectively determine the data throughput of the first wireless access point and the second wireless access point.

[0087] Receive downlink data from the wireless access points 12a and 12b respectively and calculate their throughput.

[0088] Figure 5 Shows a flowchart of yet another wireless communication method in an embodiment of the present disclosure. Different from Figure 2 the wireless communication method 10 shown, Figure 5 the wireless communication method shown further provides another implementation manner of how to respectively obtain the data throughput of the first wireless access point and the second wireless access point currently connected, that is, provides another implementation manner of step S104.

[0089] Referring to Figure 5 , step S104 includes:

[0090] In step S1042b, uplink data is periodically sent to the first wireless access point and the second wireless access point respectively.

[0091] Continue to refer to Figure 1 , for example, at intervals of the above-mentioned communication cycle, the terminal 11 periodically sends uplink data for calculating data throughput to the wireless access points 12a and 12b.

[0092] In step S1044b, based on the uplink data sent to the first wireless access point and the second wireless access point, the data throughput of the first wireless access point and the second wireless access point is determined respectively.

[0093] The terminal 11 calculates the data throughput of the wireless access points 12a and 12b based on the sent uplink data.

[0094] Those skilled in the art should understand that when the terminal 11 calculates the throughput, it usually uses the successfully sent uplink data to calculate its throughput. The successfully sent uplink data is, for example, the uplink data after receiving the confirmation feedback from the wireless access points 12a and 12b.

[0095] Figure 6 Shows a flowchart of yet another wireless communication method in an embodiment of the present disclosure. Different from Figure 2 the wireless communication method 10 shown, Figure 6 the wireless communication method shown further provides yet another implementation manner of how to respectively obtain the data throughput of the currently connected first wireless access point and second wireless access point, that is, provides yet another implementation manner of step S104.

[0096] Refer to Figure 6 , step S104 includes:

[0097] In step S1042c, the uplink data sent to the first wireless access point and the second wireless access point and / or the downlink data received from the first wireless access point and the second wireless access point are respectively detected in real time.

[0098] Continue to refer to Figure 1 , the terminal 11 can also detect the sent and / or received data in real time during the process of transmitting data with the wireless access points 12a and 12b.

[0099] In step S1044c, based on the detected uplink data and / or downlink data, the data throughput of the first wireless access point and the second wireless access point is determined respectively.

[0100] The terminal 11 determines the data throughput of the wireless access points 12a and 12b based on the detected uplink data and / or downlink data.

[0101] It should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, rather than for limiting purposes. It is easy to understand that the processes shown in the above-mentioned drawings do not indicate or limit the chronological order of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.

[0102] Figure 7 The flowchart of yet another wireless communication method in an embodiment of the present disclosure is shown.

[0103] Joint reference Figure 1 and Figure 7 , the wireless communication method 20 includes:

[0104] In step S202, within a preset communication cycle, communicate with the currently connected wireless access points 12a and 12b at different communication gaps in a time-division manner.

[0105] In step S204, send network access requests to the wireless access points 12a and 12b respectively to request to receive downlink data from the wireless access points 12a and 12b respectively.

[0106] The network access request is, for example, an HTTP request.

[0107] In step S206, based on the data received from the wireless access points 12a and 12b, determine the data throughput of the wireless access points 12a and 12b respectively.

[0108] In step S208, compare the data throughput of the wireless access points 12a and 12b, identify the wireless access point with high data throughput as the primary access point, and identify the wireless access point with low data throughput as the secondary access point.

[0109] In step S210, determine whether the throughput of the primary access point is less than or equal to a preset throughput threshold. If so, proceed to step S212; if not, return to step S202.

[0110] In step S212, disconnect the connection with the secondary access point, and scan for other connectable wireless access points during the communication gap of the secondary access point.

[0111] In step S214, determine whether a connectable wireless access point is scanned. If so, proceed to step S216; if not, proceed to step S218.

[0112] In step S216, establish a connection with the scanned wireless access point 12c during the communication gap of the secondary access point.

[0113] In step S218, reconnect to the secondary access point.

[0114] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0115] Figure 8 A schematic diagram of a terminal in an embodiment of the present disclosure is shown.

[0116] refer to Figure 8 The terminal 30 includes: a data transceiver unit 302 and a processing unit 304.

[0117] The data transceiver unit 302 is used to communicate with the currently connected first wireless access point and the second wireless access point in different communication intervals in a time-sharing manner.

[0118] The processing unit 304 is used to respectively obtain the data throughput of the currently connected first wireless access point and the second wireless access point; determine whether to scan other wireless access points based on the data throughput of the first wireless access point and the second wireless access point; and when a connectable third wireless access point is scanned through the data transceiver unit 302, in the communication gap of the wireless access point with low data throughput between the first wireless access point and the second wireless access point, connect to the third wireless access point through the data transceiver unit 302;

[0119] The data transceiver unit 302 is further configured to communicate with the wireless access point with a higher data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-sharing manner.

[0120] In some embodiments, the processing unit 304 is configured to select a wireless access point with a higher data throughput between the first wireless access point and the second wireless access point; and scan other wireless access points when the data throughput of the wireless access point with a higher data throughput is less than or equal to a preset throughput threshold.

[0121] In some embodiments, the processing unit 304 is further configured to determine a communication duration ratio between the first wireless access point and the second wireless access point in a preset communication cycle based on data throughputs of the first wireless access point and the second wireless access point.

[0122] In some embodiments, the processing unit 304 is configured to periodically send network access requests to the first wireless access point and the second wireless access point through the data transceiver unit 302, respectively, to request to receive downlink data from the first wireless access point and the second wireless access point, respectively; and determine the data throughput of the first wireless access point and the second wireless access point, respectively, based on the downlink data received by the data transceiver unit 302 from the first wireless access point and the second wireless access point.

[0123] In some embodiments, the network access request includes: an HTTP request.

[0124] In some embodiments, the processing unit 304 is configured to periodically send uplink data to the first wireless access point and the second wireless access point respectively through the data transceiver unit 302; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the uplink data sent by the data transceiver unit 302 to the first wireless access point and the second wireless access point.

[0125] In some embodiments, the processing unit 304 is configured to respectively and real-time detect the uplink data sent to the first wireless access point and the second wireless access point through the data transceiver unit 302 and / or the downlink data received from the first wireless access point and the second wireless access point; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the detected uplink data and / or downlink data.

[0126] In some embodiments, the data transceiver unit 302 is configured to scan other wireless access points during the communication gap of the wireless access point with a low data throughput among the first wireless access point and the second wireless access point.

[0127] In some embodiments, the processing unit 304 is further configured to, when no connectable wireless access point is scanned through the data transceiver unit 302, notify the data transceiver unit 302 to reconnect to the wireless access point with a low data throughput among the first wireless access point and the second wireless access point.

[0128] It should be noted that, in the embodiments of the present disclosure, the data transceiver unit 302 may be jointly implemented by a receiver (for example, the receiver 1104 in Figure 9 ) and a transmitter (for example, the transmitter 1106 in Figure 9 ). The processing unit 304 may be implemented by a processor (for example, the processor 1102 in Figure 9 ).

[0129] Figure 9 Schematic diagram of a terminal device in an embodiment of the present disclosure is shown.

[0130] Referring to Figure 9 , the terminal device 110 may include a processor 1102, a receiver 1104, a transmitter 1106, and a memory 1108, where the memory 1108 may be configured to store codes executed by the processor 1102 and the like.

[0131] Each component in the terminal device 110 is coupled together through a bus system 1110, where the bus system 1010 includes a data bus, and may further include a power bus, a control bus, a status signal bus, and the like.

[0132] Figure 8 The terminal 30 shown and Figure 9The terminal device 110 shown can implement each step executed by the terminal 11 in the above method embodiments, which will not be elaborated here to avoid repetition.

[0133] The processor 1102 generally controls the overall operation of the terminal device 110, such as operations related to display, data communication, and recording operations. The processor 1102 may include one or more processors for executing code stored in the memory 1108. Optionally, when executing the code, the processor 1102 implements each step executed by the terminal 11 in the above method embodiments, which will not be elaborated here.

[0134] The memory 1108 is configured to store various types of data to support the operation of the terminal device 110. Examples of such data include instructions for any application or method operating on the terminal device 110, contact data, phone book data, messages, pictures, and videos, etc. The memory 1008 can be implemented using any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), memory, etc. Erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, or a disk or optical disc.

[0135] The receiver 1104 is configured to receive electromagnetic signals received by the antenna. The main function of the receiver 1104 is to select the required frequency components from the numerous electromagnetic waves present in the air interface, suppress or filter out unwanted signals, noise, and interference signals, and then obtain the original useful information after amplification and demodulation.

[0136] The transmitter 1106 is configured to generate and modulate RF current and transmit radio waves through the antenna.

[0137] In the embodiments of the present disclosure, the transmitter 1106 and the receiver 1104 can be implemented as a transceiver.

[0138] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described here can be implemented by software or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.) or on the network, including several instructions to cause a computing device (which can be a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0139] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, on which a program product capable of implementing the above methods of this specification is stored. In some possible implementation manners, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0140] Reference Figure 10 As shown, a program product 900 for implementing the above method according to an embodiment of the present disclosure is described. It may be a portable compact disc read-only memory (CD-ROM) and includes program code, and can run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0141] The program product may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0142] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0143] The program code contained on the readable medium may be transmitted by any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.

[0144] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0145] It should be noted that although several modules or units of devices for action execution are mentioned in the above detailed description, such a division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-described modules or units may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided and embodied by a plurality of modules or units.

[0146] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.

Claims

1. A dual-WiFi wireless communication method, based on a SISO wireless system, characterized in that, Including: Communicating with the currently connected first wireless access point and second wireless access point at different communication intervals in a time-sharing manner; Respectively obtaining the data throughput of the currently connected first wireless access point and second wireless access point; Based on the data throughput of the first wireless access point and the second wireless access point, determining the primary access point and the secondary access point among the first wireless access point and the second wireless access point, and determining whether to scan other wireless access points according to the data throughput of the primary access point; And When a connectable third wireless access point is scanned, connecting to the third wireless access point during the communication interval of the wireless access point with the lower data throughput among the first wireless access point and the second wireless access point; and communicating with the wireless access point with the higher data throughput among the first wireless access point and the second wireless access point and the third wireless access point in a time-sharing manner.

2. The method according to claim 1, characterized in that, Based on the data throughput of the first wireless access point and the second wireless access point, determining the primary access point and the secondary access point among the first wireless access point and the second wireless access point, and determining whether to scan other wireless access points includes: Comparing the data throughput of the first wireless access point and the second wireless access point, identifying the wireless access point with the higher data throughput as the primary access point, and identifying the wireless access point with the lower data throughput as the secondary access point; When the data throughput of the primary access point is less than or equal to a preset throughput threshold, scanning the other wireless access points.

3. The method according to claim 1, characterized in that, Further including: Based on the high and low data throughput of the first wireless access point and the second wireless access point, determining the communication duration ratio of the first wireless access point and the second wireless access point within a preset communication cycle.

4. The method according to claim 1, wherein Respectively obtaining the data throughput of the currently connected first wireless access point and second wireless access point includes: Periodically sending network access requests to the first wireless access point and the second wireless access point respectively to request to receive downlink data from the first wireless access point and the second wireless access point; Based on the downlink data received from the first wireless access point and the second wireless access point, respectively determining the data throughput of the first wireless access point and the second wireless access point.

5. The method according to claim 4, wherein The network access request includes: HTTP request.

6. The method according to claim 1, characterized in that, Respectively obtaining the data throughput of the currently connected first wireless access point and second wireless access point includes: Periodically sending uplink data to the first wireless access point and the second wireless access point respectively; Based on the uplink data sent to the first wireless access point and the second wireless access point, respectively determining the data throughput of the first wireless access point and the second wireless access point.

7. The method according to claim 1, characterized in that, Respectively obtaining the data throughput of the currently connected first wireless access point and second wireless access point includes: Respectively and real-time detecting the uplink data sent to the first wireless access point and the second wireless access point and / or the downlink data received from the first wireless access point and the second wireless access point; Based on the detected uplink data and / or the downlink data, data throughputs of the first wireless access point and the second wireless access point are determined respectively.

8. The method according to any one of claims 1 to 7, characterized in that During a communication gap of the wireless access point with a low data throughput between the first wireless access point and the second wireless access point, other wireless access points are scanned.

9. The method according to claim 8, characterized in that, Also includes: When no connectable wireless access point is scanned, reconnect to the wireless access point with the lower data throughput between the first wireless access point and the second wireless access point.

10. A dual-WiFi wireless communication terminal, based on a SISO wireless system, characterized in that, include: A data transceiver unit, used to communicate with the currently connected first wireless access point and the second wireless access point in different communication intervals in a time-sharing manner; as well as A processing unit, configured to respectively obtain data throughputs of a first wireless access point and a second wireless access point that are currently connected; Determine a primary access point and a secondary access point of the first wireless access point and the second wireless access point based on the data throughputs of the first wireless access point and the second wireless access point, and determine whether to scan other wireless access points according to the data throughput of the primary access point; and when a connectable third wireless access point is scanned through the data transceiver unit, connecting to the third wireless access point through the data transceiver unit during a communication gap of the wireless access point with a low data throughput between the first wireless access point and the second wireless access point; The data transceiver unit is further configured to communicate with the wireless access point with a high data throughput and the third wireless access point among the first wireless access point and the second wireless access point in a time-sharing manner.

11. The terminal according to claim 10, wherein The processing unit is configured to compare data throughputs of the first wireless access point and the second wireless access point, identify the wireless access point with higher data throughput as the primary access point, and identify the wireless access point with lower data throughput as the secondary access point; When the data throughput of the primary access point is less than or equal to a preset throughput threshold, the other wireless access points are scanned.

12. The terminal according to claim 10, wherein The processing unit is further configured to determine a communication duration ratio between the first wireless access point and the second wireless access point in a preset communication cycle based on data throughputs of the first wireless access point and the second wireless access point.

13. The terminal according to claim 10, characterized in that, The processing unit is configured to periodically send network access requests to the first wireless access point and the second wireless access point through the data transceiver unit, respectively, to request to receive downlink data from the first wireless access point and the second wireless access point, respectively; and determine data throughputs of the first wireless access point and the second wireless access point, respectively, based on the downlink data received by the data transceiver unit from the first wireless access point and the second wireless access point.

14. The terminal according to claim 13, wherein The network access request includes: HTTP request.

15. The terminal according to claim 10, wherein The processing unit is configured to periodically send uplink data to the first wireless access point and the second wireless access point respectively through the data transceiver unit; and determine the data throughput of the first wireless access point and the second wireless access point respectively based on the uplink data sent by the data transceiver unit to the first wireless access point and the second wireless access point.

16. The terminal according to claim 10, wherein The processing unit is configured to respectively and real-time detect uplink data transmitted to the first wireless access point and the second wireless access point through the data transceiver unit and / or downlink data received from the first wireless access point and the second wireless access point; and respectively determine the data throughput of the first wireless access point and the second wireless access point based on the detected uplink data and / or downlink data.

17. The terminal according to any one of claims 10-16, characterized in that, The data transceiver unit is configured to scan other wireless access points during the communication gap of the wireless access point with a low data throughput among the first wireless access point and the second wireless access point.

18. The terminal according to claim 17, wherein, The processing unit is further configured to, when no connectable wireless access point is scanned by the data transceiver unit, notify the data transceiver unit to reconnect to the wireless access point with a low data throughput among the first wireless access point and the second wireless access point.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Wireless switching method and terminal

    CN107466081A