Security encryption control system based on coal mine equipment operation data

By designing a secure encryption control system based on coal mine equipment operation data, the risk of key leakage caused by frequent key encryption operations in the prior art is solved, and high security and low key management costs of data transmission are achieved.

CN119254545BActive Publication Date: 2025-02-25山西能源学院
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411783678.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-02-25
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

In the prior art, key encryption operations are frequent when uploading coal mine equipment operation data, which increases the risk of key leakage and makes it difficult to guarantee data confidentiality.

Method used

A secure encryption control system based on coal mine equipment operation data is designed, and data is collected in real time through the equipment acquisition terminal. The secure encryption control module performs secure encryption control of the data based on preset rules, and transmits the encrypted data to the cloud monitoring platform.

Benefits of technology

By relying on encryption logic rather than keys, the impact of key leakage on data transmission is reduced, data security is improved, and key management is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254545B_ABST
    Figure CN119254545B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of coal mine equipment operation data security, and specifically to a security encryption control system based on coal mine equipment operation data, including: an equipment acquisition terminal, used to collect the operation data of target equipment in coal mine operations in real time; a security encryption control module, which performs security encryption control on the operation data transmitted in real time by the equipment acquisition terminal based on preset security encryption control rules to obtain security operation control data; a cloud monitoring platform, which obtains the security operation control data transmitted by the security encryption control module, and restores and stores it by reversely executing the preset security encryption control rules. Based on the preset security encryption control rules, the present invention makes the security encryption control for the operation data rely on the encryption logic and is not affected by the key, effectively saving the maintenance and management costs of the key. At the same time, the security encryption control process is selected through multiple screening and comparison, further improving the security of the operation data transmission in the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of coal mine equipment operation data security, and in particular to a security encryption control system based on coal mine equipment operation data. Background Art

[0002] With the continuous development of the coal mining industry, the automation and intelligence of coal mining equipment are increasing day by day. The large amount of data generated during the operation of the equipment is of vital importance to ensure the safety and efficient operation of coal mine production. Therefore, how to ensure the security of these coal mining equipment operation data has become an urgent problem to be solved.

[0003] In the existing technical scope, the security protection of coal mine equipment operation data mainly relies on the encryption algorithm DES, and its core essence is to encrypt data with keys. However, since the operation data of coal mine equipment has a strong real-time nature when uploading, key encryption operations occur frequently, which greatly increases the risk of key leakage. Once the key is leaked, the confidentiality of the data will be lost, causing immeasurable losses to coal mining enterprises.

[0004] In order to solve the above problems, the present invention proposes a solution. Summary of the invention

[0005] The purpose of the present invention is to provide a safe encryption control system based on coal mine equipment operation data to solve the problems raised in the above background technology.

[0006] The present invention provides the following technical solutions:

[0007] The security encryption control system based on coal mine equipment operation data includes equipment acquisition terminal, security encryption control module and cloud monitoring platform, including:

[0008] The equipment acquisition terminal is connected to the automatic control system and multiple sensors of the target equipment, and is used to collect the operating data of the target equipment in coal mine operations in real time, and convert the collected operating data into binary format and transmit it to the security encryption control module;

[0009] The security encryption control module performs security encryption control on the binary operation data transmitted in real time by the equipment acquisition terminal based on the preset security encryption control rules, obtains the security operation control data and transmits it to the cloud monitoring platform;

[0010] The cloud monitoring platform is used to obtain the safe operation control data transmitted by the security encryption control module, and restore and store it by reversely executing the preset security encryption control rules.

[0011] Preferably, the target device is a coal mining machine, wherein the operating data of the coal mining machine includes electrical parameters, mechanical parameters, operating status parameters, working parameters of key components, environmental parameters, control instructions and feedback data.

[0012] Preferably, the electrical parameters include voltage, current and power, wherein the power is obtained based on the product of voltage and current; the mechanical parameters include rotational speed, vibration amplitude, vibration frequency, temperature and pressure; the operating status parameters include the start / stop status, operating time and working mode of the equipment; the working parameters of key components include motor output power, cutting height, traction speed and traction force; the environmental parameters include the temperature, humidity and gas concentration of the environment in which the equipment is located; the control instructions are various working instructions issued by the staff to the coal mining machine; and the feedback data are the responses to various working instructions.

[0013] Preferably, the equipment acquisition terminal is connected to the automatic control system of the coal mining machine, and is used to collect the operating status parameters, control instructions and feedback data of the coal mining machine in real time; the equipment acquisition terminal is connected to multiple sensors, and is used to collect the electrical parameters, mechanical parameters, working parameters of key components and environmental parameters of the coal mining machine in real time, wherein the multiple sensors specifically include:

[0014] Voltage sensor, used to collect power supply voltage data of coal mining machine in real time;

[0015] Current sensor, used to collect current data of coal mining machine in real time;

[0016] Speed ​​sensor, used to collect speed data of coal mining machine in real time;

[0017] Vibration sensor, used to collect the vibration amplitude and frequency of the coal mining machine in real time;

[0018] A first temperature sensor is used to collect temperature data of the coal mining machine in real time;

[0019] Pressure sensor, used to collect pressure data of coal mining machine in real time;

[0020] The second temperature sensor is used to collect temperature data of the environment in which the coal mining machine is located in real time;

[0021] Humidity sensor, used to collect humidity data of the environment where the coal mining machine is located in real time;

[0022] Electrochemical sensor, used to collect gas concentration data in real time;

[0023] Power sensor, used to collect motor output power data in real time;

[0024] Displacement sensor and rotary encoder, used to collect the cutting height of the cutting drum of the coal mining machine in real time;

[0025] Speed ​​sensor, used to collect the traction speed of the coal mining machine in real time;

[0026] Force sensor, used to collect the traction force of the coal mining machine in real time.

