Close-range monitoring control method for hydraulic support controller

By using NFC close-range identification communication technology in the hydraulic bracket controller, the handheld terminal automatically recognizes and connects the bracket number, solving the problems of cumbersome operation and high error rate in the existing technology, and achieving fast and convenient hydraulic bracket control.

CN119729434AActive Publication Date: 2025-03-28CHENGDU HANGTIAN PHOTOELECTRIC TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411932988.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-03-28
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The operating mode of existing hydraulic bracket controllers is complicated, especially in multi-bracket environments, which requires manual identification of bracket numbers and manual input, which may be problematic of cumbersome operations and errors.

Method used

The NFC close-range identification communication technology is adopted to communicate with the NFC module of the hydraulic bracket controller through a handheld terminal, automatically identify the bracket number and establish a wireless network connection, achieving fast and convenient monitoring and control.

Benefits of technology

It realizes the rapid and automatic identification of specific brackets in a multi-stent environment, reducing the cumbersomeness and error rate of manual operation, and improving the convenience and reliability of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729434A_ABST
    Figure CN119729434A_ABST
Patent Text Reader

Abstract

The invention discloses a close-range monitoring control method for a hydraulic support controller, which monitors the hydraulic support controller through a handheld terminal and comprises the following steps of: A1, initializing the support controller, and then automatically addressing; a2, the support controller generates a name and a password of the WiFi hotspot; a3, combining the data structure S0, and encrypting to obtain S5; a4, starting an NFC module, writing S5 into the NFC module, and switching the NFC module to a card mode after data writing is completed; a5, the NFC module of the handheld terminal reads data of the NFC module in the support controller, an App is applied to execute a verification decryption algorithm, the support number and hotspot information are obtained, and the handheld terminal is actively connected to a wireless network of the support controller according to the hotspot name and the password. The near field identification communication technology of NFC is used, it is guaranteed that a certain specific support can be rapidly and automatically identified in hundreds of supports on the working face, manual identification, manual support number setting and other operations are not needed, and the method is more convenient, efficient and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication technology, and in particular relates to a close-range monitoring and control method for a hydraulic support controller. Background Art

[0002] Hydraulic supports play a vital role in the coal mining industry. As a supporting device for coal mining working faces, hydraulic supports provide a stable supporting structure for underground mining, which can effectively prevent mine collapse and protect the safety of workers. At the same time, as the coal mining machine continuously pushes the working face forward, it improves mining efficiency. Each hydraulic support is equipped with a support controller, which serves as the brain of the hydraulic support, issues control commands to direct the support movements, and collects various sensor data on the hydraulic support and uploads them to the centralized control center.

[0003] At present, the common operation methods for hydraulic supports are on-site operation and remote operation. In view of the low degree of intelligence in coal production, most coal mines still use on-site operation. On-site operation includes directly operating the controller buttons and operating the support movement through the remote control at the working face. Direct operation of the controller buttons has the disadvantage of inconvenient operation. The controller is fixed at a specific position of the support and cannot be moved. The controller screen is small and can display limited information. If the remote control is used for operation, it is relatively flexible and light, but the support number needs to be manually identified and manually input into the remote control. The input support number is used as the reference support for left and right adjacent supports or left and right group operations. The disadvantage of this method is that the support number needs to be set before control, which is cumbersome to operate, and the support number is difficult to identify in some environments, or there is a possibility of input errors. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a short-range identification communication technology using NFC, which ensures that a specific bracket can be quickly and automatically identified among hundreds of brackets on the working surface without the need for manual identification, and is a more convenient, efficient and reliable short-range monitoring and control method for a hydraulic support controller.

[0005] The purpose of the present invention is to achieve the following technical solutions: a method for monitoring and controlling a hydraulic support controller in close range, wherein the hydraulic support controller is monitored by a handheld terminal, wherein the handheld terminal is provided with an application App, an NFC module and a WiFi module capable of monitoring and controlling the hydraulic support, and the hydraulic support controller includes an NFC module, an MCU and a WiFi module; the specific monitoring and control process is as follows:

[0006] A1. All support controllers on the working surface are powered on and started; the support controllers are initialized and then automatically addressed according to their support positions;

[0007] A2. The bracket controller turns on the WiFi module and inputs AT commands to the WiFi module through the MCU, so that the WiFi module enters the Access Point mode; and the WiFi module dynamically generates the name and password of the WiFi hotspot through the AT command, where the name of the hotspot is generated according to the bracket number, and the hotspot name and password are saved at the same time;

