Wireless ad hoc network upgrading method

Through detailed requirements analysis and preparation, sufficient upgrade package preparation, selection of high-performance equipment, and orderly upgrade according to network topology, problems such as excessive upgrade package and unstable signal-to-noise ratio in traditional wireless ad hoc network upgrade methods are solved, and the stability and efficiency of wireless ad hoc network upgrade are achieved.

CN120201408APending Publication Date: 2025-06-24BEIJING HEFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510475936.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

Traditional wireless ad hoc network upgrade methods are due to problems such as excessive upgrade package, unstable signal-to-noise ratio, and long-term occupation of wireless resources, resulting in interruptions, low success rate, and network stability affected during the upgrade process, especially in remote deployment or large networks.

Method used

A wireless self-organizing network upgrade method is proposed. Through steps such as demand analysis and preparation, upgrade package preparation, local wireless equipment selection, upgrade package upload and classification, version query and comparison, upgrade sequence planning, upgrade task pre-allocation, pre-upgrade verification and preparation, upgrade task sharding and parallel processing, upgrade progress dynamic adjustment and retry mechanism, equipment grouping and priority management, security verification and encryption transmission, etc., the stability and efficiency of the upgrade process are ensured.

Benefits of technology

Through meticulous demand analysis and preparation, we ensure that the upgrade process has clear goals and does not affect the normal operation of the network; the upgrade package is fully prepared, including necessary submodules and configuration files, which improves the completeness and accuracy of the upgrade; high-performance local wireless equipment is selected as the initiator of the upgrade request, which ensures the stability and efficiency of the upgrade process; during the upgrade process, the equipment is upgraded in an orderly manner according to the network topology structure, achieving load balancing and improving upgrade efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201408A_ABST
    Figure CN120201408A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless ad hoc network upgrading method. Comprising the steps of 1, demand analysis and preparation, 2, upgrade package preparation, 3, local wireless device selection, 4, upgrade package uploading and classification, 5, version query and comparison, 6, upgrade sequence planning, 7, upgrade task pre-distribution, 8, verification and preparation before upgrade, 9, upgrade task fragmentation and parallel processing, and 10, upgrade task fragmentation and parallel processing. An upgrade progress dynamic adjustment and retry mechanism, 11, equipment grouping and priority management, and 12, security verification and encrypted transmission. According to the method, the upgrading target is determined through detailed demand analysis, the integrity is fully improved through upgrading package preparation, high-performance equipment is selected to guarantee stability, ordered upgrading according to the network topology promotes balance, task fragmentation parallel acceleration is achieved, retry and dynamic adjustment are more reliable, safety verification encryption guarantees safety, and the upgrading efficiency and the overall safety of the wireless ad hoc network are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network control, and particularly to a method for upgrading a wireless ad hoc network. Background Art

[0002] In a wireless ad hoc network environment, software upgrade of devices is a necessary link to maintain the secure and stable operation of the network. Traditional upgrade methods often face challenges due to problems such as overly large upgrade packages, unstable signal-to-noise ratio during transmission, and long-term occupation of wireless resources. These problems are particularly prominent in remote deployment or large-scale networks.

[0003] Currently, most wireless ad hoc networks adopt a centralized full-scale upgrade strategy, that is, downloading the entire new version of the firmware at one time for replacement. This full-scale upgrade method not only increases the pressure on wireless bandwidth and extends the upgrade cycle, but also easily causes upgrade interruption at network edge nodes or weak signal areas, reducing the upgrade success rate and affecting network stability. Therefore, a method for upgrading a wireless ad hoc network is proposed. Summary of the Invention

[0004] Aiming at the deficiencies of the prior art, the present invention provides a method for upgrading a wireless ad hoc network to solve the problems raised in the above background art.

