Mining equipment remote upgrading method and device based on red-mine operating system

Through the remote upgrade method based on the Minhong operating system, the ground control platform and remote update intermediate devices are used to solve the time-consuming, labor-intensive, security risks and compatibility problems of traditional update methods, and efficient and reliable remote update of mining equipment is achieved.

CN119829110AInactive Publication Date: 2025-04-15TAIYUAN INST OF CHINA COAL TECH & ENG GROUP +1

Patent Information

Application Number
CN202411860727.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional mining equipment update methods are time-consuming and labor-intensive, and have security risks. The update process is cumbersome and error-prone, making it difficult to adapt to the diverse communication interfaces, storage memory and update methods of equipment, resulting in compatibility issues and increasing the complexity and cost of updates.

Method used

The remote upgrade method of mining equipment based on the Minhong operating system is adopted, and the update package is uploaded and instructions are issued to read the current system version of the equipment through the ground management and control platform. The remote update intermediate device is used to generate differential update packages and convert protocols to achieve remote and fast equipment updates.

Benefits of technology

It improves the efficiency and reliability of remote updates, reduces the time required for updates, enhances the compatibility of update methods, reduces update costs and security risks, and realizes unified and convenient remote updates of coal mine equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829110A_ABST
    Figure CN119829110A_ABST
Patent Text Reader

Abstract

The invention provides a mining equipment remote upgrading method and device based on a mining red operating system, and relates to the technical field of industrial Internet of Things, and the method comprises the steps: uploading an updating package on a ground management and control platform, and issuing an instruction to a remote updating intermediate device, so as to read the current system version of a mining equipment controller; the remote updating intermediate device is in non-inductive connection with the mining equipment controller according to the mine red system, and uploads current system version information to the ground management and control platform through the remote updating intermediate device; the ground management and control platform compares a current system version with version information in the update package to generate a differential update package; and partitioning the differential update packet and determining an update sequence, and sending an update packet to the remote update intermediate device according to the update sequence. Through the mine operating system and the differential updating, the remote, efficient and reliable updating of the mine equipment is realized, the workload of operators is reduced, and the equipment maintenance and updating efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial Internet of Things, and in particular to a method and device for remote upgrading of mining equipment based on a mining operating system. Background Art

[0002] The traditional update method relies on operators to go deep underground and update manually (such as USB flash drives or PC near-field wired connections). This process is time-consuming and labor-intensive, seriously reducing the update efficiency and affecting the normal production rhythm of the coal mine.

[0003] Since the explosion-proof shell of the equipment needs to be opened for updating, it not only increases the difficulty of the operation, but also brings additional safety risks. At the same time, each step in the update process requires manual operation, making the whole process cumbersome and error-prone. The update version relies on manual records, which lacks systematicity and accuracy. This makes version information easy to lose or confuse, difficult to track and manage, and brings great inconvenience to subsequent maintenance and upgrade work.

[0004] The communication interfaces, storage memories and update methods of mining equipment controllers are different. Traditional update methods often have difficulty adapting to this diversity, resulting in frequent compatibility issues during the update process, which increases the complexity and uncertainty of the update. The lack of effective remote update methods makes it particularly difficult to update equipment in the special environment of coal mines. This not only limits the flexibility and timeliness of the update, but also increases the update cost and safety risks. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and device for remote upgrading of mining equipment based on the Mine Hong operating system, thereby improving the efficiency and reliability of remote updating.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] In a first aspect, a method for remotely upgrading mining equipment based on the Kuanghong operating system is provided, the method comprising:

[0008] Upload the update package on the ground control platform and send instructions to the remote update intermediate device to read the current system version of the mining equipment controller;

[0009] The remote update intermediate device connects to the mining equipment controller according to the Kuanghong system without any sense, and uploads the current system version information to the ground control platform through the remote update intermediate device;

[0010] The ground control platform compares the current system version with the version information in the update package to generate a differential update package; divides the differential update package into blocks and determines the update sequence, and sends the update package to the remote update intermediate device according to the update sequence;

[0011] The remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller;

[0012] The mining equipment controller receives the converted update package and writes it to the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform through the remote update intermediate device in real time to control the update process.

[0013] Furthermore, the remote update intermediate device is connected to the mining equipment controller according to the Kuanghong system, and the current system version information is uploaded to the ground control platform through the remote update intermediate device, including:

[0014] The remote update intermediate device receives the data packet containing the version request information and calculates the checksum of the data packet;

[0015] The remote update intermediate device connects to the mining equipment controller without any sense, and sends the version request information and checksum to the mining equipment controller;

[0016] The mining equipment controller receives the version request information, verifies and parses the request information to identify the request type;

[0017] According to the request type, obtain the current system version information, package the current system version information into a response data packet, and send it to the remote update intermediate device:

[0018] The remote update intermediate device receives the response data packet, verifies the checksum and parses the response data packet to extract the current system version information of the mining equipment controller; packages the current system version information, attaches a new checksum, and sends it to the ground control platform.

[0019] Furthermore, the ground control platform compares the current system version with the version information in the update package to generate a differential update package; divides the differential update package into blocks and determines an update sequence, and sends the update package to the remote update intermediate device according to the update sequence, including:

[0020] The ground control platform receives the current system version information of the remote update intermediate device, and compares the current system version information with the version information in the update package to determine whether to update and obtain a comparison result;

[0021] According to the comparison results, the ground control platform initializes the relevant parameters of the harmony search, including the size of the harmony memory bank, the number of harmony searches, and the harmony memory bank consideration rate;

[0022] In each harmony search iteration, a portion of existing harmonies is randomly determined from the harmony memory library, and the determined harmonies are adjusted to generate new harmonies;

[0023] Evaluate the adaptability of new harmonies to update the harmonic memory bank;

[0024] Repeating the process of harmonic search iteration and updating the harmonic memory library until a preset number of iterations is reached to determine a final segmentation scheme;

[0025] According to the final segmentation scheme, the differential update package is segmented into multiple small blocks, and each small block contains one or more logically related update units;

[0026] A sequence number is assigned to each small block, and each update package small block is sent to the remote update intermediate device according to the sequence number.

[0027] Furthermore, the calculation formula of the fitness of the new harmony is:

[0028]