[0027] Preferably, the steps of securely encrypting and controlling the operation data in binary format transmitted in real time by the equipment acquisition terminal to obtain secure operation control data are as follows:

[0028] S11: cutting the running data in binary format into a plurality of groups of binary data according to a specified cutting step length from left to right, the number of characters in each group of binary data being 4, wherein the specified cutting step length is 4;

[0029] S12: marking all the groups of binary data as H1, H2, ..., Hh from left to right in sequence according to the number of bits in the binary format running data before each group of binary data is cut;

[0030] S13: based on the preset security encryption control rules, sequentially obtain the mapping objects of the binary numbers that are consistent with the base data H1, H2, ..., Hh, and use them as the security encryption control objects of the corresponding base data;

[0031] S14: In the order of base data H1, H2, ..., Hh, the corresponding security encryption control objects are spliced ​​to obtain security operation control data.

[0032] Preferably, the security encryption control rules for obtaining the mapping object of the binary number consistent with the base data H1, H2, ..., Hh in step S13 are as follows:

[0033] S21: Mark the four binary digits corresponding to the numbers 0-15 as A0-A15 in sequence;

[0034] S22: Create an object list of binary number A0, and select binary number A0 as the original image system. At this time, the object list of binary number A0 is an empty list. Then, in the order of binary numbers A0, A1, ..., A15, select the first binary number that is not in the original image system as the object system.

[0035] S23: after calculating a plurality of object sequences of the binary number A0 in sequence according to a preset screening and adding rule from all binary numbers other than the binary number selected as the original image system, the plurality of object sequences are added into the object list of the binary number A0;

[0036] S24: repeat steps S22-S23 to obtain an object list of binary numbers A1-A15 in sequence;

[0037] S25: counting the total number of elements in the object lists of binary numbers A0-A15 in sequence, and then marking the corresponding object lists as D0-D15 in ascending order according to the total number of elements counted, where an element refers to a single item in the list data structure;

[0038] S26: selecting a mapping object for the binary number corresponding to the object list D0 according to a preset mapping selection rule;

[0039] S27: repeat step S26 to select mapping objects for the binary numbers corresponding to the object lists D1, D2, ..., D15 in turn;

[0040] S28. Associate the object list D0-D15 with its corresponding binary number object list A0-A15. After matching the base data H1, H2, ..., Hh with the binary numbers A0-A15 one by one, obtain the mapping objects corresponding to the base data H1, H2, ..., Hh according to the object list D0-D15 associated with the binary number object list A0-A15.

[0041] Preferably, the screening and adding rules preset in step S23 are as follows:

[0042] S231: from left to right, all characters constituting the original image system are marked as B1, B2, B3 and B4 in sequence; similarly, from left to right, all characters constituting the object system are marked as C1, C2, C3 and C4 in sequence;

[0043] S232, compare the character B1 with the characters C1, C2, C3 and C4 in sequence for consistency, obtain the number of digits of the first character consistent with the character B1 in the object system and mark the number of digits of the character as the object number of the character B1; if the characters C1, C2, C3 and C4 are not consistent with the character B1, it is determined that the binary number currently selected as the object system has no mapping relationship with the binary number selected as the original image system, and the consistency comparison operation of the character B1 ends, and thereafter the consistency comparison operation of the characters B2, B3 and B4 is not performed, and then the steps S233-S236 are skipped and the step S237 is executed;

[0044] S233: If the character B1 has an object digit, mark the object digit of the character B1 as a (a∈positive integer and 1≤a≤4), where:

[0045] 1) When 1≤a<4, replace character B2 with character C in sequence. a+1 , ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B2 in the object system is obtained and the number of digits of the character is marked as the object number of character B2; if after comparison, character C a+1, ..., C4 are all inconsistent with character B2, then the consistency comparison operation of character B2 ends, and thereafter characters B3 and B4 are not subjected to consistency comparison operation, and the object digits of character B1 are directly taken as an object sequence of the original image system, and the object sequence is added to the object list of binary number A0, and then steps S234-S236 are skipped and step S237 is executed;

[0046] 2) When a=4, the characters B2, B3 and B4 are not subjected to consistency comparison operation, and the object digits of the character B1 are directly taken as an object sequence in the original image system, and the object sequence is added to the object list of the binary number A0, and then steps S234-S236 are skipped and step S237 is executed;

[0047] S234: If both characters B1 and B2 have target digits, mark the target digit of character B2 as c (c∈positive integer and a≤c≤4), where:

[0048] 1) When a≤c<4, replace character B3 and character C in sequence. c+1 , ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B3 in the object system is obtained and the number of digits of the character is marked as the object number of character B3; if after comparison, character C c+1 , ..., C4 are all inconsistent with character B3, then the consistency comparison operation of character B3 ends, and thereafter the consistency comparison operation of character B4 is not performed, and the corresponding object digits of characters B1 and B2 are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0, and then steps S235-S236 are skipped and step S237 is executed;

[0049] 2) When c=4, the characters B3 and B4 are not subjected to consistency comparison operation, and the corresponding object digits of the characters B1 and B2 are concatenated into an object sequence in the original image system in the order of the characters B1 and B2, and the object sequence is added to the object list of the binary number A0, and then steps S235-S236 are skipped and step S237 is executed;

[0050] S235: If characters B1, B2, and B3 all have object digits, mark the object digit of character B3 as d (d∈positive integer and c≤d≤4), where:

[0051] 1) When c≤d<4, replace character B4 with character C in sequence. d+1 , ..., C4 for consistency comparison, obtain the digit number of the first character consistent with character B4 in the object system and mark the digit number of the character as the object digit number of character B4; if after comparison, character C d+1, ..., C4 are all inconsistent with character B4, then the consistency comparison operation of character B4 ends, and the corresponding object digits of characters B1, B2 and B3 are spliced ​​into an object sequence in the original image system in the order of characters B1, B2 and B3, and the object sequence is added to the object list of binary number A0, then step S236 is skipped and step S237 is executed;