[0005] To achieve the above object, the present invention provides the following technical solution: A method for upgrading a wireless ad hoc network, comprising: Step 1: Requirement analysis and preparation; Clarify the specific requirements and objectives of the upgrade, including but not limited to the types of devices to be upgraded, sub-modules, and expected performance improvement or function enhancement; Conduct a comprehensive assessment of the current operating state of the wireless ad hoc network to ensure that the normal operation of the current wireless ad hoc network is not affected during the upgrade process; Step 2: Upgrade package preparation; Prepare the corresponding upgrade package according to the specific requirements and objectives in Step 1. The upgrade package includes different sub-modules, upgrade files, and necessary configuration files. Ensure the integrity and accuracy of the upgrade through different sub-modules, upgrade files, and necessary configuration files. During the process of preparing the upgrade package, check the integrity and compatibility of the upgrade package; Step 3: Selection of local wireless devices; Select a local wireless device with high processing power and network connectivity performance from the current wireless ad hoc network system as the initiating device for the upgrade request; Step 4: Upload and classification of upgrade packages; After uploading the upgrade package prepared in Step 2 to the initiating device selected in Step 3, classify the upgrade package through the initiating device. During the classification process, the initiating device splits the upgrade package into different sub-modules for subsequent management and distribution; Step Five: Version Query and Comparison; The initiating device queries the current versions of all sub - modules of all wireless devices in the current wireless ad - hoc network system, compares the query results with the sub - module versions in the upgrade package uploaded to the initiating device in Step Four, and determines the devices and sub - modules that need to be upgraded; Step Six: Upgrade Sequence Planning; The initiating device divides all wireless devices in the current wireless ad - hoc network according to the hop count based on the network topology structure, and plans the upgrade sequence. The upgrade sequence is to upgrade the sub - modules of wireless devices from those with a large hop count to those with a small hop count in turn; Step Seven: Pre - allocation of Upgrade Tasks; Before the upgrade task is carried out, pre - allocate the upgrade tasks to suitable wireless devices according to the status of the wireless devices and the saturation of the task segments to ensure load balancing during the upgrade process; Step Eight: Verification and Preparation before Upgrade; Before the upgrade task is carried out, re - verify the local wireless devices and network status of the wireless devices selected in Step Seven, and make emergency preparations and resource allocation during the upgrade process; Step Nine: Sharding and Parallel Processing of Upgrade Tasks; Use multiple wireless devices in the current wireless ad - hoc network to process task segments in parallel, and real - time monitor the status, load, and processing capabilities of all wireless devices in the current wireless ad - hoc network. Divide the upgrade task into multiple small segments for parallel processing, allocate the task segments to wireless devices with unsaturated status and task segment requirements, and ensure load balancing for all wireless devices. At the same time, real - time monitor the upgrade progress of all wireless devices; Step Ten: Dynamic Adjustment of Upgrade Progress and Retry Mechanism; Dynamically adjust the upgrade strategy according to the upgrade progress of all wireless devices in Step Nine. When a wireless device fails to upgrade or a network failure occurs, automatically initiate the retry mechanism and re - attempt to upgrade until all wireless devices are successfully upgraded; Step Eleven: Device Grouping and Priority Management; Group all wireless devices according to functions and performance, and set different upgrade priorities for the wireless devices in each group; Step Twelve: Security Verification and Encrypted Transmission; Set up a security verification mechanism. The security verification mechanism performs integrity verification on the upgrade package. At the same time, use the TLS / SSL protocol to encrypt and protect the upgrade package data during the transmission process; Through comprehensive requirements analysis and preparation, the pertinence and effectiveness of the upgrade process are ensured, and the impact of the upgrade on the operation of the existing system is reduced; the integrity and compatibility verification during the upgrade package preparation process, as well as the re-verification before the upgrade, greatly reduce the possible problems during the upgrade process and improve the stability of the system; the selection of local wireless devices is based on processing capabilities and network connectivity performance, ensuring that the initiating device of the upgrade request has sufficient resources to support the upgrade process; the classification processing and sub-module splitting of the upgrade package make the upgrade process more modular and flexible, facilitating management and distribution; the parallel processing of task segments and the dynamic adjustment of the upgrade strategy improve the upgrade efficiency and shorten the upgrade time; the pre-allocation of upgrade tasks and the load balancing mechanism ensure reasonable task allocation for each wireless device during the upgrade process, avoiding resource overload or idleness; by real-time monitoring the status and load of wireless devices, the task allocation can be dynamically adjusted to further optimize resource utilization; planning the upgrade sequence according to the network topology structure ensures the orderly progress of the upgrade process and reduces network interruption or performance degradation that may be caused by improper upgrade sequence; device grouping and priority management enable critical devices to be upgraded first, ensuring that the important functions and performance of the system are not affected; the security verification mechanism performs integrity verification on the upgrade package to ensure the legality and integrity of the upgrade package and prevent the intrusion of malicious software; using the TLS / SSL protocol to encrypt and protect the upgrade package data transmission process ensures the security and privacy of the data.

[0006] Preferably, in the step one: requirements analysis and preparation, there is also a detailed description and evaluation step, and the detailed evaluation step uses network traffic analysis tools and device performance detection software to evaluate the network status and device performance of the current wireless ad hoc network operation status; Through network traffic analysis tools, data streams in the network can be captured and analyzed in real time, and key indicators such as network bandwidth utilization, packet loss rate, and latency can be understood, so as to comprehensively evaluate the operating status of the network; device performance detection software can monitor the hardware performance of wireless devices in real time, such as processor usage rate, memory occupancy rate, and storage capacity, and at the same time detect the software version, configuration information, etc. of the device to ensure a comprehensive understanding of the device performance; during the evaluation process, bottlenecks, abnormal traffic, or potential security threats in the network can be discovered in a timely manner, providing a targeted improvement direction for subsequent upgrade plans; through device performance detection, devices with low performance or approaching the limit can be identified and upgraded or replaced in advance to avoid network interruption caused by device failures during the upgrade process; based on the detailed evaluation results, an upgrade plan can be formulated more precisely, including determining the devices, sub-modules that need to be upgraded, and the key directions of the upgrade; the evaluation results can also provide data support for the preparation of the upgrade package to ensure that the content of the upgrade package matches the current network and device status, improving the accuracy and effectiveness of the upgrade; through comprehensive evaluation, risks and challenges that may be encountered during the upgrade process can be identified in advance, corresponding countermeasures can be formulated, and the uncertainty during the upgrade process can be reduced; the evaluation results can also provide a basis for monitoring and emergency preparation during the upgrade process to ensure that problems can be quickly responded to and processed when they occur, maintaining the stable operation of the network; through evaluation, network resources can be more reasonably allocated and utilized, avoiding waste and redundancy of resources; an accurate upgrade plan can reduce unnecessary upgrade operations, reduce upgrade costs, and at the same time improve the efficiency and quality of the upgrade.