[0029] Where F(x) represents the fitness value of the new harmony x; α, β, γ represent weight coefficients; N b Indicates the number of small blocks after segmentation; s i Indicates the size of the i-th small block; i indicates the index variable; N u Represents the number of logically related update units divided into different small blocks; N t Indicates the total number of update units in the update package.

[0030] Further, the remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller, including:

[0031] The remote update middleware receives the update package data packets from the ground control platform in sequence, parses them, and extracts small blocks of data;

[0032] Perform protocol conversion on the small data blocks, including data format adjustment, data encryption and verification code addition operations, to obtain the small update package blocks after protocol conversion;

[0033] The small update package blocks after protocol conversion are sent to the mining equipment controller according to the communication protocol of the mining equipment controller.

[0034] Further, the small block of data is converted to a protocol, including data format adjustment, data encryption and adding a checksum, to obtain a small block of update packages after protocol conversion, including:

[0035] Adjust the format of small blocks of data, including reorganization of data structure, conversion of data types, addition and subtraction of data fields, to obtain data with adjusted format;

[0036] The format-adjusted data is encrypted to obtain encrypted data, and a checksum is added to the end of the encrypted data to obtain data with the checksum added, that is, the update package block after the protocol conversion.

[0037] Furthermore, the mining equipment controller receives the converted update package and writes it into the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform through the remote update intermediate device in real time to control the update process, including:

[0038] The mining equipment controller receives the converted update package small blocks and writes each update package small block into a designated system update partition;

[0039] During the process of writing each small block of the update package, the writing status is detected in real time to generate an information data packet containing the current update progress and status, and sent to the ground control platform through the remote update intermediate device;

[0040] The ground control platform receives the information data packet of the current update progress and status, and parses it to obtain the current update status information;

[0041] Based on the update status information, the update process is monitored and controlled, including continuing to send update packages, pausing updates, and rolling back updates to control the update process.

[0042] In the second aspect, a remote upgrade device for mining equipment based on the MineHong operating system includes a processor, a memory and a communication component.

[0043] Furthermore, the processor is used to receive instructions, process instructions, and execute communication protocol conversion tasks, and the memory is used to cache update package data.

[0044] Furthermore, the communication component is used to communicate with the mining equipment controller, the underground industrial Internet and the ground management and control platform.

[0045] The above solution of the present invention includes at least the following beneficial effects:

[0046] The update package is directly uploaded through the ground control platform, and instructions are issued to read the current system version of the mining equipment controller, realizing remote and fast update startup. Combining differential update package technology and block update strategy, the amount of data that needs to be transmitted is greatly reduced, the time required for update is shortened, and the update efficiency is improved. Utilizing the senseless connection characteristics of the Kuanghong system, the remote update intermediate device can easily connect to various types of mining equipment controllers, regardless of their communication interface, storage memory or update method. This greatly enhances the compatibility of the update method, allowing various equipment in coal mines to achieve unified and convenient remote updates.

[0047] By dividing the differential update package into blocks and determining the update sequence, the present invention ensures the orderly progress of the update process. At the same time, the mining equipment controller feeds back the update status to the ground control platform in real time during the update process, so that the entire update process can be monitored and controlled, and the reliability of the update is improved. The traditional update method requires operators to go deep underground to operate, which is not only time-consuming and labor-intensive, but also has safety hazards. The remote update method implemented by the present invention does not require operators to go down the mine, greatly reducing the update cost and improving the safety of the operation. Through the protocol conversion technology, the remote update intermediate device can convert the update package into a format that can be understood by the mining equipment controller, realizing the optimal utilization of resources. This not only avoids the repeated development of update tools for different communication protocols, but also reduces resource waste and improves the operating efficiency of the overall system. The update process of mining equipment is incorporated into the unified management of the ground control platform, realizing the automation and intelligence of the update process. This not only improves the intelligent management level of coal mines, but also provides strong support for future intelligent construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of a method for remote upgrading mining equipment based on the Mine Hong operating system provided by an embodiment of the present invention.

[0049] Figure 2 It is a structural diagram of a remote upgrading device for mining equipment based on the Mine Hong operating system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] like Figure 1As shown, an embodiment of the present invention proposes a remote upgrade method for mining equipment based on the Mine Hong operating system, and the method includes the following steps:

[0052] Step 11, upload the update package on the ground control platform, and send instructions to the remote update intermediate device to read the current system version of the mining equipment controller;

[0053] Step 12, the remote update intermediate device connects to the mining equipment controller according to the Kuanghong system, and uploads the current system version information to the ground control platform through the remote update intermediate device;

[0054] Step 13: The ground control platform compares the current system version with the version information in the update package to generate a differential update package; divides the differential update package into blocks and determines the update sequence, and sends the update package to the remote update intermediate device according to the update sequence;

[0055] Step 14, the remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller;

[0056] Step 15, the mining equipment controller receives the converted update package and writes it into the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform via the remote update intermediate device in real time to control the update process.

[0057] In the embodiment of the present invention, by uploading the update package on the ground control platform, the remote start of the update process and the rapid acquisition of version information are realized. The update process is simplified, manual intervention is reduced, and the update efficiency is improved. The remote update intermediate device uses the senseless connection feature of the Kuanghong system to easily connect to the mining equipment controller and quickly upload the current system version information to the ground control platform. The compatibility of the update system is enhanced, so that mining equipment with different communication interfaces, storage memories and update methods can achieve seamless connection and accurate transmission of version information.

[0058] The ground control platform generates a differential update package by comparing the current system version with the version information in the update package, and divides it into blocks and determines the update sequence. This reduces the amount of data that needs to be transmitted, shortens the update time, and ensures the orderly progress of the update process. The differential update package technology also reduces the storage space occupied by the mining equipment controller and improves the update efficiency. After the remote update intermediate device receives the update package, it realizes the cross-protocol transmission of the update package, so that mining equipment with different communication protocols can receive the adapted update package, further enhancing the compatibility of the update system. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform in real time through the remote update intermediate device, so that the entire update process can be monitored and controlled. The reliability and stability of the update process are guaranteed, so that the ground control platform can timely understand the update progress and possible problems, and take corresponding countermeasures.

[0059] In a preferred embodiment of the present invention, the above step 11, uploading the update package on the ground control platform and sending instructions to the remote update intermediate device to read the current system version of the mining equipment controller, may include:

