Control method, device and equipment for preventing coal quality test result data from being modified

By adding encryption check bit fields to the database table at the coal quality test end, and using the encryption interface to encrypt and decrypt the coal quality test result data, the problem of the existing technology that the coal quality test result data cannot be prevented from being modified, ensuring the authenticity and accuracy of the data.

CN119598476APending Publication Date: 2025-03-11YANTAI POWER PLANT OF HUANENG SHANDONG POWER GENERATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411353029.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The prior art cannot effectively prevent the coal quality test results data from being modified, resulting in thermal power plants being unable to ensure that the quality of purchased coal burning meets the requirements.

Method used

By adding the encryption check bit field to the result measurement value database table at the coal quality test end, and providing an encryption interface at the test result receiving end, calling the encryption interface to encrypt the coal quality test result data, generating the encryption result data and encrypting the result value, and storing and decrypting the verification in the database.

Benefits of technology

It reduces the possibility that the coal quality test result data will be modified, ensures that the data received by the receiving end of the test result is the original data generated during the test process, so as to accurately accept the quality of coal burning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119598476A_ABST
    Figure CN119598476A_ABST
Patent Text Reader

Abstract

The invention provides a control method, device and equipment for preventing coal quality test result data from being modified. The control method comprises the following steps: adding an encrypted check bit field to a result measurement value database table for storing the coal quality test result data through a coal quality test end; when the coal quality test end performs coal quality test to obtain coal quality test result data, calling the encryption interface to encrypt the coal quality test result data to obtain encrypted result data and an encrypted return result value; wherein the encryption return result value corresponds to an encryption check bit field; adding the encrypted result data and the encrypted return result value into the result measured value database table added with the encrypted check bit field through the coal quality test end; the encryption result data and the encryption return result value are obtained from the result measured value database table through the test result receiving end, and decryption verification is performed on the encryption result data based on the encryption return result value, so that the possibility that the coal quality test result data is modified is reduced, and the quality of fire coal can be accurately checked and accepted.
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 quality testing, and in particular to a control method, device and equipment for preventing coal quality testing result data from being modified. Background Art

[0002] Currently, thermal power plants need to spend a large amount of money on coal procurement. For example, coal procurement accounts for about 80% of the power plant's capital expenditure. When thermal power plants inspect and accept purchased coal, they generally require the coal supplier to provide coal testing data.

[0003] However, when a thermal power plant reviews the test data, it cannot guarantee whether the test data it reviews is the original data generated during the test process, nor can it guarantee whether the test data has been modified. In other words, it cannot guarantee whether the purchased coal truly meets the quality requirements, resulting in the thermal power plant being unable to effectively protect its own legitimate rights and interests. Summary of the Invention

[0004] The present invention provides a control method, device and equipment for preventing coal quality test result data from being modified, so as to solve the technical problem in the prior art that the test data of coal cannot be prevented from being modified.

[0005] In one aspect, the present invention provides a control method for preventing coal quality test result data from being modified. The control method is applied to a coal quality test end and a test result receiving end. The test result receiving end provides an encryption interface for the coal quality test end. The control method includes:

[0006] Adding an encryption check bit field to a result measurement value database table for storing coal quality test result data by the coal quality test terminal;

[0007] When the coal quality testing end obtains coal quality testing result data from the coal quality testing, the encryption interface is called to encrypt the coal quality testing result data to obtain encrypted result data and an encrypted return result value; wherein the encrypted return result value corresponds to the encryption check bit field;

[0008] Adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encrypted check bit field through the coal quality testing terminal;

[0009] The encrypted result data and the encrypted return result value are obtained from the result measurement value database table by the test result receiving terminal, and the encrypted result data is decrypted and verified based on the encrypted return result value.

[0010] According to a control method for preventing coal quality test result data from being modified provided by the present invention, before the coal quality test end tests the coal quality to obtain the coal quality test result data, the method further includes:

[0011] The coal quality testing end's function of modifying the coal quality testing result data is shielded by the testing result receiving end.