[0007] Preferably, step two: the preparation of the upgrade package also includes a specific description step, which specifically describes the classification and naming rules of different sub-modules in the upgrade package, classifies them according to functional modules and version numbers, and stipulates the format requirements of upgrade files and configuration files; By classifying and naming the sub - modules in the upgrade package according to functional modules and version numbers, the structure of the upgrade package can be made clearer, facilitating the initiating device to quickly locate and manage the required upgrade files and configuration files, and the initiating device can calculate and manage the sub - modules to be upgraded for each module by itself; stipulating the format requirements for upgrade files and configuration files can ensure the consistency and compatibility of all files, reducing upgrade failures or errors caused by inconsistent file formats; clear classification and naming rules can help administrators accurately select the sub - modules to be upgraded during the upgrade process, avoiding upgrade failures or device malfunctions caused by incorrect operations; by following unified format requirements, the correctness and integrity of upgrade files and configuration files can be ensured, thereby improving the accuracy and reliability of the upgrade process; clear classification and naming rules can make it easier for team members to understand and collaborate, reducing misunderstandings and errors caused by poor communication; by classifying the sub - modules in the upgrade package according to version numbers, it is convenient to track and manage upgrade packages of different versions, ensuring the traceability and controllability of the upgrade process; clear classification and naming rules can help administrators quickly locate the sub - modules to be upgraded, improving the upgrade efficiency; by classifying the sub - modules in the upgrade package according to functional modules, modular upgrades can be supported, enabling administrators to selectively upgrade some functional modules according to actual needs, improving the flexibility of the upgrade process; by following unified format requirements, the compatibility of upgrade files and configuration files can be ensured, avoiding system problems caused by incompatible file formats or versions; by clear classification and naming rules, it can be ensured that only necessary sub - modules are upgraded during the upgrade process, avoiding the introduction of unnecessary security risks.

[0008] Preferably, step three: the selection of local wireless devices also includes a comprehensive evaluation step, and the selection criteria for the comprehensive evaluation step are based on comprehensive evaluations of indicators such as the CPU usage rate, memory occupancy rate, and network latency of local wireless devices; By comprehensively considering multiple key metrics such as CPU usage, memory occupancy, and network latency, the performance and status of local wireless devices can be more comprehensively evaluated. This comprehensive evaluation method helps to accurately identify devices with superior performance, sufficient resources, and rapid network response as the initiating devices for upgrade requests, thereby improving the accuracy of selection. Selecting devices with low CPU usage and memory occupancy as the initiating devices can ensure that the device has sufficient resources to handle upgrade tasks during the upgrade process, avoiding performance degradation caused by resource overload. At the same time, considering the network latency metric helps to select devices with good network connectivity, ensuring the rapid transmission and response of upgrade information. Selecting devices with stable performance and sufficient resources as the initiating devices can reduce system instability during the upgrade process due to insufficient device performance or network problems. The comprehensive evaluation step helps to identify potential performance bottlenecks or network failures in advance, thereby taking corresponding preventive measures to enhance system stability. Selecting devices with low network latency as the initiating devices can speed up the transmission speed of upgrade information and shorten the time required for upgrades. Devices with superior performance can process upgrade tasks faster, improve upgrade efficiency, and ensure the smooth progress of the upgrade process. By selecting devices with better performance as the initiating devices through the comprehensive evaluation step, better support for load balancing can be provided during the upgrade process. This helps to avoid performance degradation of some devices due to overload and ensure that all devices can maintain a high working efficiency during the upgrade process. The comprehensive evaluation step conducts quantitative analysis based on multiple key metrics, making the decision-making process more scientific and objective. This data-based decision-making method helps to reduce the subjective influence of human factors and improve the scientificity and accuracy of decision-making.

[0009] Preferably, Step Four: The upload and classification of the upgrade package specifically further includes the step of splitting and labeling the sub-modules according to functions and types; By splitting the upgrade package into multiple sub - modules and tagging them according to function and type, the management of the upgrade package can be made more orderly and efficient; administrators can quickly locate sub - modules of a specific function or type for targeted management, update or maintenance, greatly improving work efficiency; splitting and tagging sub - modules helps to clearly understand the structure and composition of the upgrade package, making subsequent maintenance and upgrade work easier; when a specific function needs to be modified or updated, the relevant sub - module can be directly found for operation without the need to make large - scale modifications to the entire upgrade package; splitting and tagging sub - modules enables modular upgrades, and administrators can selectively upgrade some sub - modules according to actual needs instead of the entire upgrade package; this flexible upgrade method can reduce unnecessary upgrade operations, lower upgrade risks, and improve upgrade efficiency at the same time; clear sub - module splitting and tagging helps in the collaboration among team members. Different members can be responsible for different function - or type - based sub - modules to achieve parallel work and improve overall development efficiency; at the same time, clear sub - module division also helps to reduce communication costs between teams and avoid errors caused by inconsistent understanding; by splitting and tagging sub - modules, the upgrade package can be made more flexible and usable. Different users or scenarios can choose suitable sub - modules for upgrade according to actual needs; this customized upgrade method can meet the needs of more users, improve the applicability of the upgrade package and user satisfaction; when problems occur in the upgrade package, through the split and tagged sub - modules, the specific module where the problem lies can be quickly located; this helps to quickly solve the problem, reduce the time for troubleshooting, and improve the stability and reliability of the system.