[0060] The maintenance personnel of the ground control platform first prepare the corresponding software update package according to the needs of the mining equipment controller. This update package may contain new functions, performance optimization, security patches, etc. The update package will be packaged into a compressed file or a specific format file for easy transmission and storage. The maintenance personnel select the "Upload Update Package" function through the user interface of the ground control platform. The platform will pop up a file selection dialog box, and the maintenance personnel will select the prepared update package file from the local computer and click "Upload".

[0061] The ground control platform starts uploading the update package to its server or designated storage location and displays the upload progress. After the upload is completed, the maintenance personnel need to select the mining equipment controller that needs to be updated on the ground control platform. The platform will provide a device list showing the mining equipment controllers that are currently connected or identifiable and their related information (such as device ID, model, current system version, etc.).

[0062] After selecting the target device, the maintenance personnel clicks "Read current system version" or a similar button. The ground control platform generates an instruction to read the version information, which contains the identification information of the target device and the specific command to request to read the system version. The ground control platform sends the instruction to read the version information to the remote update intermediate device through a communication network (such as a wired network, a wireless network, a private network, etc.). After receiving the instruction, the remote update intermediate device parses the instruction content and determines the specific mining equipment controller to be connected based on the identification information of the target device. The remote update intermediate device uses the senseless connection feature of the Mine Hong system to establish a communication connection with the specified mining equipment controller. After the connection is established, the remote update intermediate device sends a command to read the system version to the mining equipment controller. After receiving the command, the mining equipment controller performs the corresponding operation to read its current system version information. The mining equipment controller sends the read system version information back to the ground control platform through the remote update intermediate device. After receiving the version information, the remote update intermediate device may simply process or encapsulate it and then send it to the ground control platform. After receiving the version information, the ground control platform parses and displays it to the maintenance personnel. Maintenance personnel can view the system version information of the current device and compare it with the version information in the update package to decide whether to update.

[0063] Assume that a coal mine has a mining equipment controller of model XYZ-123, and its current system version is 1.0.0. Now, the maintenance personnel of the coal mine are going to upgrade it to version 1.0.1. The maintenance personnel download the update package of version 1.0.1 of the XYZ-123 controller and save it on the local computer. The maintenance personnel log in to the ground control platform, select the "Upload Update Package" function, and select the update package file just downloaded from the local computer to upload. After the upload is completed, the maintenance personnel finds the XYZ-123 controller in the device list and selects it. Click the "Read Current System Version" button, and the ground control platform generates and sends a command to read the version information to the remote update intermediate device. After receiving the command, the remote update intermediate device establishes a communication connection with the XYZ-123 controller and sends a command to read the version information. After receiving the command, the XYZ-123 controller reads its current system version information (1.0.0) and sends it back to the ground control platform through the remote update intermediate device. After receiving the version information, the ground control platform displays it to the maintenance personnel. The maintainer sees that the current version is 1.0.0 and confirms that it needs to be updated to version 1.0.1.

[0064] In a preferred embodiment of the present invention, the above step 12, the remote update intermediate device is connected to the mining equipment controller according to the Mine Hong system, and the current system version information is uploaded to the ground control platform through the remote update intermediate device, which may include:

[0065] Step 121, the remote update intermediate device receives a data packet including version request information, and calculates a checksum of the data packet;

[0066] Step 122, the remote update intermediate device senselessly connects to the mining equipment controller, and sends the version request information and the checksum to the mining equipment controller;

[0067] Step 123, the mining equipment controller receives the version request information, verifies and parses the request information to identify the request type;

[0068] Step 124, according to the request type, obtain the current system version information, and package the current system version information into a response data packet, and send it to the remote update intermediate device:

[0069] Step 125, the remote update intermediate device receives the response data packet, verifies the checksum and parses the response data packet to extract the current system version information of the mining equipment controller; packages the current system version information, attaches a new checksum, and sends it to the ground control platform.

[0070] In an embodiment of the present invention, after the remote update intermediate device is started, its communication module enters a listening state and continuously waits for a communication request from the ground control platform. The listening process involves opening a specific network port, setting a listening thread or process, etc. When the ground control platform sends a data packet, the communication module of the remote update intermediate device receives the data packet. The received data packet may contain multiple parts, such as a data packet header, a data body, and a checksum. The remote update intermediate device first parses the data packet header to confirm the type and purpose of the data packet. The data packet header contains some identification information, such as the request type, data packet length, sender and receiver, etc. After confirming that the data packet is a version request information, the remote update intermediate device begins to calculate the checksum of the data packet. The main part of the data packet (excluding the data packet header) is calculated using a preset algorithm (SHA-256).

[0071] Specifically, set 8 32-bit initial hash values ​​(H0, H1, ..., H7), which are constants defined in the SHA-256 algorithm. Pad the byte sequence of the data body so that its length becomes an integer multiple of 512 bits. The padding method includes adding a '1' bit, then adding a sufficient number of '0' bits, and finally adding a 64-bit length field (indicating the length of the original message, excluding padding). Divide the padded message into blocks of 512 bits each. For each 512-bit block, perform a series of operations, including message expansion, message segmentation, compression function, etc. The compression function is the core of the SHA-256 algorithm, which uses 64 32-bit temporary variables (a, b, ..., h) and a series of logical operations, shift operations, addition operations, etc. to process the message block and update the hash value. After iterative processing of all blocks, the final 8 32-bit hash values ​​(H0, H1, ..., H7) are the output of the SHA-256 algorithm. These 8 hash values ​​are concatenated together to form a 256-bit hash value, which is then converted into a hexadecimal string form, which is the checksum.

[0072] Step 122, using the non-sensing connection technology of the Kuanghong system, the remote update intermediate device automatically discovers and connects to the target mining equipment controller. A data packet containing the version request information and the previously calculated checksum is constructed and sent to the mining equipment controller through the established communication link.

[0073] Step 123, after receiving the data packet, the mining equipment controller first verifies the checksum to ensure that the data has not been tampered with. After the check is passed, the data packet is parsed to identify that this is a version request information.

[0074] Step 124, the mining equipment controller queries the system version information stored internally, packages the system version information into a response data packet, including the version number, release date, etc., and sends the response data packet back to the remote update intermediate device via the previously established communication link.

[0075] Step 125, after receiving the response data packet, the remote update intermediate device verifies the checksum again. The data packet is parsed to extract the current system version information of the mining equipment controller. This version information is repackaged and a new checksum is attached to ensure the integrity of the data during transmission. The data packet containing the current system version information is sent to the ground control platform via the communication network.

