A method and system for automatic selection of a channel for a vehicle-mounted WiFi system

By pre-evaluating the quality of the in-vehicle WiFi channel and selecting a preset channel, the problem of long startup time of the in-vehicle AP hotspot is solved, and the AP function of fast startup and low power consumption is realized, which improves the user experience.

CN118984496BActive Publication Date: 2025-10-21YIKE COMM TECH (CHONGQING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411164583.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2025-10-21
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

Existing in-vehicle AP hotspots require automatic channel scanning before being turned on, which results in a long startup time and affects the user experience.

Method used

By pre-scanning the in-vehicle WiFi channel quality in the current environment and location, statistically evaluating the busyness and interference level of each channel, selecting a preset channel, and directly selecting the channel as the working channel when the vehicle starts the WiFi hotspot, avoiding repeated scanning.

Benefits of technology

It shortens the AP function startup time, improves user experience, reduces power consumption, and improves AP startup efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118984496B_ABST
    Figure CN118984496B_ABST
Patent Text Reader

Abstract

The application provides a kind of vehicle-mounted WiFi system channel automatic selection method and system, method includes: the application program of channel scanning is written, installed in background system;When satisfying vehicle stationary, vehicle or TBOX does not enter hibernation state, background application program is run, every N seconds carries out once channel scanning;Optimal quality channel is selected as preset channel Preset Channel;Preset channel Preset Channel is set as working channel;Preset channel Preset Channel is stored, while recording the vehicle position and time information at that time;When vehicle or TBOX enters hibernation state, exit application program, no longer carry out channel scanning.The application selects relatively optimal channel as working channel while user uses WiFi AP function, shortens AP function opening time, improves AP opening efficiency, improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of vehicle-mounted TBOX wireless communication and vehicle-mounted hotspots; in particular, to the technical field of vehicle-mounted WiFi channel selection, and more specifically, to a method and system for systematic automatic channel selection of vehicle-mounted WiFi. Background Art

[0002] With the development of Internet of Things and smart Internet technology, cars, as a popular consumer product, no longer simply serve the basic function of transportation. Consumers have more demands for the practical functions of cars in work and life.

[0003] At present, the in-vehicle AP hotspot is a special Internet access device launched for new energy vehicles. The in-vehicle AP hotspot brings more convenient services to users, allowing consumers to enjoy the convenience and changes brought to life by technological development.

[0004] However, since the automatic channel scanning and selection process before turning on the AP takes a long time, which affects the AP startup time, the user terminal device needs to wait for a long time before being able to access the AP hotspot and provide network services to the terminal device, resulting in a poor user experience. Summary of the Invention

[0005] In view of this, the present invention aims to provide a systematic automatic channel selection method and system for in-vehicle WiFi. This method pre-scans the quality of in-vehicle WiFi channels in the current environment and location, statistically evaluates the busyness and interference level of each channel in the current environment, selects a channel as a preset channel, and then, based on the vehicle's current status, directly selects the preset channel in the corresponding configuration as the working channel when the vehicle activates the WiFi hotspot, and directly activates the access point (AP). This method solves the existing problem of AP channel scanning first, which affects the AP startup time and causes the AP automatic selection process to be too time-consuming. This method improves AP startup efficiency and enhances the user experience.

[0006] The present invention provides a method for automatically selecting a vehicle-mounted WiFi system channel, comprising the following steps:

[0007] S1. Write an application APP_X for channel scanning and install the application APP_X in the background system.

[0008] S2. When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X runs in the background and its related threads are started. The channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment.

[0009] S3. Set the number of pre-scans for the channel scan to three times, and record the optimal channel results obtained each time, namely OC1, OC2, and OC3; if the number of optimal channel results OC1, OC2, and OC3 of the three scans that are the same channel is greater than or equal to 2, record the same channel as the preset channel PresetChannel;

[0010] If the optimal channels OC1, OC2, and OC3 obtained from the three scans are all different, two more channel scans are performed, with the results of these two scans being Optimal Channel 4 and Optimal Channel 5 respectively. If the same channel exists in the five scans, this same channel is used as the preset channel. If the optimal channels obtained from the five scans are still different, the channel with the best signal quality among these five channels is used as the preset channel.

[0011] Set the preset channel as the current working channel of the vehicle WiFi;

[0012] S4. Storing the preset channel and recording the vehicle position and time information at that time;

[0013] For example, the format of a single vehicle location and time information record is: location (e.g., home) + current time + Preset Channel 1;

[0014] Vehicles often have fixed parking locations, such as home, work, school, frequently visited shopping malls, and hospitals. For example, if a vehicle has recently parked at "home" multiple times, then there will be preset channel records selected from multiple time points at the "work" location. In other words, a location may have multiple preset channels (e.g., preset_ch1, preset_ch2, ​​preset_ch3) at multiple time points, meaning that the information records for that location will correspond to multiple times and preset channels.

[0015] S5. When the vehicle computer or TBOX enters the dormant state, the application APP_X is exited and channel scanning is stopped to control the power consumption during dormancy. The present invention realizes the process of automatically selecting the working channel and quickly starting the AP with low power consumption.

[0016] The in-vehicle WiFi systemized automatic channel selection method of the present invention can automatically calculate and select the optimal channel for the user when the user uses the AP function of the in-vehicle WiFi, thereby accelerating the AP function activation speed, shortening the AP function activation time, and improving the user experience.

[0017] Furthermore, after step S5, if the vehicle computer or TBOX exits the dormant state but the vehicle is still stationary, the application APP_X is activated again to perform regular channel scanning and setting.

[0018] Furthermore, after the step S5, if the vehicle enters the driving state and the vehicle position changes at any time, the application APP_X is exited and the regular channel scan is no longer performed.

[0019] The application APP_X in the present invention can be activated or exited in real time according to the vehicle scenario status, does not occupy too many system resources, and can achieve accurate working channel selection and AP startup at a low operating cost.

[0020] Furthermore, when the AP is turned on for the first time and then turned on for the next time, the method for selecting the working channel includes:

[0021] If the background system can obtain the vehicle's current location information at this time, and the preset channels of multiple records of the current vehicle location within a certain time period are the same, it means that the optimal channel for this location during this period is relatively fixed. The preset channel is extracted as the working channel to directly turn on the AP without channel scanning, thereby shortening the AP function taking effect and improving the user experience.

[0022] Furthermore, when the AP is turned on for the first time and then turned on for the next time, the method of selecting the working channel further includes:

[0023] If the background system can obtain the current location information of the vehicle at this time, but the preset channels of multiple records of the current vehicle location within a certain time period are different, it means that the optimal channel for this location during this period is not fixed, and the preset channel recorded most recently is selected as the AP's working channel.

[0024] Furthermore, when the AP is turned on for the first time and then turned on for the next time, the method of selecting the working channel further includes:

[0025] If the background system cannot obtain the current vehicle's location information at this time, and the vehicle has not moved from the time of the most recently recorded preset channel to the current time, the most recently recorded preset channel will be selected as the working channel to start the AP.

[0026] Furthermore, when the AP is turned on for the first time and then turned on for the next time, the method of selecting the working channel further includes:

[0027] If the difference between the generation time of a preset channel and the current time exceeds the set time of X hours (taking into account the possibility of significant changes in the surrounding WiFi environment), the preset channel is no longer reliable. The channel pre-scan mechanism is triggered before the AP is turned on, and the scan information is saved to the storage area. The relevant historical data is updated, and the preset channel calculated by this scan is used as the pre-configuration for AP operation.

[0028] In summary, the systematic automatic channel selection method for in-vehicle WiFi of the present invention selects a relatively optimal channel as the working channel when a user uses the AP function of the in-vehicle WiFi, thereby accelerating the activation of the AP function and shortening the activation time of the AP function.

[0029] When you turn on the AP for the first time and then turn it on again, if it is a situation other than the above, for example, the background system cannot obtain the current location information of the vehicle, and the vehicle has moved between the time of the most recently recorded preset channel and the current time, then according to the original strategy, first perform channel scanning, and then select the optimal channel as the working channel to turn on the AP.

[0030] The present invention also provides a vehicle-mounted WiFi systematized automatic channel selection system, which executes the vehicle-mounted WiFi systematized automatic channel selection method as described above, including:

[0031] Create an application module: used to write an application APP_X for channel scanning, and install the application APP_X in the background system;

[0032] Start application module: When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X is run in the background, the relevant threads of the application APP_X are started, and a channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment.

[0033] Select working channel module: used to set the number of pre-scans of the channel scan to three times, and record the results of the optimal channel Optimal Channel obtained each time, namely OC1, OC2, and OC3; if the number of values ​​of the optimal channel results OC1, OC2, and OC3 of the three scans that are the same channel Channel is greater than or equal to 2, then the same channel is recorded as the preset channel Preset Channel; if the results of the optimal channels OC1, OC2, and OC3 of the three scans are all different, then two more channel scans are performed, and the results of these two scans are respectively Optimal Channel 4 and Optimal Channel 5; if the same channel exists in the five scan data, then the same channel is used as the preset channel Preset Channel; if the optimal channels of the five scans are still different, then the channel with the best signal quality among the five channels is selected as the preset channel Preset Channel; and the preset channel Preset Channel is set as the current working channel of the in-vehicle WiFi;

[0034] Storage and recording module: used to store the preset channel Preset Channel and record the vehicle position and time information at that time;

[0035] Exit application module: used to exit application APP_X when the vehicle computer or TBOX enters sleep mode and stop channel scanning to control power consumption during sleep mode.

[0036] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned method for automatic channel selection of a vehicle-mounted WiFi system.

[0037] The present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above-described method for automatic channel selection for a systematized vehicle WiFi are implemented.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] The method and system for systematic automatic channel selection of in-vehicle WiFi provided by the present invention pre-scans the quality of in-vehicle WiFi channels in the current environment and location, statistically evaluates the busyness and interference level of each channel in the current environment, selects a channel as a preset channel, and, based on the current state of the vehicle, directly selects the preset channel in the corresponding configuration as the working channel and directly starts the AP when the vehicle starts the WiFi hotspot. This effectively solves the existing problem of AP channel scanning affecting AP startup time and causing the AP automatic selection process to be too time-consuming, thereby improving AP startup efficiency. While the user uses the WiFi AP function to select the relatively optimal channel as the working channel, the AP function startup time is shortened, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Various other advantages and benefits will become apparent to those skilled in the art by reading the following detailed description of the preferred embodiment.The accompanying drawings are only for the purpose of illustrating the preferred embodiment and are not to be considered as limiting the present invention.