[0008] A3. Take out the hotspot name and password, add the current bracket number and other pre-stored data, combine these data into a data structure S0 in JSON format, and then perform custom encryption processing on S0 to generate a string S5 containing the encrypted data and signature; the method of custom encryption processing is as follows:

[0009] A3.1. Perform Base64 encoding on the string data S0 in JSON format and convert it into a string S1 in Base64 format;

[0010] A3.2. Perform SHA265 Hash encoding N times on the string S1, and convert the 256-bit data generated by the Hash into the corresponding hexadecimal string S2. At this time, S2 contains 64 characters. N can be set to different values ​​according to actual needs.

[0011] A3.3. Process S1 with a custom hash encryption algorithm to obtain an encrypted string S3.

[0012] A3.4. Encrypt S2 using the RSA asymmetric encryption algorithm, retrieve the string PRI_RSA representing the private key from the local storage, perform a standard RSA encryption operation on S2 using the private key PRI_RSA to obtain an encrypted string S4, which is the signature string. S1, S3, and S4 are connected by the # symbol to form a string S5 containing the encrypted data and the signature;

[0013] A4. Turn on the NFC module. The MCU sends a command to set the NFC module to the card reader working mode. Write the string S5 generated in the previous step into the NFC module. After the data is written, the MCU will continue to switch the NFC module to the card mode. After that, the NFC module can be recognized and read by other devices as an NFC tag card.

[0014] A5. Use a handheld terminal to approach a bracket controller. The NFC module of the handheld terminal reads the data from the NFC module inside the bracket controller, converts the data into a string S1 and forwards it to the application App. The application App executes the verification and decryption algorithm to parse the string S1, obtains the bracket number and hotspot information, and actively connects to the wireless network of the bracket controller according to the hotspot name and password. After the handheld terminal and the bracket controller establish a network connection, the handheld terminal realizes detection and control of the bracket controller through the application App.

[0015] The beneficial effects of the present invention are:

[0016] 1. Use NFC short-range identification communication technology to ensure that a specific bracket can be quickly and automatically identified among hundreds of brackets on the work surface. There is no need for manual identification and manual setting of bracket numbers, which is more convenient, efficient and reliable.

[0017] 2. The bracket controller will automatically generate a name for the WiFi network based on its number, which is more recognizable.

[0018] 3. The password of the WiFi network is randomly generated each time to ensure security and prevent third-party devices from illegally accessing the WiFi network.

[0019] 4. The bracket controller dynamically writes the current bracket number and WiFi network information to the NFC module, avoiding the tedious maintenance of manual settings.

[0020] 5. By implementing a custom encryption and decryption algorithm during the data transmission process within NFC, data can be prevented from being illegally obtained or tampered with, thereby improving the security of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of the monitoring control of the present invention. DETAILED DESCRIPTION

[0022] The present invention provides a more convenient on-site operation mode for a hydraulic support controller, and proposes a control mode based on NFC near-field communication. By using a remote control or a handheld terminal, the target support controller is approached, and the relevant data is read through NFC, the support number is automatically determined, and the control command can be directly issued by clicking the corresponding button. The sensor data and operation status of the support controller can be monitored and viewed in real time through the large screen of the handheld terminal, so that the small screen can be changed to a large screen, and the work efficiency can be improved. The present invention can quickly identify and automatically read the number of a specific controller on the working surface, and establish a wireless communication channel to realize data reading and command sending. The handheld terminal can be an intrinsically safe smart phone or a dedicated remote control. After startup, each controller will automatically write its own support number and wireless connection information into the NFC module inside the controller through encryption. When the handheld terminal is close to the support controller to a very short distance, usually within 10 cm, it will automatically read the data in the NFC module, decrypt the support number and WiFi wireless networking information, quickly establish a wireless connection with the current controller, pull up the specified application App according to the data characteristics, automatically jump to the corresponding device management page, and read various sensor data of the controller and display them on the terminal screen. Thereafter, there is no need to set the reference bracket number, and the currently read bracket number will be used as the reference bracket number, and convenient remote control operations can be performed on the bracket through the buttons or menus on the page. The technical solution of the present invention is further described below.

[0023] A method for close-range monitoring and control of a hydraulic support controller is disclosed. The hydraulic support controller is monitored by a handheld terminal. The handheld terminal is provided with an application App, an NFC module and a WiFi module capable of monitoring and controlling the hydraulic support. The hydraulic support controller includes an NFC module, an MCU and a WiFi module. An NFC module is added inside the controller. When the NFC is in a reader / writer mode, relevant data can be dynamically written into the NFC module. When the NFC is in a card mode, the data can be read by other handheld terminal devices as an NFC tag card. The support controller dynamically generates a WiFi network, which can be accessed by a handheld terminal device to establish a wireless communication link.