[0052] 2) When d=4, the character B4 is not subjected to consistency comparison operation, and the corresponding object digits of the characters B1, B2 and B3 are concatenated into an object sequence in the original image system in the order of the characters B1, B2 and B3, and the object sequence is added to the object list of the binary number A0, and then step S236 is skipped and step S237 is executed;

[0053] S236: If characters B1, B2, B3, and B4 all have object digits, then the object digits corresponding to characters B1, B2, B3, and B4 are concatenated in order into an object sequence in the original image system, and the object sequence is added to the object list of the binary number A0;

[0054] S237: In the order of binary numbers A0-A15, select the remaining binary numbers that are not in the original image system as the object system, repeat steps S231-S236 to obtain several object sequences in the original image system, and add the several object sequences to the object list of binary number A0.

[0055] Preferably, the mapping selection rule preset in step S26 is as follows:

[0056] S261: extract all elements in the object list D0 in order from left to right, and mark all the extracted elements as E1, E2, ..., Ee in order of extraction, e≥1;

[0057] S262: Traverse all characters constituting element E1, and obtain the number of characters whose numbers are 1, 2, 3, and 4 in turn, and mark them as F1, F2, F3, and F4 respectively;

[0058] S263: Calculate and obtain the selected mapping evaluation index G of the element E1 using the formula G=F1×ɑ1+F2×ɑ2+F3×ɑ3+F4×ɑ4, where ɑ1, ɑ2, ɑ3 and ɑ4 are preset mapping proportion evaluation weights of characters with values ​​of 1, 2, 3 and 4 respectively;

[0059] S264: repeating steps S261-S263, calculating the selected mapping evaluation index G of elements E2, ..., Ee in sequence;

[0060] S265: Select the element corresponding to the selected mapping evaluation indicator with the largest value from all selected mapping evaluation indicators as the mapping object of the binary number corresponding to the object list D0.

[0061] Preferably, when selecting a mapping object for the binary number corresponding to each object list, it is necessary to ensure that the mapping object corresponding to each binary number must be unique. If the selected element has been used as a mapping object for other binary numbers, skip it and continue to consider the next element with the second largest value until an unused element is found as the mapping object for the current binary number.

[0062] Beneficial effects of the present invention:

[0063] The present invention collects the operation data of the target device in real time by setting a device collection terminal, and the security encryption control module constructs an object list of binary numbers corresponding to 0 to 15, and according to the result of character consistency comparison with the remaining two binary numbers, the number of bits of the consistent characters is used as the object sequence to be added in the object list, and the selected mapping evaluation index of each object sequence is calculated based on the number of numbers 1, 2, 3, and 4 in the object sequence, and the corresponding mapping object is selected for each binary according to the selected mapping evaluation index, and the operation data is replaced and encrypted according to the mapping object to obtain the security encryption control data. In this way, on the one hand, the security encryption control for the operation data depends on the encryption logic but is not affected by the key, and the loss of the key is not related to the secure transmission of the operation data, and the maintenance and management cost of the key is also saved. On the other hand, the selection process of the mapping object of each binary number is selected through multiple screening and comparison, which is difficult to be cracked, and the security of the transmission of the operation data in the network is further strengthened. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The present invention will be further described below in conjunction with the accompanying drawings.

[0065] Figure 1 is a system block diagram of the present invention;

[0066] Figure 2 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0068] like Figure 1 , 2As shown, the security encryption control system based on coal mine equipment operation data includes an equipment acquisition terminal, a security encryption control module and a cloud monitoring platform.

[0069] The equipment acquisition terminal involved in the present invention is connected to the automatic control system and multiple sensors of the target equipment, and is used to collect the operating data of the target equipment in coal mine operations in real time, and convert the collected operating data into binary format and transmit it to the security encryption control module.

[0070] In the present application, the target equipment refers to various types of equipment that have an important impact on production and efficiency during coal mining, including but not limited to coal mining machines, tunneling machines, ventilators, hoists and belt conveyors.

[0071] In the embodiment of the present application, the target device is a coal mining machine, wherein the operating data of the coal mining machine includes electrical parameters, mechanical parameters, operating status parameters, working parameters of key components, environmental parameters, control instructions and feedback data.

[0072] Preferably, the electrical parameters include voltage, current and power, wherein the power is obtained based on the product of voltage and current; the mechanical parameters include rotational speed, vibration amplitude, vibration frequency, temperature and pressure; the operating status parameters include the start / stop status, operating time and working mode of the equipment; the working parameters of key components include motor output power, cutting height, traction speed and traction force; the environmental parameters include the temperature, humidity and gas concentration of the environment in which the equipment is located; the control instructions are various working instructions issued by the staff to the coal mining machine; and the feedback data are the responses to various working instructions.

[0073] It should be noted that the power data in this application is not obtained by direct measurement, but is obtained based on the product of the voltage and current collected.

[0074] In the embodiment of the present application, when there is only one cutting motor, the motor output power refers to the output power of the single cutting motor; when there are multiple cutting motors, the motor output power refers to the output power of multiple cutting motors. The cutting height is the height of the space formed above the bottom plate of the working face when the working mechanism of the coal mining machine is working. The maximum cutting height determines the mining height of the coal mining working face; the cutting speed is the linear speed of the movement of the pick tip, which affects the cutting depth of each pick, the block rate of broken coal, the heating and wear of the pick, etc.; the traction speed is the linear speed of the coal mining machine moving along the traction direction of the longwall coal mining working face; the traction force is the force that drives the coal mining machine to move.

[0075] It should be noted that the equipment data collection terminal can also be connected to a power factor meter to collect the power factor of the coal mining machine in real time.

[0076] In this application, the equipment acquisition terminal is connected to the automatic control system of the coal mining machine and is used to collect the operating status parameters, control instructions and feedback data of the coal mining machine in real time.