[0010] Preferably, in step five: version query and comparison, there is also a query command. The query command is based on HTTP and HTTPS protocols, and the comparison logic of the query command includes version number comparison and functional difference analysis; First, as widely used transmission protocols in the Internet field, the mature technical foundation and good compatibility of the HTTP and HTTPS protocols provide a stable and reliable transmission channel for version query in wireless ad hoc networks. This ensures that query commands can accurately and quickly reach the target device and return accurate version information. Secondly, through the comparison logic of version number comparison and function difference analysis, this method can accurately identify the software version differences between devices in the network. This not only helps administrators comprehensively understand the upgrade requirements of network devices but also provides detailed data support for subsequent upgrade operations. In addition, this version query and comparison method also improves the efficiency and accuracy of the upgrade process, reduces upgrade failures or network failures caused by version mismatches, and at the same time, it enhances the stability and security of wireless ad hoc networks, providing strong guarantee for the continuous and efficient operation of the network. In summary, the version query and comparison method based on the HTTP and HTTPS protocols plays a crucial role in the upgrade of wireless ad hoc networks; the risk of error; query commands can obtain the version information of network devices in real time to ensure the timeliness and accuracy of information. By directly querying the device, the current operating status and configuration information of the device can be obtained, which helps to discover and solve problems in a timely manner; by comparing the version numbers of different devices, it can be quickly identified which devices need to be upgraded or updated; version number comparison is an intuitive and simple method that helps administrators make decisions quickly; in addition to version number comparison, function difference analysis can also be carried out to understand the function differences and new functions between different versions, which helps administrators evaluate the necessity and urgency of upgrades or updates, as well as the benefits and risks that upgrades or updates may bring; version query and comparison is an indispensable part of network device management. By using query commands based on the SNMP and SSH protocols, the quick acquisition and comparative analysis of the version information of network devices can be realized, which greatly improves the management efficiency and helps administrators better master the status and configuration information of network devices, providing strong support for subsequent maintenance and upgrade work; by using the SSH protocol for version query, the security of data transmission can be ensured. The SSH protocol uses encryption technology to prevent data from being stolen or tampered with during transmission, which helps to guarantee the security of the network and prevent security vulnerabilities caused by version query; both the SNMP and SSH protocols are widely used network management protocols that support a variety of network devices and operating systems, which makes the query commands based on the SNMP and SSH protocols applicable to different network environments and device types, improving their versatility and practicality.

[0011] Preferably, the step six: upgrade order planning also includes a planning algorithm. The planning algorithm comprehensively considers factors such as network topology structure, hop count, and device priority, and dynamically adjusts the upgrade order; By comprehensively considering the network topology and the number of hops, the planning algorithm can select the optimal upgrade path, reduce the data transmission delay and waiting time during the upgrade process. At the same time, dynamically adjusting the upgrade order can ensure that in the case of limited resources, key devices or paths are upgraded first, thereby shortening the overall upgrade time.

[0012] Preferably, step seven: the upgrade task pre-allocation further includes a load balancing strategy, which comprehensively evaluates based on factors such as the state of wireless devices, task saturation, and network conditions, and pre-allocates tasks to appropriate wireless devices before the upgrade task; Adopting a load balancing strategy in the upgrade task pre-allocation, comprehensively evaluating based on the state of wireless devices, task saturation, and network conditions, and pre-allocating tasks to appropriate wireless devices, the benefits are mainly reflected in: it can ensure that the upgrade tasks are efficiently and evenly distributed to each wireless device, avoiding overloading of some devices while some devices are idle, and improving resource utilization; at the same time, considering network conditions, it can optimize data transmission, reduce delays and packet losses, and enhance the stability and reliability of the upgrade process; in addition, pre-allocating tasks can also reduce task waiting time, speed up the upgrade progress, improve the overall upgrade efficiency, and ensure the successful completion of the upgrade task.

[0013] Preferably, step eight: the pre-upgrade verification and preparation further includes device status check, network connectivity test, and upgrade package integrity verification; Conducting device status check, network connectivity test, and upgrade package integrity verification before the upgrade, the benefits are as follows: it can ensure that the device is in a healthy state, avoiding upgrade failures caused by device failures; verifying network connectivity to ensure the smooth transmission of upgrade data; verifying the integrity of the upgrade package to prevent upgrade anomalies caused by file corruption or tampering. These measures together enhance the security and success rate of the upgrade process and ensure the stable operation of network devices.

[0014] Preferably, step nine: the integrity check further includes digital signature verification and hash value comparison steps, and the TLS / SSL protocol includes the steps of certificate verification and encrypted channel establishment; Conducting integrity check, digital signature verification and hash value comparison steps before the upgrade, and using the TLS / SSL protocol for certificate verification and encrypted channel establishment, the benefits are as follows: digital signature verification and hash value comparison ensure the integrity and authenticity of the upgrade package, preventing the upgrade package from being tampered with or damaged; the TLS / SSL protocol ensures the identity security of both communication parties through certificate verification, and the establishment of an encrypted channel guarantees the confidentiality and integrity during the transmission of upgrade data, jointly enhancing the security and reliability of the upgrade process.