[0024] like Figure 1 As shown, the specific monitoring and control process is as follows:

[0025] A1. All support controllers on the working surface are powered on and started; the support controllers are initialized and then automatically addressed according to their support positions, such as the first frame is numbered 1, the second frame is 2, and so on until the last frame; the automatic addressing capability is a regular function of the controller, and the specific addressing algorithm will not be repeated.

[0026] A2. The bracket controller turns on the WiFi module and inputs AT commands to the WiFi module through the MCU, so that the WiFi module enters the Access Point mode, also known as the hotspot mode. In this mode, the WiFi module plays the role of an access point, similar to the function of a router. It will create a wireless network so that other devices can connect to this network. At this time, the WiFi module is in AP mode, which is equivalent to a server, allowing other devices such as smart terminals to connect to the WiFi hotspot network it transmits. In addition, the WiFi module dynamically generates the name and password of the WiFi hotspot through AT commands. The name of the hotspot is generated according to the bracket number. For example, if the current bracket number is 135, the name of the hotspot is wireless_135, which makes the WiFi hotspot more recognizable. For security reasons, the network password generates a 16-bit string through a custom random algorithm when the WiFi is initialized, and the string is set as the password of the WiFi hotspot. At the same time, the hotspot name and password are saved in the local storage.

[0027] A3. Take out the hotspot name and password, add the current bracket number and other pre-stored data, and combine these data into a data structure S0 in JSON format; in order to prevent S0 from being abnormally tampered with and the key leaked, perform custom encryption processing on S0 to generate a string S5 containing the encrypted data and signature; the method of custom encryption processing is as follows:

[0028] A3.1. Perform Base64 encoding on the string data S0 in JSON format and convert it into a string S1 in Base64 format;

[0029] A3.2. Perform SHA265 Hash encoding N times on the string S1, and convert the 256-bit data generated by the Hash into the corresponding hexadecimal string S2. At this time, S2 contains 64 characters. N can be set to different values ​​according to actual needs.

[0030] A3.3. Process S1 with a custom hash encryption algorithm to obtain an encrypted string S3.

[0031] A3.4. Encrypt S2 using the RSA asymmetric encryption algorithm, retrieve the string PRI_RSA representing the private key from the local storage, use the private key PRI_RSA to perform a standard RSA encryption operation on S2 to obtain an encrypted string S4, which is the signature string. S1, S3, and S4 are connected by the symbol # to form a string S5 containing the encrypted data and the signature.

[0032] A4. Turn on the NFC module. The MCU sends a command to set the NFC module to the card reader working mode. At this time, you can perform read and write operations on the NFC module. Write the string S5 generated in the previous step into the NFC module. After the data is written, the MCU will continue to switch the NFC module to the card mode. After that, the NFC module can be recognized and read by other devices as an NFC tag card.

[0033] A5. Use a handheld terminal to approach a bracket controller within 10 cm. The NFC module of the handheld terminal reads the data of the NFC module inside the bracket controller and converts the data into a string S5 and forwards it to the application App. The application App executes the verification and decryption algorithm, parses the string S5, obtains the bracket number and hotspot information, and actively connects to the wireless network of the bracket controller according to the hotspot name and password. After the handheld terminal and the bracket controller establish a network connection, the handheld terminal realizes detection and control of the bracket controller through the application App.

[0034] In step A5, the process of verifying the decryption algorithm is as follows:

[0035] A5.1. Separate string S5 with the separator # to obtain three strings with length greater than 0, which are denoted as S1, S3 and S4. S1 is the first part of S5, containing user data, S3 is the middle part, containing the custom hash value, and S4 is the last part of S5, containing the signature.

[0036] A5.2. Hash the string S1 N times with SHA265, and convert the 256-bit data generated by the hash into the corresponding hexadecimal string S6;

[0037] A5.3. Take out the public key PUB_RSA paired with the private key PRI_RSA of the RSA algorithm in step A3 from the handheld terminal, and use the public key to perform the RSA decryption algorithm on the string S4 to obtain the string S7;

[0038] A5.4. Perform a custom hash encryption algorithm on the string S1 to obtain an encrypted string S8.