[0077] In this application, the equipment acquisition terminal is connected to multiple sensors for real-time acquisition of electrical parameters, mechanical parameters, working parameters of key components and environmental parameters of the coal mining machine, wherein the multiple sensors specifically include:

[0078] Voltage sensor, used to collect power supply voltage data of coal mining machine in real time;

[0079] Current sensor, used to collect current data of coal mining machine in real time;

[0080] Speed ​​sensor, used to collect speed data of coal mining machine in real time;

[0081] Vibration sensor, used to collect the vibration amplitude and frequency of the coal mining machine in real time;

[0082] A first temperature sensor is used to collect temperature data of the coal mining machine in real time;

[0083] Pressure sensor, used to collect pressure data of coal mining machine in real time;

[0084] The second temperature sensor is used to collect temperature data of the environment in which the coal mining machine is located in real time;

[0085] Humidity sensor, used to collect humidity data of the environment where the coal mining machine is located in real time;

[0086] Electrochemical sensor, used to collect gas concentration data in real time;

[0087] Power sensor, used to collect motor output power data in real time;

[0088] Displacement sensor and rotary encoder, used to collect the cutting height of the cutting drum of the coal mining machine in real time;

[0089] Speed ​​sensor, used to collect the traction speed of the coal mining machine in real time;

[0090] Force sensor, used to collect the traction force of the coal mining machine in real time.

[0091] It should be noted that due to different working environments and regions, the staff can set the working parameters of key components according to actual needs during the actual application process. In addition, since the operating data of each target device is different, the staff can set the corresponding operating data of the device according to the target device used during the actual use process.

[0092] The security encryption control module of the present invention performs security encryption control on the operation data in binary format transmitted in real time by the equipment acquisition terminal based on preset security encryption control rules, obtains security operation control data and transmits it to the cloud monitoring platform.

[0093] Preferably, the steps of securely encrypting and controlling the operation data in binary format transmitted in real time by the equipment acquisition terminal to obtain secure operation control data are as follows:

[0094] S11: Cutting the running data in binary format into a plurality of groups of binary data according to a specified cutting step from left to right, wherein the number of characters in each group of binary data is 4, and the specified cutting step is 4.

[0095] S12: Mark all the groups of binary data as H1, H2, . . . , Hh from left to right according to the number of bits in the running data in the binary format before each group of binary data is cut.

[0096] It should be noted that the binary format operating data transmitted in real time by the equipment acquisition terminal are all integer multiples of 4. For example, if the temperature of the environment in which the equipment is located is 40 degrees Celsius, its binary number is 101000. At this time, the system will automatically fill 101000 with a multiple of 4, becoming 00101000. In addition, since the binary format operating data is cut into several groups of base data with a step length of 4 from left to right in step S11, 00101000 will be cut into 0010, 1000 and marked as H1, H2 respectively, and the system will automatically mark H1 and H2 together so that the cloud monitoring platform can reverse the preset security encryption control rules and restore them. If the binary format operating data is cut into 3 groups, 4 groups or 5 groups, the system will automatically mark these 3 groups, 4 groups or 5 groups together.

[0097] S13: Based on the preset security encryption control rules, binary number mapping objects consistent with the base data H1, H2, ..., Hh are obtained in sequence, and used as security encryption control objects of the corresponding base data.

[0098] S14: In the order of base data H1, H2, ..., Hh, the corresponding security encryption control objects are spliced ​​to obtain security operation control data.

[0099] In the present application, the security encryption control rules for obtaining the mapping object of the binary number consistent with the base data H1, H2, ..., Hh in step S13 are as follows:

[0100] S21: Mark the four binary digits corresponding to the numbers 0-15 as A0-A15 in sequence.

[0101] For example, the four-bit binary numbers corresponding to the numbers 0-15 are 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111, and 0000 is marked as A0, 0001 is marked as A1, ..., 1111 is marked as A15.

[0102] S22: Create an object list of binary number A0, and select binary number A0 as the original image system. At this time, the object list of binary number A0 is an empty list. Then, in the order of binary numbers A0, A1, ..., A15, select the first binary number that is not in the original image system as the object system.

[0103] For example, if binary number A0 is selected as the original image system, in the order of binary numbers A0, A1, ..., A15, the first binary number that is not in the original image system is selected as the object system. At this time, since binary number A0 is selected as the original image system, then in the order of binary numbers A0, A1, ..., A15, the first binary number that is not in the original image system selected is binary number A1.

[0104] S23: After calculating a plurality of object sequences of the binary number A0 in sequence according to a preset screening and adding rule from all binary numbers other than the binary number selected as the original image system, the plurality of object sequences are added into the object list of the binary number A0.

[0105] In the embodiment of the present application, the screening and adding rules preset in step S23 are as follows:

[0106] S231: From left to right, all characters constituting the original image system are marked as B1, B2, B3 and B4 in sequence; similarly, from left to right, all characters constituting the object system are marked as C1, C2, C3 and C4 in sequence.

[0107] S232. Compare character B1 with characters C1, C2, C3 and C4 in sequence for consistency, obtain the number of digits of the first character consistent with character B1 in the object system and calibrate the number of digits of this character as the object number of character B1; if characters C1, C2, C3 and C4 are inconsistent with character B1, it is determined that there is no mapping relationship between the binary number currently selected as the object system and the binary number selected as the original image system, and the consistency comparison operation of character B1 ends, and thereafter, the consistency comparison operation of characters B2, B3 and B4 is not performed, and then steps S233-S236 are skipped and step S237 is executed.

[0108] It should be noted that the number of digits of each character in the original system and the object system is 1, 2, 3, and 4 in order from left to right. In this embodiment, in order to facilitate understanding in the process of marking characters, the subscript of each character is consistent with its corresponding number of digits.

[0109] S233: If the character B1 has an object digit, mark the object digit of the character B1 as a (a∈positive integer and 1≤a≤4), where:

