Adaptive switching control method and system for wireless communication of agricultural machinery
By automatically scanning and switching to the strongest WiFi or 4G network, the problem of unstable network connection for smart agricultural machinery has been solved. It has achieved adaptive switching between 4G and WiFi, improved the stability and transmission efficiency of network connection, and ensured the normal operation of smart agricultural machinery and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-03-13
AI Technical Summary
Intelligent agricultural machinery suffers from problems such as cumbersome operation, unstable network, limited traffic, and whitelist restrictions in network connectivity, which affect the normal operation of its key functions.
An adaptive switching control method for wireless communication in agricultural machinery is provided. By periodically scanning the surrounding WiFi hotspots and 4G network signal strength, it automatically switches to the network with the strongest signal, reducing manual operation by the user and realizing adaptive switching between 4G and WiFi.
It improved the stability and transmission efficiency of network connections, ensured the normal operation of key functions of intelligent agricultural machinery, and enhanced the level of intelligence in agricultural production and user experience.
Smart Images

Figure CN121665307A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent agricultural machinery technology, and in particular to an adaptive switching control method and system for wireless communication in agricultural machinery. Background Technology
[0002] With the rapid development of new-generation information technologies such as the Internet of Things, artificial intelligence, and BeiDou navigation, the application of intelligent agricultural machinery in agricultural production is becoming increasingly widespread, and its demand for wireless communication technology is also growing, especially the requirements for transmission rate and stability are constantly increasing.
[0003] In the current technological environment, smart agricultural machinery primarily relies on 4G cellular networks and WiFi networks for wireless communication. 4G networks typically transmit data through a 4G module in the vehicle's T-box. The 4G IoT SIM card used in this module differs from a regular mobile phone SIM card, exhibiting limitations such as limited data allowance, shared data pools among multiple SIM cards, and whitelist restrictions. Connecting to WiFi networks relies mainly on scanning a QR code or manually entering a password. These methods are not only cumbersome, but even if the smart agricultural machinery's terminal device saves the connected WiFi information, users still need to manually select and switch between WiFi networks via the machinery's display screen, hindering automation. Furthermore, many critical functions of smart agricultural machinery, such as differential services, acreage calculation, financial vehicle locking, and remote OTA (Over-The-Air) updates, require extremely stable network connections. Any network interruption or instability will severely impact the normal operation and functionality of the smart agricultural machinery.
[0004] Therefore, there is an urgent need to provide a technical solution to address the above problems. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention provides an adaptive switching control method and system for wireless communication in agricultural machinery.
[0006] Firstly, the present invention provides an adaptive switching control method for wireless communication in agricultural machinery, applied to a vehicle-mounted TBOX. The technical solution of this method is as follows: Periodically scan for available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the agricultural machinery's 4G network; When no available WiFi hotspots exist, connect to the 4G network and continuously monitor the network connection status of the 4G network; when available WiFi hotspots exist, determine whether each available WiFi hotspot has been pre-stored in the WiFi list. If there are available WiFi hotspots that are not pre-stored in the WiFi list, each available WiFi hotspot that is not pre-stored in the WiFi list will be pushed to the vehicle display screen of the agricultural machinery. If the vehicle display screen receives at least one available WiFi hotspot selected by the user that is not pre-stored in the WiFi list, along with the corresponding entered password, then the selected available WiFi hotspot identifier and password are saved to the WiFi list. If a target available WiFi hotspot that meets preset conditions exists in the latest WiFi list, then connect to the target available WiFi hotspot and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the highest signal strength, the signal strength is higher than a preset lower threshold, and the data transmission status is normal.
[0007] The beneficial effects of the adaptive switching control method for wireless communication in agricultural machinery according to the present invention are as follows: The method of this invention reduces 4G data consumption and the need for manual operation by automatically scanning and switching to the WiFi or 4G network with the best signal strength. It realizes adaptive switching between 4G and WiFi communication for agricultural machinery, improves the stability and transmission efficiency of network connection, thereby ensuring the normal operation of key functions of intelligent agricultural machinery and enhancing the level of intelligence in agricultural production and user experience.
[0008] Based on the above scheme, the adaptive switching control method for wireless communication of agricultural machinery of the present invention can be further improved as follows.
[0009] In one alternative approach, it also includes: If no target WiFi hotspot that meets the preset conditions is found in the latest WiFi list, the connection will be switched to the 4G network.
[0010] In one alternative approach, it also includes: If every available WiFi hotspot exists in the WiFi list, then determine whether there is a target available WiFi hotspot in the WiFi list that meets the preset conditions; If a target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then connect to the target available WiFi hotspot; if no target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then switch to the 4G network for connection.
[0011] In one alternative approach, it also includes: If the signal strength of the connected network is detected to be lower than the preset lower threshold or the data transmission status of the connected network is abnormal, then return to the step of periodically scanning for available WiFi hotspots near the agricultural machinery.
[0012] In one alternative approach, the step of determining whether each available WiFi hotspot is pre-stored in the WiFi list includes: The SSID of each available WiFi hotspot scanned is matched one by one with the SSIDs stored in the WiFi list to determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
[0013] In one alternative approach, it also includes: The network connection status and network switching results of the agricultural machinery are displayed on the vehicle-mounted display screen.
[0014] In one alternative approach, the WiFi list is stored in the EEPROM of the vehicle-mounted TBOX.
[0015] Secondly, this invention provides an adaptive switching control system for wireless communication in agricultural machinery, the technical solution of which is as follows: It includes: a detection unit, a judgment unit, a push unit, a storage unit, and a switching unit; The detection unit is used to periodically scan available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the agricultural machinery's 4G network. The determination unit is used to: connect to the 4G network when there is no available WiFi hotspot and continuously monitor the network connection status of the 4G network; and determine whether each available WiFi hotspot has been pre-stored in the WiFi list when there is an available WiFi hotspot. The push unit is used to: if there are available WiFi hotspots that are not pre-stored in the WiFi list, push each available WiFi hotspot that is not pre-stored in the WiFi list to the vehicle display screen of the agricultural machinery; The storage unit is used to: if the user selects at least one available WiFi hotspot that is not pre-stored in the WiFi list and the corresponding entered password through the vehicle display screen, then save the selected available WiFi hotspot identifier and password to the WiFi list; The switching unit is used to: connect to the target available WiFi hotspot if there is a target available WiFi hotspot in the latest WiFi list that meets preset conditions, and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the signal strength is the highest, the signal strength is higher than a preset lower threshold, and the data transmission status is normal.
[0016] The beneficial effects of the adaptive switching control system for wireless communication in agricultural machinery of the present invention are as follows: The system of this invention automatically scans and switches to the WiFi or 4G network with the best signal strength, reducing 4G data consumption and the need for manual operation by the user. It realizes adaptive switching between 4G and WiFi communication for agricultural machinery, improves the stability and transmission efficiency of network connection, thereby ensuring the normal operation of key functions of intelligent agricultural machinery and enhancing the level of intelligence in agricultural production and user experience.
[0017] Thirdly, the technical solution of an electronic device according to the present invention is as follows: It includes a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of the agricultural machinery wireless communication adaptive switching control method of the present invention.
[0018] Fourthly, the technical solution of a computer-readable storage medium provided by the present invention is as follows: The computer-readable storage medium stores instructions that, when read, cause the computer-readable storage medium to perform the steps of the agricultural machinery wireless communication adaptive switching control method of the present invention.
[0019] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0020] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating an embodiment of the adaptive switching control method for wireless communication in agricultural machinery according to the present invention. Figure 2 This is a schematic diagram of the overall process; Figure 3 This is a schematic diagram of an embodiment of an adaptive switching control system for wireless communication in agricultural machinery according to the present invention. Figure 4 This is a schematic diagram of an embodiment of an electronic device according to the present invention. Detailed Implementation
[0021] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0022] Figure 1The diagram illustrates a flowchart of an embodiment of an adaptive switching control method for wireless communication in agricultural machinery provided by the present invention. This method is applied to a vehicle-mounted TBOX. Figure 1 As shown, it includes the following steps: S1. Periodically scan for available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the agricultural machinery's 4G network.
[0023] In this context, "vehicle-mounted TBOX" refers to a vehicle-mounted remote information processing terminal installed on agricultural machinery, responsible for detecting, switching, and controlling 4G and WiFi communications. For example, a device installed on a large tractor integrates a 4G module, a WiFi module, and a microcontroller to manage the vehicle's wireless network connection. "Agricultural machinery" refers to agricultural equipment equipped with an intelligent control system, capable of remote monitoring, data transmission, or intelligent operation via wireless communication networks. For example, a combine harvester equipped with an intelligent navigation system and remote data upload capabilities. "Available WiFi hotspot" refers to a detectable, unencrypted, or known-encrypted wireless access point in the environment where agricultural machinery is located. For example, a WiFi signal named "ABC" emitted by a farm office router. "Signal strength of available WiFi hotspot" refers to a physical quantity representing the strength of a WiFi hotspot signal, usually measured in RSSI (Received Signal Strength Indication) values, in dBm. For example, the "ABC" hotspot signal strength detected by the ESP32-C3 module is -65 dBm. The signal strength of a 4G network refers to a physical quantity that represents the strength of a 4G network signal, usually expressed as a CSQ value or RSRP value; for example, the CSQ value of the 4G signal detected by the EC200N-CN module is 25.
[0024] Specifically: 1) After the vehicle-mounted TBOX is powered on, its built-in WiFi module is first initialized and set to workstation mode; 2) The WiFi module of the vehicle-mounted TBOX executes the WiFi hotspot scanning command cyclically at preset fixed time intervals to obtain the SSID list of all detectable WiFi hotspots in the current environment and their corresponding signal strength values, which are expressed in dBm (RSSI); 3) At the same time, the 4G module of the vehicle-mounted TBOX executes the network signal query command to obtain the current 4G network signal strength value, which is expressed in dBm (CSQ or RSRP); 4) The vehicle-mounted TBOX pushes the SSID, signal strength of the scanned available WiFi hotspots, and the signal strength information of the 4G network to the vehicle-mounted display screen of the agricultural machinery for real-time display via the vehicle Ethernet.
[0025] It should be noted that the 4G module specifically refers to the EC200N-CN module. The EC200N-CN is a high-performance LTE Cat 1 wireless communication module launched by Quectel Wireless Solutions, designed specifically for M2M (machine-to-machine) and IoT (Internet of Things) applications. Its core features and technical details are as follows: 1) Network Support: Supports LTE-FDD bands (B1 / B3 / B5 / B8) and LTE-TDD bands (B34 / B38 / B39 / B40 / B41), compatible with GSM / GPRS / EDGE networks, ensuring communication even in remote areas. Downlink speed is 10Mbps, uplink speed is 5Mbps, meeting the needs of low-to-medium speed IoT scenarios. Supports seamless switching between multiple networks and is compatible with Quectel EC200S, EC200T, and other series of module packages.
[0026] 2) Physical parameters: Dimensions: 29.0mm×32.0mm×2.4mm (±0.15mm), weight approximately 3.9g, suitable for space-constrained equipment; Operating temperature: -35°C to +75°C (extended to -40°C~+85°C), suitable for industrial environments; Supply voltage: 3.4V–4.5V (typical 3.8V), power consumption optimized with support for sleep mode.
[0027] 3) Key interfaces: Main serial port (UART): Supports 230400bps baud rate (default 115200bps) and RTS / CTS hardware flow control. Note the 1.8V level conversion (level conversion circuit required for connection with MCU); SIM card interface: Supports 1.8V / 3.0V USIM / SIM cards; Audio interface: Provides 1 analog input / output, supports VoLTE calls.
[0028] 4) Design compatibility: Adopts Mini PCIe 1.2 standard interface (some models) or LCC package, compatible with PCIe expansion slots; pin compatible with EC200S-CN, supporting direct replacement and upgrade.
[0029] 5) Commonly used AT commands: AT: Tests communication connectivity; returning OK indicates normal operation.
[0030] AT+CPIN?: Check SIM card status. Returning +CPIN: READY indicates normal operation.
[0031] AT+CSQ: Check signal strength (value 0-31, the higher the better).
[0032] ATE1: Enable command echo (essential for debugging).
[0033] AT+QURCCFG="urcport","uart1": Sets the URC (unread message) reporting serial port.
[0034] AT&W0: Save the current configuration to Profile.
[0035] Establish connection: AT+QIOPEN=1,0,"TCP","122.122.223.100",5010,0,2 → CONNECT returned successfully.
[0036] Close connection: AT+QICLOSE=0.
[0037] 6) Judging signal strength and network connectivity: ① Signal strength analysis: AT+CSQ: Query the current signal strength. Return format: +CSQ: <rssi> , <ber> <rssi>(Received signal strength): 0-31: Valid values (higher values indicate stronger signals), 99 indicates no signal. Grading reference: ≥26: Strong signal (ideal state), 16-25: Medium signal (stable connection possible), <10: Weak signal (antenna or location optimization required) <ber>(Bit error rate): 0-99: the smaller the value, the better (99 indicates unmeasurable); ② Network connectivity status assessment: The EC200N-CN module provides real-time feedback on network status changes via +QIURC asynchronous event notification.
[0038] It should be noted that the WIFI module is specifically an ESP32-C3 module, which has the following functions: 1) Wireless communication capability: Dual-mode connectivity: Supports 2.4GHz Wi-Fi (802.11b / g / n) and Bluetooth 5.0 (LE); Transmission rates: Wi-Fi up to 150Mbps, Bluetooth 2Mbps; WIFI disconnection: Ensure signal strength is ≥-80dBm.
[0039] 2) Commonly used AT commands: AT: Tests the connectivity of commands; returns OK to indicate that the module is ready.
[0040] AT+RST: Restart the module and resolve the abnormal state.
[0041] AT+GMR: Query firmware version number (e.g., returns v2.4.0.0).
[0042] AT+CWMODE= <mode>Set the WiFi mode (1: STA, 2: AP, 3: STA+AP).
[0043] AT+CWJAP="SSID","PWD": Connect to the specified WiFi (a return value of WIFI CONNECTED indicates success).
[0044] AT+CWLAP: Scan for available WiFi hotspots nearby.
[0045] 3) Signal strength detection: AT+CWLAP: Scans for all nearby WiFi hotspots and returns results including SSID, MAC address, channel number, signal strength (RSSI), and other information.
[0046] Example output: +CWLAP:(3,"TP-Link_123",-65,11,"00:11:22:33:44:55",1) / / -65 represents the RSSI value (unit: dBm; the smaller the absolute value, the stronger the signal). Connect to the access point with the strongest signal in the WiFi list: AT+CWLAP / / Scan all APs / / Parse the returned data and extract the SSID with the largest RSSI AT+CWJAP="SSID","PWD" / / Connect to the optimal AP Dynamic monitoring of signal strength: Loop detection: AT+CWJAP is executed periodically to obtain real-time RSSI, and AP switching is triggered by threshold.
[0047] Low Signal Alarm: An alarm command is sent when the RSSI falls below -80 dBm.
[0048] 4) Network status detection: The network data connection status needs to be determined by analyzing the data transmission and reception data of the vehicle's TBOX.
[0049] S2. When there is no available WiFi hotspot, connect to the 4G network and continuously monitor the network connection status of the 4G network; when there is an available WiFi hotspot, determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
[0050] The network connection status refers to whether the currently used network (4G or WiFi) is in a normal communication state; for example, if the 4G network connection is abnormal due to the PDP context being released because the SIM card is out of credit. The WiFi list refers to a set of known WiFi hotspot identifiers and password records stored in the non-volatile memory of the vehicle's TBOX; for example, an entry with SSID "ABC" and password "12345678" stored in the EEPROM.
[0051] Specifically, when no available WiFi hotspots exist, the vehicle-mounted TBOX executes a network connection command through its 4G module to establish a communication link with the 4G network, and then initiates continuous monitoring of the network connection status and data transmission status of the 4G network. This monitoring is achieved by parsing the asynchronous event notification messages returned by the 4G module. When available WiFi hotspots exist, the vehicle-mounted TBOX calls the internally stored WiFi list and compares the SSID of each available WiFi hotspot obtained by scanning with all the SSID records pre-stored in the WiFi list to determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
[0052] It should be noted that asynchronous event notification messages refer to specific formatted string messages actively sent by the EC200N-CN module via its serial port to the vehicle-mounted TBOX for real-time reporting of network connection status changes. The triggering of these messages is unrelated to the main control program's query operations; it is driven by internal module events. The module actively reports a "closed" message when the network connection is remotely closed, a "pdpdeact" message when the operator releases the PDP context due to unpaid fees, or a "recv" message when the module receives data from a remote server.
[0053] Event Type Triggering conditions Typical scenario examples "closed", <cid> TCP / UDP connection was remotely closed or timed out. Server actively disconnects; firewall blocks; network link interruption. "pdpdeact",1 Operator releases PDP context (due to unpaid bills / base station handover / SIM error) SIM card service suspended due to unpaid bills, core network resource release during handover between base stations, and poor SIM contact. "recv", <cid> Receive data from the server (triggered in pass-through or cache mode) MQTT message push and TCP packet arrival module buffer S3. If there are available WiFi hotspots that are not pre-stored in the WiFi list, then each available WiFi hotspot that is not pre-stored in the WiFi list will be pushed to the vehicle display screen of the agricultural machinery.
[0054] Among them, the vehicle-mounted display screen refers to the human-machine interface installed in the cab of agricultural machinery, which is used to display information and receive user input; for example, a touch-operated LCD screen can display the current network status and allow the user to enter the WiFi password.
[0055] Specifically, if the vehicle-mounted TBOX identifies one or more available WiFi hotspots whose SSIDs are not recorded in the WiFi list by comparing the scanned available WiFi hotspot SSIDs with the locally stored WiFi list, the vehicle-mounted TBOX automatically generates display data containing the SSID information of these unrecorded hotspots and sends the display data to the vehicle-mounted display screen of the agricultural machinery through the vehicle's Ethernet interface. After receiving and parsing the data, the vehicle-mounted display screen clearly presents the SSID information of each unrecorded WiFi hotspot in a list format on the user interface, thereby triggering and waiting for subsequent input operations from the user.
[0056] S4. If the vehicle display screen receives at least one available WiFi hotspot selected by the user that is not pre-stored in the WiFi list and the corresponding entered password, then the selected available WiFi hotspot identifier and password are saved to the WiFi list.
[0057] In this context, "user" refers to personnel who operate or manage agricultural machinery, such as drivers or farm managers. "Identifier and password" refers to the name (SSID) of the WiFi hotspot and its corresponding connection credentials; for example, the SSID is "ABC" and the password is "12345678".
[0058] Specifically: 1) If the vehicle display receives at least one target SSID selected by the user from the presented list of non-pre-stored WiFi hotspots and the password string corresponding to the SSID entered through the same interface via the touch input interface of the vehicle display, the vehicle display combines the target SSID and the password string into a complete network credential record through the vehicle Ethernet network and sends it to the vehicle TBOX; 2) After receiving the network credential record, the vehicle TBOX verifies the format of the network credential record, then converts the network credential record into a unified non-volatile memory write instruction, and permanently saves the complete record containing the SSID and password to the WiFi list maintained by the internal EEPROM memory by appending the write instruction, thereby completing the addition and persistent storage of the information of the new available WiFi hotspot.
[0059] S5. If there is a target available WiFi hotspot in the latest WiFi list that meets the preset conditions, then connect to the target available WiFi hotspot and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the signal strength is the highest, the signal strength is higher than the preset lower limit threshold, and the data transmission status is normal.
[0060] The data transmission status refers to the performance of the network connection during actual data transmission and reception, including whether data packets can be sent and received normally. For example, if signal interference causes a WiFi hotspot to connect successfully but fail to upload job data, the data transmission status is abnormal. The preset lower threshold refers to a pre-set minimum signal strength threshold used to determine whether to switch networks; for example, setting the preset lower threshold for WiFi signal strength to -80dBm. The target available WiFi hotspot refers to the preferred hotspot among multiple available WiFi hotspots that meets the conditions of having the highest signal strength, exceeding the preset lower threshold, and having normal data transmission; for example, among the two hotspots "ABC" and "DEF," "ABC" has a signal strength of -65dBm and normal transmission, and is selected as the target available WiFi hotspot.
[0061] Specifically: 1) If the latest WiFi list of the vehicle-mounted TBOX contains a WiFi hotspot with a signal strength value higher than the preset lower threshold and the highest among all available WiFi hotspots, and the data transmission status of this WiFi hotspot is tested to be normal, then this hotspot is identified as the target available WiFi hotspot; 2) The vehicle-mounted TBOX initiates a connection request to the target available WiFi hotspot through the WiFi module. After receiving a confirmation message of successful connection, a stable communication link is established between the vehicle-mounted TBOX and the target available WiFi hotspot; 3) The vehicle-mounted TBOX periodically sends a signal strength query command to the WiFi module at fixed time intervals to obtain the current signal strength value of the target available WiFi hotspot. At the same time, it comprehensively judges its data transmission status by analyzing the round-trip delay, packet loss rate, and successful transmission ratio of application layer data packets, thereby realizing continuous monitoring of the signal strength and data transmission status of the target available WiFi hotspot.
[0062] The technical solution of this embodiment automatically scans and switches to the WiFi or 4G network with the best signal strength, reducing 4G data consumption and the need for manual operation by the user. It realizes the adaptive switching between 4G and WiFi communication of agricultural machinery, improves the stability of network connection and transmission efficiency, thereby ensuring the normal operation of key functions of intelligent agricultural machinery and improving the level of intelligence in agricultural production and user experience.
[0063] In one alternative approach, it also includes: If no target WiFi hotspot that meets the preset conditions is found in the latest WiFi list, the connection will be switched to the 4G network.
[0064] Specifically, if the vehicle-mounted TBOX determines that there is no target available WiFi hotspot in the latest WiFi list that simultaneously meets the following conditions: signal strength value higher than the preset lower threshold, signal strength highest among all available hotspots, and normal data transmission status, then the vehicle-mounted TBOX automatically triggers the network switching process. It controls the WiFi module to disconnect any possible current WiFi connection and immediately activates the 4G module and sends a network connection command to it to establish a communication link with the 4G cellular network. After the 4G network connection is successfully established, the vehicle-mounted TBOX then starts continuous monitoring of the 4G network connection status and data transmission status to ensure the stability and reliability of the communication link, thereby completing the automatic switching from WiFi to 4G network without manual intervention from the user.
[0065] In the above optional methods, if no WiFi hotspot that meets the conditions is found in the WiFi list, the system will automatically switch to the 4G network to ensure network service continuity and ensure the normal operation of the smart agricultural machinery.
[0066] In one alternative approach, it also includes: If every available WiFi hotspot exists in the WiFi list, then determine whether there is a target available WiFi hotspot in the WiFi list that meets the preset conditions.
[0067] Specifically, if the vehicle-mounted TBOX confirms that each available WiFi hotspot exists in the list by comparing the SSIDs of all scanned available WiFi hotspots with all SSID records pre-stored in the WiFi list, then the vehicle-mounted TBOX immediately initiates a signal strength detection and data transmission status evaluation process for each WiFi hotspot stored in the WiFi list. This process specifically includes periodically acquiring the real-time signal strength value of each available WiFi hotspot in the list and comparing it with a preset lower threshold, while simultaneously determining its data transmission status by sending test data packets and analyzing the response results. Based on the above detection and evaluation results, the vehicle-mounted TBOX ultimately makes a comprehensive judgment on whether there exists at least one available WiFi hotspot that simultaneously meets the following conditions: its signal strength value is the highest among all available WiFi hotspots, its signal strength value is higher than the preset lower threshold, and its data transmission status is evaluated as normal, thereby determining whether there is a target available WiFi hotspot.
[0068] If a target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then connect to the target available WiFi hotspot; if no target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then switch to the 4G network for connection.
[0069] Specifically, if there is a target available WiFi hotspot in the WiFi list that simultaneously meets the following conditions: the signal strength value is the highest among all available WiFi hotspots, the signal strength value is higher than a preset lower threshold, and the data transmission status is normal, then the vehicle-mounted TBOX immediately controls the WiFi module to initiate a connection request to the target available WiFi hotspot and uses the corresponding password pre-stored in the list to complete identity authentication to establish a stable communication link; if there is no target available WiFi hotspot in the WiFi list that meets the above preset conditions, then the vehicle-mounted TBOX automatically triggers a network switching process. It first controls the WiFi module to disconnect any possible current WiFi connection, then immediately activates the 4G module and sends a network connection command to establish a communication link with the 4G cellular network, and after the 4G network connection is successfully established, it starts continuous monitoring of the network connection status and data transmission status of the 4G network.
[0070] Among the above optional methods, when all available WiFi hotspots are in the WiFi list, priority is given to connecting to WiFi hotspots that meet the preset conditions, thereby further improving connection efficiency and optimizing network resource utilization.
[0071] In one alternative approach, it also includes: If the signal strength of the connected network is detected to be lower than the preset lower threshold or the data transmission status of the connected network is abnormal, then return to the step of periodically scanning for available WiFi hotspots near the agricultural machinery.
[0072] Specifically, if the vehicle-mounted TBOX detects during continuous monitoring that the real-time signal strength of the currently connected network is lower than a preset lower threshold, or determines that the data transmission status is abnormal by analyzing the round-trip latency, packet loss rate, and successful transmission ratio of data packets, the vehicle-mounted TBOX immediately determines that the current network connection is unavailable and automatically triggers a network reselection process. This process first disconnects the connection with the current network, and then immediately restarts the periodic WiFi hotspot scanning and 4G network signal detection operations. That is, it re-executes the complete steps of scanning available WiFi hotspots near agricultural machinery, detecting the signal strength of each available WiFi hotspot, and detecting the 4G network signal strength, thereby re-determining the optimal network to connect to based on the latest network environment information.
[0073] Among the above optional methods, it is further clarified that network signal strength and data transmission status are monitored, and nearby WiFi hotspots are automatically rescanned in case of an anomaly, thereby enhancing the reliability and fault tolerance of network connection.
[0074] In one alternative approach, the step of determining whether each available WiFi hotspot is pre-stored in the WiFi list includes: The SSID of each available WiFi hotspot scanned is matched one by one with the SSIDs stored in the WiFi list to determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
[0075] SSID stands for Service Set Identifier, which is used to uniquely identify a wireless local area network; for example, "ABC" is an SSID.
[0076] Specifically, the vehicle-mounted TBOX acquires a set of SSIDs of all available WiFi hotspots obtained through periodic scanning operations, and then reads all SSID records stored in the pre-stored WiFi list from the internal EEPROM memory. The vehicle-mounted TBOX performs a strict string comparison between the SSID of each available WiFi hotspot obtained by scanning and each pre-stored SSID read from the WiFi list. If a scanned SSID is completely consistent with any pre-stored SSID in the list, it is determined that the available WiFi hotspot has been pre-stored in the list. If a scanned SSID does not match any of the pre-stored SSIDs in the list, it is determined that the available WiFi hotspot has not been pre-stored in the list. This matching process traverses all scanned hotspot SSIDs until all judgments are completed.
[0077] Among the above optional methods, SSID matching is further used to determine whether a WiFi hotspot has been pre-stored, simplifying the identification process of new WiFi hotspots and optimizing network connection decision efficiency.
[0078] In one alternative approach, it also includes: The network connection status and network switching results of the agricultural machinery are displayed on the vehicle-mounted display screen.
[0079] The network switching result refers to the connection status information after the vehicle-mounted TBOX performs a network switching operation; for example, the display shows "Switched to WiFi: ABC, signal strength: -65dBm".
[0080] Specifically, the vehicle-mounted TBOX generates structured display data in real time, including the current network connection type, the SSID or 4G network identifier of the connected WiFi hotspot, real-time signal strength value, data transmission status assessment result, and network switching operation result. This structured display data is then sent to the vehicle-mounted display screen of the agricultural machinery via the vehicle's Ethernet interface. After receiving the structured display data, the vehicle-mounted display screen uses its embedded display driver to parse and render it, dynamically displaying the network connection type, network identifier, and signal strength value in an intuitive text and graphical format in a designated area of the user interface. At the same time, the success or failure of the network switching is presented in real time with prominent prompts, thereby ensuring that the user can continuously perceive the network connection status and switching results of the agricultural machinery.
[0081] In addition to the above optional methods, the network connection status and switching results can be displayed in real time on the vehicle display screen, so that users can intuitively understand the network status of the device and enhance the interactive experience.
[0082] In one alternative approach, the WiFi list is stored in the EEPROM of the vehicle-mounted TBOX.
[0083] EEPROM stands for Electrically Erasable Programmable Read-Only Memory, which is used to retain data even after power is lost; for example, an AT24C256 chip used in a vehicle TBOX is used to store a list of WiFi networks.
[0084] In the above-mentioned optional methods, the information of the connected WiFi hotspot is further stored in the EEPROM of the vehicle TBOX, which ensures that the data is not lost after power failure and improves the reliability and durability of the data.
[0085] In this embodiment, Figure 2 The overall process diagram is shown. When the user starts the agricultural machinery with the car key, the vehicle display and TBOX immediately power on and enter normal working condition. The vehicle TBOX immediately initiates a periodic search process for nearby available WiFi hotspots, first determining if any available WiFi hotspots exist. If no available WiFi hotspots exist, it then checks the 4G signal strength; if no 4G signal is detected, a message is pushed to the vehicle display to notify the user of a network error; if a 4G signal exists, it connects to the 4G network and further determines if the network connection is normal; if the connection is abnormal, a message is pushed to the user; if the connection is normal, a message is pushed to inform the device that data is being transmitted via 4G.
[0086] If an available WiFi hotspot exists, the TBOX begins analyzing the WiFi hotspot information and first determines if there are multiple WiFi hotspots. For a single WiFi hotspot, the TBOX compares the information in the WiFi list to determine if the hotspot is already saved. If not, the WiFi information is pushed to the display screen, allowing the user to decide whether to use the hotspot. If the user does not use it, the TBOX checks for a 4G signal and decides whether to use 4G communication based on the presence or absence of a signal, while simultaneously pushing the result to the display screen. If the user decides to use it, they enter a password via the vehicle's display screen. The TBOX receives this information and appends the hotspot's SSID and password to the WiFi list, then periodically checks the WiFi signal strength. If the signal strength is below a lower threshold, it switches to the 4G connection process; if it is above the threshold, it uses the WiFi to connect and determines if data transmission is normal; if data transmission is abnormal, it switches back to the 4G connection; if normal, it uses the WiFi for data transmission and pushes the WiFi information to the display screen, while continuing to periodically check the signal strength.
[0087] When multiple WiFi hotspots exist, TBOX first analyzes the WiFi information and determines if all hotspots are in the WiFi list. If a hotspot is not in the list, its information is pushed to the display screen for the user to decide whether to use. If the user does not use it, the system periodically checks the signal strength of nearby available hotspots in the WiFi list. If the user decides to use it, they input the password for each hotspot on the display screen. TBOX receives this information and appends the SSID and password of each new hotspot to the list, then periodically checks the signal strength of each hotspot in the list. Regardless of whether a hotspot is in the list, the system will eventually connect to the WiFi hotspot with the strongest signal and further check its signal strength. If the signal strength is below a lower threshold, the system switches to the 4G connection process; if it is above the threshold, the system uses that WiFi to connect and checks if data transmission is normal; if data transmission is abnormal, the system attempts to connect to a backup WiFi hotspot with a signal strength only slightly lower than the current hotspot; if transmission is normal, the system uses that WiFi for data transmission and pushes the information to the display screen, while continuously periodically checking the signal strength.
[0088] exist Figure 2 Throughout the entire process, the TBOX maintains communication with the display screen via the vehicle's Ethernet, pushing network status and switching results in real time. All WiFi hotspot information is persistently stored in the TBOX's EEPROM, ensuring that information is not lost after power failure. Through periodic signal detection, threshold comparison, and data transmission status evaluation, the system achieves intelligent switching decisions between 4G and WiFi networks, significantly improving the stability and automation level of agricultural machinery in terms of network connectivity.
[0089] Figure 3 A schematic diagram of an embodiment of an adaptive switching control system 200 for wireless communication in agricultural machinery provided by the present invention is shown. Figure 3 As shown, the system 200 includes: a detection unit 210, a judgment unit 220, a push unit 230, a storage unit 240, and a switching unit 250; The detection unit 210 is used to periodically scan available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the 4G network of the agricultural machinery. The determination unit 220 is used to: connect to the 4G network when there is no available WiFi hotspot and continuously monitor the network connection status of the 4G network; and determine whether each available WiFi hotspot has been pre-stored in the WiFi list when there is an available WiFi hotspot. The push unit 230 is used to: if there are available WiFi hotspots that are not pre-stored in the WiFi list, push each available WiFi hotspot that is not pre-stored in the WiFi list to the vehicle display screen of the agricultural machinery; The storage unit 240 is used to: if the vehicle display screen receives at least one available WiFi hotspot selected by the user that is not pre-stored in the WiFi list and the corresponding entered password, then save the selected available WiFi hotspot identifier and password to the WiFi list; The switching unit 250 is used to: connect to the target available WiFi hotspot if there is a target available WiFi hotspot in the latest WiFi list that meets preset conditions, and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the signal strength is the highest, the signal strength is higher than a preset lower threshold, and the data transmission status is normal.
[0090] In an alternative embodiment, the switching unit 250 is further configured to: If no target WiFi hotspot that meets the preset conditions is found in the latest WiFi list, the connection will be switched to the 4G network.
[0091] In an alternative embodiment, the switching unit 250 is further configured to: If every available WiFi hotspot exists in the WiFi list, then determine whether there is a target available WiFi hotspot in the WiFi list that meets the preset conditions; If a target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then connect to the target available WiFi hotspot; if no target available WiFi hotspot that meets the preset conditions exists in the WiFi list, then switch to the 4G network for connection.
[0092] In one alternative embodiment, it further includes: a monitoring unit; the monitoring unit is used for: If the signal strength of the connected network is detected to be lower than the preset lower threshold or the data transmission status of the connected network is abnormal, the detection unit 210 is called back.
[0093] In one alternative embodiment, the determining unit 220 is specifically used for: The SSID of each available WiFi hotspot scanned is matched one by one with the SSIDs stored in the WiFi list to determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
[0094] In an alternative embodiment, it further includes: a display unit; the display unit is used for: The network connection status and network switching results of the agricultural machinery are displayed on the vehicle-mounted display screen.
[0095] In one alternative approach, the WiFi list is stored in the EEPROM of the vehicle-mounted TBOX.
[0096] It should be noted that the beneficial effects of the agricultural machinery wireless communication adaptive switching control system 200 provided in the above embodiments are the same as those of the agricultural machinery wireless communication adaptive switching control method described above, and will not be repeated here. Furthermore, the system provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, and will not be repeated here.
[0097] The agricultural machinery wireless communication adaptive switching control system 200 of the present invention can be a computer program (including program code) running on a computer device. For example, the agricultural machinery wireless communication adaptive switching control system 200 of the present invention is an application software that can be used to execute the corresponding steps in the agricultural machinery wireless communication adaptive switching control method of the present invention.
[0098] In some embodiments, the agricultural machinery wireless communication adaptive switching control system 200 of the present invention can be implemented in a combination of hardware and software. As an example, the agricultural machinery wireless communication adaptive switching control system 200 of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the agricultural machinery wireless communication adaptive switching control method of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0099] The modules described in the embodiments of this invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0100] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-mentioned adaptive switching control methods for agricultural machinery wireless communication. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the adaptive switching control method for agricultural machinery wireless communication shown in any embodiment of the present invention by calling the computer program.
[0101] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0102] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0103] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0104] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0105] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0106] Among them, electronic devices can also be terminal devices. A terminal device can be any terminal device that can install applications and access web pages through applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.
[0107] It should be noted that, Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.
[0108] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-described adaptive switching control methods for wireless communication of agricultural machinery.
[0109] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.
[0110] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the aforementioned adaptive switching control method for wireless communication of agricultural machinery.
[0111] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0112] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0113] The computer-readable storage medium provided in this invention can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0114] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0115] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
[0116] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.
[0117] Those skilled in the art will recognize that this invention can be implemented as a system, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0118] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.< / cid> < / cid> < / mode> < / ber> < / rssi> < / ber> < / rssi>
Claims
1. An adaptive switching control method for wireless communication in agricultural machinery, applied to vehicle-mounted TBOX, characterized in that, include: Periodically scan for available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the agricultural machinery's 4G network; When no available WiFi hotspots exist, connect to the 4G network and continuously monitor the network connection status of the 4G network; when available WiFi hotspots exist, determine whether each available WiFi hotspot has been pre-stored in the WiFi list. If there are available WiFi hotspots that are not pre-stored in the WiFi list, each available WiFi hotspot that is not pre-stored in the WiFi list will be pushed to the vehicle display screen of the agricultural machinery. If the vehicle display screen receives at least one available WiFi hotspot selected by the user that is not pre-stored in the WiFi list, along with the corresponding entered password, then the selected available WiFi hotspot identifier and password are saved to the WiFi list. If a target available WiFi hotspot that meets preset conditions exists in the latest WiFi list, then connect to the target available WiFi hotspot and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the highest signal strength, the signal strength is higher than a preset lower threshold, and the data transmission status is normal.
2. The adaptive switching control method for wireless communication of agricultural machinery according to claim 1, characterized in that, Also includes: If no target WiFi hotspot that meets the preset conditions is found in the latest WiFi list, the connection will be switched to the 4G network.
3. The adaptive switching control method for wireless communication of agricultural machinery according to claim 1, characterized in that, Also includes: If every available WiFi hotspot exists in the WiFi list, then determine whether there is a target available WiFi hotspot in the WiFi list that meets the preset conditions; If there is a target available WiFi hotspot in the WiFi list that meets the preset conditions, then connect to the target available WiFi hotspot; If no target available WiFi hotspot that meets the preset conditions is found in the WiFi list, the connection will be switched to the 4G network.
4. The adaptive switching control method for wireless communication of agricultural machinery according to claim 1, characterized in that, Also includes: If the signal strength of the connected network is detected to be lower than the preset lower threshold or the data transmission status of the connected network is abnormal, then return to the step of periodically scanning for available WiFi hotspots near the agricultural machinery.
5. The adaptive switching control method for wireless communication in agricultural machinery according to claim 1, characterized in that, The steps to determine whether each available WiFi hotspot is pre-stored in the WiFi list include: The SSID of each available WiFi hotspot scanned is matched one by one with the SSIDs stored in the WiFi list to determine whether each available WiFi hotspot has been pre-stored in the WiFi list.
6. The adaptive switching control method for wireless communication of agricultural machinery according to any one of claims 1 to 5, characterized in that, Also includes: The network connection status and network switching results of the agricultural machinery are displayed on the vehicle-mounted display screen.
7. The adaptive switching control method for wireless communication of agricultural machinery according to any one of claims 1 to 5, characterized in that, The WiFi list is stored in the EEPROM of the vehicle-mounted TBOX.
8. An adaptive switching control system for wireless communication in agricultural machinery, characterized in that, include: The system comprises a detection unit, a judgment unit, a push unit, a storage unit, and a switching unit. The detection unit is used to periodically scan available WiFi hotspots near the agricultural machinery and detect the signal strength of each available WiFi hotspot, while also detecting the signal strength of the agricultural machinery's 4G network. The determination unit is used to: connect to the 4G network when there is no available WiFi hotspot and continuously monitor the network connection status of the 4G network; and determine whether each available WiFi hotspot has been pre-stored in the WiFi list when there is an available WiFi hotspot. The push unit is used to: if there are available WiFi hotspots that are not pre-stored in the WiFi list, push each available WiFi hotspot that is not pre-stored in the WiFi list to the vehicle display screen of the agricultural machinery; The storage unit is used to: if the user selects at least one available WiFi hotspot that is not pre-stored in the WiFi list and the corresponding entered password through the vehicle display screen, then save the selected available WiFi hotspot identifier and password to the WiFi list; The switching unit is used to: connect to the target available WiFi hotspot if there is a target available WiFi hotspot in the latest WiFi list that meets preset conditions, and continuously monitor the signal strength and data transmission status of the target available WiFi hotspot; wherein, the preset conditions are: the signal strength is the highest, the signal strength is higher than a preset lower threshold, and the data transmission status is normal.
9. An electronic device, characterized in that, The electronic device includes a processor coupled to a memory, the memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the agricultural machinery wireless communication adaptive switching control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable the computer-readable storage medium to implement the adaptive switching control method for wireless communication of agricultural machinery as described in any one of claims 1 to 7.