[0015] In summary, compared with the prior art, the present invention provides a wireless ad hoc network upgrade method, which has the following beneficial effects: Through meticulous requirement analysis and preparation, the invention ensures that the upgrade process has a clear goal and does not affect the normal operation of the network. Secondly, the upgrade package is well-prepared, including necessary sub-modules and configuration files, which improves the integrity and accuracy of the upgrade. In addition, a high-performance local wireless device is selected as the initiator of the upgrade request, ensuring the stability and efficiency of the upgrade process. During the upgrade process, the devices are upgraded in an orderly manner according to the network topology structure, achieving load balancing and improving the upgrade efficiency. At the same time, the task sharding and parallel processing mechanism further accelerates the upgrade process; the retry mechanism and dynamic adjustment strategy ensure the reliability and flexibility of the upgrade process; finally, the security verification and encrypted transmission technology guarantee the security and integrity of the upgrade package, enhancing the network security; this method improves the upgrade efficiency and security of the wireless ad hoc network and solves the problems raised in the background technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is the flowchart of the upgrade method for the wireless ad hoc network of the invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0017] The present invention provides a technical solution, a method for upgrading a wireless ad hoc network. Referring to the figure, it includes: Step 1: Requirement analysis and preparation; Clarify the specific requirements and goals of the upgrade, including but not limited to the types of devices to be upgraded, sub-modules, and the expected performance improvement or function enhancement; Conduct a comprehensive evaluation of the current operating state of the wireless ad hoc network to ensure that the normal operation of the current wireless ad hoc network is not affected during the upgrade process; Step 2: Upgrade package preparation; Prepare the corresponding upgrade package according to the specific requirements and goals in Step 1. The upgrade package includes different sub-modules, upgrade files, and necessary configuration files. Through different sub-modules, upgrade files, and necessary configuration files, ensure the integrity and accuracy of the upgrade. During the process of preparing the upgrade package, check the integrity and compatibility of the upgrade package; Step 3: Selection of local wireless device; Select a local wireless device with high processing power and network connectivity performance from the current wireless ad hoc network system as the initiating device for the upgrade request; Step 4: Upload and classification of upgrade package; After uploading the upgrade package prepared in Step 2 to the initiating device selected in Step 3, classify the upgrade package through the initiating device. During the classification process, the initiating device splits the upgrade package into different sub-modules for subsequent management and distribution; Step 5: Version query and comparison; The initiating device queries the current versions of all sub-modules of all wireless devices in the current wireless ad-hoc network system, compares the query results with the sub-module versions in the upgrade package uploaded to the initiating device in step four, and determines the devices and sub-modules that need to be upgraded; Step Six: Upgrade Sequence Planning; The initiating device divides all wireless devices in the current wireless ad-hoc network according to the number of hops based on the network topology structure, and plans the upgrade sequence. The upgrade sequence is to upgrade the sub-modules of wireless devices from those with a large number of hops to those with a small number of hops in turn; Step Seven: Pre-allocation of Upgrade Tasks; Before the upgrade task is carried out, pre-allocate the upgrade tasks to appropriate wireless devices according to the status of the wireless devices and the saturation of the task segments to ensure load balancing during the upgrade process; Step Eight: Pre-upgrade Verification and Preparation; Before the upgrade task is carried out, re-verify the local wireless devices and network status of the wireless devices selected in step seven, and do a good job in emergency preparation and resource allocation during the upgrade process; Step Nine: Upgrade Task Sharding and Parallel Processing; Use multiple wireless devices in the current wireless ad-hoc network to process task segments in parallel and real-time monitor the status, load, and processing capabilities of all wireless devices in the current wireless ad-hoc network. Divide the upgrade task into multiple small segments for parallel processing, allocate the task segments to wireless devices with unsaturated status and task segment requirements, and ensure load balancing of all wireless devices. At the same time, real-time monitor the upgrade progress of all wireless devices; Step Ten: Dynamic Adjustment of Upgrade Progress and Retry Mechanism; Dynamically adjust the upgrade strategy according to the upgrade progress of all wireless devices in step nine. When a wireless device fails to upgrade or a network failure occurs, automatically initiate the retry mechanism and re-attempt to upgrade until all wireless devices are successfully upgraded; Step Eleven: Device Grouping and Priority Management; Group all wireless devices according to functions and performance, and set different upgrade priorities for the wireless devices within each group; Step Twelve: Security Verification and Encrypted Transmission; Set up a security verification mechanism. The security verification mechanism performs integrity verification on the upgrade package. At the same time, use the TLS / SSL protocol to encrypt and protect the upgrade package data during the transmission process; Through comprehensive requirements analysis and preparation, the pertinence and effectiveness of the upgrade process are ensured, reducing the impact of the upgrade on the operation of the existing system; the integrity and compatibility checks during the upgrade package preparation process, as well as the re-verification before the upgrade, greatly reduce the possible problems during the upgrade process and improve the stability of the system; the selection of local wireless devices is based on processing capabilities and network connectivity performance, ensuring that the initiating device of the upgrade request has sufficient resources to support the upgrade process; the classification processing and sub-module splitting of the upgrade package make the upgrade process more modular and flexible, facilitating management and distribution; the parallel processing of task segments and the dynamic adjustment of the upgrade strategy improve the upgrade efficiency and shorten the upgrade time; the pre-allocation of upgrade tasks and the load balancing mechanism ensure the reasonable task allocation of each wireless device during the upgrade process, avoiding the situation of resource overload or idleness; by monitoring the status and load of wireless devices in real time, the task allocation can be dynamically adjusted to further optimize resource utilization; planning the upgrade sequence according to the network topology structure ensures the orderly progress of the upgrade process and reduces the network interruption or performance degradation that may be caused by improper upgrade sequence; device grouping and priority management enable critical devices to be upgraded first, ensuring that the important functions and performance of the system are not affected; the security verification mechanism performs integrity verification on the upgrade package, ensuring the legality and integrity of the upgrade package and preventing the intrusion of malicious software; the use of the TLS / SSL protocol to encrypt and protect the upgrade package data during the transmission process ensures the security and privacy of the data.

[0018] Please refer to Figure 1 , in the first step: requirements analysis and preparation, there is also a detailed description of the evaluation steps. The detailed evaluation steps use network traffic analysis tools and device performance detection software to evaluate the network status and device performance of the current wireless ad hoc network operation status; Through network traffic analysis tools, data streams in the network can be captured and analyzed in real time to understand key metrics such as network bandwidth utilization, packet loss rate, and latency, thereby comprehensively evaluating the operating status of the network; device performance detection software can monitor the hardware performance of wireless devices in real time, such as the processor usage rate, memory occupancy rate, and storage capacity, and at the same time detect the software version, configuration information, etc. of the device to ensure a comprehensive understanding of the device performance; during the evaluation process, bottlenecks, abnormal traffic, or potential security threats in the network can be discovered in a timely manner, providing targeted improvement directions for subsequent upgrade plans; through device performance detection, devices with low performance or approaching their limits can be identified and upgraded or replaced in advance to avoid network interruptions caused by device failures during the upgrade process; based on the detailed evaluation results, an upgrade plan can be formulated more precisely, including determining the devices, sub-modules to be upgraded, and the key directions for upgrading; the evaluation results can also provide data support for the preparation of upgrade packages to ensure that the content of the upgrade package matches the current network and device status, improving the accuracy and effectiveness of the upgrade; through comprehensive evaluation, risks and challenges that may be encountered during the upgrade process can be pre-identified, corresponding countermeasures can be formulated to reduce the uncertainty during the upgrade process; the evaluation results can also provide a basis for monitoring and emergency preparedness during the upgrade process to ensure that problems can be quickly responded to and handled when they occur, maintaining the stable operation of the network; through evaluation, network resources can be allocated and utilized more reasonably, avoiding waste and redundancy of resources; an accurate upgrade plan can reduce unnecessary upgrade operations, lower upgrade costs, and at the same time improve the efficiency and quality of the upgrade.