[0039] A5.5. Compare the strings S3 and S8 for consistency to determine whether the two strings are the same; compare S6 and S7 for consistency to determine whether the two strings are the same; if any of the two comparisons fails the consistency check, it means that the decryption check has failed, indicating that the data has been tampered with or the key has been leaked, and an abnormal information is reported; if both consistency checks pass, it means that the signature check and hash check are successful, and then perform Base64 decoding on the string S1 to obtain a string in JSON format, and parse the bracket number, hotspot name and password from the JSON data. The purpose of using two consistency checks is to enhance the security and reliability of system encryption, prevent the risk of leakage of the public key and private key generated by the server, and implement double insurance for security verification. At the same time, the custom hash encryption algorithm is implemented in C language and encapsulated into a dynamic link library so file, and the dynamic link library is kept upgraded and updated, making the entire verification mechanism more secure and reliable.

[0040] The application App will jump to the corresponding bracket controller details page based on the data parsed in the previous step, such as the bracket number and other information, and use the bracket number obtained in this parsing as the base bracket number. Through the various function buttons on the page, remote control operations such as left and right adjacent brackets or left and right groups of hydraulic brackets can be realized.

[0041] In the present invention, a custom hash encryption algorithm is used to convert an input string of any length into a hash string of a fixed length of 32 characters; the algorithm is efficient, stable and easy to implement, and is suitable for various data processing and transmission application scenarios. The specific algorithm flow is as follows:

[0042] a. Initialize the seed value and hash value: select an initial seed value seed as the starting value for hash calculation; define a variable h and initialize it to seed;

[0043] b. For each character char in the input string input_string, perform the following processing in sequence:

[0044] b1. Get the ASCII value of the current character ord(char);

[0045] b2. Update the hash value h: h = (h*31+ord(char))%2^64, where 31 is the selected multiplier and the 64-bit modulus ensures that the hash value is within the range of a 64-bit integer;

[0046] c. Generate a fixed-length hash value string of 32 characters;

[0047] c1. Convert the obtained 64-bit hash value h into a byte array array with a length of 16 bytes; the conversion process is as follows:

[0048] c1.1. Expand the 64-bit hash value h, set h1 as the high 64 bits, h2 as the low 64 bits, let h2 = h, h1 = h XOR 0xFFFFFFFF; the 128-bit integer composed of h1 and h2 is expressed as combined_h = (h1<<64)|h2;

[0049] c1.2. Convert the 128-bit integer combined_h obtained in the previous step into a byte array with a length of 16 bytes. According to the big-endian byte order rule, divide the 128-bit integer from high to low into 16 units, each unit has 8 bits, and each unit is an element of the byte array.

[0050] c2. Convert the format of the 16-byte array array, convert the value of each byte into hexadecimal representation, and add 0 to the left of the value less than F, so that each byte is represented by 2 characters. In this way, 16 bytes are represented by 32 characters in total, and the final hash result string is 32 characters long.

[0051] The public key PUB_RSA and the private key PRI_RSA are uniformly generated on the system server. The key pair is generated by the ssh-keygen command to protect the public key PUB_RSA and the private key PRI_RSA. Then the private key PRI_RSA in the key pair is copied to the bracket controller, and the public key PUB_RSA is copied to the application App of the handheld terminal.

[0052] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A close-range monitoring and control method for a hydraulic support controller, characterized in that: The hydraulic support controller is monitored through a handheld terminal. The handheld terminal is equipped with an application App, NFC module and WiFi module that can monitor and control the hydraulic support. The hydraulic support controller includes an NFC module, MCU and WiFi module. The specific monitoring and control process is as follows: A1. All support controllers on the working surface are powered on and started; the support controllers are initialized and then automatically addressed according to their support positions; A2. The bracket controller turns on the WiFi module and inputs AT commands to the WiFi module through the MCU, so that the WiFi module enters the Access Point mode; and the WiFi module dynamically generates the name and password of the WiFi hotspot through the AT command, where the name of the hotspot is generated according to the bracket number, and the hotspot name and password are saved at the same time; A3. Take out the hotspot name and password, add the current bracket number and other pre-stored data, combine these data into a data structure S0 in JSON format, and then perform custom encryption processing on S0 to generate a string S5 containing the encrypted data and signature; the method of custom encryption processing is as follows: A3.

1. Perform Base64 encoding on the string data S0 in JSON format and convert it into a string S1 in Base64 format; A3.

2. Perform N SHA265 hash encoding on the string S1, and convert the 256-bit data generated by the hash into the corresponding hexadecimal string S2. At this time, S2 contains 64 characters. A3.

3. Process S1 with a custom hash encryption algorithm to obtain an encrypted string S3. A3.