[0041] In the attached figure:

[0042] Figure 1 This is a specific flow chart of automatic channel selection for the in-vehicle WiFi system according to an embodiment of the present invention;

[0043] Figure 2 A flow chart showing a strategy for selecting a working channel when the AP is turned on for the next time after the AP is turned on for the first time according to an embodiment of the present invention;

[0044] Figure 3 This is a flow chart of a method for automatic channel selection for a vehicle-mounted WiFi system according to the present invention;

[0045] Figure 4 Schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of devices and products consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0047] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0048] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."

[0049] The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.

[0050] The embodiment of the present invention provides a method for automatically selecting a vehicle-mounted WiFi channel system. Figure 3 As shown, the following steps are included:

[0051] S1. Write an application APP_X for channel scanning and install the application APP_X in the background system.

[0052] S2. When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X runs in the background and its related threads are started. The channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment.

[0053] S3. Set the number of pre-scans for the channel scan to three times, and record the optimal channel results obtained each time, namely OC1, OC2, and OC3; if the number of optimal channel results OC1, OC2, and OC3 of the three scans that are the same channel is greater than or equal to 2, record the same channel as the preset channel PresetChannel;

[0054] If the optimal channels OC1, OC2, and OC3 obtained from the three scans are all different, two more channel scans are performed, with the results of these two scans being Optimal Channel 4 and Optimal Channel 5 respectively. If the same channel exists in the five scans, this same channel is used as the preset channel. If the optimal channels obtained from the five scans are still different, the channel with the best signal quality among these five channels is used as the preset channel.