[0019] Please refer to Figure 1 , Step 2: The preparation of the upgrade package also includes specific description steps. The specific description steps specifically explain the classification and naming rules of different sub-modules in the upgrade package, classify them according to functional modules and version numbers, and specify the format requirements for upgrade files and configuration files; By classifying and naming the sub-modules in the upgrade package according to functional modules and version numbers, the structure of the upgrade package can be made clearer, facilitating the initiating device to quickly locate and manage the required upgrade files and configuration files, and enabling the initiating device to calculate and manage the sub-modules to be upgraded for each module by itself; stipulating the format requirements for upgrade files and configuration files can ensure the consistency and compatibility of all files, reducing upgrade failures or errors caused by inconsistent file formats; clear classification and naming rules can help administrators accurately select the sub-modules to be upgraded during the upgrade process, avoiding upgrade failures or device malfunctions caused by incorrect operations; by following unified format requirements, the correctness and integrity of upgrade files and configuration files can be ensured, thereby improving the accuracy and reliability of the upgrade process; clear classification and naming rules can make it easier for team members to understand and collaborate, reducing misunderstandings and errors caused by poor communication; by classifying the sub-modules in the upgrade package according to version numbers, it is convenient to track and manage different versions of upgrade packages, ensuring the traceability and controllability of the upgrade process; clear classification and naming rules can help administrators quickly locate the sub-modules to be upgraded, improving the upgrade efficiency; by classifying the sub-modules in the upgrade package according to functional modules, modular upgrades can be supported, enabling administrators to selectively upgrade some functional modules according to actual needs, improving the flexibility of the upgrade process; by following unified format requirements, the compatibility of upgrade files and configuration files can be ensured, avoiding system problems caused by incompatible file formats or versions; by clear classification and naming rules, it can be ensured that only necessary sub-modules are upgraded during the upgrade process, avoiding the introduction of unnecessary security risks.

[0020] Please refer to Figure 1 , Step 3: The selection of local wireless devices also includes a comprehensive evaluation step, and the selection criteria for the comprehensive evaluation step are based on the comprehensive evaluation of indicators such as the CPU usage rate, memory occupancy rate, and network latency of local wireless devices; By comprehensively considering multiple key metrics such as CPU usage, memory occupancy, and network latency, the performance and status of local wireless devices can be evaluated more comprehensively. This comprehensive evaluation method helps to accurately identify devices with superior performance, sufficient resources, and rapid network response as the initiating devices for upgrade requests, thereby improving the accuracy of selection. Selecting devices with lower CPU usage and memory occupancy as the initiating devices can ensure that the device has sufficient resources to handle upgrade tasks during the upgrade process, avoiding performance degradation caused by resource overload. At the same time, considering the network latency metric helps to select devices with good network connectivity, ensuring the rapid transmission and response of upgrade information. Selecting devices with stable performance and sufficient resources as the initiating devices can reduce system instability caused by insufficient device performance or network problems during the upgrade process. The comprehensive evaluation steps help to identify potential performance bottlenecks or network failures in advance, thereby taking corresponding preventive measures to enhance system stability. Selecting devices with low network latency as the initiating devices can speed up the transmission speed of upgrade information and shorten the time required for upgrade. Devices with superior performance can process upgrade tasks faster, improve upgrade efficiency, and ensure the smooth progress of the upgrade process. By selecting devices with better performance as the initiating devices through the comprehensive evaluation steps, load balancing can be better supported during the upgrade process. This helps to avoid performance degradation of some devices due to overload and ensure that all devices can maintain a high working efficiency during the upgrade process. The comprehensive evaluation steps are based on quantitative analysis of multiple key metrics, making the decision-making process more scientific and objective. This data-based decision-making method helps to reduce the subjective influence of human factors and improve the scientificity and accuracy of decision-making.

[0021] Please refer to Figure 1 , Step Four: The upload and classification of the upgrade package specifically also includes the steps of splitting and labeling the sub-modules according to functions and types; By splitting the upgrade package into multiple sub - modules and tagging them according to function and type, the management of the upgrade package can be made more orderly and efficient; administrators can quickly locate sub - modules of a specific function or type for targeted management, update or maintenance, greatly improving work efficiency; splitting and tagging sub - modules helps to clearly understand the structure and composition of the upgrade package, making subsequent maintenance and upgrade work easier; when a specific function needs to be modified or updated, the relevant sub - module can be directly found for operation without the need to make large - scale modifications to the entire upgrade package; splitting and tagging sub - modules enables modular upgrading. Administrators can selectively upgrade some sub - modules according to actual needs instead of the entire upgrade package; this flexible upgrade method can reduce unnecessary upgrade operations, lower upgrade risks, and at the same time improve upgrade efficiency; clear sub - module splitting and tagging helps in the collaboration among team members. Different members can be responsible for different function - or type - based sub - modules to achieve parallel work and improve overall development efficiency; at the same time, clear sub - module division also helps to reduce communication costs between teams and avoid errors caused by inconsistent understanding; by splitting and tagging sub - modules, the upgrade package can be made more flexible and usable. Different users or scenarios can choose suitable sub - modules for upgrade according to actual needs; this customized upgrade method can meet the needs of more users, improve the applicability of the upgrade package and user satisfaction; when problems occur in the upgrade package, through the split and tagged sub - modules, the specific module where the problem lies can be quickly located; this helps to quickly solve the problem, reduce the time for troubleshooting, and improve the stability and reliability of the system.