[0076] Suppose there is a mining equipment controller, whose model is ABC-456 and the current system version is 2.1.3. The ground control platform needs to obtain the system version information of this controller to decide whether to update it. The ground control platform sends a data packet with version request information to the remote update intermediate device. After receiving the data packet, the remote update intermediate device calculates the checksum and sends it to the ABC-456 controller together with the version request information. After the ABC-456 controller verifies that the checksum is correct, it parses it out as a version request and then queries its system version information (2.1.3). The ABC-456 controller packages the system version information into a response data packet and sends it back to the remote update intermediate device. The remote update intermediate device receives the response data packet, verifies the checksum, extracts the system version information (2.1.3), then packages it and attaches a new checksum, and sends it to the ground control platform.

[0077] By calculating and verifying the checksum, it can be ensured that the data has not been tampered with or damaged during transmission, thereby improving the reliability of communication. Utilizing the senseless connection technology of the Kuanghong system, the remote update intermediate device can be easily connected to various types of mining equipment controllers, enhancing the compatibility of the system. The automated version information acquisition and transmission process simplifies the update process, reduces manual intervention, and improves update efficiency. Through technical means such as checksum verification and encrypted communication, the security of system version information during transmission is ensured, preventing the risk of data leakage or malicious tampering. The ground control platform can obtain the system version information of the mining equipment controller in real time, providing convenience for remote management and maintenance.

[0078] In a preferred embodiment of the present invention, the above step 13, the ground control platform compares the current system version with the version information in the update package to generate a differential update package; divides the differential update package into blocks and determines the update sequence, and sends the update package to the remote update intermediate device according to the update sequence, which may include:

[0079] Step 131, the ground control platform receives the current system version information of the remote update intermediate device, and compares the current system version information with the version information in the update package to determine whether to update, and obtains a comparison result;

[0080] Step 132, based on the comparison result, the ground control platform initializes the relevant parameters of the harmony search, including the size of the harmony memory library, the number of harmony searches, and the harmony memory library consideration rate;

[0081] Step 133, in each harmony search iteration, randomly determine a portion of existing harmonies from the harmony memory library, and adjust the determined harmonies to generate new harmonies;

[0082] Step 134, evaluating the fitness of the new harmony to update the harmony memory bank;

[0083] Step 135, repeating the harmony search iteration and the harmony memory library update process until a preset number of iterations is reached to determine a final segmentation scheme;

[0084] Step 136, according to the final segmentation scheme, the differential update package is segmented into a plurality of small blocks, and each small block contains one or more logically related update units;

[0085] Step 137, assign a serial number to each small block, and send each small block of the update package to the remote update intermediate device according to the order of the serial number.

[0086] In an embodiment of the present invention, the ground control platform first receives the current system version information from the remote update intermediate device, which is a string or data structure containing key information such as version number and release date. Next, the platform compares the current system version information with the version information to be updated (included in the update package or provided separately). The content of the comparison may include the size of the version number, the order of release dates, etc. Based on the comparison results, the platform determines whether an update is required. If an update is required, proceed to the next step; if not, a notification may be sent to the remote update intermediate device to indicate that the current system is already the latest version.

[0087] Step 132, the ground control platform initializes the relevant parameters of the harmony search based on the size, complexity and network status of the differential update package. These parameters include the size of the harmony memory (i.e., the number of possible segmentation schemes stored), the number of harmony searches (i.e., the number of iterations), and the harmony memory consideration rate (i.e., the proportion of existing harmonies selected from the harmony memory in each iteration). The setting of these parameters will affect the performance and efficiency of the harmony search algorithm and needs to be adjusted according to actual conditions.

[0088] Step 133, in each harmony search iteration, the platform randomly determines a portion of existing harmonies (i.e., segmentation schemes) from the harmony memory library. These determined harmonies are adjusted, such as changing the starting position, size, or order of a certain block, to generate new harmonies (i.e., new segmentation schemes). The adjustment method can be random or based on some heuristic rules.

[0089] Step 134, evaluate the newly generated harmony (segmentation scheme) and calculate its fitness value. The fitness value can be based on a variety of factors, such as whether the size of the blocks is uniform, whether the dependencies between the blocks are minimized, whether the transmission efficiency is maximized, etc. According to the fitness value, decide whether to add the new harmony to the harmony memory library to replace the old harmony with lower fitness.

[0090] Step 135, repeating steps 133 and 134 until a preset number of iterations is reached. In each iteration, new harmonies are generated and their fitness is evaluated, thereby continuously updating the harmony memory. Ultimately, the harmony memory will store segmentation schemes with higher fitness and better performance.

[0091] Step 136, according to the final segmentation scheme in the harmony memory library, the differential update package is segmented into a plurality of small blocks. Each small block should contain one or more logically related update units so that they can be applied in a logical order during remote update. The segmentation method should ensure that the size of each small block is moderate, neither too large to cause transmission difficulty nor too small to cause low transmission efficiency.

[0092] Step 137, assign a unique sequence number to each small block to ensure that it can be received and applied in the correct order during remote update. According to the sequence number, each update package small block is sent to the remote update intermediate device in sequence. The sending method can be a reliable transmission based on the TCP / IP protocol to ensure that each small block can be correctly received.

[0093] Assume that the current system version is 1.0.0, and the version information in the update package is 1.0.1. The ground control platform first compares the two version numbers to determine that an update is required. Then, the platform initializes the harmony search parameters, such as the harmony memory size is 10, the harmony search number is 100 times, and the harmony memory consideration rate is 0.5. During the iteration process, the platform continuously generates new segmentation schemes (harmony) and evaluates their fitness. For example, in a certain iteration, the platform generates a scheme that divides the differential update package into 3 small blocks and calculates its fitness value as 0.8. In subsequent iterations, the platform will adjust this scheme, such as changing the starting position or size of a small block, to generate a new scheme and evaluate its fitness. Finally, a segmentation scheme with higher fitness and better performance is stored in the harmony memory. According to this scheme, the differential update package is divided into 3 small blocks and assigned serial numbers 1, 2 and 3 respectively. Then, the platform sends these three small blocks to the remote update intermediate device in sequence according to the sequence number for update.

