Method for setting working modes of wireless communication module software in batches
By burning firmware and IMEI numbers during the production process of wireless communication modules, and using QR code identification processing and synchronous configuration with remote servers, the flexibility problem of users need to change module software settings according to the usage scenarios is solved, and efficient and flexible configuration and remote maintenance are achieved to ensure the optimal operating status of the equipment in different scenarios.
Patent Information
- Application Number
- CN202411947169.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
The wireless communication module has been burned when it is produced and left-handed. Users need to change the software settings according to the product usage scenario, but they must use auxiliary peripheral electronic devices and tool software to limit flexibility and configuration efficiency.
By burning the firmware and writing a unique IMEI number during the production process of the wireless communication module, and performing QR code identification processing based on the IMEI number, the host device scans the QR code to obtain IMEI configuration information, synchronous configuration matching and issuance according to the target work usage scenario or customer classification, generating configuration files, and remote maintenance and differentiated services are performed through remote servers.
It realizes the unique identification and highly reliable identity information of each wireless communication module, enhances the security and traceability of the device, simplifies the device management and tracking process, improves configuration efficiency and flexibility, and ensures the optimal operating status of the device in different scenarios.
Smart Images

Figure CN119893496A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things remote configuration, and in particular to a method for batch setting of wireless communication module software working modes. Background Art
[0002] The wireless communication module itself does not have peripheral circuits. It is generally used as the core communication unit of the product. It is patched or plugged into the PCB board of the product and supplemented with other auxiliary components, such as power supply, SIM card and antenna, to provide communication and data interaction functions for the product. In addition, since the firmware burned on the production line is generally neutral software, after the hardware connection and power supply are normal, in order to make the module more suitable for the working scene of the product, customers often need to manually set the module software to maximize the performance of the module. The setting software can be sent from the hardware of the module itself to the external PC, and then the control instructions can be issued by the PC side tool, or the control instructions can be issued by the host computer. However, when the wireless communication module is produced, the software has been burned and some basic software settings have been made. If the user needs to change the software settings according to the product usage scenario, it must be completed with the help of auxiliary peripheral electronic devices and tool software, which limits the flexibility and configuration efficiency. Summary of the invention
[0003] Based on this, it is necessary for the present invention to provide a method for batch setting the working mode of wireless communication module software to solve at least one of the above technical problems.
[0004] To achieve the above purpose, a method for batch setting the working mode of wireless communication module software includes the following steps:
[0005] By burning firmware and writing a unique international mobile equipment identity code IMEI number during the production process corresponding to each wireless communication module, the IMEI number corresponding to each wireless communication module is generated; based on the IMEI number corresponding to each wireless communication module, a two-dimensional code identification process is performed on each wireless communication module to generate an identification two-dimensional code corresponding to each wireless communication module;
[0006] Scanning the identification QR code corresponding to each wireless communication module through the host device to obtain the IMEI configuration information corresponding to each wireless communication module; obtaining the target work usage scenario or customer classification, and based on the IMEI configuration information corresponding to each wireless communication module and according to the target work usage scenario or customer classification, performing synchronous configuration matching and issuing between the host device and the remote server to generate the configuration file corresponding to each wireless communication module;
[0007] Real-time monitoring and judgment are performed on the changes corresponding to the target work usage scenario or customer classification. If the target work usage scenario or customer classification changes, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network; if the target work usage scenario or customer classification does not change, the remote server is used to perform remote maintenance and differentiated services on the software working mode corresponding to each wireless communication module based on the configuration file, so as to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
[0008] Further, the performing QR code identification processing on each wireless communication module based on the IMEI number corresponding to each wireless communication module includes the following steps:
[0009] Perform module configuration requirement analysis on each wireless communication module to obtain networking configuration requirement information corresponding to each wireless communication module;
[0010] Encrypting and encoding the IMEI number and networking configuration requirement information corresponding to each wireless communication module to generate an IMEI configuration encryption code sequence corresponding to each wireless communication module;
[0011] Parse the IMEI configuration encryption code sequence corresponding to each wireless communication module and map the QR code format rules in combination with the international QR code encoding standard to generate the IMEI QR code data format corresponding to each wireless communication module;
[0012] Based on the IMEI two-dimensional code data format corresponding to each wireless communication module, two-dimensional code identification processing is performed on each wireless communication module to generate an identification two-dimensional code corresponding to each wireless communication module.
[0013] Furthermore, the networking configuration requirement information includes network configuration requirements, function configuration requirements and operation mode configuration requirements.
[0014] Further, the synchronous configuration matching and issuing between the host device and the remote server based on the IMEI configuration information corresponding to each wireless communication module and according to the target working use scenario or customer classification includes the following steps:
[0015] Based on the IMEI configuration information corresponding to each wireless communication module, the module scenario adaptation association analysis is performed on the target working scenario or customer classification to obtain the corresponding adaptation configuration requirements of each wireless communication module under the target working scenario or customer;
[0016] Sending a configuration request to a remote server using a host device according to the IMEI number in the IMEI configuration information corresponding to each wireless communication module, and performing module networking processing between each wireless communication module and the remote server based on the configuration request to generate a connection network between each wireless communication module and the remote server;
[0017] According to the connection network between each wireless communication module and the remote server, the remote server is used to synchronously match and distribute the adaptation configuration requirements corresponding to each wireless communication module in the target working scenario or customer, so as to generate the configuration files corresponding to each wireless communication module.
[0018] Furthermore, the configuration file includes network configuration, network protocol stack, network working mode, and target working scenario or scenario function configuration corresponding to the customer.
[0019] Furthermore, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network, including the following steps:
[0020] Perform a comprehensive network self-check on the current network status corresponding to the wireless communication module to obtain the current network status corresponding to the wireless communication module, including network signal strength, network delay and network bandwidth;
[0021] Based on the current network status corresponding to the wireless communication module, a network reconnection configuration is performed on the connection network between the corresponding wireless communication module and the remote server to generate a network reconnection parameter configuration between the wireless communication module and the remote server, including a retry time interval, a retry number, and an access point or base station selected for networking corresponding to the network reconnection;
[0022] Performing network reconnection processing between the wireless communication module and the remote server based on the network reconnection parameter configuration between the wireless communication module and the remote server to generate a reconnected network between the wireless communication module and the remote server;
[0023] A new configuration file is requested from the remote server according to the reconnected network between the wireless communication module and the remote server.
[0024] Furthermore, the remote maintenance and differentiated service of the software working mode corresponding to each wireless communication module by using a remote server based on the configuration file includes the following steps:
[0025] Using a remote server to perform real-time monitoring of the software working mode corresponding to each wireless communication module for failure or update, so as to obtain the monitoring results of the software working failure or update status corresponding to each wireless communication module;
[0026] If the software working failure or update status monitoring result is that the wireless communication module is faulty or needs to be updated, the remote server is used based on the configuration file to perform remote maintenance and differentiated response analysis on the corresponding wireless communication module that has a fault or needs to be updated, and a remote maintenance and differentiated service strategy corresponding to the faulty or updated module is generated;
[0027] According to the remote maintenance and differentiated service strategy corresponding to the faulty or updated module, remote maintenance and differentiated service are performed on the software working mode corresponding to the corresponding wireless communication module to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
[0028] Beneficial effects of the present invention:
[0029] The method for batch setting the working mode of wireless communication module software proposed by the present invention, compared with the prior art, has the beneficial effect that by burning the firmware and writing the unique international mobile equipment identity code (IMEI) number in the production process of each wireless communication module, each wireless communication module is ensured to have a unique identifier. The IMEI number, as the unique identifier of the device identity, plays a vital role in the wireless communication network. It can accurately distinguish different devices and provide guarantees for subsequent device management, service maintenance, fault diagnosis, etc. Through this process, highly reliable identity information can be provided for each module, and the security and traceability of the device can be enhanced. At the same time, by performing two-dimensional code identification processing on each wireless communication module, the IMEI number of each device is converted into a two-dimensional code form that is easy to identify and manage. This method not only facilitates the rapid identification of the equipment by the staff during the production, testing, transportation and installation process, but also can quickly obtain detailed information of the equipment by scanning the two-dimensional code, simplifying the process of equipment management and tracking. In some automated production lines, the two-dimensional code identification can greatly improve the production efficiency, reduce manual intervention, ensure the accuracy and reliability of information, and make the subsequent configuration, maintenance and other links more convenient and fast. Secondly, the host device scans the identification QR code corresponding to the wireless communication module to quickly obtain the IMEI configuration information of each module, and synchronizes the configuration between the host device and the remote server according to the target work usage scenario or customer classification. The key to this process is that the information obtained through the QR code scanning can help the system automatically identify the relevant configuration of the wireless communication module, and on this basis, accurately configure and optimize the device, thereby improving configuration efficiency and flexibility. This step is combined with the target work usage scenario or customer classification for configuration matching, so that the functions and working parameters of each wireless communication module can be tailored according to specific needs. This can not only improve the performance of the device, but also ensure the optimal operating state of the device in different scenarios, optimize resource allocation, and through remote configuration and distribution, the device can also update software and firmware in a timely manner to improve the security and functional scalability of the device. Finally, by real-time monitoring of changes in target work usage scenarios or customer classifications, and remotely adjusting the configuration of the wireless communication module based on the changes, when the work scenario or customer needs change, the wireless communication module can automatically request a new configuration file through the Internet, thereby achieving rapid adaptation and optimization. The core advantage of this process is that through real-time monitoring and dynamic adjustment, it can ensure that the wireless communication module always adapts to the current working environment and customer needs. When the usage scenario or customer classification changes, it can automatically identify and quickly reconfigure the equipment without human intervention to ensure that the equipment always operates in the optimal state, which can greatly improve the flexibility and adaptability of the equipment.On the other hand, when the scenario or customer needs have not changed, remote maintenance and differentiated services can still be performed based on existing configuration files. This feature can not only ensure the long-term stable operation of the equipment, but also provide personalized services according to the needs of different equipment and optimize the use of the equipment. For example, for some long-running equipment, performance optimization and software updates can be performed regularly through remote maintenance, which reduces the probability of equipment failure and extends the service life of the equipment, thereby ensuring that the equipment always maintains the best working condition in different scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:
[0031] Figure 1 A schematic flow chart of the steps of the method for batch setting the working mode of the wireless communication module software of the present invention;
[0032] Figure 2 for Figure 1 A flowchart showing the detailed steps of performing QR code identification processing on each wireless communication module based on the IMEI number corresponding to each wireless communication module as described in S1. DETAILED DESCRIPTION
[0033] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0034] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0035] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0036] To achieve this, please refer to Figure 1 to Figure 2 The present invention provides a method for batch setting of wireless communication module software working modes, the method comprising the following steps:
[0037] By burning firmware and writing a unique international mobile equipment identity code IMEI number during the production process corresponding to each wireless communication module, the IMEI number corresponding to each wireless communication module is generated; based on the IMEI number corresponding to each wireless communication module, a two-dimensional code identification process is performed on each wireless communication module to generate an identification two-dimensional code corresponding to each wireless communication module;
[0038] Scanning the identification QR code corresponding to each wireless communication module through the host device to obtain the IMEI configuration information corresponding to each wireless communication module; obtaining the target work usage scenario or customer classification, and based on the IMEI configuration information corresponding to each wireless communication module and according to the target work usage scenario or customer classification, performing synchronous configuration matching and issuing between the host device and the remote server to generate the configuration file corresponding to each wireless communication module;
[0039] Real-time monitoring and judgment are performed on the changes corresponding to the target work usage scenario or customer classification. If the target work usage scenario or customer classification changes, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network; if the target work usage scenario or customer classification does not change, the remote server is used to perform remote maintenance and differentiated services on the software working mode corresponding to each wireless communication module based on the configuration file, so as to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
[0040] In the embodiment of the present invention, please refer to Figure 1 As shown, it is a schematic diagram of the steps of the method for batch setting the working mode of the wireless communication module software of the present invention. In this example, the method for batch setting the working mode of the wireless communication module software includes the following steps:
[0041] S1: generating an IMEI number corresponding to each wireless communication module by burning firmware and writing a unique international mobile equipment identity code IMEI number during the production process corresponding to each wireless communication module; performing QR code identification processing on each wireless communication module based on the IMEI number corresponding to each wireless communication module to generate an identification QR code corresponding to each wireless communication module;
[0042] In an embodiment of the present invention, each wireless communication module is firstly burned with firmware through a dedicated burning tool (such as a programmer or a burner) to ensure that the firmware can support communication with a host device and a remote server. During the burning process, a specific firmware program is used to initialize the module, and a unique International Mobile Equipment Identity (IMEI) number is written into the storage chip of each wireless communication module. The IMEI number is a globally unique identifier used to identify the device. In order to ensure that the IMEI number of each module is not repeated, a number is allocated from a verified IMEI number pool and embedded into the non-volatile storage of the device. After the firmware and IMEI number are burned, a QR code is automatically identified and generated. The QR code contains the IMEI number corresponding to the wireless communication module and other necessary configuration information. The QR code is printed on an automated production line by a QR code generator. The QR code printing process uses a high-precision laser printer or a thermal transfer printer to ensure that the QR code is clear and readable. After the QR code is printed, the technician will attach it to each wireless communication module as the unique identification mark of the module, and finally generate an identification QR code corresponding to each wireless communication module.
[0043] S2: Scanning the identification QR code corresponding to each wireless communication module through the host device to obtain the IMEI configuration information corresponding to each wireless communication module; obtaining the target working scenario or customer classification, and based on the IMEI configuration information corresponding to each wireless communication module and according to the target working scenario or customer classification, performing synchronous configuration matching and issuing between the host device and the remote server to generate configuration files corresponding to each wireless communication module;
[0044] In an embodiment of the present invention, by using a host device to scan a two-dimensional code on a wireless communication module, a two-dimensional code scanner equipped with the host device can quickly identify and parse the information in the two-dimensional code. After scanning, the host device extracts the IMEI number and configuration information of the corresponding wireless communication module from the two-dimensional code. The information is then transmitted to a remote server and verified through a secure network connection. The remote server queries the corresponding target working use scenario or customer classification information through the received IMEI number. This process is achieved by connecting the host device and the configuration information in the server database. The server determines the working scenario (such as industrial equipment, consumer electronic equipment, etc.) that the module should be configured for and the customer's demand classification (such as customized requirements for different regions or business needs) based on the obtained IMEI number, and generates a configuration file that meets the requirements based on this information. The generated configuration file includes network configuration, network protocol stack, network working mode, and target working scenario or customer corresponding scenario function configuration, etc., and the configuration file is synchronized to the wireless communication module through the host device. The distribution process of this configuration file will be carried out through a reliable encryption protocol to ensure the security and integrity of the configuration file, and finally generate the configuration file corresponding to each wireless communication module.
[0045] S3: Monitor and judge the changes corresponding to the target work usage scenario or customer classification in real time. If the target work usage scenario or customer classification changes, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network; if the target work usage scenario or customer classification does not change, the remote server is used to perform remote maintenance and differentiated services for the software working mode corresponding to each wireless communication module based on the configuration file, so as to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
[0046] In an embodiment of the present invention, by real-time monitoring of changes in the target work usage scenario or customer classification, a dedicated monitoring system will continuously track and record the operating status of the module and related environmental changes (such as equipment usage location, business demand changes, etc.). When the system detects that the target work usage scenario or customer classification has changed, it will trigger a reconnection process. When the scenario or classification changes, the wireless communication module will automatically reconnect to the remote server, and the module will request a new configuration file from the server. The server generates and pushes a new configuration file based on the latest scenario or classification information. The new configuration file includes a new network configuration, a network protocol stack, a network working mode, and a scenario function configuration corresponding to the target work scenario or customer, etc., to adapt to the new work requirements; if no change in the usage scenario or customer classification is found during the real-time monitoring process, the remote server will continue to maintain the working status of the wireless communication module according to the previously issued configuration file. In addition, the remote server can also provide differentiated services based on the working status of the wireless communication module, such as remote fault diagnosis, software version upgrade, or customized function activation, etc. This remote maintenance and differentiated service operation is performed through a secure communication protocol to ensure the accuracy of the operation and data security.
[0047] Further, as an embodiment of the present invention, refer to Figure 2 As shown, Figure 1 In S1, the detailed step flow chart of performing a two-dimensional code identification process on each wireless communication module based on the IMEI number corresponding to each wireless communication module, in this embodiment, the two-dimensional code identification process on each wireless communication module based on the IMEI number corresponding to each wireless communication module includes the following steps:
[0048] S11: performing module configuration requirement analysis on each wireless communication module to obtain networking configuration requirement information corresponding to each wireless communication module;
[0049] In an embodiment of the present invention, the hardware and functional characteristics of each wireless communication module are analyzed in detail to confirm the networking configuration requirements of the module in a specific application scenario. This analysis needs to be combined with the model of the wireless communication module, the supported communication protocol, data transmission rate, network access method (such as 4G, 5G, Wi-Fi, etc.), and whether it supports specific encryption technology and other factors. By collecting and organizing the technical documents of each module, the supported frequency band, interface, protocol stack, power consumption requirements and other information are clarified, and then the corresponding network configuration requirements are formulated. In addition to the network configuration, it is also necessary to further analyze the functional configuration requirements of each module, such as whether it is necessary to support specific scheduling strategies, whether it is necessary to configure firewall strategies, data compression and other functions, and also by determining the operation mode configuration requirements of each module, such as whether the device supports smart standby, low power consumption mode, etc. The result of this stage is to form a detailed networking requirement list for each wireless communication module, and finally obtain the networking configuration requirement information corresponding to each wireless communication module, specifically including network configuration requirements, functional configuration requirements and operation mode configuration requirements.
[0050] S12: Encrypting and encoding the IMEI number and networking configuration requirement information corresponding to each wireless communication module to generate an IMEI configuration encryption code sequence corresponding to each wireless communication module;
[0051] In an embodiment of the present invention, the IMEI number of each wireless communication module and the corresponding networking configuration requirement information are encrypted to ensure that the device identity information has higher security during the networking process. A symmetric encryption algorithm, such as AES (Advanced Encryption Standard), is used to encrypt the IMEI number of each wireless communication module. In specific implementation, a unique IMEI number is first generated for each module, and then the IMEI number is encrypted using a preset encryption key to generate an encrypted IMEI number. This encryption process converts the original IMEI number into a ciphertext form that is difficult to reversely restore. Then, in combination with the previously analyzed networking configuration requirements, the same encryption key is used to encrypt other network configuration parameters (such as network access type, communication protocol selection, function configuration parameters, etc.), and the encrypted configuration information is packaged into an encrypted coding sequence in a specific format and the encrypted IMEI number. The output encrypted coding sequence includes the encrypted information of the IMEI number and the encrypted information of the other network configuration parameters, ensuring information security during network communication, and finally generating an IMEI configuration encrypted coding sequence corresponding to each wireless communication module.
[0052] S13: parsing the IMEI configuration encryption code sequence corresponding to each wireless communication module and mapping the QR code format rule in combination with the international QR code standard to generate the IMEI QR code data format corresponding to each wireless communication module;
[0053] In an embodiment of the present invention, by parsing the previously generated IMEI configuration encryption coding sequence, this parsing operation includes decoding the encrypted IMEI number and related network configuration requirement parameters, and restoring them into a format that can be used for two-dimensional code encoding. Specifically, the encrypted data is decrypted and parsed into the original IMEI number and various configuration requirements using a predefined decoding rule, and then the decrypted IMEI number and network configuration information are formatted and mapped using a two-dimensional code generation algorithm in accordance with international two-dimensional code encoding standards, such as ISO / IEC 18004. This process converts the encrypted data according to the requirements of the two-dimensional code data container to form a two-dimensional code data format, wherein each two-dimensional code contains a complete IMEI number and corresponding network configuration requirements. This format conversion process not only ensures the standardization of the two-dimensional code data, but also ensures that the two-dimensional code can be accurately read and decoded by a scanning instrument in actual applications, and finally generates the IMEI two-dimensional code data format corresponding to each wireless communication module.
[0054] S14: performing QR code identification processing on each wireless communication module based on the IMEI QR code data format corresponding to each wireless communication module to generate an identification QR code corresponding to each wireless communication module.
[0055] In an embodiment of the present invention, a unique identification QR code is generated for each wireless communication module by using the previously generated IMEI QR code data format. First, the IMEI QR code data format corresponding to each wireless communication module is converted into an actual QR code image using a QR code generation tool (such as an open source QR code library such as Zxing). In this process, it is necessary to ensure that the fault tolerance level of the QR code meets the requirements. For example, a higher error correction level is used to ensure that even if the QR code is partially damaged or blurred during transportation, it can still be correctly scanned and recognized. The QR code generation tool will automatically convert the IMEI and related network configuration data into an image format according to standard QR code rules. The generated QR code not only contains the module's identity information (IMEI number) and network configuration requirements, but also includes corresponding security encryption information to ensure the security and integrity of the data. The completed identification QR code will be attached to the wireless communication module. Through this QR code, the module information can be quickly identified, and rapid configuration and networking can be achieved, and finally an identification QR code corresponding to each wireless communication module is generated.
[0056] Further, the synchronous configuration matching and issuing between the host device and the remote server based on the IMEI configuration information corresponding to each wireless communication module and according to the target working use scenario or customer classification includes the following steps:
[0057] Based on the IMEI configuration information corresponding to each wireless communication module, the module scenario adaptation association analysis is performed on the target working scenario or customer classification to obtain the corresponding adaptation configuration requirements of each wireless communication module under the target working scenario or customer;
[0058] In an embodiment of the present invention, when performing scene adaptation association analysis of wireless communication modules, the IMEI (International Mobile Equipment Identity) configuration information of each wireless communication module is first obtained, and the configuration information includes the hardware information and factory settings of each module. Different working scenes or customers are classified, and based on the analysis of the needs of the target scenes or customers, an adaptation model between each module and different scenes or customers is established. For example, in a smart home scene, a low-power module is required; in an industrial monitoring scene, the module is required to have higher anti-interference ability and long-distance communication ability. Through the systematic organization of IMEI information, data mining tools or special software platforms (such as scene adaptation analysis platforms) are used to classify the modules according to the specific needs of each scene or customer, and identify the adaptation configuration requirements. These configuration requirements include wireless communication frequency bands, protocol stacks, maximum data throughput, power consumption modes, etc., and finally the corresponding adaptation configuration requirements of each wireless communication module in the target working scene or customer are obtained.
[0059] Preferably, a configuration request is sent to a remote server using a host device according to the IMEI number in the IMEI configuration information corresponding to each wireless communication module, and module networking processing is performed between each wireless communication module and the remote server based on the configuration request to generate a connection network between each wireless communication module and the remote server;
[0060] In an embodiment of the present invention, based on the module adaptation demand analysis, a host device is used to send a configuration request to a remote server. First, the IMEI number of each wireless communication module is read by the host device. The host device sends the IMEI number to the remote server through the communication interface (such as UART, SPI, etc.) between the module. The remote server queries the basic information of the corresponding module according to the received IMEI number, and then generates a specific configuration request. The content of the configuration request includes the network configuration requirements, working mode, required protocol stack, frequency band information, etc. of the target module. When the remote server receives the configuration request, it will generate a configuration request according to the built-in module database and the target scenario / customer. According to the needs of users, appropriate network parameters are selected, and corresponding module networking configuration is generated. In order to ensure the accuracy and efficiency of configuration requests, the host device and the remote server interact using a secure and efficient communication protocol (such as HTTPS or MQTT). Subsequently, the remote server sends the corresponding configuration file information to the host device according to the IMEI number of the module or directly establishes a connection with the module to complete the module networking processing, realizing accurate configuration requests and networking processing based on the IMEI number and scenario requirements, ensuring that a stable connection network is established between each wireless communication module and the remote server, and finally generating a connection network between each wireless communication module and the remote server.
[0061] Preferably, the remote server is used to synchronously match and distribute the adaptation configuration requirements of each wireless communication module in the target working scenario or customer according to the connection network between each wireless communication module and the remote server, so as to generate configuration files corresponding to each wireless communication module.
[0062] In an embodiment of the present invention, after a connection network is established between the host device and the remote server, the remote server performs synchronous configuration matching and sends down each wireless communication module according to the target working scenario or the adaptation requirements of the customer. Specifically, the remote server checks the connection of each wireless communication module to ensure that its network connection is stable and the configuration request has been correctly received. Then, the remote server sends the configuration data such as network configuration, protocol stack, working mode, etc. that match the target scenario to the module according to the pre-configured adaptation rules. The content of the configuration file includes but is not limited to the network configuration (such as IP address, subnet mask, route, etc.), network protocol stack (such as TCP / IP protocol stack or other specific protocol stack), and specific working mode (such as TCP / IP protocol stack or other specific protocol stack). Cellular mode, Wi-Fi mode, Bluetooth mode, etc.). In addition, according to the target working scenario or customer needs, it will also include specific scenario function configurations, such as data encryption mode, transmission rate limit, bandwidth allocation strategy, etc. These configurations will be transmitted to the wireless communication module through a secure communication channel to ensure that the module can work normally in the target scenario and meet the customer's business needs. After the configuration is issued, the module will execute the corresponding configuration validation process, automatically load and apply these configuration files, ensure that the module can operate normally according to different scenario requirements, and finally generate configuration files corresponding to each wireless communication module, including network configuration, network protocol stack, network working mode, and scenario function configuration corresponding to the target working scenario or customer.
[0063] Furthermore, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network, including the following steps:
[0064] Perform a comprehensive network self-check on the current network status corresponding to the wireless communication module to obtain the current network status corresponding to the wireless communication module, including network signal strength, network delay and network bandwidth;
[0065] In an embodiment of the present invention, a network self-check is performed on the wireless communication module to obtain the current network status of the module. The network self-check process detects key indicators such as signal strength, delay and bandwidth by calling the network diagnostic function of the hardware layer. The specific operation is first, through the embedded processor of the wireless communication module, a built-in communication protocol stack (such as TCP / IP protocol stack) is used to perform base station signal scanning, the signal strength is detected and quantified as a unit of dBm value, and then, the built-in ping command or Traceroute command is used to connect to the remote server, the round-trip time is measured to calculate the delay, and the bandwidth of the current network is tested by a bandwidth testing tool (such as iperf) to obtain the bandwidth value in Mbps. According to the above self-check results, a report on the current network status can be generated, which includes signal strength, delay and bandwidth information, and finally the current network status corresponding to the wireless communication module is obtained.
[0066] Preferably, a network reconnection configuration is performed on the connection network between the corresponding wireless communication module and the remote server based on the current network state corresponding to the wireless communication module, so as to generate a network reconnection parameter configuration between the wireless communication module and the remote server, including a retry time interval, a retry number, and an access point or base station selected for networking corresponding to the network reconnection;
[0067] In an embodiment of the present invention, the connection network between the wireless communication module and the remote server is reconfigured based on the previously acquired network status. First, based on the detection results of signal strength, delay and bandwidth, it is determined whether network reconnection is required. If the signal strength is lower than the preset threshold or the delay exceeds the tolerance range, the network reconnection configuration phase is entered. At this time, the retry time interval, number of retries and access point or base station selection of the network reconnection are adjusted. Specifically, if the network status is not good, a shorter retry time interval (for example, retry once every 5 seconds) can be set and the number of retries can be increased (for example, a maximum of 5 retries). The selection of the access point or base station is optimized based on the current network status. If the current network is connected to a base station with a weak signal, an attempt can be made to switch to a base station or access point with stronger coverage. The generated network reconnection parameter configuration will be used as the configuration basis for the subsequent network reconnection process, and finally a network reconnection parameter configuration between the wireless communication module and the remote server is generated.
[0068] Preferably, a network reconnection process is performed between the wireless communication module and the remote server based on the network reconnection parameter configuration between the wireless communication module and the remote server to generate a reconnected network between the wireless communication module and the remote server;
[0069] In an embodiment of the present invention, by utilizing previously configured network reconnection parameters, an actual network reconnection operation is performed between the wireless communication module and the remote server. This process includes two stages: connection configuration and connection recovery. First, the network reconnection mechanism is started according to the reconnection parameter configuration. The retry time interval is performed according to a preset interval. A network status detection is performed in each retry cycle to confirm whether the network conditions have improved. If the conditions have improved, the module will attempt to re-establish a connection with the remote server and use the selection information of the base station or access point to configure the communication channel. After the connection is successfully established, the network connection between the wireless communication module and the remote server is updated to ensure smooth data transmission. If the reconnection fails, multiple rounds of attempts will be made according to a predetermined number of retries until a successful connection is achieved or the upper limit of the number of retries is reached. During the entire reconnection process, changes in the network status will be monitored in real time, and detailed logs will be recorded for reconnection failures, ultimately generating a reconnected network between the wireless communication module and the remote server.
[0070] Preferably, a new configuration file is requested from the remote server according to the reconnection network between the wireless communication module and the remote server.
[0071] In an embodiment of the present invention, based on the previously established reconnected network, the wireless communication module will initiate a request to the remote server to obtain a new configuration file. The specific operation is that the wireless communication module sends a configuration request message through the established network connection. The request message includes the device identifier of the module and the current network status information, ensuring that the remote server can provide a suitable configuration file according to the network conditions. At this time, the module will use the TLS / SSL encryption protocol to ensure the security of communication and prevent data leakage during the request process. After receiving the request, the remote server will return a configuration file adapted to the current network conditions based on the device information and current network status contained in the request. The configuration file usually includes but is not limited to a new network configuration, network protocol stack, network working mode, and target working scenario or customer-corresponding scenario function configuration, etc. After receiving the configuration file, the wireless communication module will automatically parse the file and apply the configuration therein to ensure that the module can operate stably and efficiently in the new network environment.
[0072] Furthermore, the remote maintenance and differentiated service of the software working mode corresponding to each wireless communication module by using a remote server based on the configuration file includes the following steps:
[0073] Using a remote server to perform real-time monitoring of the software working mode corresponding to each wireless communication module for failure or update, so as to obtain the monitoring results of the software working failure or update status corresponding to each wireless communication module;
[0074] In an embodiment of the present invention, the remote server monitors the operating status of each module in real time by establishing a stable communication connection with the wireless communication module. First, the remote server periodically sends a diagnostic request to the wireless communication module to obtain key information such as the operating log, software version, CPU usage, and memory occupancy of each module. If the module is in a normal working state, the server records the current operation data, and if an abnormality or error is detected (such as communication timeout, program crash, or abnormal restart, etc.), the module will be automatically marked as a "fault" state. At the same time, the server will also determine whether there is an update requirement by comparing the current software version of the module with the latest version. In order to improve the fault detection accuracy, the monitoring frequency of the module can be set, such as sending a data request every 10 minutes, issuing an alarm for a timed-out or failed module, and entering a deeper diagnostic process. In this way, the remote server can fully and real-time grasp the software working status and update requirements of each wireless communication module, discover faults or update status in time, and finally obtain the software working fault or update status monitoring results corresponding to each wireless communication module.
[0075] Preferably, if the software working failure or update status monitoring result is that the wireless communication module fails or needs to be updated, the remote server is used to perform remote maintenance and differentiated response analysis on the corresponding wireless communication module that has a failure or needs to be updated based on the configuration file, and a remote maintenance and differentiated service strategy corresponding to the failure or the module that needs to be updated is generated;
[0076] In an embodiment of the present invention, the remote server determines whether each wireless communication module needs remote maintenance based on the previously obtained fault or update status monitoring results. First, the server analyzes the specific problems of each module based on a preset configuration file. For example, for the "software failure" state, the server will adopt different repair strategies based on the fault type (such as memory overflow, communication packet loss, signal interference, etc.) and historical fault data. For "update requirements", the server will generate update strategies based on the difference between the module's software version and the current version. These strategies include reloading module firmware, repairing configuration files, repairing network settings, etc. The server will formulate differentiated response plans for the failure or update requirements of each wireless communication module. For example, for modules that restart frequently, the server will choose to directly restart remotely and diagnose whether it has returned to normal; for modules that need to update software versions, the server will push new firmware versions and make configuration adjustments. At the same time, these differentiated response strategies will be generated by the remote server and saved in the configuration file for subsequent execution, and finally generate remote maintenance and differentiated service strategies corresponding to the faulty or updated modules.
[0077] Preferably, remote maintenance and differentiated service are performed on the software working mode corresponding to the wireless communication module according to the remote maintenance and differentiated service strategy corresponding to the faulty or update-needed module, so as to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
[0078] In an embodiment of the present invention, by starting to perform remote maintenance operations on wireless communication modules that are faulty or need to be updated according to the previously generated maintenance strategy, the server will first select an appropriate operation according to the specific problem of each module. For example, for a module that needs to be restarted due to a software crash, the server will send a restart command to the module and perform real-time monitoring to ensure that the module can be successfully started and restored to a normal state. If a module needs to be updated, the server will automatically push the latest software version, and during the push process, the server will automatically adjust the configuration according to the current configuration of the module to ensure that the update process is not disturbed. After the update is completed, the server will perform status verification to confirm whether the software update is successful and check whether the updated module has returned to a normal working state. If the update fails, the server will make a second attempt according to the preset emergency response strategy, or directly switch to the backup plan. In addition, the server will generate a log file after the operation is completed to record the maintenance and update process of each module for subsequent analysis and tracking. In this way, the remote server can perform accurate remote maintenance and differentiated services for different types of faults and update requirements, ensuring that each wireless communication module can maintain the best working state, and finally realizing remote maintenance and differentiated service work corresponding to the wireless communication module.
[0079] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0080] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for batch setting the working mode of wireless communication module software, characterized in that: The following steps are involved: By burning firmware and writing a unique international mobile equipment identity code IMEI number during the production process corresponding to each wireless communication module, the IMEI number corresponding to each wireless communication module is generated; based on the IMEI number corresponding to each wireless communication module, a two-dimensional code identification process is performed on each wireless communication module to generate an identification two-dimensional code corresponding to each wireless communication module; Scanning the identification QR code corresponding to each wireless communication module through the host device to obtain the IMEI configuration information corresponding to each wireless communication module; obtaining the target work usage scenario or customer classification, and based on the IMEI configuration information corresponding to each wireless communication module and according to the target work usage scenario or customer classification, performing synchronous configuration matching and issuing between the host device and the remote server to generate the configuration file corresponding to each wireless communication module; Monitor and judge the changes corresponding to the target work usage scenario or customer classification in real time. If the target work usage scenario or customer classification changes, the corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network; If the target work usage scenario or customer classification has not changed, the remote server is used to perform remote maintenance and differentiated services on the software working mode corresponding to each wireless communication module based on the configuration file to achieve remote maintenance and differentiated services corresponding to the wireless communication module.
2. The method for batch setting the working mode of wireless communication module software according to claim 1, characterized in that: The two-dimensional code identification processing of each wireless communication module based on the IMEI number corresponding to each wireless communication module includes the following steps: Perform module configuration requirement analysis on each wireless communication module to obtain networking configuration requirement information corresponding to each wireless communication module; Encrypting and encoding the IMEI number and networking configuration requirement information corresponding to each wireless communication module to generate an IMEI configuration encryption code sequence corresponding to each wireless communication module; Parse the IMEI configuration encryption code sequence corresponding to each wireless communication module and map the QR code format rules in combination with the international QR code encoding standard to generate the IMEI QR code data format corresponding to each wireless communication module; Based on the IMEI two-dimensional code data format corresponding to each wireless communication module, two-dimensional code identification processing is performed on each wireless communication module to generate an identification two-dimensional code corresponding to each wireless communication module.
3. The method for batch setting the working mode of wireless communication module software according to claim 2, characterized in that: The networking configuration requirement information includes network configuration requirements, function configuration requirements and operation mode configuration requirements.
4. The method for batch setting the working mode of wireless communication module software according to claim 1, characterized in that: The method of performing synchronous configuration matching and issuing between the host device and the remote server based on the IMEI configuration information corresponding to each wireless communication module and according to the target working use scenario or customer classification includes the following steps: Based on the IMEI configuration information corresponding to each wireless communication module, a module scenario adaptation correlation analysis is performed on the target work usage scenario or customer classification to obtain the corresponding adaptation configuration requirements of each wireless communication module under the target work scenario or customer.
5. The method for batch setting the working mode of wireless communication module software according to claim 4, characterized in that: The configuration file includes network configuration, network protocol stack, network working mode, and target working scenario or scenario function configuration corresponding to the customer.
6. The method for batch setting the working mode of wireless communication module software according to claim 1, characterized in that: The corresponding wireless communication module requests a new configuration file from the remote server by reconnecting to the network, including the following steps: Perform a comprehensive network self-check on the current network status corresponding to the wireless communication module to obtain the current network status corresponding to the wireless communication module, including network signal strength, network delay and network bandwidth; Based on the current network status corresponding to the wireless communication module, the network connection between the corresponding wireless communication module and the remote server is configured for network reconnection to generate a network reconnection parameter configuration between the wireless communication module and the remote server, including the retry time interval, number of retries and access point or base station selected for networking corresponding to the network reconnection.
7. The method for batch setting the working mode of wireless communication module software according to claim 6, characterized in that: The corresponding wireless communication module requests a new configuration file from the remote server through reconnecting the network further comprising the following steps: Performing network reconnection processing between the wireless communication module and the remote server based on the network reconnection parameter configuration between the wireless communication module and the remote server to generate a reconnected network between the wireless communication module and the remote server; A new configuration file is requested from the remote server according to the reconnected network between the wireless communication module and the remote server.
8. The method for batch setting the working mode of wireless communication module software according to claim 1, characterized in that: The remote maintenance and differentiated service of the software working mode corresponding to each wireless communication module by using a remote server based on the configuration file includes the following steps: Using a remote server to perform real-time monitoring of the software working mode corresponding to each wireless communication module for failure or update, so as to obtain the monitoring results of the software working failure or update status corresponding to each wireless communication module; If the software fails or the update status monitoring result shows that the wireless communication module fails or needs to be updated, the remote server is used based on the configuration file to perform remote maintenance and differentiated response analysis on the corresponding wireless communication module that has a fault or needs to be updated, and a remote maintenance and differentiated service strategy corresponding to the module that fails or needs to be updated is generated.
9. The method for batch setting the working mode of wireless communication module software according to claim 1, characterized in that: The remote maintenance and differentiated service of the software working mode corresponding to each wireless communication module by using a remote server based on the configuration file includes the following steps: According to the remote maintenance and differentiated service strategy corresponding to the faulty or updated module, remote maintenance and differentiated service are performed on the software working mode corresponding to the corresponding wireless communication module to realize remote maintenance and differentiated service work corresponding to the wireless communication module.
10. The method for batch setting the working mode of wireless communication module software according to claim 4, characterized in that: The method of performing synchronous configuration matching and issuing between the host device and the remote server based on the IMEI configuration information corresponding to each wireless communication module and according to the target working use scenario or customer classification also includes the following steps: Sending a configuration request to a remote server using a host device according to the IMEI number in the IMEI configuration information corresponding to each wireless communication module, and performing module networking processing between each wireless communication module and the remote server based on the configuration request to generate a connection network between each wireless communication module and the remote server; According to the connection network between each wireless communication module and the remote server, the remote server is used to synchronously match and distribute the adaptation configuration requirements corresponding to each wireless communication module in the target working scenario or customer, so as to generate the configuration files corresponding to each wireless communication module.