[0022] Please refer to Figure 1 , Step Five: The version query and comparison also includes a query command. The query command is based on HTTP and HTTPS protocols, and the comparison logic of the query command includes version number comparison and functional difference analysis; First, as widely used transmission protocols in the Internet field, the mature technical foundation and good compatibility of the HTTP and HTTPS protocols provide a stable and reliable transmission channel for version query in wireless ad hoc networks. This ensures that query commands can accurately and quickly reach the target device and return accurate version information. Second, through the comparison logic of version number comparison and function difference analysis, this method can accurately identify the software version differences between devices in the network. This not only helps administrators comprehensively understand the upgrade requirements of network devices but also provides detailed data support for subsequent upgrade operations. In addition, this version query and comparison method also improves the efficiency and accuracy of the upgrade process, reduces upgrade failures or network failures caused by version mismatches, and at the same time enhances the stability and security of wireless ad hoc networks, providing strong guarantees for the continuous and efficient operation of the network. In summary, the version query and comparison method based on the HTTP and HTTPS protocols plays a crucial role in the upgrade of wireless ad hoc networks; the risk of errors; query commands can obtain the version information of network devices in real time, ensuring the timeliness and accuracy of the information. By directly querying the device, the current operating status and configuration information of the device can be obtained, which helps to discover and solve problems in a timely manner; by comparing the version numbers of different devices, it can be quickly identified which devices need to be upgraded or updated; version number comparison is an intuitive and simple method that helps administrators make decisions quickly; in addition to version number comparison, function difference analysis can also be carried out to understand the function differences and new functions between different versions, which helps administrators evaluate the necessity and urgency of upgrades or updates, as well as the benefits and risks that upgrades or updates may bring; version query and comparison is an indispensable part of network device management. By using query commands based on the SNMP and SSH protocols, the quick acquisition and comparative analysis of the version information of network devices can be realized, which greatly improves the management efficiency and helps administrators better master the status and configuration information of network devices, providing strong support for subsequent maintenance and upgrade work; by using the SSH protocol for version query, the security of data transmission can be ensured. The SSH protocol uses encryption technology to prevent data from being stolen or tampered with during transmission, which helps to ensure the security of the network and prevent security vulnerabilities caused by version query; both the SNMP and SSH protocols are widely used network management protocols that support a variety of network devices and operating systems, which makes the query commands based on the SNMP and SSH protocols applicable to different network environments and device types, improving their versatility and practicality.

[0023] Please refer to Figure 1 In step six: upgrade order planning, there is also a planning algorithm included. The planning algorithm comprehensively considers factors such as network topology structure, hop count, and device priority, and dynamically adjusts the upgrade order. By comprehensively considering the network topology and the number of hops, the planning algorithm can select the optimal upgrade path, reduce data transmission latency and waiting time during the upgrade process. At the same time, dynamically adjusting the upgrade order can ensure that critical devices or paths are preferentially upgraded under limited resources, thereby shortening the overall upgrade time.

[0024] Please refer to Figure 1 , Step 7: The load balancing strategy is also included in the pre-allocation of upgrade tasks. The load balancing strategy comprehensively evaluates based on factors such as the status of wireless devices, task saturation, and network conditions, and pre-allocates tasks to appropriate wireless devices before the upgrade tasks are carried out; Adopting the load balancing strategy in the pre-allocation of upgrade tasks, comprehensively evaluating based on the status of wireless devices, task saturation, and network conditions, and pre-allocating tasks to appropriate wireless devices, the benefits are mainly reflected in: it can ensure that upgrade tasks are efficiently and evenly distributed to each wireless device, avoid overloading of some devices while some devices are idle, and improve resource utilization; at the same time, considering network conditions, it can optimize data transmission, reduce latency and packet loss, and enhance the stability and reliability of the upgrade process; in addition, pre-allocating tasks can also reduce task waiting time, speed up the upgrade progress, improve the overall upgrade efficiency, and ensure the successful completion of upgrade tasks.

[0025] Please refer to Figure 1 , Step 8: Device status check, network connectivity test, and upgrade package integrity verification are also included in the verification and preparation before upgrade; Conducting device status check, network connectivity test, and upgrade package integrity verification before upgrade, the benefits are as follows: it can ensure that the device is in a healthy state, avoiding upgrade failure due to device failure; verifying network connectivity to ensure the smooth transmission of upgrade data; verifying the integrity of the upgrade package to prevent upgrade anomalies caused by file corruption or tampering. These measures together enhance the security and success rate of the upgrade process and ensure the stable operation of network devices.

[0026] Please refer to Figure 1 , Step 9: The integrity check also includes digital signature verification and hash value comparison steps, and the TLS / SSL protocol includes the steps of certificate verification and encrypted channel establishment; Conducting integrity check, digital signature verification and hash value comparison steps before upgrade, and using the TLS / SSL protocol for certificate verification and encrypted channel establishment, the benefits are as follows: digital signature verification and hash value comparison ensure the integrity and authenticity of the upgrade package, preventing the upgrade package from being tampered with or damaged; the TLS / SSL protocol ensures the identity security of both communication parties through certificate verification, and the establishment of an encrypted channel guarantees the confidentiality and integrity during the transmission of upgrade data, jointly enhancing the security and reliability of the upgrade process.