[0055] Set the preset channel as the current working channel of the vehicle WiFi;

[0056] S4. Storing the preset channel and recording the vehicle position and time information at that time;

[0057] In this embodiment, the format of a single vehicle location and time information record is: location + current time + PresetChannel1;

[0058] S5. When the vehicle computer or TBOX enters sleep mode, the application APP_X is exited and channel scanning is stopped to control power consumption during sleep mode. This reduces power consumption during the entire process of automatically selecting the working channel and starting the AP function.

[0059] Figure 1 The specific process of automatic channel selection of the in-vehicle WiFi system in this embodiment is shown.

[0060] This embodiment automatically calculates and selects the optimal channel for the user when the user uses the AP function of the in-vehicle WiFi, thereby accelerating the activation of the AP function, shortening the activation time of the AP function, and improving the user experience.

[0061] When the AP is turned on for the first time and then turned on for the next time, if the background system can obtain the current location information of the vehicle and the preset channels of multiple records of the current vehicle location within a certain time period are the same, it means that the optimal channel for this position during this period is relatively fixed. The preset channel is extracted as the working channel to directly turn on the AP without channel scanning, thereby shortening the AP function taking effect time and improving user experience.

[0062] At this time, the background system can obtain the current location information of the vehicle, but the preset channels of multiple records of the current vehicle location within a certain time period are different, which means that the optimal channel for this period of time is not fixed. The preset channel recorded at the most recent time is selected as the working channel to start the AP, and the optimal channel at the current time is selected as the switching channel alternative (execute as shown below). Figure 2 strategy shown).