[0094] By optimizing the segmentation scheme of the differential update package through the harmony search algorithm, each small block can be of moderate size and logically related, thereby improving the efficiency of remote updates. This reduces transmission time and application time, and reduces the risk in the update process. By assigning sequence numbers to each small block and sending them in sequence, it can be ensured that the remote update intermediate device can receive and apply the update package in the correct order. This avoids update failures or system instability caused by incorrect sequences. The harmony search algorithm can automatically adjust parameters and generate segmentation schemes based on factors such as the size, complexity, and network conditions of the differential update package. This makes the algorithm highly adaptable and flexible, and can cope with update requirements in different scenarios.

[0095] In a preferred embodiment of the present invention, the calculation formula of the fitness of the new harmony is:

[0096]

[0097] Where F(x) represents the fitness value of the new harmony x; α, β, γ represent weight coefficients; N b Indicates the number of small blocks after segmentation; s i Indicates the size of the i-th small block; i indicates the index variable; N u Represents the number of logically related update units divided into different small blocks; N t Indicates the total number of update units in the update package.

[0098] In the embodiment of the present invention, the values ​​of weight coefficients α, β, and γ are determined. These coefficients are used to balance different parts of the fitness function and can be adjusted according to the actual application scenario. Initialize other parameters of the harmony search algorithm, such as the size of the harmony memory library, the number of harmony searches, and the harmony memory library consideration rate. For the current harmony (i.e., the segmentation scheme), calculate each small block s i Calculate the average size of all small blocks Calculate the square of the difference between the size of each small block and the average value, and find the average, that is, the variance Take the square root of the variance and get the standard deviation The ratio of the standard deviation to the average size of all small blocks is used to measure the balance of the small block sizes. The smaller the ratio, the more balanced the small block sizes are. Subtracting this ratio from 1 gives a positive evaluation of the balance, that is, Multiply it by the weight coefficient α to get the contribution of the balance part to the fitness.

[0099] Count the number of logically related update units divided into different small blocks N u . Calculate the preservation of logical dependencies, that is The larger this value is, the higher the proportion of logically related update units divided into the same small block is. Multiply it by the weight coefficient β to get the contribution of the logical correlation preservation part to the fitness. Directly use the number of small blocks N b Multiply by the weight coefficient γ as a penalty for the number of small blocks. This is to encourage the generation of fewer but larger and more complete small blocks. Add the above three parts together to get the fitness F(x) of the current harmony.

[0100] According to the process of the harmony search algorithm, new harmonies (i.e. new segmentation schemes) are continuously generated and their fitness is calculated. The harmony memory is updated according to the fitness, and the harmonies with higher fitness are retained. Repeat the iteration until the preset number of iterations is reached. The final segmentation scheme is determined from the harmony memory according to the fitness value of the harmony. According to this scheme, the differential update package is divided into multiple small blocks and prepared to be sent.

[0101] By optimizing the segmentation scheme, the size of each small block is more balanced, reducing the time and resources required to transmit and apply the update package. Logically related update units are segmented into the same small block as much as possible, reducing dependency errors that may occur during the update process and improving the reliability and stability of the update. By penalizing the number of small blocks, the generation of fewer but larger and more complete small blocks is encouraged, further improving the transmission efficiency and application efficiency. The weight coefficient in the fitness function can be adjusted according to the actual application scenario, so that the algorithm can adapt to different update requirements and network environments. The entire segmentation process is automatically completed by the algorithm without human intervention, which improves the automation and intelligence level of the update.

[0102] In a preferred embodiment of the present invention, the above step 14, the remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller, may include:

[0103] Step 141, the remote update intermediate device receives data packets of the update package from the ground control platform in sequence, parses them, and extracts small blocks of data;

[0104] Step 142, performing protocol conversion on the small block data, including data format adjustment, data encryption and adding checksum operations, to obtain the small block of update package after protocol conversion;

[0105] Step 143, sending the updated packet blocks after protocol conversion to the mining equipment controller according to the communication protocol of the mining equipment controller.

[0106] In an embodiment of the present invention, the remote update intermediate device establishes a reliable communication connection with the ground control platform, such as data transmission through the TCP / IP protocol. The ground control platform sends the small blocks of data of the update package to the remote update intermediate device in sequence according to the sequence number sequence previously determined. The remote update intermediate device receives each data packet and parses it. The parsing process includes checking the integrity of the data packet, verifying whether the sequence number is correct, extracting small blocks of data, etc. If the data packet is incomplete or the sequence number is incorrect, the remote update intermediate device will send error feedback to the ground control platform and request to resend the correct data packet.

[0107] Step 142, for the extracted small blocks of data, the remote update intermediate device performs protocol conversion according to the communication protocol of the mining equipment controller. Protocol conversion includes adjustment of the data format, such as converting data from one format to a format that can be recognized by the mining equipment controller. This involves conversion of data types, adjustment of data order, etc. Data encryption operations are performed to protect the security of data during transmission. The encryption algorithm and key should be selected according to the requirements of the mining equipment controller. A check code is added to the end of the data for integrity verification when the mining equipment controller receives the data. The check code can be a hash value generated by algorithms such as CRC, MD5, SHA-256, etc.

[0108] Step 143, the remote update intermediate device sends the small blocks of the protocol-converted update package to the mining equipment controller according to the communication protocol of the mining equipment controller. The sending process involves physical layer communication, such as transmitting data to the mining equipment controller through a serial port, an Ethernet port, wireless communication, etc. The remote update intermediate device should ensure the reliability of data transmission, such as ensuring that the data can correctly reach the mining equipment controller through a confirmation mechanism, a retransmission mechanism, etc.

[0109] Assume that the ground control platform has divided the differential update package into three small blocks and assigned serial numbers 1, 2 and 3 respectively. The remote update intermediate device establishes a TCP / IP connection with the ground control platform. The ground control platform first sends a small block of data with serial number 1. The remote update intermediate device receives the data and parses it to extract the small block of data. The remote update intermediate device performs protocol conversion on the small block of data according to the communication protocol of the mining equipment controller. This includes adjusting the data format to a format that the controller can recognize, encrypting the data and adding a CRC checksum. The remote update intermediate device sends the small block of the update package after protocol conversion to the mining equipment controller through the serial port. The mining equipment controller receives the data and performs a CRC check. After confirming that the data integrity is correct, it performs subsequent processing. Repeat the protocol conversion steps until the small blocks of data with serial numbers 2 and 3 are also successfully sent and processed.