[0012] According to a control method for preventing coal quality test result data from being modified provided by the present invention, shielding the coal quality test end's modification function of the coal quality test result data by the test result receiving end includes:

[0013] The test result receiving terminal allocates read-only authority to the registered user of the coal quality testing terminal to shield the coal quality testing terminal from modifying the coal quality testing result data.

[0014] According to a control method for preventing coal quality test result data from being modified provided by the present invention, shielding the coal quality test end's modification function of the coal quality test result data by the test result receiving end includes:

[0015] Detecting a function button having a modification function in the user interface of the coal quality testing terminal;

[0016] The program code corresponding to the function button is determined in the HTML code of the user interface, and the program code is shielded.

[0017] According to a control method for preventing coal quality test result data from being modified provided by the present invention, there are multiple encryption interfaces, each of which has a different encryption method, and calling the encryption interface to encrypt the coal quality test result data includes:

[0018] Determining each idle interface that has not been called in each of the encrypted interfaces;

[0019] At intervals of a preset time, an interface is called from each of the idle interfaces to encrypt the coal quality test result data.

[0020] According to a control method for preventing coal quality test result data from being modified provided by the present invention, calling an interface in each of the idle interfaces includes:

[0021] Randomly call an interface from the idle interfaces; or

[0022] Counting the number of times each of the idle interfaces is called;

[0023] Comparing the relationship between the number of times each idle interface is called;

[0024] Based on the size relationship, the interface with the smallest number of calls is called.

[0025] According to a control method for preventing coal quality test result data from being modified provided by the present invention, the method further includes: adding the encrypted result data and the encrypted return result value to a result measurement value database table to which the encryption check bit field is added by the coal quality test terminal;

[0026] monitoring whether an abnormal state occurs during the process of adding the encrypted result data and the encrypted return result value to the result measurement value database table after the encryption check bit field is added;

[0027] If so, identifying the abnormality type of the abnormal state;

[0028] Classify the abnormal state based on the abnormal type, and generate a log to record the abnormal state;

[0029] An exception analysis report is generated based on the exception type.

[0030] According to a control method for preventing coal quality test result data from being modified provided by the present invention, before the coal quality test end tests the coal quality to obtain the coal quality test result data, the method further includes:

[0031] Obtain the coal sample information to be tested by scanning the code;

[0032] The code scanning method is the only way to obtain coal quality sample information.

[0033] In another aspect, the present invention provides a control device for preventing coal quality test result data from being modified. The control device is applied to a coal quality test end and a test result receiving end. The test result receiving end provides an encryption interface for the coal quality test end. The control device includes:

[0034] Adding a check bit module, used for adding an encrypted check bit field to a result measurement value database table for storing coal quality test result data through the coal quality test terminal;

[0035] an encryption module, configured to, when the coal quality testing end performs coal quality testing on the coal quality testing result data, call the encryption interface to encrypt the coal quality testing result data, thereby obtaining encrypted result data and an encrypted return result value; wherein the encrypted return result value corresponds to the encryption check bit field;

[0036] A data storage module, configured to add the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encryption check bit field through the coal quality testing terminal;

[0037] The data acquisition module is used to acquire the encrypted result data and the encrypted return result value from the result measurement value database table through the test result receiving terminal, and decrypt and verify the encrypted result data based on the encrypted return result value.

[0038] On the other hand, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements any of the above-mentioned control methods for preventing the coal quality test result data from being modified.

[0039] The control method, device and equipment provided by the present invention for preventing coal quality test result data from being modified include: adding an encryption check bit field to a result measurement value database table for storing coal quality test result data through a coal quality test end; when the coal quality test end obtains coal quality test result data from coal quality test, calling an encryption interface to encrypt the coal quality test result data to obtain encrypted result data and an encrypted return result value; adding the encrypted result data and the encrypted return result value to the result measurement value database table to which the encryption check bit field is added through the coal quality test end; obtaining the encrypted result data and the encrypted return result value from the result measurement value database table through a test result receiving end, and decrypting and checking the encrypted result data based on the encrypted return result value, thereby reducing the possibility of the coal quality test result data being modified and ensuring that the test data obtained by the test result receiving end is the original data generated during the test process, so as to accurately accept the quality of the coal. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] Figure 1 1 is a flow chart of a control method for preventing coal quality test result data from being modified, provided by an embodiment of the present invention;