[0063] When the background system cannot obtain the current vehicle's location information at this time, and the vehicle has not moved from the time of the most recently recorded preset channel to the current time, the most recently recorded preset channel is selected as the working channel to start the AP.

[0064] When the difference between the generation time of a preset channel and the current time exceeds the set X hours (considering that the surrounding WiFi environment may change significantly), the Preset Channel is no longer trustworthy. The Preset channel recorded most recently is selected as the working channel to start the AP. At the same time, the following steps are executed: Figure 2 The strategy shown selects the optimal channel at the current time as the switching channel candidate.

[0065] In this embodiment, when a user uses the AP function of the in-vehicle WiFi, a relatively optimal channel is selected as the working channel, thereby accelerating the activation of the AP function and shortening the activation time of the AP function.

[0066] When the vehicle computer or TBOX exits sleep mode, but the vehicle remains stationary, application APP_X is reactivated to perform regular channel scanning and configuration. When the vehicle enters driving mode and its location changes moment by moment, application APP_X is exited, and regular channel scanning is discontinued. In this embodiment, application APP_X is activated and exited in real time based on the vehicle's context, minimizing system resource consumption and reducing the operational costs of in-vehicle WiFi channel selection and AP startup.

[0067] An embodiment of the present invention further provides a vehicle-mounted WiFi systematized automatic channel selection system, which executes the vehicle-mounted WiFi systematized automatic channel selection method described above, including:

[0068] Create an application module: used to write an application APP_X for channel scanning, and install the application APP_X in the background system;

[0069] Start application module: When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X is run in the background, the relevant threads of the application APP_X are started, and a channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment.

[0070] Select working channel module: used to set the number of pre-scans of the channel scan to three times, and record the results of the optimal channel Optimal Channel obtained each time, namely OC1, OC2, and OC3; if the number of values ​​of the optimal channel results OC1, OC2, and OC3 of the three scans that are the same channel Channel is greater than or equal to 2, then the same channel is recorded as the preset channel Preset Channel; if the results of the optimal channels OC1, OC2, and OC3 of the three scans are all different, then two more channel scans are performed, and the results of these two scans are respectively Optimal Channel 4 and Optimal Channel 5; if the same channel exists in the five scan data, then the same channel is used as the preset channel Preset Channel; if the optimal channels of the five scans are still different, then the channel with the best signal quality among the five channels is selected as the preset channel Preset Channel; and the preset channel Preset Channel is set as the current working channel of the in-vehicle WiFi;