[0027] It should be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or elements inherent to such process, method, article or device.

[0028] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A wireless ad hoc network upgrade method, characterized in that: include: Step 1: Demand analysis and preparation; Identify the specific requirements and goals of the upgrade, including but not limited to the type of equipment and submodules to be upgraded, and the expected performance or functional improvements; Conduct a comprehensive assessment of the current operating status of the wireless ad hoc network to ensure that the upgrade process does not affect the normal operation of the current wireless ad hoc network; Step 2: Prepare the upgrade package; Prepare the corresponding upgrade package according to the specific requirements and goals in step 1. The upgrade package includes different sub-modules, upgrade files and necessary configuration files. The completeness and accuracy of the upgrade are ensured through different sub-modules, upgrade files and necessary configuration files. During the preparation of the upgrade package, check the completeness and compatibility of the upgrade package. Step 3: Local wireless device selection; Selecting a local wireless device with high processing capability and network connectivity performance from the current wireless ad hoc network system as an initiator of the upgrade request; Step 4: Upload and classify the upgrade package; After uploading the upgrade package prepared in step 2 to the initiating device selected in step 3, the upgrade package is classified and processed by the initiating device. During the classification process, the initiating device divides the upgrade package into different sub-modules for subsequent management and distribution; Step 5: Version query and comparison; The initiating device queries the current version of each submodule of all wireless devices in the current wireless ad hoc network system, compares the query result with the submodule version in the upgrade package uploaded to the initiating device in step 4, and determines the device and submodule that need to be upgraded; Step 6: Upgrade sequence planning; The initiating device divides all wireless devices in the current wireless ad hoc network according to the network topology and the number of hops, and plans the upgrade sequence, and the upgrade sequence is from the wireless device with a large number of hops to the wireless device with a small number of hops to perform submodule upgrades in sequence; Step 7: Pre-allocation of upgrade tasks; Before the upgrade task is carried out, the upgrade task is pre-allocated to the appropriate wireless device according to the status of the wireless device and the saturation of the task fragment to ensure load balancing during the upgrade process; Step 8: Verification and preparation before upgrading; Before the upgrade task is carried out, the local wireless device and network status of the wireless device selected in step 7 are verified again, and emergency preparation and resource allocation are done during the upgrade process; Step 9: Upgrade task sharding and parallel processing; Use multiple wireless devices in the current wireless ad hoc network to process task fragments in parallel and monitor the status, load and processing capacity of all wireless devices in the current wireless ad hoc network in real time, divide the upgrade task into multiple small fragments for parallel processing, assign task fragments to wireless devices with unsaturated status and task fragment requirements, and ensure load balancing of all wireless devices. At the same time, monitor the upgrade progress of all wireless devices in real time; Step 10: Dynamic adjustment of upgrade progress and retry mechanism; Dynamically adjust the upgrade strategy according to the upgrade progress of all wireless devices in step nine. When a wireless device fails to upgrade or a network failure occurs, automatically perform a retry mechanism to retry the upgrade until all wireless devices have successfully completed the upgrade. Step 11: Device grouping and priority management; All wireless devices are grouped according to their functions and performance, and different upgrade priorities are set for the wireless devices in each group; Step 12: Security verification and encrypted transmission; Set up a security verification mechanism to verify the integrity of the upgrade package. At the same time, use the TLS / SSL protocol to encrypt and protect the upgrade package data during transmission.

2. A wireless ad hoc network upgrade method according to claim 1, characterized in that: The step 1: demand analysis and preparation also includes a detailed description of the evaluation step, which uses a network traffic analysis tool and device performance detection software to evaluate the network status and device performance of the current wireless ad hoc network operation status.

3. A wireless ad hoc network upgrade method according to claim 2, characterized in that: The step 2: the upgrade package preparation also includes a specific description step, which specifically describes the classification and naming rules of different sub-modules in the upgrade package, classifies them according to functional modules and version numbers, and specifies the format requirements of upgrade files and configuration files.

4. A wireless ad hoc network upgrade method according to claim 3, characterized in that: The step three: the local wireless device selection also includes a comprehensive evaluation step, and the selection criteria of the comprehensive evaluation step are comprehensively evaluated based on the indicators of CPU usage, memory occupancy and network delay of the local wireless device.

5. A wireless ad hoc network upgrade method according to claim 4, characterized in that: The step 4: upgrading the package upload and classification specifically also includes the steps of splitting and marking the submodules according to their functions and types.

6. A wireless ad hoc network upgrade method according to claim 5, characterized in that: The step five: version query and comparison also includes a query command, the query command is based on HTTP and HTTPS protocols, and the comparison logic of the query command includes version number comparison and function difference analysis.

7. A wireless ad hoc network upgrade method according to claim 6, characterized in that: The step six: the upgrade sequence planning also includes a planning algorithm, which comprehensively considers the network topology, the number of hops and the device priority factors, and dynamically adjusts the upgrade sequence.

8. A wireless ad hoc network upgrade method according to claim 7, characterized in that: The step seven: pre-allocation of upgrade tasks also includes a load balancing strategy, which performs a comprehensive evaluation based on factors such as wireless device status, task saturation and network conditions and pre-allocates tasks to appropriate wireless devices before the upgrade task is performed.

9. A wireless ad hoc network upgrade method according to claim 8, characterized in that: The step eight: pre-upgrade verification and preparation also includes device status check, network connectivity test and upgrade package integrity verification.

10. A wireless ad hoc network upgrade method according to claim 9, characterized in that: Step nine: The integrity check also includes digital signature verification and hash value comparison steps, and the TLS / SSL protocol includes certificate verification and encryption channel establishment steps.