[0110] By converting and sending protocols through the remote update intermediate device, the communication between the ground control platform and the mining equipment controller can be made more efficient. The intermediate device can optimize the specific communication protocol of the mining equipment controller to improve the speed and reliability of data transmission. As a bridge, the remote update intermediate device can connect mining equipment controllers of different brands and models to achieve unified update management. This reduces the requirements for the ground control platform and enables it to support more equipment types. Through data encryption and checksum mechanisms, the security and integrity of the update data during transmission can be ensured. This prevents data from being maliciously tampered with or lost, and ensures the normal operation of the mining equipment controller. The use of the remote update intermediate device simplifies the update process and makes the update operation more convenient. The ground control platform only needs to send the update package to the intermediate device, which completes the subsequent protocol conversion and sending work, reducing the complexity and risk of the update operation.

[0111] In another preferred embodiment of the present invention, the above step 142, performing protocol conversion on the small block data, including data format adjustment, data encryption and adding checksum operations, to obtain the small block of update package after protocol conversion, may include:

[0112] Step 1443, adjusting the format of the small block of data, including reorganization of the data structure, conversion of the data type, and addition and subtraction of the data field, to obtain data after the format adjustment;

[0113] Step 1444, encrypt the format-adjusted data to obtain encrypted data, and add a checksum to the end of the encrypted data to obtain data with the checksum added, that is, the update package block after protocol conversion.

[0114] In an embodiment of the present invention, the data structure in the small block data is reorganized according to the communication protocol requirements of the mining equipment controller. This involves merging multiple fields in the original data into one field, or splitting one field into multiple fields, to ensure that the data conforms to the expected format of the controller when transmitted and parsed. The data type in the small block data is converted into a type that the mining equipment controller can recognize and process. For example, an integer type is converted to a floating point type, or a string type is converted to a binary format. According to the protocol requirements, certain fields in the small block data are added or deleted. This includes adding additional fields for control or identification, or deleting redundant fields that do not need to be transmitted. After completing the above operations, the data with adjusted format is obtained.

[0115] Step 1444, select an appropriate encryption algorithm (such as AES, RSA, etc.) and key to encrypt the format-adjusted data. The encryption process should ensure the confidentiality and integrity of the data to prevent the data from being maliciously tampered with or stolen during transmission. Add a checksum to the end of the encrypted data to verify the integrity of the data at the receiving end. The checksum can be a summary generated by a hash algorithm such as CRC, MD5, SHA-256, etc. The encrypted data and the checksum are combined to form the final update package block after protocol conversion.

[0116] Assume there is a small piece of data, which contains the following fields: device ID (integer), command type (string), parameter value (floating point number). Convert this small piece of data into a format that can be recognized by the mining equipment controller, and perform encryption and add a checksum.

[0117] Device ID: Remains as an integer type, but the position is adjusted to the beginning of the data.

[0118] Command type: Convert the string type to binary encoding, such as using ASCII code or a specific encoding table.

[0119] Parameter value: remains a floating point number, but the precision is adjusted to the maximum precision the controller can handle.

[0120] The adjusted data structure is: [Device ID, Command Type (binary), Parameter Value]. The adjusted data is encrypted using the AES encryption algorithm and the preset key. A checksum generated by the SHA-256 hash algorithm is added to the end of the encrypted data. The final update package after protocol conversion is: [encrypted data, SHA-256 checksum].

[0121] By adjusting the data format, it is possible to ensure that the small block data is fully compatible with the communication protocol of the mining equipment controller, avoiding communication errors or data loss caused by format mismatch. Data encryption processing effectively protects the confidentiality and integrity of the data, prevents the data from being maliciously tampered with or stolen during transmission, and improves data security. The addition of the checksum makes it easy for the receiving end to verify the integrity of the data without the need for complex data comparison or verification operations, thereby improving the efficiency of data processing. Through protocol conversion, it is possible to ensure that the update package small block is sent to the mining equipment controller in the correct format and encryption method, thereby improving the reliability and success rate of the update. This helps to reduce equipment downtime or failures caused by update failures and improves the availability and stability of the equipment.

[0122] In a preferred embodiment of the present invention, in the above step 15, the mining equipment controller receives the converted update package and writes it into the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform through the remote update intermediate device in real time to control the update process, which may include:

[0123] Step 151, the mining equipment controller receives the converted update package small blocks, and writes each update package small block into a designated system update partition;

[0124] Step 152, during the process of writing each update package block, the writing status is detected in real time to generate an information data packet containing the current update progress and status, and sent to the ground control platform through the remote update intermediate device;

[0125] Step 153, the ground control platform receives the information data packet of the current update progress and status, and parses it to obtain the current update status information;

[0126] Step 154, monitor and control the update process according to the update status information, including continuing to send update packages, pausing updates, and rolling back updates, so as to control the update process.

[0127] In an embodiment of the present invention, the mining equipment controller receives the converted update package blocks from the remote update intermediate device through its communication interface (such as a serial port, an Ethernet port, etc.). The controller performs a preliminary check on the received update package blocks, such as checking the integrity of the data packet, the sequence number, etc., to ensure that the data is correct. After the check passes, the controller writes the update package blocks to the designated system update partition. This partition is usually reserved in advance for software updates and is isolated from the normally operating system partition to ensure that the normal operation of the device is not affected during the update process. The write operation includes decompression of data, overwriting or merging of files, etc., depending on the content of the update package and the update mechanism of the controller.

[0128] Step 152, during the process of writing each update package block, the mining equipment controller detects the writing status in real time, including the writing speed, whether the writing is successful, whether an error occurs, etc. The controller generates an information data packet containing the current update progress and status according to the writing status. This data packet may include information such as the number of bytes written, the writing speed, and the error code. The controller sends the information data packet to the ground control platform through the remote update intermediate device so as to update the update status display on the control platform in real time.

[0129] Step 153, the management and control platform updates its user interface according to the status information, and displays the update progress bar, the number of bytes written, the estimated completion time, etc., so that the user can intuitively understand the update process.

[0130] Step 154, the ground control platform monitors and controls the update process based on the update status information. If the update process goes smoothly, the control platform will continue to send subsequent update package blocks to the remote update intermediate device, which will forward them to the mining equipment controller. If a write error, equipment failure or other abnormal situation is detected, the control platform can immediately suspend the update and send instructions to the remote update intermediate device and the mining equipment controller to stop the update process and perform error handling. In some cases, if the update process is interrupted or fails, the control platform can also instruct the mining equipment controller to roll back to the state before the update to ensure that the equipment can continue to operate normally.