[0071] Storage and recording module: used to store the preset channel Preset Channel and record the vehicle position and time information at that time;

[0072] Exit application module: used to exit application APP_X when the vehicle computer or TBOX enters sleep mode and stop channel scanning to control power consumption during sleep mode.

[0073] An embodiment of the present invention further provides a computer device, Figure 4 This is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention; see the accompanying drawings Figure 4 As shown, the computer device includes: an input device 23, an output device 24, a memory 22 and a processor 21; the memory 22 is used to store one or more programs; when the one or more programs are executed by the one or more processors 21, the one or more processors 21 implement the vehicle-mounted WiFi systematized channel automatic selection method provided in the above embodiment; wherein the input device 23, the output device 24, the memory 22 and the processor 21 can be connected by a bus or other means, Figure 4 The bus connection is taken as an example.

[0074] The memory 22 is a readable and writable storage medium of a computing device and can be used to store software programs and computer executable programs, such as the program instructions corresponding to the method for automatic channel selection for a system of in-vehicle WiFi according to an embodiment of the present invention. The memory 22 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the device. In addition, the memory 22 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 22 may further include memory remotely located relative to the processor 21, and such remote memory may be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0075] The input device 23 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device; the output device 24 may include a display device such as a display screen.

[0076] The processor 21 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 22, that is, realizes the above-mentioned method for automatic channel selection of the in-vehicle WiFi system.

[0077] The computer device provided above can be used to execute the method for automatic channel selection of the in-vehicle WiFi system provided in the above embodiment, and has corresponding functions and beneficial effects.

[0078] An embodiment of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the in-vehicle WiFi systematized automatic channel selection method provided in the above embodiment. The storage medium is any of various types of memory devices or storage devices, including: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disks or optical storage); registers or other similar types of memory elements; the storage medium may also include other types of memory or a combination thereof; in addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet); the second computer system may provide program instructions to the first computer for execution. The storage medium includes two or more storage media that can reside in different locations (e.g., in different computer systems connected via a network). The storage medium can store program instructions (e.g., embodied as a computer program) that can be executed by one or more processors.

[0079] Of course, the computer-executable instructions of the storage medium containing computer-executable instructions provided in the embodiments of the present invention are not limited to the method for automatic channel selection of the in-vehicle WiFi system described in the above embodiments, and can also execute related operations in the method for automatic channel selection of the in-vehicle WiFi system provided in any embodiment of the present invention.

[0080] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.

[0081] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A method for automatic channel selection of a vehicle-mounted WiFi system, characterized in that: The following steps are involved: S1. Write an application APP_X for channel scanning and install the application APP_X in the background system. S2. When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X runs in the background and its related threads are started. The channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment. S3. Set the number of pre-scans for the channel scan to three, and record the optimal channel OptimalChannel results obtained each time, as OC1, OC2, and OC3 respectively; if the number of values ​​of the optimal channel results OC1, OC2, and OC3 for the same channel in the three scans is greater than or equal to 2, record the same channel as the preset channel Preset Channel; If the optimal channels OC1, OC2, and OC3 obtained from the three scans are all different, two more channel scans are performed, with the results of these two scans being Optimal Channel 4 and Optimal Channel 5 respectively. If the same channel exists in the five scans, this same channel is used as the preset channel. If the optimal channels obtained from the five scans are still different, the channel with the best signal quality among these five channels is used as the preset channel. Set the preset channel as the current working channel of the vehicle WiFi; S4. Storing the preset channel and recording the vehicle position and time information at that time; S5. When the vehicle computer or TBOX enters the sleep state, exit the application APP_X and stop scanning channels to control power consumption during sleep. Before starting the AP next time, you can select a working channel by: If the background system can obtain the current location information of the vehicle at this time, and the preset channels of multiple records of the current vehicle location within a certain time period are the same, it means that the optimal channel for this location during this period is relatively fixed. The preset channel is extracted as the working channel and the AP is directly turned on without performing channel scanning.