[0110] 1) When 1≤a<4, replace character B2 with character C in sequence. a+1 , ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B2 in the object system is obtained and the number of digits of the character is marked as the object number of character B2; if after comparison, character C a+1 , ..., C4 are all inconsistent with character B2, then the consistency comparison operation of character B2 ends, and thereafter characters B3 and B4 are not subjected to consistency comparison operation, and the object digits of character B1 are directly taken as an object sequence of the original image system, and the object sequence is added to the object list of binary number A0, and then steps S234-S236 are skipped and step S237 is executed;

[0111] 2) When a=4, characters B2, B3 and B4 are not subjected to consistency comparison operation, and the object digit number of character B1 is directly taken as an object sequence in the original image system, and the object sequence is added to the object list of binary number A0, and then steps S234-S236 are skipped and step S237 is executed.

[0112] For example, when the number of object bits of character B1 is 2, character B2 is compared with characters C3 and C4 for consistency; when the number of object bits of character B1 is 4, it means that character B1 has been compared with characters C1, C2, C3 and C4 in sequence for consistency, and finally the first character consistent with character B1 is C4. At this time, a=4, so characters B2, B3 and B4 are not compared for consistency, and this round of comparison is completed. Then, the number of object bits of character B1 is taken as an object sequence in the original image system, and the object sequence is added to the object list of binary number A0, and then steps S234-S236 are skipped, and step S237 is executed, and binary numbers A2, A3, A4...A15 are selected in sequence as the object system, and the next round of character comparison is performed again.

[0113] S234: If both characters B1 and B2 have target digits, mark the target digit of character B2 as c (c∈positive integer and a≤c≤4), where:

[0114] 1) When a≤c<4, replace character B3 and character C in sequence. c+1, ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B3 in the object system is obtained and the number of digits of the character is marked as the object number of character B3; if after comparison, character C c+1 , ..., C4 are all inconsistent with character B3, then the consistency comparison operation of character B3 ends, and thereafter the consistency comparison operation of character B4 is not performed, and the corresponding object digits of characters B1 and B2 are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0, and then steps S235-S236 are skipped and step S237 is executed;

[0115] 2) When c=4, characters B3 and B4 are not compared for consistency, and their corresponding object bits are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0, then steps S235-S236 are skipped and step S237 is executed.

[0116] For example, when the number of object bits of character B1 is 2 and the number of object bits of character B2 is 3, character B3 is compared with character C4 for consistency. If character C4 is inconsistent with character B3, the consistency comparison operation of character B3 ends, and thereafter, character B4 is not compared for consistency. The corresponding object bits of characters B1 and B2 are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0, and then steps S235-S236 are skipped and step S237 is executed.

[0117] For example, when the object bit number of character B1 is 2 and the object bit number of character B2 is 4, it means that the first character consistent with character B2 is C4. At this time, c=4. Therefore, neither character B3 nor B4 is compared for consistency. This round of comparison is completed. Then, the corresponding object bit numbers of characters B1 and B2 are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0. Then, steps S235-S236 are skipped and step S237 is executed. Binary numbers A2, A3, A4...A15 are selected in turn as the object system, and the next round of character comparison is performed again.

[0118] S235: If characters B1, B2, and B3 all have object digits, mark the object digit of character B3 as d (d∈positive integer and c≤d≤4), where:

[0119] 1) When c≤d<4, replace character B4 with character C in sequence. d+1, ..., C4 for consistency comparison, obtain the digit number of the first character consistent with character B4 in the object system and mark the digit number of the character as the object digit number of character B4; if after comparison, character C d+1 , ..., C4 are all inconsistent with character B4, then the consistency comparison operation of character B4 ends, and the corresponding object digits of characters B1, B2 and B3 are spliced ​​into an object sequence in the original image system in the order of characters B1, B2 and B3, and the object sequence is added to the object list of binary number A0, then step S236 is skipped and step S237 is executed;

[0120] 2) When d=4, character B4 is not subjected to consistency comparison operation, and the corresponding object digits of characters B1, B2 and B3 are concatenated into an object sequence in the original image system in the order of characters B1, B2 and B3, and the object sequence is added to the object list of binary number A0, then step S236 is skipped and step S237 is executed.

[0121] For example, if binary number A0 is selected as the original image system, then the object system is binary number A1. At this time, all characters B1, B2, B3 and B4 in the original image system are 0, 0, 0, 0 respectively, and all characters C1, C2, C3 and C4 in the object system are 0, 0, 0, 1 respectively; then, character B1 is compared with characters C1, C2, C3 and C4 in turn for consistency. At this time, the first character in the object system that is consistent with character B1 is C1. Since character C1 is in the first position in the object system, the object bit number a of character B1=1.

[0122] When character B1 has an object digit and the object digit is 1, character B2 is compared with characters C2, C3 and C4 in sequence for consistency. At this time, the first character consistent with character B2 is C2. Since character C2 is located in the second position in the object system, the object digit c of character B2 = 2.

[0123] When characters B1 and B2 both have object digits and the object digit of character B2 is 2, character B3 is compared with characters C3 and C4 in turn for consistency. At this time, the first character consistent with character B3 is C3. Since character C3 is located at the third position in the object system, the object digit d of character B3 = 3.

[0124] When characters B1, B2, and B3 all have object digits and the number of object digits of character B3 is 3, character B4 and character C4 are compared for consistency. Since character C4 is inconsistent with character B4, the consistency comparison operation for character B4 ends. Subsequently, the corresponding object digits of characters B1, B2, and B3 are concatenated into an object sequence in the original image system, i.e., 123, in the order of characters B1, B2, and B3, and the object sequence 123 is added to the object list of binary number A0, and then step S237 is directly executed.

[0125] S236: If characters B1, B2, B3, and B4 all have object digits, the corresponding object digits are concatenated into an object sequence in the original image system in the order of characters B1, B2, B3, and B4, and the object sequence is added to the object list of the binary number A0.