[0042] Figure 2 2 is a schematic structural diagram of a control device for preventing coal quality test result data from being modified, provided by an embodiment of the present invention;

[0043] Figure 3 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0045] Figure 1 This is a flow chart illustrating a control method for preventing the modification of coal quality test result data, provided by an embodiment of the present invention. This control method is applied to a coal quality test terminal and a test result receiving terminal, which provides an encryption interface for the coal quality test terminal. The encryption interface can be integrated into the host computer software of the coal quality test terminal (testing equipment) to facilitate communication with the test result receiving terminal (the fuel management information system at the thermal power plant, which receives and stores coal quality test result data).

[0046] A coal quality tester is a device or system used to test and analyze coal quality. It uses chemical and physical methods to test coal samples to determine quality indicators such as moisture, volatile matter, and calorific value. Specifically, a coal quality tester includes various analytical instruments and equipment, such as moisture detectors, volatile matter detectors, and calorific value detectors. These devices provide accurate coal quality data, helping users determine whether the coal meets standards. Using a coal quality tester typically requires users to log in to the system to ensure data security and operational accuracy. Through the tester, users can monitor and analyze coal quality in real time to ensure it meets production requirements.

[0047] See also Figure 1 The control method for preventing coal quality test result data from being modified may include the following steps 101 to 104.

[0048] 101. An encryption check bit field is added to the result measurement value database table for storing coal quality test result data through the coal quality test end.

[0049] In this step, a result measurement value database table can generally be pre-established in a database to store the coal quality test result data. The database type can be MySQL, Oracle, SQL Server, etc., and is not specifically limited here. Then, an encryption check digit field is added to the result measurement value database table.

[0050] 102. When the coal quality testing end obtains the coal quality testing result data, it calls the encryption interface to encrypt the coal quality testing result data to obtain the encrypted result data and the encrypted return result value; wherein, the encrypted return result value corresponds to the encryption check bit field.

[0051] In this step, for example, the original coal quality test result data is "123.45". After encrypting the coal quality test result data by calling the encryption algorithm of the test result receiving end through the encryption interface, the encrypted result data "aaa123" and the encrypted return result value "abc123" are obtained. "abc123" corresponds to the encryption check bit field. The encrypted result data itself has been protected by the encryption algorithm, which can reduce the possibility of modification. However, in order to further ensure the security of the data, the encrypted return result value can prevent man-in-the-middle attacks or other forms of tampering. This step can ensure that the test process and results are supervised and controllable, and can prevent the obtained coal quality test result data from being modified, thereby ensuring that the test result receiving end receives the true test data results.

[0052] 103. The encrypted result data and the encrypted return result value are added to the result measurement value database table after adding the encryption check bit field through the coal quality testing terminal.

[0053] In this step, for example, the encrypted result data "aaa123" obtained in the previous step can be stored in the result measurement value database table, and the encrypted return result value "abc123" can be stored in the encryption check bit field of the result measurement value database table.

[0054] 104. Obtain the encrypted result data and the encrypted return result value from the result measurement value database table through the test result receiving terminal, and decrypt and verify the encrypted result data based on the encrypted return result value.

[0055] In this step, the test result receiving terminal has access to the database. For example, a username and password can be pre-established for logging into the database. Using this username and password, the terminal establishes a connection with the database, thereby obtaining the encrypted result data and the encrypted return value from the result measurement database table. The encrypted result data is then decrypted and verified based on the encrypted return value to obtain the original coal quality test result data.