[0131] Assume that a mining equipment controller is receiving a software update that contains 10 small update packages. The update process is:

[0132] The controller receives the first update package block and performs verification and writing operations. After the write is successful, the controller generates an information data packet containing "1 / 10 has been written, write successful", and sends it to the ground control platform through the remote update intermediate device. The control platform receives the information data packet, parses it, and updates the user interface, showing that the update progress is 10%. The control platform continues to send the second update package block to the remote update intermediate device until all update package blocks are successfully written. If an error occurs during the writing process, such as a write failure or equipment failure, the controller will generate an information data packet containing an error code and send it to the control platform. After receiving the error message, the control platform immediately suspends the update and displays an error prompt. At the same time, you can try to send instructions to let the controller roll back to the state before the update.

[0133] By providing real-time feedback of update status information, the ground control platform can monitor the update process in real time, detect and handle potential problems in a timely manner, and improve the reliability and security of the update. The control platform can flexibly control the update process based on the update status information, such as continuing to send update packages, pausing updates, or rolling back updates, to ensure that the update process can be adjusted according to actual conditions. Through real-time feedback and flexible control, the waiting time and error handling time during the update process can be reduced, thereby improving the overall efficiency of the update. Users can intuitively understand the update progress and status through the ground control platform without having to go to the site in person to check or wait for the update to complete, which enhances user experience and satisfaction.

[0134] like Figure 2 As shown, an embodiment of the present invention also provides a remote upgrade device for mining equipment based on the Mine Hong operating system, including a processor, a memory and a communication component.

[0135] In an embodiment of the present invention, a high-performance, low-power processor is selected as the core of the remote update intermediate device, such as an ARM architecture processor. The processor is responsible for executing various functions of the remote update intermediate device, including data processing, communication control, status monitoring, etc. Sufficient memory (RAM) is configured to store temporary data and program instructions during runtime. Use non-volatile memory (such as Flash memory) to store the system software, configuration files, and temporary data during the update process of the remote update intermediate device. The memory should support fast reading and writing of data to ensure the smoothness of the update process. Integrate multiple communication interfaces, such as CAN, Bluetooth, Wi-Fi, USB, RJ45, RS485, RS232, etc., to support communication with mining equipment controllers and ground control platforms. The communication component should support high-speed and stable data transmission to meet the needs of remote updates.

[0136] Integrate hardware components such as processors, memory, and communication components into the circuit board of the remote update intermediate device. Perform hardware debugging and testing to ensure that the connections between components are correct and work properly. Perform overall testing on the remote update intermediate device, including functional testing, performance testing, and security testing. Simulate actual usage scenarios to test the stability and reliability of the remote update intermediate device during the update process. Deploy the remote update intermediate device to the communication location near the mining equipment. Configure the network parameters, update strategy, etc. of the remote update intermediate device. Regularly maintain and upgrade the remote update intermediate device to ensure its long-term stable operation.

[0137] In another preferred embodiment of the present invention, the processor is used to receive instructions, process instructions, and perform communication protocol conversion tasks, and the memory is used to cache update package data, which may include:

[0138] In an embodiment of the present invention, the processor receives instructions from the ground control platform through the communication component, including control instructions such as start update, pause update, continue update, rollback update, and data instructions such as update package data and configuration parameters. The processor parses the received instructions, identifies information such as instruction type and parameters, and calls the corresponding processing function for processing according to the instruction type. The processor has a built-in communication protocol processing module, which is responsible for processing the conversion between different communication protocols. When the update package data sent by the ground control platform is received, the processor parses the data packet according to the predetermined communication protocol and extracts the valid data of the update package. The processor encapsulates the extracted update package data according to the communication protocol that can be recognized by the mining equipment controller so as to send it to the mining equipment controller. At the same time, the processor is also responsible for encapsulating the update status information, error log and other data fed back by the mining equipment controller according to the communication protocol that can be recognized by the ground control platform so as to send it to the ground control platform. The processor has a built-in task scheduler, which is responsible for managing and scheduling various tasks of the remote update intermediate device, including the reception, processing, and forwarding of the update package, the monitoring and feedback of the update status, and error handling. The processor arranges the execution order of tasks reasonably according to the priority and urgency of the tasks, ensuring that the remote update intermediate device can work efficiently and stably.

[0139] The memory is divided into multiple buffers for temporarily storing received update package data. When the processor receives update package data sent by the ground control platform, it first caches the data to a specified buffer in the memory. When processing the update package data or forwarding it to the mining equipment controller, the data is read from the buffer to ensure the correctness and integrity of the data. The memory is also used to store data such as the working status information of the remote update intermediate device, the status information of the update process, and the error log. When the processor processes this data, it stores it in a specified area in the memory.

[0140] In another preferred embodiment of the present invention, the communication component is used to communicate with the mining equipment controller, the underground industrial Internet and the ground control platform, and may include:

[0141] In an embodiment of the present invention, the communication component is responsible for establishing a communication connection with the mining equipment controller, the underground industrial Internet, and the ground control platform. When establishing the connection, necessary identity authentication and authorization are performed to ensure that only legitimate devices or systems can access. The communication component is also responsible for maintaining the status of the communication connection, including the establishment, maintenance, and disconnection of the connection, as well as handling abnormalities or errors in the communication process. The communication component sends update package data, control instructions and other data to the mining equipment controller or the ground control platform according to the instructions of the processor. At the same time, the communication component is also responsible for receiving data from the mining equipment controller or the ground control platform, such as update status information, error logs, etc., and passing it to the processor for processing. During the data transmission process, the communication component adopts appropriate transmission strategies, such as packet transmission, flow control, etc., to ensure stable transmission and efficient use of data. The communication component has built-in security and protection mechanisms, such as data encryption, access control, firewalls, etc., to ensure the security and reliability of the communication process. The transmitted data is encrypted to prevent the data from being stolen or tampered with during the transmission process. Authentication and authorization management are performed on the connected devices or systems to prevent illegal access or malicious attacks.