[0126] S237: In the order of binary numbers A0-A15, select the remaining binary numbers that are not in the original image system as the object system, repeat steps S231-S236 to obtain several object sequences in the original image system, and add the several object sequences to the object list of binary number A0.

[0127] In the present application, steps S231-S236 select binary number A1 as the object system of original image system A0. In step S237, according to the order of binary numbers A0-A15, binary number A2 is selected as the object system of original image system A0, and binary number A3 is selected as the object system of original image system A0.

[0128] S24: Repeat steps S22-S23 to obtain an object list of binary numbers A1-A15 in sequence.

[0129] In the present application, the original image system selected in step S22 is A0, and by executing step S23, several object sequences of the original image system A0 are added to the object list of the binary number A0. Therefore, in step S24, an object list of the binary number A1 is created, and the binary number A1 is selected as the original image system, and then in the order of the binary numbers A0, A1, ..., A15, the remaining binary numbers that are not in the original image system are selected as the object system, and several object sequences of the original image system A1 are added to the object list of the binary number A1, and the object lists of the binary numbers A2-A15 are obtained by analogy.

[0130] S25: Count the total number of elements in the object lists of binary numbers A0-A15 in sequence, and then label the corresponding object lists as D0-D15 in ascending order according to the counted total number of elements, where an element refers to a single item in the list data structure.

[0131] For example, if the object list of binary number A0 = [123, 124, 12, 134, 13, 14, 1, 234, 23, 24, 2, 34, 3, 4], then the total number of elements in the object list of binary number A0 is 14.

[0132] Preferably, during the marking process of step S25, if the total number of elements in multiple object lists is the same, the corresponding binary numbers are marked in ascending order, and the object lists with smaller marks are marked first, and the remaining object lists are marked normally in ascending order according to the total number of elements.

[0133] For example, if the total number of elements in the object lists of binary numbers A2 and A5 is the same, the object list corresponding to binary number A2 is marked first, and then the object list corresponding to binary number A5 is marked. The remaining object lists with a total number of elements greater than A5 are marked normally after A5 in the order of the total number of elements from the smallest to the largest.

[0134] S26: Select a mapping object for the binary number corresponding to the object list D0 according to a preset mapping selection rule.

[0135] In the embodiment of the present application, the mapping selection rule preset in step S26 is as follows:

[0136] S261: Extract all elements in the object list D0 in order from left to right, and mark all the extracted elements as E1, E2, ..., Ee, e≥1 in the order of extraction.

[0137] S262: Traverse all characters constituting element E1, and obtain the number of characters whose numbers are 1, 2, 3, and 4 in turn, and mark them as F1, F2, F3, and F4 respectively.

[0138] For example, the object list of binary number A0 = [123, 124, 12, 134, 13, 14, 1, 234, 23, 24, 2, 34, 3, 4]. Assuming that the total number of elements in the object list of binary number A0 is the least, then the object list D0 = the object list of binary number A0 = [123, 124, 12, 134, 13, 14, 1, 234, 23, 24, 2, 34, 3, 4], then E1 = 123, E2 = 124, E3 = 12, E4 = 134, ..., E14 = 4. Then, all the characters constituting E1 are traversed to obtain the number of characters with the numbers 1, 2, 3, and 4 in turn. At this time, the number of characters with the numbers 1, 2, 3, and 4 is 1, 1, 1, and 0, then F1 = 1, F2 = 1, F3 = 1, and F4 = 0.

[0139] S263: Calculate the selected mapping evaluation index G of the element E1 using the formula G=F1×ɑ1+F2×ɑ2+F3×ɑ3+F4×ɑ4, where ɑ1, ɑ2, ɑ3 and ɑ4 are the preset mapping proportion evaluation weights of the characters with values ​​of 1, 2, 3 and 4 respectively.

[0140] It should be noted that, in actual application, the preset mapping proportion evaluation weights of characters with values ​​of 1, 2, 3, and 4 are set according to actual needs.

[0141] S264: Repeat steps S261-S263 to calculate the selected mapping evaluation index G of elements E2, ..., Ee in sequence.

[0142] S265: Select the element corresponding to the selected mapping evaluation indicator with the largest value from all selected mapping evaluation indicators as the mapping object of the binary number corresponding to the object list D0.

[0143] Assume that the element with the largest mapping evaluation index G in the object list D0 is E4, then E4 is selected as the mapping object of the binary number corresponding to the object list D0.

[0144] S27: Repeat step S26 to select mapping objects for the binary numbers corresponding to the object lists D1, D2, ..., D15 in turn.

[0145] Preferably, when selecting a mapping object for the binary number corresponding to each object list, it is necessary to ensure that the mapping object corresponding to each binary number must be unique. If the selected element has been used as a mapping object for other binary numbers, skip it and continue to consider the next element with the second largest value until an unused element is found as the mapping object for the current binary number.

[0146] For example, when the mapping object of the binary number corresponding to the object list D0 is element E4, if the element corresponding to the selected mapping evaluation indicator with the largest value in the object list D3 is also E4, the object list D3 skips element E4 and selects the next unused element with the second largest value as the mapping object.

[0147] It should be emphasized that the mapping objects selected for the binary numbers corresponding to each object list are different. In the process of selecting mapping objects for the binary numbers corresponding to each object list, when the element corresponding to the selected mapping evaluation indicator with the largest numerical value is selected as the mapping object, the element will be judged. If the element has been selected as the mapping object of a certain binary number, the second, third,..., and nth largest selected mapping evaluation indicators will continue to be selected until the element corresponding to the selected selected mapping evaluation indicator has not been selected as the mapping object of a certain binary number, and n is the total number of elements in the object list to which the corresponding element belongs.