2. The method for automatic channel selection of vehicle-mounted WiFi system according to claim 1, characterized in that: When you start the AP again after the first time, you can select the working channel by: If the background system can obtain the current location information of the vehicle at this time, but the preset channels recorded in multiple records of the current vehicle location within a certain time period are different, it means that the optimal channel for this location during this period is not fixed, and the preset channel recorded most recently is selected as the AP's working channel.

3. The method for automatic channel selection of vehicle-mounted WiFi system according to claim 1, characterized in that: When you start the AP again after the first time, you can select the working channel by: If the background system cannot obtain the current vehicle's location information at this time, and the vehicle has not moved from the time of the most recently recorded preset channel to the current time, the most recently recorded preset channel will be selected as the working channel to start the AP.

4. The method for automatic channel selection of vehicle-mounted WiFi system according to claim 3, characterized in that: When you start the AP again after the first time, you can select the working channel by: If the difference between the generation time of a recorded preset channel and the current time exceeds the set time of X hours, the preset channel is no longer credible. The channel pre-scan mechanism is triggered before the AP is turned on, and the scan information is saved to the storage area. The relevant historical data is updated, and the preset channel calculated by this scan is used as the pre-configuration for the AP operation.

5. The method for automatic channel selection of vehicle-mounted WiFi system according to claim 1, characterized in that: After step S5, if the vehicle computer or TBOX exits the dormant state but the vehicle is still stationary, the application APP_X is activated again to perform regular channel scanning and setting.

6. The method for automatic channel selection of vehicle-mounted WiFi system according to claim 1, characterized in that: After the step S5, if the vehicle enters the driving state and the vehicle position changes at any time, the application APP_X is exited and the regular channel scan is no longer performed.

7. A vehicle-mounted WiFi systemized channel automatic selection system, characterized in that: The method for automatically selecting a vehicle-mounted WiFi system channel according to any one of claims 1 to 5 comprises: Create an application module: used to write an application APP_X for channel scanning, and install the application APP_X in the background system; Start application module: When the vehicle is stationary and the vehicle computer or TBOX is not in sleep mode, the application APP_X is run in the background, the relevant threads of the application APP_X are started, and a channel scan is performed every N seconds to calculate the interference and channel quality of the relevant channels in the current environment. Select working channel module: used to set the number of pre-scans of the channel scan to three times, and record the results of the optimal channel Optimal Channel obtained each time, which are OC1, OC2, and OC3 respectively; if the number of the values ​​of the optimal channel results OC1, OC2, and OC3 of the three scans that are the same channel Channel is greater than or equal to 2, then the same channel is recorded as the preset channel Preset Channel; if the results of the optimal channels OC1, OC2, and OC3 of the three scans are all different, then two more channel scans are performed, and the results of these two scans are respectively Optimal Channel4 and Optimal Channel5; if the same channel exists in the five scan data, then the same channel is used as the preset channel Preset Channel; if the optimal channels of the five scans are still different, then the channel with the best signal quality among the five channels is taken as the preset channel Preset Channel; and the preset channel Preset Channel is set as the working channel of the vehicle WiFi AP; Before turning on the AP next time, select a working channel. If the background system can obtain the vehicle's current location information at this time, and the preset channels recorded for the current vehicle location within a certain time period are the same, it means that the optimal channel for this location during this period is relatively fixed. Extract the preset channel as the working channel and turn on the AP directly without performing a channel scan. Storage and recording module: used to store the preset channel Preset Channel and record the vehicle position and time information at that time; Exit application module: used to exit application APP_X when the vehicle computer or TBOX enters sleep mode and stop channel scanning to control power consumption during sleep mode.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for automatic channel selection of a vehicle-mounted WiFi system according to any one of claims 1 to 6 are implemented.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for automatic channel selection of a vehicle-mounted WiFi system as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Self-adaptive adjustment method and device for channel scanning time

    CN111294887A

  • AP hotspot channel automatic selection method and device, storage medium and terminal equipment

    CN111935754A