Wireless access method, apparatus and terminal device
By acquiring the cellular wireless connection status and frequency of the terminal device, determining the target WiFi frequency, and employing a time-division multiplexing mechanism, the interference problem between WiFi networks and cellular networks is solved, improving hardware reliability and user experience.
Patent Information
- Application Number
- CN202211535109.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-02
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-12-02
AI Technical Summary
When a terminal device simultaneously accesses both a WiFi network and a cellular network, interference may occur between the two networks, leading to hardware damage and deterioration of service quality.
By acquiring the cellular wireless connection status and frequency of the terminal device, the target WiFi frequency for Wi-Fi connection is determined, avoiding random frequency selection and using a time-division multiplexing mechanism to reduce interference.
It improves the reliability of terminal device hardware and user experience, avoids interference between WiFi and cellular networks, and ensures network service quality.
Smart Images

Figure CN116017712B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a wireless access method, apparatus and terminal equipment. Background Technology
[0002] When a user connects to the network using a terminal device, if the terminal device is simultaneously connected to both a Wireless Fidelity (WiFi) network and a cellular network, the terminal device will select the appropriate network for transmission based on the service the user is using (including but not limited to voice, data, and video).
[0003] If the frequency used to access a WiFi network is close to the frequency used to access a cellular network, interference may occur between the two networks, potentially damaging hardware or degrading service quality in the terminal device. In related technologies, when a terminal device accesses a WiFi network, it randomly selects one from a pool of available frequencies. If the cellular connection is active, there may be scenarios where the WiFi access point's frequency and the cellular network's frequency are very close, causing interference and reducing the reliability of the terminal's hardware, potentially damaging it and impacting the user experience. Summary of the Invention
[0004] This application provides a wireless access method, apparatus, and terminal device to solve the problem of interference between terminal WiFi wireless connection and cellular wireless connection.
[0005] In a first aspect, embodiments of this application provide a wireless access method, including:
[0006] Obtain the status and frequency of the cellular wireless connection of the terminal device;
[0007] Based on the status and frequency of the cellular wireless connection, determine the target WiFi frequency for the Wi-Fi Fidelity wireless connection.
[0008] In one possible implementation, determining the target WiFi frequency for the Wi-Fi Fidelity WiFi connection based on the status and frequency of the cellular wireless connection includes:
[0009] Determine the Wi-Fi access point to be connected and at least one candidate access frequency of the Wi-Fi access point;
[0010] The target WiFi frequency is determined from the at least one candidate access frequency based on the status and frequency of the cellular wireless connection.
[0011] In one possible implementation, determining the target WiFi frequency from the at least one candidate access frequencies based on the status and frequency of the cellular wireless connection includes:
[0012] If the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequencies is determined as the target WiFi frequency.
[0013] If the cellular wireless connection is in a connected state, the frequency of the current cellular wireless connection of the terminal device is obtained, and the target WiFi frequency is determined from at least one candidate access frequency based on the frequency of the current cellular wireless connection.
[0014] In one possible implementation, after determining any one of the at least one candidate access frequency as the target WiFi frequency, the method further includes:
[0015] Obtain the frequency of the cellular network that the terminal device can currently access;
[0016] If the frequency of the current cellular wireless connection is greater than or equal to a preset frequency, then a first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0017] The frequency of the terminal device's current cellular wireless connection is reselected to the first cellular network frequency.
[0018] In one possible implementation, determining a first cellular network frequency from among the cellular network frequencies currently accessible to the terminal device includes:
[0019] Determine the network standard and corresponding frequency priority of the cellular network in the area where the terminal device is located;
[0020] Based on the network standard of the cellular network and the frequency priority, the first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0021] In one possible implementation, determining the target WiFi frequency from the at least one candidate access frequency based on the frequency of the current cellular wireless connection includes:
[0022] Obtain the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection;
[0023] The target WiFi frequency is determined from the at least one candidate access frequency based on the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection, wherein the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is the largest.
[0024] In one possible implementation, after determining the candidate access frequency with the largest frequency difference from the current cellular wireless connection as the target WiFi frequency, the method further includes:
[0025] If the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is less than or equal to a first threshold, then the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is obtained.
[0026] Based on the degree of mutual interference, it is determined whether to activate the coexistence mechanism between the terminal device's WiFi wireless connection and cellular wireless connection, wherein the coexistence mechanism is a time-division multiplexing mechanism.
[0027] In one possible implementation, obtaining the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection includes:
[0028] Obtain a first correspondence, which includes the degree of mutual interference between multiple WiFi frequencies and multiple cellular wireless connection frequencies;
[0029] The degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is determined based on the target WiFi frequency, the frequency of the current cellular wireless connection, and the first correspondence.
[0030] In one possible implementation, determining a coexistence mechanism between the WiFi network and the cellular network provided by the WiFi access point includes:
[0031] If the degree of mutual interference is less than or equal to the second threshold, the coexistence mechanism will not be activated.
[0032] If the degree of mutual interference is greater than the second threshold, the coexistence mechanism is activated.
[0033] In one possible implementation, after determining the target WiFi frequency for the Wi-Fi Fidelity WiFi connection based on the status and frequency of the cellular wireless connection, the method further includes:
[0034] Connect to the WiFi access point according to the target WiFi frequency.
[0035] Secondly, embodiments of this application provide a wireless access device, the device comprising:
[0036] The acquisition module is used to acquire the status and frequency of the cellular wireless connection of the terminal device;
[0037] The first determining module is used to determine the target WiFi frequency for the Wi-Fi wireless connection based on the status and frequency of the cellular wireless connection.
[0038] In one possible implementation, the first determining module is specifically used for:
[0039] Determine the Wi-Fi access point to be connected and at least one candidate access frequency of the Wi-Fi access point;
[0040] The target WiFi frequency is determined from the at least one candidate access frequency based on the status and frequency of the cellular wireless connection.
[0041] In one possible implementation, the first determining module is specifically used for:
[0042] If the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequencies is determined as the target WiFi frequency.
[0043] If the cellular wireless connection is in a connected state, the frequency of the current cellular wireless connection of the terminal device is obtained, and the target WiFi frequency is determined from at least one candidate access frequency based on the frequency of the current cellular wireless connection.
[0044] In one possible implementation, the first determining module is specifically used for:
[0045] Obtain the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection;
[0046] The target WiFi frequency is determined from the at least one candidate access frequency based on the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection, wherein the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is the largest.
[0047] In one possible implementation, the device further includes a reselection module, a second determination module, and an access module.
[0048] The reselection module is used for:
[0049] Obtain the frequency of the cellular network that the terminal device can currently access;
[0050] If the frequency of the current cellular wireless connection is greater than or equal to a preset frequency, then a first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0051] The frequency of the terminal device's current cellular wireless connection is reselected to the first cellular network frequency.
[0052] The reselection module is used for:
[0053] Determine the network standard and corresponding frequency priority of the cellular network in the area where the terminal device is located;
[0054] Based on the network standard of the cellular network and the frequency priority, the first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0055] The second determining module is used for:
[0056] If the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is less than or equal to a first threshold, then the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is obtained.
[0057] Based on the degree of mutual interference, it is determined whether to activate the coexistence mechanism between the terminal device's WiFi wireless connection and cellular wireless connection, wherein the coexistence mechanism is a time-division multiplexing mechanism.
[0058] The second determining module is used for:
[0059] Obtain a first correspondence, which includes the degree of mutual interference between multiple WiFi frequencies and multiple cellular wireless connection frequencies;
[0060] The degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is determined based on the target WiFi frequency, the frequency of the current cellular wireless connection, and the first correspondence.
[0061] The second determining module is used for:
[0062] If the degree of mutual interference is less than or equal to the second threshold, the coexistence mechanism will not be activated.
[0063] If the degree of mutual interference is greater than the second threshold, the coexistence mechanism is activated.
[0064] The access module is used for:
[0065] Connect to the WiFi access point according to the target WiFi frequency.
[0066] Thirdly, this application provides a chip on which a computer program is stored, and when the computer program is executed by the chip, it implements the method as described in any of the first aspects.
[0067] Fourthly, this application provides a chip module on which a computer program is stored, and when the computer program is executed by the chip module, it implements the method described in any of the first aspects.
[0068] Fifthly, embodiments of this application provide a terminal device, including:
[0069] At least one processor; and
[0070] A memory communicatively connected to the at least one processor; wherein,
[0071] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method described in any of the first aspects.
[0072] In a sixth aspect, embodiments of this application provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the method described in any one of the first aspects.
[0073] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any one of the first aspects.
[0074] The wireless access method, apparatus, and terminal device provided in this application involve determining a WiFi access point to be connected and at least one candidate access frequency for that WiFi access point when accessing a network. The terminal device also acquires its cellular wireless connection status. Based on the cellular wireless connection status, a target WiFi frequency for the WiFi access point is determined from at least one candidate access frequency. In this process, because the target WiFi frequency for the WiFi access point can be determined from at least one candidate access frequency based on the cellular wireless connection status of the terminal device, rather than randomly selecting the access frequency of the WiFi access point, interference between the WiFi network and the cellular network is avoided, improving the reliability of the terminal hardware and the user experience. Attached Figure Description
[0075] Figure 1 A schematic diagram illustrating the application scenarios provided in the embodiments of this application;
[0076] Figure 2 A flowchart illustrating a wireless access method provided in an embodiment of this application;
[0077] Figure 3 A flowchart illustrating another wireless access method provided in an embodiment of this application;
[0078] Figure 4This is a schematic diagram of the structure of a wireless access device provided in an embodiment of this application;
[0079] Figure 5 This is a schematic diagram of another wireless access device provided in an embodiment of this application;
[0080] Figure 6 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Detailed Implementation
[0081] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0082] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0083] To facilitate understanding, the following will be combined with... Figure 1 The application scenarios applicable to the embodiments of this application will be described.
[0084] Figure 1 This is a schematic diagram illustrating an application scenario provided in an embodiment of this application. Please refer to [link / reference]. Figure 1 The system includes a terminal device 101, a base station 102, and a WiFi access point 103. The terminal device 101 can be a mobile phone, tablet computer, etc. The terminal device 101 contains a smart chip. The terminal device 101 can access a cellular network via the base station 102, and it can also access a WiFi network via the WiFi access point 103. When the terminal device 101 accesses the network, its smart chip can determine the frequency for accessing the cellular network and the WiFi network.
[0085] In related technologies, when a terminal device accesses a WiFi network, it randomly selects an access frequency from the candidate access frequencies as the access frequency of the WiFi access point. If the cellular network is in a connected state, there may be a situation where the access frequency of the WiFi access point and the access frequency of the cellular network are very close, resulting in interference between the WiFi network and the cellular network.
[0086] In this embodiment, when a terminal device accesses a network, it determines the WiFi access point to be connected and at least one candidate access frequency for that WiFi access point. It also obtains the cellular wireless connection status of the terminal device. Based on the cellular wireless connection status, it determines the target WiFi frequency of the WiFi access point from at least one candidate access frequency. In this process, because the target WiFi frequency of the WiFi access point can be determined from at least one candidate access frequency based on the cellular wireless connection status of the terminal device, instead of randomly selecting the access frequency of the WiFi access point, interference between the WiFi network and the cellular network is avoided, improving the reliability of the terminal hardware and the user experience.
[0087] The method described in this application will now be illustrated through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; identical or similar content will not be repeated in different embodiments.
[0088] Figure 2 This is a flowchart illustrating a wireless access method provided in an embodiment of this application. Please refer to... Figure 2 The method may include:
[0089] S201. Obtain the status and frequency of the cellular wireless connection of the terminal device.
[0090] The execution entity in this application embodiment can be a terminal device, or a chip, chip module, or wireless access device disposed in the terminal device. The wireless access device can be implemented through software or a combination of software and hardware. The terminal device can be a mobile phone, tablet computer, etc. The cellular wireless connection state can be idle or connected.
[0091] If a terminal device establishes a connection with a cellular network but does not transmit service data through the cellular network, the terminal device's cellular wireless connection state is idle. If a terminal device establishes a connection with a cellular network and is transmitting service data through the cellular network, the terminal device's cellular wireless connection state is connected.
[0092] The status and frequency of the cellular wireless connection of a terminal device can be determined through the application processor in the terminal device.
[0093] For example, after terminal device 1 enables cellular network, it accesses the cellular network and uses it for service transmission. At this time, the application processor of terminal device 1 obtains the cellular wireless connection status of terminal device 1 as connected.
[0094] S202. Determine the target WiFi frequency for WiFi wireless connection based on the status and frequency of the cellular wireless connection.
[0095] The target WiFi frequency for a WiFi wireless connection can be determined as follows: determine the Wi-Fi access point to be connected and at least one candidate access frequency of the WiFi access point; based on the status and frequency of the cellular wireless connection, determine the target WiFi frequency from at least one candidate access frequency.
[0096] The candidate access frequency can be determined based on the access frequency provided by the WiFi access point to be connected.
[0097] For example, if the WiFi access point to be connected provides access frequencies of 2.4GHz and 5GHz, then when terminal device 1 requests to access the WiFi network through the WiFi access point, the selectable access frequencies of the WiFi access point are 2.4GHz and 5GHz.
[0098] The target WiFi frequency can be determined as follows: if the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequency is selected as the target WiFi frequency; if the cellular wireless connection is in a connected state, then the frequency of the current cellular wireless connection of the terminal device is obtained, and the target WiFi frequency is determined from at least one candidate access frequency based on the frequency of the current cellular wireless connection.
[0099] After determining the target WiFi frequency based on the status and frequency of the cellular wireless connection, the terminal device can access the WiFi access point according to the target WiFi frequency through the smart chip in the terminal device.
[0100] When the cellular wireless connection is in an idle state, after the terminal device connects to the WiFi network according to the target WiFi frequency, if the frequency of the cellular wireless connection is not below the intermediate frequency band, the current frequency of the cellular wireless connection of the terminal device needs to be reselected to a frequency below the intermediate frequency band. The intermediate frequency band can be a frequency band less than or equal to 2 GHz.
[0101] When determining the frequency for the adjusted current cellular wireless connection, the operator providing cellular network services to the terminal device is identified. Below the multiple mid-frequency bands of the cellular network provided by the operator, the frequency of the cellular network with the highest priority is determined as the frequency for the reselected current cellular wireless connection, according to the corresponding frequency priority.
[0102] For example, when terminal device 1 connects to a WiFi network, the candidate access frequencies are 2.4GHz and 5GHz. At this time, the application processor of terminal device 1 determines that the cellular wireless connection state of terminal device 1 is idle. Therefore, the smart chip of terminal device 1 determines that the candidate access frequency 2.4GHz is the target WiFi frequency. After terminal device 1 connects to the target WiFi frequency, the application processor of terminal device 1 obtains that the current cellular wireless connection frequency of terminal device 1 is 2.3GHz. Since the current cellular wireless connection frequency of terminal device 1, 2.3GHz, is greater than 2GHz, it is determined that the mobile operator providing cellular network services for terminal device 1 is operator B. Operator B provides cellular network frequencies in the low-frequency band including 700MHz~900MHz. The smart chip of terminal device 1, according to the corresponding frequency priority, determines the highest priority cellular network frequency, 700MHz, as the frequency for the reselected cellular wireless connection.
[0103] When the cellular wireless connection is in connected state, obtain the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency; based on the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency, determine the target WiFi frequency from at least one candidate access frequency, where the absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency is the largest.
[0104] The maximum absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency can avoid interference between WiFi and cellular networks, ensuring the quality of network services used by users through their terminal devices.
[0105] For example, when terminal device 1 accesses a WiFi network, the candidate access frequencies are 2.4GHz and 5GHz. At this time, the application processor of terminal device 1 determines that the cellular wireless connection state of terminal device 1 is connected, and the cellular wireless connection frequency is 2.3GHz. Based on the cellular wireless connection frequency and the candidate access frequencies, the absolute value of the difference between the candidate access frequency 2.4GHz and the cellular wireless connection frequency 2.3GHz is determined to be 0.1GHz. The absolute value of the difference between the candidate access frequency 5GHz and the cellular wireless connection frequency 2.3GHz is determined to be 2.7GHz. The absolute value of the difference between the candidate access frequency 5GHz and the cellular wireless connection frequency is greater than the absolute value of the difference between the candidate access frequency 2.4GHz and the cellular wireless connection frequency. Therefore, the candidate access frequency 5GHz can be determined as the target WiFi frequency.
[0106] The wireless access method provided in this application determines a WiFi access point to be connected and at least one candidate access frequency for the WiFi access point; obtains the cellular wireless connection status of the terminal device; and determines the target WiFi frequency for Wi-Fi wireless connection based on the cellular wireless connection status and frequency. In this process, because the target WiFi frequency for the WiFi access point can be determined from at least one candidate access frequency based on the cellular wireless connection status of the terminal device, instead of randomly selecting the access frequency of the WiFi access point, interference between the WiFi network and the cellular network is avoided, improving the reliability of the terminal hardware and the user experience.
[0107] Based on any of the above embodiments, the following, in conjunction with Figure 3 The detailed process of the wireless access method is explained.
[0108] Figure 3 This is a flowchart illustrating another wireless access method provided in an embodiment of this application. Please refer to... Figure 3 The method includes:
[0109] S301. Obtain the status and frequency of the cellular wireless connection of the terminal device.
[0110] The cellular wireless connection status can be either idle or connected.
[0111] S302. If the cellular wireless connection is in an idle state, determine any one of the at least one candidate access frequency as the target WiFi frequency.
[0112] For example, terminal device 1 requests access to a WiFi network, and the candidate access frequencies for the WiFi access point are 2.4GHz and 5GHz. If the application processor of terminal device 1 determines that the cellular wireless connection is in an idle state, then the smart chip of terminal device 1 can determine the candidate access frequency 2.4GHz as the target WiFi frequency.
[0113] S303. Obtain the frequency of the current cellular wireless connection of the cellular network currently accessed by the terminal device.
[0114] The frequency of the current cellular wireless connection of the cellular network currently accessed by the terminal device can be obtained through the application processor of the terminal device.
[0115] For example, after terminal device 1 accesses the cellular network, the application processor of terminal device 1 obtains the cellular wireless connection status as idle and the current cellular wireless connection frequency as 2.3GHz.
[0116] S304. Determine whether the frequency of the current cellular wireless connection is greater than or equal to the preset frequency.
[0117] If not, proceed with S305.
[0118] If so, execute S306.
[0119] The preset frequency can be 2GHz.
[0120] S305. Determine the frequency of the current cellular wireless connection as the frequency of the cellular wireless connection of the cellular network accessed by the terminal device.
[0121] If the current cellular wireless connection frequency is less than or equal to 1 GHz, there is no need to update the current cellular wireless connection frequency.
[0122] For example, after terminal device 1 accesses the cellular network, the application processor of terminal device 1 obtains the cellular wireless connection status as idle and the current cellular wireless connection frequency as 700MHz. At this time, the current cellular wireless connection frequency of 700MHz is determined to be the cellular wireless connection frequency of the cellular network accessed by terminal device 1.
[0123] S306. Among the cellular network frequencies that the terminal device can currently access, determine the first cellular network frequency.
[0124] The first cellular network frequency can be determined as follows: determine the network type and corresponding frequency priority of the cellular network in the area where the terminal device is located; based on the network type and frequency priority of the cellular network, determine the first cellular network frequency among the cellular network frequencies that the terminal device can currently access.
[0125] For example, suppose the mobile operator providing cellular network services to terminal device 1 is operator A, and operator A provides low-frequency bands for cellular network services ranging from 700MHz to 1GHz. Terminal device 1's cellular wireless connection is in an idle state, and the current cellular wireless connection frequency is 2.3GHz. The current cellular wireless connection frequency of terminal device 1 is higher than the preset frequency of 1GHz. Then, within the mid-frequency band of the cellular network provided by the operator, the smart chip of terminal device 1 determines the frequency of the highest priority cellular wireless connection as 800MHz, based on the network standard and frequency priority of the cellular network. The smart chip of terminal device 1 then determines 800MHz as the first cellular network frequency.
[0126] S307. Reselect the current cellular wireless connection frequency of the terminal device as the first cellular network frequency.
[0127] For example, if the current cellular wireless connection frequency of terminal device 1, as illustrated above, is 2.3 GHz, and the first cellular network frequency is 800 MHz, then the current cellular wireless connection frequency of the cellular network accessed by the terminal device will be reselected to the first cellular network frequency of 800 MHz.
[0128] Optionally, if the terminal device disconnects from the WiFi access point and the time interval is greater than or equal to a preset threshold, the terminal device's current cellular wireless connection frequency is reselected to the frequency of the initial cellular wireless connection.
[0129] The preset threshold can be configured according to the network environment and network quality. For example, the preset threshold can be 1 second.
[0130] For example, according to the example above, the current cellular wireless connection frequency of terminal device 1 is 2.3GHz, and the first cellular network frequency is 800MHz. When terminal device 1 disconnects from the WiFi access point, and the time interval is determined to be greater than a preset threshold of 1 second, terminal device 1 will reselect the current cellular wireless connection frequency to 2.3GHz.
[0131] S308. If the cellular wireless connection status is connected, obtain the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency.
[0132] For example, terminal device 1 requests access to a WiFi network. The candidate access frequencies for the WiFi access point are 2.4GHz and 5GHz. Terminal device 1's cellular wireless connection state is connected, and the current cellular wireless connection frequency is 2.3GHz. The absolute value of the difference between the candidate access frequency 2.4GHz and the current cellular wireless connection frequency 2.3GHz is 0.1GHz. The absolute value of the difference between the candidate access frequency 5GHz and the current cellular wireless connection frequency 2.3GHz is 2.7GHz.
[0133] S309. The candidate access frequency with the largest frequency difference from the current cellular wireless connection frequency is determined as the target WiFi frequency.
[0134] For example, based on the absolute value of the difference between each candidate access frequency and the frequency of the current cellular connection as illustrated in the examples above, the candidate access frequency with the largest difference from the current cellular connection frequency can be determined to be 5GHz. This candidate access frequency, 5GHz, with the largest difference from the current cellular connection frequency, is then determined as the target WiFi frequency.
[0135] S310. Determine whether the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is less than or equal to the first threshold.
[0136] If so, execute S311.
[0137] If not, proceed to S312.
[0138] The first threshold can be 1 GHz.
[0139] S311. Obtain the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection.
[0140] The degree of mutual interference between the WiFi wireless connection and the cellular wireless connection of the terminal device can be obtained in the following way: obtain a first correspondence, which includes the degree of mutual interference between multiple WiFi frequencies and multiple cellular wireless connection frequencies; determine the degree of mutual interference between the WiFi wireless connection and the cellular wireless connection of the terminal device based on the target WiFi frequency, the current cellular wireless connection frequency and the first correspondence.
[0141] For example, the first correspondence can be shown in Table 1:
[0142] Table 1
[0143]
[0144] Assuming the current cellular wireless connection frequency is 2.567 GHz and the target WiFi frequency is 2.422 GHz, based on the target WiFi frequency, the current cellular wireless connection frequency, and the first correspondence shown in Table 1, the mutual interference level between the WiFi network provided by the WiFi access point and the cellular network is determined to be -86.
[0145] S312. Determine whether to activate the coexistence mechanism between WiFi wireless connection and cellular wireless connection of terminal device based on the degree of mutual interference.
[0146] The coexistence mechanism is a time-division multiplexing mechanism.
[0147] The coexistence mechanism between WiFi and cellular wireless connections on a terminal device can be determined as follows: if the mutual interference level is less than or equal to a second threshold, the coexistence mechanism is not activated; if the mutual interference level is greater than the second threshold, the coexistence mechanism is activated.
[0148] In the first correspondence, the degree of mutual interference between each WiFi frequency and the frequency of cellular wireless connection has its corresponding second threshold.
[0149] For example, based on the mutual interference levels shown in Table 1 above, the second threshold can be determined as shown in Table 2:
[0150] Table 2
[0151]
[0152] If a terminal device is simultaneously connected to both WiFi and cellular networks, and the mutual interference between the WiFi and cellular networks exceeds a second threshold, then the priority of the network services currently used by the terminal device can be determined, and the time period for network usage can be determined based on the priority order.
[0153] For example, terminal device 1 is simultaneously connected to both a WiFi network and a cellular network, and the mutual interference between the WiFi and cellular networks exceeds a second threshold. In this case, it is determined that terminal device 1 is using the network for voice calls and web browsing. The priority order of the services being used is voice calls, followed by web browsing. Therefore, after simultaneously connecting to both the WiFi and cellular networks, according to the priority order of the services being used, voice call data transmission is performed first, followed by web browsing data transmission.
[0154] For example, assuming the second threshold is -80, based on the mutual interference level illustrated in S312, the mutual interference level between the WiFi network and the cellular network provided by the WiFi access point is determined to be -86. According to Table 2, the current cellular wireless connection frequency is determined to be 2.567GHz, the target WiFi frequency is 2.422GHz, and the corresponding second threshold is -75. If the mutual interference level is less than or equal to the second threshold, then after accessing the WiFi access point at the target WiFi frequency of 2.422GHz, the multiplexing mechanism between the WiFi network and the cellular network is determined to be a normal coexistence mechanism.
[0155] S313. Connect to the WiFi access point according to the target WiFi frequency.
[0156] For example, if the target WiFi frequency is 5GHz, then terminal device 1 will access the WiFi access point according to the target WiFi frequency of 5GHz.
[0157] The wireless access method provided in this application determines a WiFi access point to be connected and at least one candidate access frequency for the WiFi access point. It acquires the cellular wireless connection status of the terminal device. If the cellular wireless connection status is idle, any one of the at least one candidate access frequency is determined as the target WiFi frequency, and the current cellular wireless connection frequency of the terminal device is updated. If the cellular wireless connection status is connected, the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency is acquired. The candidate access frequency with the largest frequency difference from the current cellular wireless connection frequency is determined as the target WiFi frequency, and the WiFi access point is accessed according to the target WiFi frequency. If the absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency is less than or equal to a first threshold, a multiplexing mechanism between the WiFi network and the cellular network provided by the WiFi access point is determined based on the degree of mutual interference. In the above process, since the target WiFi frequency of the WiFi access point can be determined from at least one candidate access frequency based on the cellular wireless connection status of the terminal device, instead of randomly selecting the access frequency of the WiFi access point, interference between the WiFi network and the cellular network is avoided, improving the hardware reliability and user experience of the terminal device.
[0158] Based on any of the above embodiments, the detailed process of the wireless access method will be illustrated below.
[0159] Example 1: The cellular wireless connection status of mobile phone 1 is idle.
[0160] When mobile phone 1 is connected to a cellular network, the current cellular wireless connection frequency is 2.3GHz. Mobile phone 1 is not using the cellular network for data transmission. If mobile phone 1 requests access to a WiFi network, and the WiFi access point provides access frequencies of 2.4GHz and 5GHz, then mobile phone 1's application processor can determine that the candidate access frequencies for the WiFi access point are 2.4GHz and 5GHz. At this time, mobile phone 1's application processor obtains that mobile phone 1's cellular wireless connection status is idle, so mobile phone 1 determines the candidate access frequency 5GHz as the target WiFi frequency and accesses the WiFi network through the WiFi access point according to the target WiFi frequency of 5GHz. At this time, it is determined that the current cellular wireless connection frequency of mobile phone 1 (2.3GHz) is greater than the preset frequency of 2GHz. Therefore, mobile phone 1's smart chip, within the low-frequency band (700MHz~900MHz) of the cellular network provided by the operator, determines the first cellular network frequency as 700MHz according to the network standard and frequency priority. Mobile phone 1's smart chip then reselects the frequency of the terminal device's current cellular wireless connection to the first cellular network frequency of 700MHz.
[0161] Example 2: The cellular wireless connection status of mobile phone 1 is connected, and the absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency is greater than the first threshold.
[0162] When mobile phone 1 is connected to a cellular network and making a voice call, the current cellular wireless connection frequency is 2.3GHz. If mobile phone 1 requests access to a WiFi network, and the WiFi access point provides access frequencies of 2.4GHz and 5GHz, then the application processor of mobile phone 1 can determine that the candidate access frequencies of the WiFi access point are 2.4GHz and 5GHz. At this time, mobile phone 1 obtains the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency, as shown in Table 3:
[0163] Table 3
[0164]
[0165] According to Table 3, the absolute value of the difference between the candidate access frequency 5GHz and the current cellular wireless connection frequency is the largest. Therefore, the candidate access frequency 5GHz is selected as the target WiFi frequency. Mobile phone 1 connects to the WiFi access point according to the target WiFi frequency of 5GHz.
[0166] After mobile phone 1 connects to the WiFi network, if the absolute value of the difference between the target WiFi frequency of 5GHz and the current cellular wireless connection frequency of 2.3GHz is greater than the first threshold of 1GHz, then mobile phone 1 can connect to the WiFi network at the target WiFi frequency and connect to the cellular network at the current cellular wireless connection frequency.
[0167] Example 3: The cellular wireless connection status of mobile phone 1 is connected, and the absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency is less than or equal to the first threshold.
[0168] When mobile phone 1 is connected to a cellular network and making a voice call, the current cellular wireless connection frequency is 5GHz. If mobile phone 1 requests access to a WiFi network, and the WiFi access point provides access frequencies of 5GHz and 6GHz, then mobile phone 1's application processor can determine that the candidate access frequencies of the WiFi access point are 5GHz and 6GHz. At this time, mobile phone 1 obtains the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency, as shown in Table 4:
[0169] Table 4
[0170]
[0171] According to Table 3, the absolute value of the difference between the candidate access frequency 6GHz and the current cellular wireless connection frequency is the largest. Therefore, 6GHz is selected as the target WiFi frequency. Mobile phone 1 connects to the WiFi access point at the target WiFi frequency of 6GHz.
[0172] After mobile phone 1 connects to the WiFi network, if the absolute value of the difference between the target WiFi frequency (6GHz) and the current cellular wireless connection frequency (5GHz) is equal to the first threshold (1GHz), then the mutual interference level between the wireless network provided by WiFi access point router 3 and the cellular network is determined to be -65. If the mutual interference level is greater than the second threshold (-70), then the multiplexing mechanism is determined to be time-division multiplexing. At this time, it is determined that mobile phone 1 is using network services including voice calls and web browsing. The priority order of network services is voice calls, followed by web browsing. Therefore, after mobile phone 1 connects to both the WiFi network and the cellular network simultaneously, according to the priority order of network services, it first uses the network for voice call data transmission, and then for web browsing data transmission.
[0173] The wireless access process provided in this application embodiment illustrates the following: A WiFi access point to be connected and at least one candidate access frequency for that WiFi access point are determined. The cellular wireless connection status of the terminal device is obtained. If the cellular wireless connection status is idle, any one of the at least one candidate access frequency is selected as the target WiFi frequency, and the current cellular wireless connection frequency of the terminal device is updated. If the cellular wireless connection status is connected, the absolute value of the difference between each candidate access frequency and the current cellular wireless connection frequency is obtained. The candidate access frequency with the largest frequency difference from the current cellular wireless connection frequency is selected as the target WiFi frequency, and the WiFi access point is accessed according to the target WiFi frequency. If the absolute value of the difference between the target WiFi frequency and the current cellular wireless connection frequency is less than or equal to a first threshold, a multiplexing mechanism between the WiFi network and the cellular network provided by the WiFi access point is determined based on the degree of mutual interference. In the above process, since the target WiFi frequency of the WiFi access point can be determined from at least one candidate access frequency based on the cellular wireless connection status of the terminal device, instead of randomly selecting the access frequency of the WiFi access point, interference between the WiFi network and the cellular network is avoided, improving the reliability of the terminal hardware and the user experience.
[0174] Figure 4 This is a schematic diagram of a wireless access device provided in an embodiment of this application. The wireless access device can be a chip or a chip module. Please refer to... Figure 4 The wireless access device 10 may include:
[0175] The acquisition module 11 is used to acquire the status and frequency of the cellular wireless connection of the terminal device;
[0176] The first determining module 12 is used to determine the target WiFi frequency of the Wi-Fi WiFi wireless connection based on the status and frequency of the cellular wireless connection.
[0177] The wireless access device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0178] In one possible implementation, the first determining module 12 is specifically used for:
[0179] Determine the Wi-Fi access point to be connected and at least one candidate access frequency of the Wi-Fi access point;
[0180] The target WiFi frequency is determined from the at least one candidate access frequency based on the status and frequency of the cellular wireless connection.
[0181] In one possible implementation, the first determining module 12 is specifically used for:
[0182] If the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequencies is determined as the target WiFi frequency.
[0183] If the cellular wireless connection is in a connected state, the frequency of the current cellular wireless connection of the terminal device is obtained, and the target WiFi frequency is determined from at least one candidate access frequency based on the frequency of the current cellular wireless connection.
[0184] In one possible implementation, the first determining module 12 is specifically used for:
[0185] Obtain the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection;
[0186] The target WiFi frequency is determined from the at least one candidate access frequency based on the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection, wherein the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is the largest.
[0187] The wireless access device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0188] Figure 5 This is a schematic diagram of another wireless access device provided in an embodiment of this application. Figure 4 Based on the illustrated embodiments, please refer to Figure 5 The wireless access device 10 also includes a reselection module 13, a second determination module 14, and an access module 15.
[0189] The reselection module 13 is used for:
[0190] Obtain the frequency of the cellular network that the terminal device can currently access;
[0191] If the frequency of the current cellular wireless connection is greater than or equal to a preset frequency, then a first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0192] The frequency of the terminal device's current cellular wireless connection is reselected to the first cellular network frequency.
[0193] The reselection module 13 is used for:
[0194] Determine the network standard and corresponding frequency priority of the cellular network in the area where the terminal device is located;
[0195] Based on the network standard of the cellular network and the frequency priority, the first cellular network frequency is determined from the cellular network frequencies that the terminal device can currently access.
[0196] The second determining module 14 is used for:
[0197] If the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is less than or equal to a first threshold, then the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is obtained.
[0198] Based on the degree of mutual interference, it is determined whether to activate the coexistence mechanism between the terminal device's WiFi wireless connection and cellular wireless connection, wherein the coexistence mechanism is a time-division multiplexing mechanism.
[0199] The second determining module 14 is used for:
[0200] Obtain a first correspondence, which includes the degree of mutual interference between multiple WiFi frequencies and multiple cellular wireless connection frequencies;
[0201] The degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is determined based on the target WiFi frequency, the frequency of the current cellular wireless connection, and the first correspondence.
[0202] The second determining module 14 is used for:
[0203] If the degree of mutual interference is less than or equal to the second threshold, the coexistence mechanism will not be activated.
[0204] If the degree of mutual interference is greater than the second threshold, the coexistence mechanism is activated.
[0205] The access module 15 is used for:
[0206] Connect to the WiFi access point according to the target WiFi frequency.
[0207] The wireless access device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0208] Figure 6 This is a schematic diagram of the structure of the terminal device provided in an embodiment of this application. Please refer to... Figure 6 The terminal device 20 may include a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.
[0209] Memory 21 is used to store program instructions;
[0210] The processor 22 is used to execute the program instructions stored in the memory, so that the terminal device 20 performs the method shown in the above method embodiment.
[0211] The terminal device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0212] This application provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above-described method when executed by a processor.
[0213] This application embodiment may also provide a computer program product, including a computer program that, when executed by a processor, can implement the above-described method.
[0214] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.
[0215] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0216] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0217] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0218] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
[0219] In this application, the term "comprising" and its variations can refer to non-limiting inclusion; the term "or" and its variations can refer to "and / or". The terms "first", "second", etc., in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
Claims
1. A wireless access method, characterized in that, include: Obtain the status and frequency of the cellular wireless connection of the terminal device; Determine the Wi-Fi access point to be connected and at least one candidate access frequency of the Wi-Fi access point; If the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequencies is determined as the target WiFi frequency. If the cellular wireless connection is in a connected state, the frequency of the current cellular wireless connection of the terminal device is obtained, and the target WiFi frequency is determined from at least one candidate access frequency based on the frequency of the current cellular wireless connection. After determining any one of the at least one candidate access frequency as the target WiFi frequency, the method further includes: Obtain the frequency of the cellular network that the terminal device can currently access; If the frequency of the current cellular wireless connection is greater than or equal to the preset frequency, then within the intermediate frequency band of the cellular network that the terminal device can currently access, the frequency of the cellular wireless connection is determined according to the network standard and frequency priority of the cellular network, thereby determining the first cellular network frequency. The terminal device's current cellular wireless connection frequency is reselected to the first cellular network frequency.
2. The method according to claim 1, characterized in that, Determining the target WiFi frequency from at least one candidate access frequency based on the frequency of the current cellular wireless connection includes: Obtain the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection; The target WiFi frequency is determined from the at least one candidate access frequency based on the absolute value of the difference between each candidate access frequency and the frequency of the current cellular wireless connection, wherein the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is the largest.
3. The method according to claim 2, characterized in that, After determining the candidate access frequency with the largest frequency difference from the current cellular wireless connection frequency as the target WiFi frequency, the process further includes: If the absolute value of the difference between the target WiFi frequency and the frequency of the current cellular wireless connection is less than or equal to a first threshold, then the degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is obtained. Based on the degree of mutual interference, it is determined whether to activate the coexistence mechanism between the terminal device's WiFi wireless connection and cellular wireless connection, wherein the coexistence mechanism is a time-division multiplexing mechanism.
4. The method according to claim 3, characterized in that, Obtaining the degree of mutual interference between the WiFi wireless connection and the cellular wireless connection of the terminal device includes: Obtain a first correspondence, which includes the degree of mutual interference between multiple WiFi frequencies and multiple cellular wireless connection frequencies; The degree of mutual interference between the terminal device's WiFi wireless connection and cellular wireless connection is determined based on the target WiFi frequency, the frequency of the current cellular wireless connection, and the first correspondence.
5. The method according to claim 4, characterized in that, Determining whether to activate the coexistence mechanism between the terminal device's WiFi wireless connection and cellular wireless connection includes: If the degree of mutual interference is less than or equal to the second threshold, the coexistence mechanism will not be activated. If the degree of mutual interference is greater than the second threshold, the coexistence mechanism is activated.
6. The method according to any one of claims 1-5, characterized in that, After determining the target WiFi frequency for the Wi-Fi Fidelity WiFi connection based on the status and frequency of the cellular wireless connection, the method further includes: Connect to the WiFi access point according to the target WiFi frequency.
7. A wireless access device, characterized in that, The device includes: The acquisition module is used to acquire the cellular wireless connection status and frequency of the terminal device; A first determining module is configured to determine the Wi-Fi access point to be connected and at least one candidate access frequency of the Wi-Fi access point; if the cellular wireless connection is in an idle state, then any one of the at least one candidate access frequency is determined as the target Wi-Fi frequency; if the cellular wireless connection is in a connected state, then the frequency of the current cellular wireless connection of the terminal device is obtained, and the target Wi-Fi frequency is determined from the at least one candidate access frequency according to the frequency of the current cellular wireless connection; wherein, after determining any one of the at least one candidate access frequency as the target Wi-Fi frequency, the module further includes: obtaining the frequency of the cellular network that the terminal device can currently access; if the frequency of the current cellular wireless connection is greater than or equal to a preset frequency, then within the intermediate frequency band of the cellular network that the terminal device can currently access, the frequency of the cellular wireless connection is determined according to the network standard and frequency priority of the cellular network, thereby determining a first cellular network frequency; and reselecting the current cellular wireless connection frequency of the terminal device as the first cellular network frequency.
8. A terminal device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, in, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Regulating assignment of a wireless local area network communication channel
US20200015089A1
