Wireless channel switching method and device, computer equipment and storage medium
By acquiring network performance and scenario data, and combining it with a channel prediction model, the appropriate channel is selected based on the current location type. This solves the channel switching problem caused by single-dimensional triggering in existing technologies, and improves network stability and user experience.
Patent Information
- Application Number
- CN202511607230.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-05
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2045-11-05
AI Technical Summary
Existing wireless channel switching technologies are mostly based on a single-dimensional trigger, which can lead to deviations in the timing of channel switching or errors in the selection of the optimal channel, affecting network stability and user experience.
By acquiring network performance data and scene data from mobile devices, and combining this with a channel prediction model, the system selects and switches to the appropriate channel based on the current location type.
It enables scenario-specific channel selection, improves network stability and transmission performance, reduces disconnections and latency, and optimizes the user's wireless experience.
Smart Images

Figure CN121078504A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless channel, in particular to a wireless channel switching method and device, computer equipment and storage medium. BACKGROUND
[0002] With the popularity of wireless devices and the diversification of mobile scenarios, the complexity of network environment continues to increase, and wireless channel switching technology has become one of the core technologies to ensure the stability of device networking, which has been widely used in various wireless terminal devices such as smart phones and smart routers.
[0003] The existing wireless channel switching technology is mostly triggered based on a single dimension, for example, only the signal strength (such as the received signal strength indication (RSSI)) is used to determine whether to switch the channel, or only the interference level of the current channel is used to select a new channel, and some technologies periodically perform network performance detection to assist in switching judgment. However, single-dimensional triggering of wireless channel switching is prone to deviation in channel switching timing or errors in optimal channel selection, resulting in network disconnection and increased delay, which is difficult to meet the user's demand for stable networking in complex scenarios and affects the user experience.
[0004] Therefore, the present application is proposed. SUMMARY
[0005] The purpose of the embodiments of the present application is to provide a wireless channel switching method, device, computer equipment and storage medium to solve the technical problem that single-dimensional triggering of wireless channel switching is difficult to meet the user's demand for stable networking.
[0006] To solve the above technical problem, the embodiments of the present application provide a wireless channel switching method, which adopts the technical scheme as follows, comprising: obtaining network performance data of a mobile terminal; if the network performance data is within a preset range, obtaining scene data of the mobile terminal; determining a current location type of the mobile terminal according to the scene data, the current location type being a complex location or a simple location; selecting an adaptive channel corresponding to the current location type, and switching a current channel where the mobile terminal is located to the adaptive channel.
[0007] Further, the selecting an adaptive channel corresponding to the current location type comprises: if the current location type is the complex location, inputting the scene data and the network performance data into a preset channel prediction model, and outputting a first candidate channel through the channel prediction model; checking the first candidate channel; if the first candidate channel passes the checking, taking the first candidate channel as the adaptive channel.
[0008] Further, the inputting the scene data and the network performance data into a preset channel prediction model, and outputting a first candidate channel through the channel prediction model, comprises: extracting features of the scene data and the network performance data through the channel prediction model to obtain comprehensive feature data; determining a channel prediction set according to the comprehensive feature data; selecting the first candidate channel from the channel prediction set.
[0009] Further, the selecting the adaptive channel corresponding to the current location type comprises: if the current location type is the simple location, obtaining a plurality of wireless channels; detecting real-time interference conditions and channel use frequencies of the plurality of wireless channels; determining a second candidate channel according to the real-time interference conditions and the channel use frequencies; checking the second candidate channel; if the second candidate channel passes the checking, taking the second candidate channel as the adaptive channel.
[0010] Further, the scene data comprises signal features, time, a number of surrounding hotspots, and current position information, and the determining the current location type of the mobile terminal according to the scene data comprises: selecting an initial location type from a preset location type library according to the signal features, the time, the number of surrounding hotspots, and the current position information; in response to a correction instruction triggered by a user based on the mobile terminal, correcting the initial location type according to the correction instruction to obtain the current location type.
[0011] Further, the scene data comprises current position information of the mobile terminal, and the obtaining the scene data of the mobile terminal comprises: detecting whether a global positioning system signal exists; if the global positioning system signal exists, obtaining longitude and latitude coordinates of the mobile terminal according to the global positioning system signal; encoding the longitude and latitude coordinates to obtain the current position information of the mobile terminal; If the global positioning system signal does not exist, a base station signal or a wireless hotspot is acquired, and according to the base station signal or the wireless hotspot, current position information of the mobile terminal is determined.
[0012] Further, the switching of the current channel in which the mobile terminal is located to the adaptive channel comprises: Acquiring an authentication key preset for the adaptive channel; According to the authentication key, the mobile terminal is verified. If the mobile terminal passes the verification, the current channel in which the mobile terminal is located is switched to the adaptive channel.
[0013] To solve the above technical problems, the embodiment of the present application further provides a wireless channel switching device, which adopts the technical scheme as follows: A wireless channel switching device comprises: A first acquisition module is configured to acquire network performance data of a mobile terminal. A second acquisition module is configured to acquire scene data of the mobile terminal if the network performance data is within a preset range. A determination module is configured to determine a current location type of the mobile terminal according to the scene data, wherein the current location type is a complex location or a simple location. A switching module is configured to select an adaptive channel corresponding to the current location type, and switch a current channel in which the mobile terminal is located to the adaptive channel.
[0014] To solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the technical scheme as follows: A computer device comprises a memory and a processor, the memory stores computer readable instructions, and the processor executes the computer readable instructions to realize the steps of the wireless channel switching method.
[0015] To solve the above technical problems, the embodiment of the present application further provides a computer readable storage medium, which adopts the technical scheme as follows: A computer readable storage medium stores computer readable instructions, and the computer readable instructions are executed by a processor to realize the steps of the wireless channel switching method.
[0016] Compared with the prior art, the present application has the following beneficial effects: The wireless channel switching method disclosed in the application can realize real-time and accurate perception of the quality state of the current network by acquiring network performance data, thereby providing objective and reliable triggering basis for subsequent judgment on whether channel switching is needed. The scene data of the mobile terminal is acquired when the network performance data is within a preset range, which can not only accurately acquire environment-related data when needed, but also reduce unnecessary positioning resource consumption (such as device power and network traffic), thereby improving the operation efficiency of the device. The current location type is determined according to the environment data, which can deeply associate the channel selection with the specific environment scene, thereby avoiding the problem that the traditional channel selection relying on only single network data cannot adapt to the difference in signal characteristics of different locations, and making the channel selection more scene-specific. The corresponding adaptive channel is selected based on the current location type and switched, which can ensure that the channel after switching is highly matched with the network environment of the current location, effectively improve the stability and transmission performance of the network after switching, reduce the problems such as disconnection and delay caused by poor channel adaptability, and finally optimize the wireless use experience of the user. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the schemes in the application, the drawings needed in the description of the embodiments of the application will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0018] Figure 1 is an exemplary system architecture diagram to which the application can be applied; Figure 2 is a flowchart of one embodiment of the wireless channel switching method according to the application; Figure 3 is a structural schematic diagram of one embodiment of the wireless channel switching device according to the application; Figure 4 is a structural schematic diagram of one embodiment of the computer device according to the application. DETAILED DESCRIPTION
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit the application; the terms "include" and "have" in the specification and claims of the application and above description of drawings mean to cover the non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of the application or above description of drawings are used to distinguish different objects, not to describe a specific order.
[0020] Reference to“an embodiment” herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase“in an embodiment” in various places in the specification are not necessarily referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is expressly understood that the embodiments described herein are merely example and that one skilled in the art would readily recognize numerous other embodiments that might fall within the scope of the application. Those skilled in the art will readily appreciate that domains of the application can be
[0021] For better understanding of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings.
[0022] As shown in Figure 1 The system architecture 100 can include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 can include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0023] A user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0024] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, and desktop computers, etc.
[0025] The server 105 can be a server that provides various services, such as a background server that provides support for pages displayed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
[0026] It should be noted that the wireless channel switching method provided in the embodiments of the present application is generally executed by a terminal device, and accordingly, the wireless channel switching apparatus is generally arranged in the terminal device.
[0027] It should be understood that Figure 1 The number of terminal devices, networks and servers in the above-mentioned system is only illustrative. Any number of terminal devices, networks and servers can be provided according to the needs of implementation.
[0028] With reference to Figure 2 , a flow chart of one embodiment of the wireless channel switching method according to the present application is shown. The wireless channel switching method comprises the following steps: Step S201, obtaining network performance data of a mobile terminal.
[0029] In the present embodiment, the electronic device (for example, the terminal device shown in Figure 1 ) on which the wireless channel switching method runs can send or receive data through a wired connection or a wireless connection. It should be noted that the wireless connection can include, but is not limited to, 3G / 4G / 5G connection, Wi-Fi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wide band) connection, and other now known or future developed wireless connection methods.
[0030] In the present embodiment, the network performance data is quantitative data reflecting the transmission capacity and stability of a wireless network, and measuring the strength of a wireless signal (such as Wi-Fi, cellular network signal), including delay, throughput, jitter and signal strength. The delay is obtained by a ping test, which is the round-trip time of network data from the sender to the receiver. The throughput is obtained by a speed test, which is the amount of data that can be transmitted by the network per unit time. The jitter is the fluctuation difference of delay in different data transmission periods, which directly affects the network stability. The strength of the wireless signal received by the device can be reflected by the RSSI value, which can be collected in real time by the device hardware sensor, for example, by using the RSSI detection function of the built-in signal receiving sensor (such as Wi-Fi module, cellular network module) to continuously capture the strength of the surrounding wireless signal and convert it into a quantifiable RSSI value.
[0031] Step S202, if the network performance data is within a preset range, obtaining scene data of the mobile terminal.
[0032] In the embodiment, the preset range can be delay ≥ 100 ms, throughput ≤ 5 Mbps, jitter ≥ 20 ms, and RSSI value ≤ -70 dBm. When the delay is greater than or equal to 100 ms, real-time interaction (such as video call, online game) will appear obvious lag; when the throughput is less than or equal to 5 Mbps, high-definition video loading, file downloading and other operations will appear buffering or slow; when the jitter is greater than or equal to 20 ms, the network stability decreases, which will cause the voice call to be intermittent, the video picture to be fast and slow, and so on; when the RSSI value is less than or equal to -70 dBm, the wireless signal strength is insufficient, which will cause the device (such as a mobile phone, a computer) network connection to be frequently disconnected, the data transmission packet loss rate to increase, and the video playback to be lagged, the webpage to be slowly loaded, and so on. When any one of the above four indexes is in the above range, it can be determined that the current network state is not good, and the channel switching process is triggered.
[0033] For example, the scene data includes current location information, signal characteristics, time, and the number of surrounding hotspots. The current location information is obtained through a global positioning system (GPS) signal or a Wi-Fi hotspot or base station signal, and the device position can be estimated; the signal characteristics are obtained by scanning the surrounding wireless signals through the device hardware, including scanning the signal strength (such as the RSSI value) of the nearby Wi-Fi hotspots, the frequency band (2.4 GHz / 5 GHz) and the specific channel (such as the 1 / 6 / 11 channel of 2.4 GHz) of the Wi-Fi hotspots; scanning the signal strength and frequency band type of the mobile communication base station (2G / 4G / 5G), and integrating the key attributes of these wireless signals to form the signal characteristics; the time is automatically collected by the real-time clock module of the device, including the specific time period (such as the morning peak 8:00-10:00, the flat peak 14:00-16:00), the time dimension data such as weekdays / holidays; the number of surrounding hotspots is the total number of Wi-Fi hotspots in a unit range (such as within 100 meters) detected by the device through counting statistics.
[0034] In step S203, the current location type of the mobile terminal is determined according to the scene data, and the current location type is a complex location or a simple location.
[0035] In the embodiment, the complex location refers to a scene with dense wireless signals, many interference sources, and large network load fluctuations, which can be a commercial scene, a transportation hub scene, or an office scene; the simple location refers to a scene with sparse wireless signals, few interference sources, and stable network load, which can be an outdoor leisure scene, a low-density residential scene, or an open outdoor scene. The current location type can be determined by a machine learning classification model such as a decision tree, or can be directly obtained by feature matching.
[0036] For example, the current location information is input into the decision tree model, and the current location type is output. Specifically, the model judges the environment data layer by layer according to the preset feature priority (from the number of surrounding hotspots to the signal feature, then the time, and finally the current location information). When the environment data completes all levels of splitting and reaches the decision tree leaf node, the model directly outputs the current location type, which can be a simple location or a complex location, to provide an environment type adaptation basis for subsequent channel intelligent switching.
[0037] In step S204, an adaptive channel corresponding to the current location type is selected, and the current channel of the mobile terminal is switched to the adaptive channel.
[0038] In this embodiment, if the current location type is a complex location, the environment data (such as the longitude and latitude of the 3rd floor of the mall, the signal features of 15 surrounding Wi-Fi hotspots) and the network performance data (such as the current delay of 120 ms and the bandwidth of 4 Mbps) are input into the preset channel prediction model. The model determines a first candidate channel that meets the conditions based on historical data (such as the stability record of the 5 GHz channel during the morning rush hour of the mall), and the first candidate channel is verified to obtain the adaptive channel. If the current location type is a simple location, all available wireless channels in the current environment are scanned first. Then, the real-time interference and the frequency of use of each channel are detected, and a second candidate channel with the least interference and the lowest frequency of use is selected based on this to obtain the adaptive channel. Finally, the channel switching is completed within milliseconds by using a fast roaming protocol (such as 802.11r) or a dual-frequency synchronization technology, to ensure that the user equipment (such as a mobile phone) has no disconnection perception.
[0039] The present application can accurately perceive the quality state of the current network in real time by obtaining network performance data, to provide an objective and reliable trigger basis for subsequent judgment of whether channel switching is needed. The scene data of the mobile terminal is obtained when the network performance data is within a preset range, which can accurately obtain environment-related data when needed, reduce unnecessary positioning resource consumption (such as device power and network traffic), and improve the efficiency of device operation. The current location type is determined according to the environment data, which can deeply associate the channel selection with the specific environment scene, avoid the problem that the traditional channel selection only depends on single network data and cannot adapt to the differences in signal features of different locations, and make the channel selection more scene-specific. The adaptive channel corresponding to the current location type is selected and switched, which can ensure that the switched channel is highly matched with the network environment of the current location, effectively improve the stability and transmission performance of the network after switching, reduce problems such as disconnection and delay caused by poor channel adaptability, and ultimately optimize the wireless use experience of the user.
[0040] In some optional implementations of the present embodiment, the step of selecting the adaptive channel corresponding to the current location type comprises: if the current place type is the complex place, inputting the scene data and the network performance data into a preset channel prediction model, outputting a first candidate channel through the channel prediction model; checking the first candidate channel; if the first candidate channel passes the check, taking the first candidate channel as the adaptive channel.
[0041] In the embodiment, the channel prediction model is a preset machine learning model, which can be constructed by a regression model. The model needs to learn the mapping relationship between the scene, the network state and the channel performance (for example, in the complex place during the morning peak, when the delay exceeds the standard, the stability of a specific 5GHz channel is better) through a historical training stage, can perform performance prediction on each available channel in the input data, and outputs a quantitative prediction result. The first candidate channel is the channel with the optimal predicted performance output by the channel prediction model for the complex place scene.
[0042] For example, the scene data and the network performance data are standardized, the current position information in the environmental data is converted into regional attribute numerical features, the time is mapped into a time period label, and the number of surrounding hotspots is counted; the delay, bandwidth and other indicators in the network performance data are normalized into numerical features, and whether they are within a preset range is converted into a binary feature, so as to ensure that the data format is adapted to the channel prediction model. The preprocessed data is input into the preset channel prediction model, the model calls the historical channel performance data (including the historical stability of each channel and the switching success rate) matched with the current complex place type in the cloud, performs performance prediction in combination with the current data, and finally outputs a channel with the optimal comprehensive predicted performance, which is the first candidate channel. Finally, in order to ensure the availability of the channel, the first candidate channel selected is checked. Specifically, the model controls the device to temporarily access the first candidate channel, and real-time detects the signal stability (such as the number of disconnections within 10 seconds), the real-time interference situation (the signal overlap degree of adjacent channels), and the current number of access devices. If the detection result meets the conditions of no disconnection within 10 seconds, the signal overlap degree of adjacent channels ≤ 20%, and the number of access devices ≤ 60% of the maximum load of the current channel, it is determined that the check passes, and the first candidate channel is the final adaptive channel. If the detection result does not meet the above conditions, the model triggers the prediction and selection of the remaining available channels again until an adaptive channel that passes the check is obtained.
[0043] The application outputs the optimal candidate channel through the channel prediction model that fuses historical scenes and current data, and ensures signal stability, low interference and reasonable load through real-time checking, which not only improves the accuracy of channel selection in complex places, but also avoids prediction deviation, effectively guarantees the reliability of network connection and user experience in complex environments.
[0044] In some optional implementations of the embodiment, the step of inputting the scene data and the network performance data into a preset channel prediction model and outputting a first candidate channel through the channel prediction model includes: feature extraction is performed on the scene data and the network performance data through the channel prediction model to obtain comprehensive feature data; a channel prediction set is determined according to the comprehensive feature data; the first candidate channel is obtained by screening in the channel prediction set.
[0045] In the embodiment, first, the input environment data and network performance data are standardized. The current location information in the environment data is converted into regional attribute labels (such as commercial area, traffic hub area) through geocoding and mapped into numerical features; signal features such as the proportion of 5GHz frequency band hotspots (the number of scanned 5GHz hotspots / the total number of hotspots), the average signal strength are extracted and normalized to 0-1 interval values; the current time is mapped into a time period label (such as early peak, late peak, flat peak); the count value of the number of surrounding hotspots is directly retained to form an environment feature group. The network performance data is extracted for delay, bandwidth, etc. The delay (such as 120 ms) is normalized to 0-1 interval values, and the bandwidth ≤ 5 Mbps, the delay ≥ 100 ms, and the signal strength ≤ -70 dBm are converted into binary features (set to 1 within the preset range, and set to 0 outside the preset range), while the original RSSI value is retained and normalized to form a network performance feature group.
[0046] Exemplarily, the preprocessed environment feature group and network performance feature group are fused with historical data features (such as the average stability score of a certain channel in a complex place during the early peak) in the model to construct a structured feature matrix, which includes scene features (complex place type and time period label), historical performance features (stability / success rate of switching), and current network features (delay / bandwidth / signal strength). The model learns the mapping relationship between the network state in the complex place and the channel performance based on the historical training phase, and predicts the performance of each available channel in the feature matrix. Through linear regression calculation, the core performance prediction value of each channel in the future specified period (such as within 3 minutes) is output, specifically including the predicted stability score, the predicted delay value, and the predicted uninterrupted connection time length, which quantifies the subsequent performance of each channel. The model sorts the prediction results of all available channels according to the standard of optimal predicted performance, and preferentially selects the channel with the highest predicted stability score, the lowest predicted delay value, and the longest predicted uninterrupted connection time length, and determines the channel as the first candidate channel.
[0047] The application can make the selection of the first candidate channel more targeted and scientific by determining the mapping relationship between data and channels, generating a channel prediction set in combination with multi-dimensional features, and accurately screening. The application can fully mine the correlation between the scene, network state, and channel performance, and guarantee the optimal result through set screening, thereby further improving the accuracy of channel selection and network stability in complex environments.
[0048] In some optional implementations of the embodiment, the step of selecting the adaptive channel corresponding to the current location type includes: If the current location type is the simple location, a plurality of wireless channels are obtained. The real-time interference situation and channel use frequency of the plurality of wireless channels are detected. A second candidate channel is determined according to the real-time interference situation and the channel use frequency. The second candidate channel is verified. If the second candidate channel passes the verification, the second candidate channel is taken as the adaptive channel.
[0049] In the embodiment, when it is determined through the location identification process that the current location type is a simple location (such as a city suburban park with sparse wireless signals and few interference sources), a built-in wireless signal scanning module is used to automatically scan all accessible wireless channels in the current environment, and finally a plurality of available channel lists are obtained, for example, 1 channel, 6 channel, and 11 channel of the 2.4 GHz frequency band, and 149 channel and 153 channel of the 5 GHz frequency band. Real-time data detection is performed on the obtained five available channels. Specifically, the signal analysis algorithm is used to detect the adjacent channel signal overlap degree of each channel (the lower the overlap degree, the smaller the interference). At the same time, the number of access devices of each channel is obtained (the smaller the number, the lower the use frequency, and the lighter the network load). Then, the detection results are sorted and filtered according to the requirements of low interference and low load, for example, the adjacent channel signal overlap degree ≤ 20% is taken as the first condition for the first filtering, and the channel after the filtering is further sorted according to the smallest number of access devices. After comprehensive judgment, the channel with the highest ranking is taken as the second candidate channel. Finally, the device performs a short access verification of 15 seconds on the second candidate channel to verify its actual adaptability. When there is 0 disconnection within 15 seconds, the signal stability requirement is met. When the change in the number of access devices does not exceed the maximum load of the channel, the load controllability requirement is met. When both of the above verification indicators meet the standards, it is determined that the second candidate channel passes the verification, and the second candidate channel is finally determined as the adaptive channel of the current simple location. If the verification fails (such as 1 disconnection), the remaining candidate channels are re-verified until the adaptive channel that meets the standards is obtained.
[0050] The application directly acquires a wireless channel, detects real-time interference and usage frequency, and combines with checking and screening to adapt a frequency channel, which not only simplifies the process according to the environment characteristics of a simple site, but also quickly locks a low-interference and low-load frequency channel, guarantees network stability, and improves connection efficiency and user experience.
[0051] In some optional implementations of the embodiment, the scene data includes signal characteristics, time, number of surrounding hotspots, and current location information, and the step of determining the current location type of the mobile terminal according to the scene data includes: screening an initial location type from a preset location type library according to the signal characteristics, the time, the number of surrounding hotspots, and the current location information; In response to a correction instruction triggered by a user based on the mobile terminal, correcting the initial location type according to the correction instruction to obtain the current location type.
[0052] In the embodiment, the screening can be performed in the order of the number of surrounding hotspots, signal characteristics, time, and current location information. The order is determined according to the number of hotspots as the primary standard of environmental signal density, followed by signal frequency band distribution (high 5GHz proportion usually corresponds to a complex scene), combined with time period load difference, and finally verified by current location information to ensure that the screening dimension gradually progresses from the core to the auxiliary. The preset location type library includes two categories of complex locations and simple locations. For the characteristics of a simple location, the threshold of the number of surrounding hotspots can be less than 10, the threshold of signal characteristics can be less than 60%, the threshold of time can be flat peak 10-17 o'clock and non-peak 22-6 o'clock, and the current location information is associated with areas such as suburban residences, parks, and rural green lands. For the characteristics of a complex location, the threshold of the number of surrounding hotspots can be greater than or equal to 10, the threshold of signal characteristics can be greater than or equal to 60%, the threshold of time can be early peak 7-9 o'clock and late peak 18-21 o'clock, and the current location information is associated with areas such as business centers, subway stations, and office buildings.
[0053] For example, according to the above screening sequence, the type library is matched step by step. First, the number of peripheral hotspots is screened, for example, the current number of peripheral hotspots is 8, which meets the threshold of simple place < 10, and the simple place candidate is preliminarily locked; second, the signal characteristics are verified, the current 5GHz proportion is 25%, which meets the simple place < 60% threshold, and there is no complex scene signal characteristic, which strengthens the simple place tendency; then, the time dimension is supplemented for judgment, the current is a working day 10:30 (flat peak period), which meets the simple place flat peak / non-peak time threshold, and there is no complex place peak load characteristic, which maintains the simple place judgment; finally, the current position information is verified, the current position information is a suburban residential area in the city, which is completely matched with the suburban residential area associated with the simple place in the type library, and there is no contradictory item. After the above four layers of screening, the initial place type is finally obtained as a simple place. The device prompts "the initial place type is a simple place, do you want to modify it?" If the user is actually in a temporary community market (5 temporary hotspots are added in the market and are not scanned initially) in the suburban residential area, when receiving "modify as a complex place", the device modifies the initial type as a complex place according to the modification instruction, and finally determines the current place type. If the user does not respond, the initial place type is taken as the current place type.
[0054] The application screens layer by layer according to the feature priority and matches the type library, so that the initial place type judgment has a clear basis and is more accurate, and avoids misjudgment caused by a single feature. The user modification instruction can make up for the type deviation caused by the scanning omission (such as temporary hotspots) of the device. Finally, the place type is adapted to the actual scene, which provides an accurate basis for subsequent adaptive channel selection, and effectively guarantees the network stability and user experience.
[0055] In some optional implementations of the embodiment, the scene data includes current position information of the mobile terminal, and the step of obtaining the scene data of the mobile terminal includes: detecting whether a global positioning system signal exists for the mobile terminal; if the global positioning system signal exists, obtaining the longitude and latitude coordinates of the mobile terminal according to the global positioning system signal; encoding the longitude and latitude coordinates to obtain the current position information of the mobile terminal; if the global positioning system signal does not exist, obtaining a base station signal or a wireless hotspot, and determining the current position information of the mobile terminal according to the base station signal or the wireless hotspot.
[0056] In the embodiment, it is detected whether a GPS signal exists for the mobile terminal. If the device is in an outdoor open scene (such as a city park lawn), there is no high-rise building, tree or other obstruction, the GPS module can stably receive a plurality of satellite signals (such as receiving 6 GPS satellite signals, signal strength ≥-130 dBm), and it can be determined that the GPS signal exists. If the device is in an indoor closed scene (such as a negative two-story underground mall) or a densely obstructed area (such as a small alley with high-rise buildings), the GPS module can only receive 1-2 satellite signals or no signal at all (signal strength < -150 dBm), and it is determined that the GPS signal does not exist. When it is determined that the GPS signal exists, the device obtains the accurate longitude and latitude coordinates of the current position through the GPS module, calls a map application programming interface (API) (such as a geocoding interface) to analyze the longitude and latitude, converts it into specific geographic area information, and finally obtains the current position information.
[0057] For example, when it is determined that the GPS signal does not exist, the device automatically switches to an auxiliary positioning mode. The current position information can be determined based on a base station signal. The device scans surrounding mobile communication base stations (such as 4G / 5G base stations) through a cellular network module, obtains key information of 3 or more base stations, including base station ID and signal strength, uploads the base station ID and signal strength data to a positioning service platform, the platform estimates the device position through a triangulation method, and outputs the current position information. The current position information can also be determined based on a wireless hotspot. The Wi-Fi module scans the wireless hotspots (such as commercial Wi-Fi in a mall, public Wi-Fi) that can be detected in the current environment, obtains the media access control (Media Access Control Address, MAC) address and signal strength of 5 or more hotspots, and the positioning service platform matches the registered position (such as the negative two-story dining area of the trade fair) corresponding to the MAC address in the database, and finally determines the current position information by combining the hotspot signal strength weighted calculation.
[0058] The application uses GPS to obtain accurate longitude and latitude positioning in priority, ensures the positioning accuracy of an outdoor open scene, automatically switches base station or wireless hotspot positioning when there is no GPS signal, solves the positioning problem in an indoor or densely obstructed area, and avoids positioning interruption. The two modes are complementary, ensure the reliability of the current position information, provide accurate position basis for subsequent determination of the location type and selection of the adaptive channel, and ensure the stability of the overall channel switching process.
[0059] In some optional implementation manners of the embodiment, the step of switching the current channel of the mobile terminal to the adaptive channel includes: obtaining a preset authentication key of the adaptive channel; verifying the mobile terminal according to the authentication key. If the mobile terminal is verified, the current channel where the mobile terminal is located is switched to the adaptive channel.
[0060] In the embodiment, the preset authentication key is generated by the wireless access point corresponding to the current channel and stored in the local security module in advance, and then cached in the adaptive channel. Specifically, when the mobile terminal is connected stably in the current channel, the wireless access point of the adaptive channel is pre-authenticated in advance, and the identity authentication information of the mobile terminal is cached as the authentication key of the wireless access point corresponding to the adaptive channel. When the channel switching process is triggered, the preset authentication key is automatically obtained through the pre-communication link with the wireless access point of the adaptive channel, without the need for the user to manually input, and then the permission identification in the key is checked to verify whether the mobile terminal is a legal device authorized to access the network, and the integrity and timeliness of the key are verified to ensure that the key is not tampered with or expired. If the verification is passed, the wireless access point of the adaptive channel will synchronize the network configuration information (such as IP address, encryption context) of the mobile terminal in advance, and the mobile terminal will terminate the connection with the current channel and quickly switch to the adaptive channel.
[0061] The application caches the key through pre-authentication, which not only saves the user's manual input operation and improves convenience, but also ensures that only legal devices are accessed through key integrity, timeliness verification and permission check, and enhances security. At the same time, the pre-synchronization of configuration information realizes quick switching, reduces connection interruption, guarantees seamless experience of network use, and balances security and efficiency.
[0062] In some optional implementation manners of the embodiment, after the step of switching the current channel where the mobile terminal is located to the adaptive channel, the method further comprises: Converting the network performance data, the signal strength data and the current location type into a visual chart; Pushing the visual chart and the channel switching information to the user terminal.
[0063] In the embodiment, the visual chart can be a delay line chart, a dual-dimension column chart of signal strength and bandwidth, and a scene dashboard chart. The delay line chart has a time axis of 1 minute before switching to the switching moment to 2 minutes after switching as the X axis and delay (ms) as the Y axis, and shows the change of delay with a blue line, intuitively presenting the optimization effect of switching on delay. The dual-dimension column chart of signal strength and bandwidth has two nodes before and after switching as the X axis and left and right sides (left for signal strength (dBm) and right for bandwidth (Mbps)) as the Y axis, and compares signal strength with a green column and bandwidth with an orange column. The scene dashboard chart is based on a ring chart, with a red sector accounting for 100%, and the center is labeled with the current location type, such as complex location (XX commercial circle mall), and the outer side of the ring is labeled with the adaptive channel, such as 5GHz-149, to quickly deliver environment and channel information. At the same time, the channel switching information, such as
network channel optimization completed
[0064] The present application converts network performance, signal strength and location type into intuitive charts, so that users can clearly see the optimization effect of reduced delay, improved signal and bandwidth after switching. The prompt information explains the adaptive scene and target channel, eliminating information gaps. It not only allows users to intuitively perceive the value of switching, but also improves process transparency, enhances trust in automatic channel switching, and optimizes wireless use experience.
[0065] In some optional implementations of the embodiment, the step of switching the current channel of the mobile terminal to the adaptive channel further includes: obtaining user identity information of the mobile terminal, anonymizing the user identity information and the scene data to obtain an anonymous data set; classifying the anonymous data set to obtain a classified anonymous data set; encrypting the classified anonymous data set and the channel switching record of the mobile terminal to obtain an encrypted data set, and uploading the encrypted data set to the cloud.
[0066] In the embodiment, after the mobile terminal completes channel switching, the system automatically acquires user identity information (such as device unique identifier, associated account identifier) and scene data (including current location information, signal characteristics, time, number of surrounding hotspots, and multi-dimensional information). Replace the original user identifier with a randomly generated anonymous ID, and blur sensitive data such as precise location to remove information that can be directly associated with individuals, forming an anonymous data set. Then, according to the preset classification rules (such as dividing into complex and simple locations according to location type, or dividing into weak signal, high interference, and insufficient performance according to switching trigger reason), the anonymous data set is classified and arranged to obtain a clear structured classified anonymous data set. Finally, the classified data set is integrated with the mobile terminal's channel switching record (such as channel before and after switching, switching time, and switching success rate), stored and encrypted by the Advanced Encryption Standard (AES) algorithm to generate an encrypted data set, and then uploaded to the cloud big data platform through a secure channel established by the Transport Layer Security protocol, which not only ensures data privacy and security, but also provides compliant data support for subsequent scenario-based channel optimization.
[0067] The present application avoids the risk of personal information leakage through anonymous processing, and the data structure is clearer through classification. Encryption transmission and storage further strengthen the security line of defense. The compliant data set uploaded to the cloud not only ensures user privacy and security, but also provides reliable data support for subsequent scenario-based channel optimization and switching strategy iteration.
[0068] The embodiment of the present application can acquire and process related data based on artificial intelligence technology. Artificial intelligence (AI) is the use of digital computers or computer-controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0069] Artificial intelligence basic technologies generally include technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction system, mechatronics, etc. Artificial intelligence software technology mainly includes computer vision technology, robot technology, biometric technology, speech processing technology, natural language processing technology, and machine learning / deep learning, etc.
[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing relevant hardware through computer readable instructions, and the computer readable instructions can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. Among them, the storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0071] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other orders. Moreover, at least part of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be alternately executed with at least part of other steps or sub-steps or stages of other steps.
[0072] Further referring to Figure 3 , as an implementation of the method shown in Figure 2 , the present application provides an embodiment of a wireless channel switching device, which corresponds to the method embodiment shown in Figure 2 , and the device can be specifically applied to various electronic devices.
[0073] As shown in Figure 3 , the wireless channel switching device 300 described in the embodiment includes a first acquisition module 301, a second acquisition module 302, a determination module 303, and a switching module 304. Among them: The first acquisition module is configured to acquire network performance data of a mobile terminal. The second acquisition module is configured to acquire scene data of the mobile terminal if the network performance data is within a preset range. The determination module is configured to determine a current location type of the mobile terminal according to the scene data, wherein the current location type is a complex location or a simple location. The switching module is configured to select an adaptive channel corresponding to the current location type, and switch a current channel in which the mobile terminal is located to the adaptive channel.
[0074] The wireless channel switching device provided in the application can realize real-time and accurate perception of the quality state of the current network by acquiring network performance data, and provide objective and reliable triggering basis for subsequent judgment of whether channel switching is needed; scene data of the mobile terminal is acquired when the network performance data is within a preset range, which can accurately acquire environment-related data when needed, reduce unnecessary positioning resource consumption (such as device power and network traffic), and improve device operation efficiency; the current location type is determined according to the environment data, which can deeply associate channel selection with specific environment scenarios, avoid the problem that the traditional channel selection relying on single network data cannot adapt to the difference in signal characteristics of different locations, and make the channel selection more scenario-specific; the corresponding adaptive channel is selected based on the current location type and switched, which can ensure that the switched channel is highly matched with the network environment of the current location, effectively improve the stability and transmission performance of the network after switching, reduce problems such as disconnection and delay caused by poor channel adaptability, and ultimately optimize the wireless use experience of the user.
[0075] In some optional implementation manners of the embodiment, the switching module 304 is further configured to: If the current location type is the complex location, the scene data and the network performance data are input into a preset channel prediction model, and a first candidate channel is output by the channel prediction model; The first candidate channel is verified; If the first candidate channel passes the verification, the first candidate channel is taken as the adaptive channel.
[0076] The wireless channel switching device provided in the application outputs an optimal candidate channel through a channel prediction model that fuses historical scenarios and current data, and ensures signal stability, low interference and reasonable load through real-time verification, which not only improves the accuracy of channel selection in complex locations, but also avoids prediction deviation, effectively guarantees the reliability of network connection and user experience in complex environments.
[0077] In some optional implementation manners of the embodiment, the switching module 304 is further configured to: The scene data and the network performance data are feature-extracted by the channel prediction model to obtain comprehensive feature data; The channel prediction set is determined according to the comprehensive feature data; The first candidate channel is obtained by screening in the channel prediction set.
[0078] The wireless channel switching device provided in the application can select the first candidate channel more accurately and scientifically by determining the mapping relationship between data and channels, generating a channel prediction set in combination with multi-dimensional features, and accurate screening.
[0079] In some optional implementation manners of the embodiment, the switching module 304 is further configured to: if the current location type is the simple location, obtaining a plurality of wireless channels; detecting real-time interference conditions and channel use frequencies of the plurality of wireless channels; determining a second candidate channel according to the real-time interference conditions and the channel use frequencies; verifying the second candidate channel; if the second candidate channel passes the verification, taking the second candidate channel as the adaptive channel.
[0080] The wireless channel switching device provided in the application can directly obtain wireless channels and detect real-time interference and use frequencies, and select an adaptive channel in combination with verification, which can not only simplify the process by fitting the environment characteristics of a simple location, but also quickly lock a low-interference and low-load channel, guarantee network stability, and improve connection efficiency and user experience.
[0081] In some optional implementation manners of the embodiment, the determining module 303 is further configured to: screening an initial location type from a preset location type library according to the signal features, the time, the number of surrounding hotspots, and the current location information; in response to a correction instruction triggered by the mobile terminal, correcting the initial location type according to the correction instruction to obtain the current location type.
[0082] The wireless channel switching device provided in the application can select an initial location type more accurately by layer-by-layer screening according to feature priorities and matching with a type library, avoid misjudgment caused by a single feature, and correct a type deviation caused by missing of a device scan (such as a temporary hotspot) by adding a user correction instruction. Ultimately, the location type fits an actual scene, provides an accurate basis for subsequent adaptive channel selection, and effectively guarantees network stability and user experience.
[0083] In some optional implementation manners of the embodiment, the second obtaining module 302 is further configured to: detecting whether a global positioning system signal exists in the mobile terminal; If the global positioning system signal exists, the latitude and longitude coordinates of the mobile terminal are acquired according to the global positioning system signal; The latitude and longitude coordinates are encoded to obtain the current location information of the mobile terminal. If the global positioning system signal does not exist, a base station signal or a wireless hotspot is acquired, and the current location information of the mobile terminal is determined according to the base station signal or the wireless hotspot.
[0084] The wireless channel switching device provided in the application guarantees the positioning accuracy of an open outdoor scene by preferentially using GPS to acquire accurate latitude and longitude positioning. When there is no GPS signal, the base station or wireless hotspot positioning is automatically switched to solve the positioning problem in an indoor or densely shielded area and avoid positioning interruption. The two modes are complementary to ensure that the current location information is reliable, provide accurate location basis for subsequent determination of a place type and selection of an adaptive channel, and guarantee the stability of the overall channel switching process.
[0085] In some optional implementation manners of the embodiment, the switching module 304 is further configured to: acquire a preset authentication key of the adaptive channel; verify the mobile terminal according to the authentication key; if the mobile terminal passes the verification, switch the current channel in which the mobile terminal is located to the adaptive channel.
[0086] The wireless channel switching device provided in the application pre-authenticates the key to save the manual input operation of the user, improve the convenience, ensure that only a legal device is accessed by verifying the integrity, timeliness and authority of the key, and enhance the security. Meanwhile, the pre-synchronization configuration information realizes fast switching, reduces connection interruption, guarantees the seamless experience of network use, and balances the security and efficiency.
[0087] To solve the above technical problems, the computer device is further provided in the embodiment of the application. For details, please refer to Figure 4 , Figure 4 The basic structure block diagram of the computer device in the embodiment is shown in the figure.
[0088] The computer device 4 includes a memory 41, a processor 42, and a network interface 43, which are communicatively connected via a system bus. It should be noted that the computer device 4 is only shown with the components of the memory 41, the processor 42, and the network interface 43, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components can be alternatively implemented. Among them, those skilled in the art can understand that the computer device herein is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0089] The computer device can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The computer device can interact with a user through a keyboard, a mouse, a remote controller, a touchpad, a voice control device, and the like.
[0090] The memory 41 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Of course, the memory 41 can also include both the internal storage unit and the external storage device of the computer device 4. In the present embodiment, the memory 41 is generally used to store an operating system and various application software installed in the computer device 4, such as computer readable instructions of the wireless channel switching method, and the like. In addition, the memory 41 can also be used to temporarily store various data that have been output or will be output.
[0091] The processor 42 may, in some embodiments, be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 42 is generally used to control the overall operation of the computer device 4. In the present embodiment, the processor 42 is configured to execute computer-readable instructions stored in the memory 41 or to process data, such as computer-readable instructions of the wireless channel switching method.
[0092] The network interface 43 may include a wireless network interface or a wired network interface, and is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0093] The computer device provided in the present application can realize real-time and accurate perception of the quality state of the current network by acquiring network performance data, and provide objective and reliable triggering basis for subsequent judgment of whether channel switching is needed. The scene data of the mobile terminal is acquired when the network performance data is within a preset range, which can accurately acquire environment-related data when needed, reduce unnecessary positioning resource consumption (such as device power and network traffic), and improve device operation efficiency. The current location type is determined according to the environment data, which can deeply associate channel selection with specific environment scenarios, avoid the problem that traditional channel selection relying on only single network data cannot adapt to differences in signal characteristics of different locations, and make channel selection more scenario-specific. The corresponding adaptive channel is selected based on the current location type and switched, which can ensure that the switched channel is highly matched with the network environment of the current location, effectively improve the stability and transmission performance of the network after switching, reduce problems such as disconnection and delay caused by poor channel adaptability, and ultimately optimize the wireless use experience of users.
[0094] The present application also provides another embodiment, that is, a computer readable storage medium storing computer readable instructions, which can be executed by at least one processor to enable the at least one processor to perform the steps of the wireless channel switching method as described above.
[0095] The computer readable storage medium provided by the application can realize real-time and accurate perception of the quality state of the current network by acquiring network performance data and signal strength data, and provide objective and reliable triggering basis for subsequent judgment of whether channel switching is needed; current position information is acquired when the network performance data exceeds a first preset threshold and / or the signal strength data exceeds a second preset threshold, instead of continuous positioning, so that environment-related data can be accurately acquired when needed, unnecessary positioning resource consumption (such as device power and network traffic) is reduced, and device operation efficiency is improved; the current location type is determined according to the current position information, the channel selection can be deeply associated with the specific environment scene, the problem that the traditional channel selection depending on single network data cannot adapt to different location signal characteristic differences is avoided, and the channel selection is more scene-specific; the corresponding adaptive channel is selected based on the current location type and switched, so that the channel after switching is highly matched with the network environment of the current location, the stability and transmission performance of the network after switching are effectively improved, problems such as disconnection and delay caused by poor channel adaptability are reduced, and finally the wireless use experience of the user is optimized.
[0096] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and a general hardware platform as required, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the various embodiments of the present application.
[0097] Obviously, the above-described embodiments are only some of the embodiments of the present application, not all the embodiments, and the preferred embodiments of the present application are given in the drawings, but do not limit the patent scope of the present application. The present application can be realized in many different forms, and conversely, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can modify the technical solutions recorded in the foregoing specific embodiments, or make equivalent replacements to some technical features. Any equivalent structure made by using the contents of the specification and drawings, directly or indirectly applied to other related technical fields, is also within the scope of the patent protection of the present application.
Claims
1. A wireless channel switching method, characterized by, The method comprises the following steps: obtaining network performance data of a mobile terminal; if the network performance data is within a preset range, obtaining scene data of the mobile terminal; determining a current location type of the mobile terminal according to the scene data, the current location type being a complex location or a simple location; selecting an adaptive channel corresponding to the current location type, and switching a current channel in which the mobile terminal is located to the adaptive channel.
2. The wireless channel switching method of claim 1, wherein, The selecting an adaptive channel corresponding to the current location type comprises: if the current location type is the complex location, inputting the scene data and the network performance data into a preset channel prediction model, and outputting a first candidate channel through the channel prediction model; verifying the first candidate channel; if the first candidate channel passes the verification, taking the first candidate channel as the adaptive channel.
3. The wireless channel switching method of claim 2, wherein, The inputting the scene data and the network performance data into a preset channel prediction model, and outputting a first candidate channel through the channel prediction model comprises: extracting features of the scene data and the network performance data through the channel prediction model to obtain comprehensive feature data; determining a channel prediction set according to the comprehensive feature data; selecting the first candidate channel from the channel prediction set.
4. The wireless channel switching method of claim 1, wherein, The selecting an adaptive channel corresponding to the current location type comprises: if the current location type is the simple location, obtaining a plurality of wireless channels; detecting real-time interference conditions and channel use frequencies of the plurality of wireless channels; determining a second candidate channel according to the real-time interference conditions and the channel use frequencies; verifying the second candidate channel; if the second candidate channel passes the verification, taking the second candidate channel as the adaptive channel.
5. The wireless channel switching method of claim 1, wherein, The scene data comprises signal features, time, a number of surrounding hotspots, and current position information, and the determining a current location type of a mobile terminal according to the scene data comprises: selecting an initial location type from a preset location type library according to the signal features, the time, the number of surrounding hotspots, and the current position information; in response to a user triggering a correction instruction based on the mobile terminal, correcting the initial location type according to the correction instruction to obtain the current location type.
6. The wireless channel switching method of claim 1, wherein, The scene data comprises current position information of the mobile terminal, and the obtaining scene data of the mobile terminal comprises: detecting whether a global positioning system signal exists; if the global positioning system signal exists, obtaining longitude and latitude coordinates of the mobile terminal according to the global positioning system signal; encoding the longitude and latitude coordinates to obtain the current position information of the mobile terminal; if the global positioning system signal does not exist, obtaining a base station signal or a wireless hotspot, and determining the current position information of the mobile terminal according to the base station signal or the wireless hotspot.
7. The wireless channel switching method according to any one of claims 1 to 6, wherein, The switching a current channel in which the mobile terminal is located to the adaptive channel comprises: obtaining a preset authentication key of the adaptive channel; verifying the mobile terminal according to the authentication key; If the mobile terminal is verified, a current channel where the mobile terminal is located is switched to the adaptive channel.
8. A wireless channel switching apparatus, characterized by comprising: The method comprises the steps of: a first obtaining module, configured to obtain network performance data of a mobile terminal; a second obtaining module, configured to obtain scene data of the mobile terminal if the network performance data is within a preset range; a determining module, configured to determine a current location type of the mobile terminal according to the scene data, the current location type being a complex location or a simple location; a switching module, configured to select an adaptive channel corresponding to the current location type, and switch a current channel where the mobile terminal is located to the adaptive channel.
9. A computer device, comprising: The method comprises the steps of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer readable instructions, and the computer readable instructions are executed by the processor to realize the steps of the wireless channel switching method in any one of claims 1 to 7. The computer readable storage medium stores computer readable instructions, and the computer readable instructions are executed by the processor to realize the steps of the wireless channel switching method in any one of claims 1 to 7.
Citation Information
Patent Citations
Network switching method, communication system and related device
CN111757364A
Abstract extraction and generation method based on pre-training model
CN116383369A
Method for automatically switching network channels and SIM (Subscriber Identity Module) cards according to signal strength
CN120129010A
Method for automatically switching communication modes of robot and intelligent robot
CN120281651A
Frequency band switching method and device, terminal equipment and storage medium
CN120812762A