[0148] It should be noted that if the available elements in a certain object list in step S27 have all been used as mapping objects of other binary numbers, in order to ensure that the object list has corresponding mapping objects, the element with the largest mapping evaluation index, the element with the smallest mapping evaluation index, or the element with an intermediate mapping evaluation index is selected from all the elements in the object list as the mapping object of the object list. The specific selection method is set by the user according to actual needs.

[0149] S28. Associate the object list D0-D15 with its corresponding binary number object list A0-A15. After matching the base data H1, H2, ..., Hh with the binary numbers A0-A15 one by one, obtain the mapping objects corresponding to the base data H1, H2, ..., Hh according to the object list D0-D15 associated with the binary number object list A0-A15.

[0150] For example, if the binary number object list corresponding to the object list D5 is A11, when the base data H1 is 1011, its corresponding binary number is A11, and then the binary number selected mapping object of the object list D5 associated with the binary number object list A11 is selected as the mapping object of the base data H1.

[0151] The cloud monitoring platform involved in the present invention is used to obtain the safe operation control data transmitted by the safe encryption control module, and restore and store it by inversely executing preset safe encryption control rules.

[0152] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0153] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

[0154] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A secure encryption control system based on coal mine equipment operation data, characterized in that: It includes equipment acquisition terminal, security encryption control module and cloud monitoring platform, including: The equipment acquisition terminal is connected to the automatic control system and multiple sensors of the target equipment, and is used to collect the operating data of the target equipment in coal mine operations in real time, and convert the collected operating data into binary format and transmit it to the security encryption control module. The target equipment is a coal mining machine, and the operating data of the coal mining machine includes electrical parameters, mechanical parameters, operating status parameters, working parameters of key components, environmental parameters, control instructions and feedback data; the electrical parameters include voltage, current and power, where the power is obtained based on the product of voltage and current; the mechanical parameters include speed, vibration amplitude, vibration frequency, temperature and pressure, and the operating status parameters include the start and stop status of the equipment, operation The equipment acquisition terminal is connected to the automatic control system of the coal mining machine to collect the operating status parameters, control instructions and feedback data of the coal mining machine in real time; the equipment acquisition terminal is connected to multiple sensors to collect the electrical parameters, mechanical parameters, working parameters of key components and environmental parameters of the coal mining machine in real time, and the multiple sensors specifically include: Voltage sensor, used to collect power supply voltage data of coal mining machine in real time; Current sensor, used to collect current data of coal mining machine in real time; Speed ​​sensor, used to collect speed data of coal mining machine in real time; Vibration sensor, used to collect the vibration amplitude and frequency of the coal mining machine in real time; A first temperature sensor is used to collect temperature data of the coal mining machine in real time; Pressure sensor, used to collect pressure data of coal mining machine in real time; The second temperature sensor is used to collect temperature data of the environment where the coal mining machine is located in real time; Humidity sensor, used to collect humidity data of the environment where the coal mining machine is located in real time; Electrochemical sensor, used to collect gas concentration data in real time; Power sensor, used to collect motor output power data in real time; Displacement sensor and rotary encoder, used to collect the cutting height of the cutting drum of the coal mining machine in real time; Speed ​​sensor, used to collect the traction speed of the coal mining machine in real time; Force sensor, used to collect the traction force of the coal mining machine in real time; The security encryption control module performs security encryption control on the binary format operation data transmitted in real time by the equipment acquisition terminal based on the preset security encryption control rules, obtains the security operation control data and transmits it to the cloud monitoring platform, wherein the steps of performing security encryption control on the binary format operation data transmitted in real time by the equipment acquisition terminal to obtain the security operation control data are as follows: S11: cutting the running data in binary format into a plurality of groups of binary data according to a specified cutting step length from left to right, the number of characters in each group of binary data being 4, wherein the specified cutting step length is 4; S12: marking all the groups of binary data as H1, H2, ..., Hh from left to right in sequence according to the number of bits in the binary format running data before each group of binary data is cut; S13: Based on the preset security encryption control rules, binary number mapping objects consistent with the base data H1, H2, ..., Hh are obtained in sequence, and used as security encryption control objects corresponding to the base data, wherein the security encryption control rules for obtaining the binary number mapping objects consistent with the base data H1, H2, ..., Hh are as follows: S21: Mark the four binary digits corresponding to the numbers 0-15 as A0-A15 in sequence; S22: Create an object list of binary number A0, and select binary number A0 as the original image system. At this time, the object list of binary number A0 is an empty list. Then, in the order of binary numbers A0, A1, ..., A15, select the first binary number that is not in the original image system as the object system. S23: after calculating a plurality of object sequences of the binary number A0 in sequence according to a preset screening and adding rule from all binary numbers other than the binary number selected as the original image system, the plurality of object sequences are added into the object list of the binary number A0; S24: repeat steps S22-S23 to obtain an object list of binary numbers A1-A15 in sequence; S25: counting the total number of elements in the object lists of binary numbers A0-A15 in sequence, and then marking the corresponding object lists as D0-D15 in ascending order according to the total number of elements counted, where an element refers to a single item in the list data structure; S26: selecting a mapping object for the binary number corresponding to the object list D0 according to a preset mapping selection rule; S27: repeat step S26 to select mapping objects for the binary numbers corresponding to the object lists D1, D2, ..., D15 in turn; S28, associating the object lists D0-D15 with their corresponding binary number object lists A0-A15, and after matching the base data H1, H2, ..., Hh with the binary numbers A0-A15 one by one, obtaining mapping objects corresponding to the base data H1, H2, ..., Hh according to the object lists D0-D15 associated with the binary number object lists A0-A15; S14: in the order of base data H1, H2, ..., Hh, the corresponding security encryption control objects are spliced ​​to obtain security operation control data; The cloud monitoring platform is used to obtain the safe operation control data transmitted by the security encryption control module, and restore and store it by reversely executing the preset security encryption control rules.