4. Encrypt S2 using the RSA asymmetric encryption algorithm, retrieve the string PRI_RSA representing the private key from the local storage, perform a standard RSA encryption operation on S2 using the private key PRI_RSA to obtain an encrypted string S4, which is the signature string. S1, S3, and S4 are connected by the # symbol to form a string S5 containing the encrypted data and the signature; A4. Turn on the NFC module. The MCU sends a command to set the NFC module to the card reader working mode. Write the string S5 generated in the previous step into the NFC module. After the data is written, the MCU will continue to switch the NFC module to the card mode. After that, the NFC module can be recognized and read by other devices as an NFC tag card. A5. Use a handheld terminal to approach a bracket controller. The NFC module of the handheld terminal reads the data from the NFC module inside the bracket controller, converts the data into a string S1 and forwards it to the application App. The application App executes the verification and decryption algorithm to parse the string S1, obtains the bracket number and hotspot information, and actively connects to the wireless network of the bracket controller according to the hotspot name and password. After the handheld terminal and the bracket controller establish a network connection, the handheld terminal realizes detection and control of the bracket controller through the application App.

2. A method for close-range monitoring and control of a hydraulic support controller according to claim 1, characterized in that: In step A5, the process of verifying the decryption algorithm is as follows: A5.

1. Separate the string S5 with the separator # to obtain three strings with length greater than 0, which are named S1, S3 and S4 respectively. A5.

2. Hash the string S1 N times with SHA265, and convert the 256-bit data generated by the hash into the corresponding hexadecimal string S6; A5.

3. Take out the public key PUB_RSA paired with the private key PRI_RSA of the RSA algorithm in step A3 from the handheld terminal, and use the public key to perform the RSA decryption algorithm on the string S4 to obtain the string S7; A5.

4. Perform a custom hash encryption algorithm on the string S1 to obtain an encrypted string S8. A5.

5. Compare the strings S3 and S8 for consistency to determine whether the two strings are the same; compare S6 and S7 for consistency to determine whether the two strings are the same; if any of the two comparisons fails the consistency check, it means that the decryption check has failed, and an exception message is reported; if both consistency checks pass, it means that the signature check and hash check are successful, and then perform Base64 decoding on the string S1 to obtain a string in JSON format, and parse the bracket number, hotspot name and password from the JSON data.

3. A method for close-range monitoring and control of a hydraulic support controller according to claim 1, characterized in that: The custom hash encryption algorithm is used to convert an input string of any length into a hash string of a fixed length of 32 characters; the specific algorithm flow is as follows: a. Initialize the seed value and hash value: select an initial seed value seed as the starting value for hash calculation; define a variable h and initialize it to seed; b. For each character char in the input string input_string, perform the following processing in sequence: b1. Get the ASCII value of the current character ord(char); b2. Update the hash value h: h = (h*31+ord(char))%2^64, where 31 is the selected multiplier and the 64-bit modulus ensures that the hash value is within the range of a 64-bit integer; c. Generate a fixed-length hash value string of 32 characters; c1. Convert the obtained 64-bit hash value h into a byte array array with a length of 16 bytes; the conversion process is as follows: c1.

1. Expand the 64-bit hash value h, set h1 as the high 64 bits, h2 as the low 64 bits, let h2 = h, h1 = h XOR 0xFFFFFFFF; the 128-bit integer composed of h1 and h2 is expressed as combined_h = (h1<<64)|h2; c1.

2. Convert the 128-bit integer combined_h obtained in the previous step into a byte array with a length of 16 bytes. According to the big-endian byte order rule, divide the 128-bit integer from high to low into 16 units, each unit has 8 bits, and each unit is an element of the byte array. c2. Convert the format of the 16-byte array array, convert the value of each byte into hexadecimal representation, and add 0 to the left of the value less than F, so that each byte is represented by 2 characters. In this way, 16 bytes are represented by 32 characters in total, and the final hash result string is 32 characters long.

4. A method for close-range monitoring and control of a hydraulic support controller according to claim 2, characterized in that: The public key PUB_RSA and the private key PRI_RSA are uniformly generated on the system server. The key pair is generated by the ssh-keygen command to protect the public key PUB_RSA and the private key PRI_RSA. Then the private key PRI_RSA in the key pair is copied to the bracket controller, and the public key PUB_RSA is copied to the application App of the handheld terminal.

Citation Information

Patent Citations

  • Method, system and terminal for Wi-Fi connection through NFC

    CN103298144A

  • NFC apparatus capable of performing contactless tag reading function

    CN108832970A

  • Network configuration sharing method and device and computer readable storage medium

    CN111866835A

  • Communication connection control method and device of hydraulic support group and electronic equipment

    CN117939446A

  • Wireless access point access method, storage medium and server

    CN117956471A