[0056] In this embodiment, an encryption check bit field is added to the result measurement value database table for storing coal quality test result data through the coal quality testing end; when the coal quality testing end obtains the coal quality test result data from the coal quality testing, the encryption interface is called to encrypt the coal quality test result data to obtain encrypted result data and encrypted return result value; the encrypted result data and encrypted return result value are added to the result measurement value database table after adding the encryption check bit field through the coal quality testing end; the encrypted result data and encrypted return result value are obtained from the result measurement value database table through the test result receiving end, and the encrypted result data is decrypted and checked based on the encrypted return result value, thereby reducing the possibility of the coal quality test result data being modified and ensuring that the test data obtained by the test result receiving end is the original data generated during the test process, so as to accurately accept the quality of the coal.

[0057] In one embodiment of the present specification, before the coal quality testing end tests the coal quality to obtain coal quality testing result data, the following steps may also be included:

[0058] The coal quality testing end's function of modifying the coal quality testing result data is shielded by the testing result receiving end.

[0059] In this embodiment, by shielding the coal quality testing end's modification function of the coal quality testing result data by the test result receiving end, the possibility of the coal quality testing result data being modified can be further prevented, ensuring that the test data obtained by the test result receiving end is the original data generated during the testing process, so as to accurately inspect the quality of the coal.

[0060] In one embodiment of the present specification, shielding the coal quality testing end from modifying the coal quality testing result data through the testing result receiving end may include:

[0061] The test result receiving terminal allocates read-only authority to the registered user of the coal quality testing terminal to shield the coal quality testing terminal from modifying the coal quality testing result data.

[0062] In this embodiment, when testing coal using the coal quality testing terminal, the tester must register as a user and then log in using the registered user before using the terminal to test the coal. The test result receiving terminal assigns read-only permissions to the registered user of the coal quality testing terminal, preventing the terminal from modifying the test result data. This method is simple and efficient.

[0063] In one embodiment of the present specification, shielding the coal quality testing end from modifying the coal quality testing result data through the testing result receiving end may include:

[0064] Detecting a function button having a modification function in the user interface of the coal quality testing terminal;

[0065] The program code corresponding to the function button is determined in the HTML code of the user interface, and the program code is shielded.

[0066] In this step, the program code corresponding to the function button is determined in the HTML code of the user interface and the program code is blocked. This prevents the test personnel from modifying the coal quality test result data by using the function button to modify the function at the coal quality test terminal, thus providing a high safety factor. Of course, this embodiment can also be combined with the read-only permission of the previous embodiment, and the two can be used together. That is, the program code corresponding to the function button is blocked, and read-only permission is also assigned to the registered user of the coal quality test terminal, thereby more comprehensively blocking the modification function of the coal quality test terminal and ensuring that the coal quality test result data obtained by the test result receiving terminal is authentic original data.

[0067] In one embodiment of the present specification, there are multiple encryption interfaces, each of which has a different encryption method. Calling the encryption interface to encrypt the coal quality test result data may include:

[0068] Determining each idle interface that has not been called in each of the encrypted interfaces;

[0069] At intervals of a preset time, an interface is called from each of the idle interfaces to encrypt the coal quality test result data.

[0070] In this embodiment, there are multiple encryption interfaces, each of which has a different encryption method. Unused idle interfaces are determined in each encryption interface, and one interface is called from each idle interface at a preset interval to encrypt the coal quality test result data. This encrypts the coal quality test result data using different encryption methods, reduces the possibility of the encryption method being cracked, further strengthens the confidentiality of the coal quality test result data, and reduces the possibility of the coal quality test result data being modified. Of course, multiple different encryption interfaces can also be called to encrypt the coal quality test result data, that is, the coal quality test result data can be encrypted using multiple encryption methods to improve the confidentiality of the coal quality test result data.

[0071] In one embodiment of the present specification, calling an interface from among the idle interfaces may include:

[0072] Randomly call an interface from the idle interfaces; or

[0073] Counting the number of times each of the idle interfaces is called;

[0074] Comparing the relationship between the number of times each idle interface is called;

[0075] Based on the size relationship, the interface with the smallest number of calls is called.