[0142] The processor sends update instructions or control instructions to the mining equipment controller through the communication component, and receives feedback data or status information from the mining equipment controller. The processor receives update package data or control instructions from the ground control platform through the communication component, and uploads update status information, error logs and other data to the ground control platform. The communication component is responsible for encapsulating and sending the data processed by the processor according to the communication protocol, and is also responsible for parsing and passing the received data to the processor. The communication component monitors the communication status with the mining equipment controller, the underground industrial Internet and the ground control platform in real time, including connection status, data transmission rate, error rate, etc. When the communication status is abnormal or erroneous, the communication component reports to the processor in a timely manner so that the processor can take corresponding processing measures. At the same time, the communication component is also responsible for feeding back the processor's status information or instructions to the mining equipment controller or the ground control platform to achieve remote monitoring and control.

[0143] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A remote upgrade method for mining equipment based on the Kuanghong operating system, characterized in that: The method comprises: Upload the update package on the ground control platform and send instructions to the remote update intermediate device to read the current system version of the mining equipment controller; The remote update intermediate device connects to the mining equipment controller according to the Kuanghong system without any sense, and uploads the current system version information to the ground control platform through the remote update intermediate device; The ground control platform compares the current system version with the version information in the update package to generate a differential update package; divides the differential update package into blocks and determines the update sequence, and sends the update package to the remote update intermediate device according to the update sequence; The remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller; The mining equipment controller receives the converted update package and writes it to the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform through the remote update intermediate device in real time to control the update process.

2. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 1 is characterized in that: The remote update intermediate device is connected to the mining equipment controller according to the Kuanghong system, and the current system version information is uploaded to the ground control platform through the remote update intermediate device, including: The remote update intermediate device receives the data packet containing the version request information and calculates the checksum of the data packet; The remote update intermediate device connects to the mining equipment controller without any sense, and sends the version request information and checksum to the mining equipment controller; The mining equipment controller receives the version request information, verifies and parses the request information to identify the request type; According to the request type, obtain the current system version information, package the current system version information into a response data packet, and send it to the remote update intermediate device: The remote update intermediate device receives the response data packet, verifies the checksum and parses the response data packet to extract the current system version information of the mining equipment controller; packages the current system version information, attaches a new checksum, and sends it to the ground control platform.

3. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 2 is characterized in that: The ground control platform compares the current system version with the version information in the update package and generates a differential update package; Divide the differential update package into blocks and determine the update sequence, and send the update package to the remote update intermediate device according to the update sequence, including: The ground control platform receives the current system version information of the remote update intermediate device, and compares the current system version information with the version information in the update package to determine whether to update and obtain a comparison result; According to the comparison results, the ground control platform initializes the relevant parameters of the harmony search, including the size of the harmony memory bank, the number of harmony searches, and the harmony memory bank consideration rate; In each harmony search iteration, a portion of existing harmonies is randomly determined from the harmony memory library, and the determined harmonies are adjusted to generate new harmonies; Evaluate the adaptability of new harmonies to update the harmonic memory bank; Repeating the harmony search iteration and the harmony memory library updating process until a preset number of iterations is reached to determine a final segmentation scheme; According to the final segmentation scheme, the differential update package is segmented into multiple small blocks, and each small block contains one or more logically related update units; A sequence number is assigned to each small block, and each update package small block is sent to the remote update intermediate device according to the sequence number.

4. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 3 is characterized in that: The calculation formula of the fitness of the new harmony is: Where F(x) represents the fitness value of the new harmony x; α, β, γ represent weight coefficients; N b Indicates the number of small blocks after segmentation; s i Indicates the size of the i-th small block; i indicates the index variable; N u Represents the number of logically related update units divided into different small blocks; N t Indicates the total number of update units in the update package.

5. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 4 is characterized in that: The remote update intermediate device receives the update package, performs protocol conversion according to the communication protocol of the mining equipment controller to be updated, obtains the converted update package, and sends the converted update package to the mining equipment controller, including: The remote update middleware receives the update package data packets from the ground control platform in sequence, parses them, and extracts small blocks of data; Perform protocol conversion on the small data blocks, including data format adjustment, data encryption and verification code addition operations, to obtain the small update package blocks after protocol conversion; The small update package blocks after protocol conversion are sent to the mining equipment controller according to the communication protocol of the mining equipment controller.

6. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 5 is characterized in that: Perform protocol conversion on the small data blocks, including data format adjustment, data encryption and adding checksum operations, to obtain the small update package blocks after protocol conversion, including: Adjust the format of small blocks of data, including reorganization of data structure, conversion of data types, addition and subtraction of data fields, to obtain data with adjusted format; The format-adjusted data is encrypted to obtain encrypted data, and a checksum is added to the end of the encrypted data to obtain data with the checksum added, that is, the update package block after the protocol conversion.

7. The remote upgrade method for mining equipment based on the Kuanghong operating system according to claim 6 is characterized in that: The mining equipment controller receives the converted update package and writes it to the designated system update partition to complete the update. During the update process, the mining equipment controller to be updated feeds back the update status to the ground control platform through the remote update intermediate device in real time to control the update process, including: The mining equipment controller receives the converted update package small blocks and writes each update package small block into a designated system update partition; During the process of writing each small block of the update package, the writing status is detected in real time to generate an information data packet containing the current update progress and status, and sent to the ground control platform through the remote update intermediate device; The ground control platform receives the information data packet of the current update progress and status, and parses it to obtain the current update status information; Based on the update status information, the update process is monitored and controlled, including continuing to send update packages, pausing updates, and rolling back updates to control the update process.

8. A remote upgrade device for mining equipment based on the Kuanghong operating system, the device implements the method as described in any one of claims 1 to 7, characterized in that: Includes processor, memory and communication components.

9. The remote upgrade device for mining equipment based on the Kuanghong operating system according to claim 8 is characterized in that: The processor is used for receiving instructions, processing instructions, and executing the conversion task of the communication protocol, and the memory is used for caching the update package data.

10. The remote upgrade device for mining equipment based on the Kuanghong operating system according to claim 8 is characterized in that: The communication component is used to communicate with the mining equipment controller, the underground industrial Internet and the ground management and control platform.

Citation Information

Patent Citations

  • Application update method, device system and storage medium

    CN109189427A

  • Version update package release method and device, computer equipment and storage medium

    CN110083365A

  • Method and apparatus for updating devices in a remote network

    WO2019182509A1

Cited By

  • Sensor remote firmware update internet of things large model system, method and medium

    CN122093259A