2. The security encryption control system based on coal mine equipment operation data according to claim 1 is characterized in that: The screening and adding rules preset in step S23 are as follows: S231: from left to right, all characters constituting the original image system are marked as B1, B2, B3 and B4 in sequence; similarly, from left to right, all characters constituting the object system are marked as C1, C2, C3 and C4 in sequence; S232, compare the character B1 with the characters C1, C2, C3 and C4 in sequence for consistency, obtain the number of digits of the first character consistent with the character B1 in the object system and mark the number of digits of the character as the object number of the character B1; if the characters C1, C2, C3 and C4 are not consistent with the character B1, it is determined that the binary number currently selected as the object system has no mapping relationship with the binary number selected as the original image system, and the consistency comparison operation of the character B1 ends, and thereafter the consistency comparison operation of the characters B2, B3 and B4 is not performed, and then the steps S233-S236 are skipped and the step S237 is executed; S233: If the character B1 has an object digit, mark the object digit of the character B1 as a (a∈positive integer and 1≤a≤4), where: 1) When 1≤a<4, replace character B2 with character C in sequence. a+1 , ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B2 in the object system is obtained and the number of digits of the character is marked as the object number of character B2; if after comparison, character C a+1 , ..., C4 are all inconsistent with character B2, then the consistency comparison operation of character B2 ends, and thereafter characters B3 and B4 are not subjected to consistency comparison operation, and the object digits of character B1 are directly taken as an object sequence of the original image system, and the object sequence is added to the object list of binary number A0, and then steps S234-S236 are skipped and step S237 is executed; 2) When a=4, the characters B2, B3 and B4 are not subjected to consistency comparison operation, and the object digits of the character B1 are directly taken as an object sequence in the original image system, and the object sequence is added to the object list of the binary number A0, and then steps S234-S236 are skipped and step S237 is executed; S234: If both characters B1 and B2 have target digits, mark the target digit of character B2 as c (c∈positive integer and a≤c≤4), where: 1) When a≤c<4, replace character B3 and character C in sequence. c+1 , ..., C4 are compared for consistency, the number of digits of the first character that is consistent with character B3 in the object system is obtained and the number of digits of the character is marked as the object number of character B3; if after comparison, character C c+1 , ..., C4 are all inconsistent with character B3, then the consistency comparison operation of character B3 ends, and thereafter the consistency comparison operation of character B4 is not performed, and the corresponding object digits of characters B1 and B2 are concatenated into an object sequence in the original image system in the order of characters B1 and B2, and the object sequence is added to the object list of binary number A0, and then steps S235-S236 are skipped and step S237 is executed; 2) When c=4, the characters B3 and B4 are not subjected to consistency comparison operation, and the corresponding object digits of the characters B1 and B2 are concatenated into an object sequence in the original image system in the order of the characters B1 and B2, and the object sequence is added to the object list of the binary number A0, and then steps S235-S236 are skipped and step S237 is executed; S235: If characters B1, B2, and B3 all have object digits, mark the object digit of character B3 as d (d∈positive integer and c≤d≤4), where: 1) When c≤d<4, replace character B4 with character C in sequence. d+1 , ..., C4 for consistency comparison, obtain the digit number of the first character consistent with character B4 in the object system and mark the digit number of the character as the object digit number of character B4; if after comparison, character C d+1 , ..., C4 are all inconsistent with character B4, then the consistency comparison operation of character B4 ends, and the corresponding object digits of characters B1, B2 and B3 are spliced ​​into an object sequence in the original image system in the order of characters B1, B2 and B3, and the object sequence is added to the object list of binary number A0, then step S236 is skipped and step S237 is executed; 2) When d=4, the character B4 is not subjected to consistency comparison operation, and the corresponding object digits of the characters B1, B2 and B3 are concatenated into an object sequence in the original image system in the order of the characters B1, B2 and B3, and the object sequence is added to the object list of the binary number A0, and then step S236 is skipped and step S237 is executed; S236: If characters B1, B2, B3, and B4 all have object digits, then the object digits corresponding to characters B1, B2, B3, and B4 are concatenated in order into an object sequence in the original image system, and the object sequence is added to the object list of the binary number A0; S237: In the order of binary numbers A0-A15, select the remaining binary numbers that are not in the original image system as the object system, repeat steps S231-S236 to obtain several object sequences in the original image system, and add the several object sequences to the object list of binary number A0.

3. The security encryption control system based on coal mine equipment operation data according to claim 2 is characterized in that: The mapping selection rule preset in step S26 is as follows: S261: extract all elements in the object list D0 in order from left to right, and mark all the extracted elements as E1, E2, ..., Ee in order of extraction, e≥1; S262: Traverse all characters constituting element E1, and obtain the number of characters whose numbers are 1, 2, 3, and 4 in turn, and mark them as F1, F2, F3, and F4 respectively; S263: Calculate and obtain the selected mapping evaluation index G of the element E1 using the formula G=F1×ɑ1+F2×ɑ2+F3×ɑ3+F4×ɑ4, where ɑ1, ɑ2, ɑ3 and ɑ4 are preset mapping proportion evaluation weights of characters with values ​​of 1, 2, 3 and 4 respectively; S264: repeating steps S261-S263, calculating the selected mapping evaluation index G of elements E2, ..., Ee in sequence; S265: Select the element corresponding to the selected mapping evaluation indicator with the largest value from all selected mapping evaluation indicators as the mapping object of the binary number corresponding to the object list D0.

4. The security encryption control system based on coal mine equipment operation data according to claim 3 is characterized in that: When selecting a mapping object for the binary number corresponding to each object list, you need to ensure that the mapping object corresponding to each binary number must be unique. If the selected element has been used as a mapping object for other binary numbers, skip it and continue to consider the next element with the second largest value until an unused element is found as the mapping object for the current binary number.

Citation Information

Patent Citations

  • Intelligent full automatic combine coal mining system

    CN101418688A

  • Long-distance power grid equipment communication system

    CN117614699A