[0076] In this embodiment, the more frequently an encryption method is used, the greater the likelihood that it will be cracked. To avoid this and reduce the likelihood of the encryption method being cracked, the number of times each idle interface is called is counted, and the relative magnitude of the number of calls for each idle interface is compared. Based on this relative magnitude, the interface with the smallest number of calls is called. Alternatively, a random interface is called from each idle interface, allowing for irregular use of encryption interfaces, which also helps reduce the likelihood of the encryption method being cracked.

[0077] In one embodiment of the present specification, the step of adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encryption check bit field through the coal quality testing terminal may further include:

[0078] monitoring whether an abnormal state occurs during the process of adding the encrypted result data and the encrypted return result value to the result measurement value database table after the encryption check bit field is added;

[0079] If so, identifying the abnormality type of the abnormal state;

[0080] Classify the abnormal state based on the abnormal type, and generate a log to record the abnormal state;

[0081] An exception analysis report is generated based on the exception type.

[0082] In this embodiment, abnormal conditions may generally include failure to connect to the database, data encryption failure, failure to write data into the result value database table, and failure to connect to the test result receiving terminal. Classifying the abnormal conditions based on the abnormality type facilitates faster resolution by relevant personnel based on the abnormality type. Generating a log to record the abnormal condition and generating an abnormality analysis report based on the abnormality type also facilitates faster resolution by relevant personnel based on the abnormality type.

[0083] In one embodiment of the present specification, before the coal quality testing end tests the coal quality to obtain coal quality testing result data, the following steps may also be included:

[0084] Obtain the coal sample information to be tested by scanning the code;

[0085] The code scanning method is the only way to obtain coal quality sample information.

[0086] In this embodiment, the coal sample information to be tested is obtained by scanning a code, and scanning is the only way to obtain coal sample information. This eliminates the need to manually enter coal sample information at the coal quality testing end, reducing the possibility of falsification of coal sample information. Coal sample information can include at least one of the following: basic information (such as coal sample number, sampling location, sampling time, and sampler); test items (such as moisture, ash, volatile matter, fixed carbon, sulfur, and calorific value); analytical method (such as the analytical method and standard used, such as industrial analysis or elemental analysis); sample state (such as a description of the sample's physical state, such as particle size, color, and odor); and other information (such as storage conditions and shipping records).

[0087] Figure 2 This is a schematic diagram of the structure of a control device for preventing the modification of coal quality test results, provided by an embodiment of the present invention. The control device is applied to a coal quality test terminal and a test result receiving terminal, with the test result receiving terminal providing an encryption interface for the coal quality test terminal. The control device includes a check digit addition module 201, an encryption module 202, a data storage module 203, and a data acquisition module 204.

[0088] The adding check bit module 201 is used to add an encrypted check bit field to the result measurement value database table for storing coal quality test result data through the coal quality test end;

[0089] The encryption module 202 is used to call the encryption interface to encrypt the coal quality test result data when the coal quality test end performs coal quality test on the coal quality test result data, thereby obtaining encrypted result data and an encrypted return result value; wherein the encrypted return result value corresponds to the encryption check bit field;

[0090] The data storage module 203 is used to add the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encryption check bit field through the coal quality testing terminal;

[0091] The data acquisition module 204 is used to acquire the encrypted result data and the encrypted return result value from the result measurement value database table through the test result receiving terminal, and decrypt and verify the encrypted result data based on the encrypted return result value.

[0092] Figure 3 It is a structural diagram of an electronic device provided by an embodiment of the present invention.

[0093] like Figure 3As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a control method for preventing the coal quality test result data from being modified.

[0094] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0095] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the control method provided by the above methods to prevent the coal quality test result data from being modified.

[0096] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the control method provided by the above methods for preventing the coal quality test result data from being modified.

[0097] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0098] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A control method for preventing coal quality test result data from being modified, characterized in that: The control method is applied to a coal quality testing end and a test result receiving end, wherein the test result receiving end provides an encryption interface for the coal quality testing end. The control method includes: By means of the coal quality testing terminal, an encrypted check bit field is added to a result measurement value database table for storing coal quality testing result data; When the coal quality testing end obtains coal quality testing result data from the coal quality testing, the encryption interface is called to encrypt the coal quality testing result data to obtain encrypted result data and an encrypted return result value; wherein the encrypted return result value corresponds to the encryption check bit field; Adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encrypted check bit field through the coal quality testing terminal; The encrypted result data and the encrypted return result value are obtained from the result measurement value database table by the test result receiving end, and the encrypted result data is decrypted and verified based on the encrypted return result value.

2. The control method for preventing coal quality test result data from being modified according to claim 1, characterized in that: Before the coal quality testing end tests the coal quality to obtain the coal quality testing result data, the method further includes: The coal quality testing end's function of modifying the coal quality testing result data is shielded by the testing result receiving end.

3. The control method for preventing coal quality test result data from being modified according to claim 2, characterized in that: The method of shielding the coal quality testing end from modifying the coal quality testing result data by the testing result receiving end includes: The test result receiving end is used to allocate read-only authority to the registered user of the coal quality testing end, so as to shield the coal quality testing end from modifying the coal quality testing result data.

4. The control method for preventing coal quality test result data from being modified according to claim 2, characterized in that: The method of shielding the coal quality testing end from modifying the coal quality testing result data by the testing result receiving end includes: Detecting a function button having a modification function in the user interface of the coal quality testing end; The program code corresponding to the function button is determined in the HTML code of the user interface, and the program code is shielded.

5. The control method for preventing coal quality test result data from being modified according to claim 1, characterized in that: There are multiple encryption interfaces, each of which has a different encryption method. The encryption interface is called to encrypt the coal quality test result data, including: Determining each idle interface that has not been called in each of the encryption interfaces; At intervals of a preset duration, an interface is called from each of the idle interfaces to encrypt the coal quality test result data.

6. The control method for preventing coal quality test result data from being modified according to claim 5, characterized in that: The calling of an interface in each of the idle interfaces comprises: Randomly call an interface from among the idle interfaces; or Counting the number of times each of the idle interfaces is called; Comparing the magnitude relationship of the number of times each of the idle interfaces is called; Based on the size relationship, the interface with the smallest number of calls is called.

7. The control method for preventing coal quality test result data from being modified according to claim 1, characterized in that: The step of adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encrypted check bit field through the coal quality testing terminal also includes: Monitoring whether an abnormal state occurs during the process of adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encrypted check bit field; If so, identifying the abnormal type of the abnormal state; Based on the exception type, classify the exception state and generate a log to record the exception state; An exception analysis report is generated based on the exception type.

8. The control method for preventing coal quality test result data from being modified according to claim 1, characterized in that: Before the coal quality testing end tests the coal quality to obtain the coal quality testing result data, the method further includes: Obtain the coal quality sample information to be tested by scanning the code; The code scanning method is the only way to obtain coal quality sample information.

9. A control device for preventing coal quality test result data from being modified, characterized in that: The control device is applied to the coal quality testing end and the test result receiving end, and the test result receiving end provides an encryption interface for the coal quality testing end. The control device includes: Adding a check bit module, used to add an encrypted check bit field to the result measurement value database table for storing coal quality test result data through the coal quality test end; An encryption module, used for calling the encryption interface to encrypt the coal quality testing result data when the coal quality testing end tests the coal quality to obtain the coal quality testing result data, so as to obtain the encrypted result data and the encrypted return result value; wherein the encrypted return result value corresponds to the encryption check bit field; A data storage module, used for adding the encrypted result data and the encrypted return result value to the result measurement value database table after adding the encrypted check bit field through the coal quality testing terminal; The data acquisition module is used to acquire the encrypted result data and the encrypted return result value in the result measurement value database table through the test result receiving end, and decrypt and verify the encrypted result data based on the encrypted return result value.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the control method for preventing the coal quality test result data from being modified as described in any one of claims 1 to 8 above is implemented.