Data storage method for the synthesis of tributyl borate

By analyzing the error contribution during the synthesis process of the chemical product tributyl borate and constructing an optimal storage model, the temperature trend points are screened for compressed storage, which solves the problem of low compression and storage efficiency of temperature data in chemical manufacturing and achieves efficient storage space. savings and data accuracy.

CN118486396BActive Publication Date: 2024-09-06DALIAN AIBESI CHEM IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410946535.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-06
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing compression storage methods have low efficiency in compressing and storing large amounts of temperature data in the chemical manufacturing process. They ignore data change patterns and redundant information with errors, resulting in inability to effectively save storage space.

Method used

During the synthesis process of the chemical product tributyl borate, temporary memory is used to store reaction temperature data in real time, the error contribution of each heating stage is analyzed, the optimal storage model is constructed, the temperature trend points are screened for compressed storage, and stored in permanent memory. Store compressed data.

Benefits of technology

It improves the compression efficiency, saves storage space, ensures an accurate description of the reaction temperature change pattern, avoids errors from interfering with the compression process, and improves the accuracy and efficiency of data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118486396B
    Figure CN118486396B
Patent Text Reader

Abstract

The present invention relates to the field of data processing for data storage, and in particular to a data storage method for the synthesis of tributyl borate, comprising: obtaining the error contribution degree according to the difference in reaction temperature between each preparation process and other preparation processes stored in a temporary storage device in the same heating stage, and the difference in reaction temperature between each moment in each heating stage in each preparation process and other moments; obtaining the optimal storage model for each heating stage according to the error contribution degree and the error in reaction temperature at all moments in the heating stage, screening out a number of temperature trend points in each heating stage on the optimal storage model, and the optimal storage model being equally divided by a number of temperature trend points; storing the reaction temperatures in all heating stages in a permanent storage device according to the temperature trend points. The present invention solves the problem of low compression efficiency when compressing and storing a large amount of data generated in a large-scale multi-batch chemical manufacturing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of data processing for data storage, and in particular to a data storage method for the synthesis of tributyl borate. Background Art

[0002] Before storing a large amount of data, the data must first be compressed to save storage space. For example, a large amount of data may be generated in the manufacturing process of different batches of chemical products, such as temperature data generated by chemical reactions when manufacturing or synthesizing tributyl borate. Especially when there are many preparation batches, compressing and storing large-scale temperature data sets can significantly reduce the demand for storage space and reduce data storage costs.

[0003] Existing compression storage methods, such as the LZW compression algorithm, directly encode and compress the data output by each sensor device separately when compressing and storing temperature data. However, on the one hand, the data at different preparation stages when preparing each batch of chemical products, or the data at the same preparation stage when preparing different batches of chemical products, have obvious change trends or change rules. Therefore, when a section of data output by each sensor in each batch is directly encoded and compressed separately, the potential redundant information of these change rules will be ignored, resulting in low compression efficiency and failure to further save storage space. On the other hand, the data output by sensors at different preparation stages of different batches may have large errors or noise, such as discrete error data caused by power fluctuations of microwave reaction accelerators. These data with errors or noise will increase the redundancy of the data, or further destroy the above-mentioned change trends or change rules, further reducing the compression efficiency. Summary of the invention

[0004] In order to solve the problem of low compression efficiency when compressing and storing a large amount of data generated in a large-scale multi-batch chemical manufacturing process, the present invention provides a data storage method for tributyl borate synthesis.

[0005] The data storage method for the synthesis of tributyl borate of the present invention adopts the following technical scheme:

[0006] An embodiment of the present invention provides a data storage method for the synthesis of tributyl borate, the method comprising the following steps:

[0007] Using a temporary storage device to store the reaction temperature of tributyl borate in a plurality of preparation processes, wherein each preparation process comprises a plurality of heating stages;

[0008] According to the difference in reaction temperature between each preparation process and other preparation processes in the same heating stage, and the difference in reaction temperature between each moment in each heating stage of each preparation process and other moments, the error contribution degree of the reaction temperature at each moment in each heating stage of each preparation process is obtained;

[0009] For each heating stage in each preparation process, the optimal storage model of each heating stage is obtained according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage, and a number of temperature trend points of each heating stage are screened out on the optimal storage model, and the optimal storage model is equally divided by the several temperature trend points; compressed data of each heating stage is obtained according to the temperature trend points, and all compressed data in all heating stages of all preparation processes are stored in a permanent storage device.

[0010] Preferably, the specific steps for obtaining the error contribution degree of the reaction temperature at each moment in each heating stage in each preparation process are as follows:

[0011] Any preparation process is recorded as the target process, and other preparation processes other than the target process are recorded as reference processes;

[0012] Any heating stage in the target process is recorded as the target stage;

[0013] Obtain the difference in reaction temperature between each moment and the adjacent moments in the target stage, and record it as the temperature difference at each moment in the same preparation process;

[0014] Obtain the difference between the reaction temperature of the target process at each moment in the target stage and the reaction temperature of the reference process at the same moment in the target stage, and record it as the temperature difference at each moment in different preparation processes;

[0015] The error contribution degree is obtained according to the temperature difference at each moment in the same preparation process and the temperature difference at each moment in different preparation processes.

[0016] Preferably, the error contribution degree is negatively correlated with the temperature difference at each moment in the same preparation process and the temperature difference at each moment in different preparation processes, respectively.

[0017] Preferably, the step of obtaining the optimal storage model for each heating stage according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage comprises the following specific steps:

[0018] A storage model containing undetermined parameters is constructed, wherein the input of the storage model is the time and the output is the reaction temperature; each time in the heating stage is input into the storage model containing the undetermined parameters, the output reaction temperature is recorded as the predicted temperature at each time, and the difference between the reaction temperature at each time and the predicted temperature at each time is recorded as the error of the reaction temperature at each time; according to the error contribution degree of the reaction temperature at all times in the heating stage and the error of the reaction temperature at all times in the heating stage, an objective function containing the undetermined parameters is obtained, the optimal parameters are obtained by minimizing the objective function containing the undetermined parameters, and the storage model containing the optimal parameters is recorded as the optimal storage model.

[0019] Preferably, the objective function containing the unknown parameters is positively correlated with the error contribution degree and the error.

[0020] Preferably, the abscissa of the temperature trend point is time, and the ordinate is reaction temperature.

[0021] Preferably, the step of obtaining the compression data of each heating stage according to the temperature trend point comprises the following specific steps:

[0022] For the temperature trend point, the optimal storage model is equally divided into several segments, and the mean value of the ordinate on each segment of the optimal storage model is used as the compressed data.

[0023] Preferably, the temporary storage is a memory stick, and the permanent storage is a mechanical hard disk.

[0024] Preferably, when decompressing the data stored in the permanent memory, the steps included are:

[0025] All compressed data of each heating stage are read out from the permanent memory, the compressed data are fitted into an optimal storage model, and the reaction temperature on the fitted optimal storage model is used as the decompressed reaction temperature data of each heating stage.

[0026] Preferably, all the compressed data are stored in a permanent memory, comprising the steps of:

[0027] All compressed data are compressed using the LZW compression algorithm, and the data compressed by the LZW compression algorithm are stored in a permanent memory.

[0028] The beneficial effects of the technical solution of the present invention are:

[0029] The present invention analyzes the variation pattern of the reaction temperature in the heating stage for each heating stage of each preparation process and the reaction temperature at each moment in the same heating stage of different preparation processes. The redundancy of the variation pattern can ensure that the compression efficiency is improved when compressing the reaction temperature in the heating stage. That is, selecting temperature trend points from the reaction temperatures in the heating stage for storage can improve the compression efficiency and save storage space.

[0030] The present invention obtains the error contribution degree according to the difference in reaction temperature between each preparation process and other preparation processes in the same heating stage, and the difference in reaction temperature between each moment in each heating stage of each preparation process and other moments; it is used to describe and evaluate the contribution degree of the discrete error data existing in the reaction temperature at each moment in each heating stage to obtaining the true above-mentioned change law. Furthermore, according to the error contribution degree and the error existing in the reaction temperature at all moments in the heating stage, the optimal storage model of each heating stage is obtained to avoid the situation where the error with a relatively large influence is introduced into the optimal storage model, which causes the optimal storage model to fail to describe the accurate and true change law.

[0031] In summary, the present invention solves the problem of low compression efficiency when compressing and storing a large amount of data generated in a large-scale multi-batch chemical manufacturing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A flow chart of the steps of a data storage method for the synthesis of tributyl borate provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the data storage method for the synthesis of tributyl borate proposed by the present invention, its specific implementation, structure, characteristics and effects are described in detail as follows in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0035] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0036] The specific scheme of the data storage method for the synthesis of tributyl borate provided by the present invention is described in detail below with reference to the accompanying drawings.

[0037] Embodiment 1:

[0038] An embodiment of the present invention provides a data storage system. When a computer program in a processor of the data storage system is executed, a data storage method for the synthesis of tributyl borate is run. The data storage method stores data of a chemical product during its preparation or synthesis process with a high compression efficiency, such as reaction temperature data of a chemical reaction of a chemical product such as tributyl borate during its preparation or synthesis process.

[0039] In addition, the system also includes a temporary memory and a permanent memory. The temporary memory is used to store the data output by the sensor in the preparation or synthesis process of the chemical product in real time. The temporary memory is connected to the processor using a data line. The processor reads the data in the temporary memory and analyzes and processes it through the above-mentioned computer program to efficiently compress the data in the temporary memory.

[0040] The data stored in the temporary memory does not need to be compressed, and there is no need to consider the problem of a large amount of data occupying too much storage space, because the temporary memory is only a temporary storage data. When the storage space occupied by the data stored therein exceeds a certain threshold, or the data storage time exceeds a certain period, or the stored data does not need to participate in calculation and analysis, the data needs to be cleared. In this embodiment, after the data stored in the temporary memory is efficiently compressed by the computer program in the processor, the data in the temporary memory does not need to participate in subsequent calculations and analyses, and the data in the temporary memory is deleted at this time.

[0041] The temporary storage may use a memory stick, a solid state drive, a mechanical hard drive, etc. This embodiment uses a memory stick, which has the advantage that it can be quickly read by the processor.

[0042] The permanent memory is used to store the data compressed by the computer program in the processor for a long time (the storage time is determined by the implementer, for example, one year). The permanent memory can use a solid state drive, a mechanical hard drive, etc. This embodiment uses a mechanical hard drive.

[0043] Embodiment 2:

[0044] See also Figure 1, which shows a flow chart of the steps of a data storage method for the synthesis of tributyl borate provided in Example 2 of the present invention, the method comprising the following steps:

[0045] Step S001, using a temporary memory to store the reaction temperature of tributyl borate in several preparation processes, wherein each preparation process includes several heating stages.

[0046] When preparing or synthesizing chemical products, such as when synthesizing tributyl borate, it is generally prepared or synthesized on a large scale in multiple batches, which will generate a large amount of data, such as the reaction temperature data of the chemical reaction when synthesizing tributyl borate. These reaction temperature data are all collected by temperature sensors in the chemical reaction chamber. In this embodiment, these sensors collect reaction temperature data every 0.1 second.

[0047] It should be noted that in each preparation process, the synthesis of tributyl borate includes multiple heating stages: heating at 60°C for 2 min, heating at 80°C for 2 min, heating at 90°C for 5 min, heating at 100°C for 2 min, and heating at 118°C for 2 min, with a total heating time of 13 min.

[0048] In this embodiment, the reaction temperature at each moment in each heating stage of each preparation process is collected, and at the same time, all moments in all heating stages of each preparation process are stored in a temporary memory in real time.

[0049] Step S002, according to the difference in reaction temperature between each preparation process and other preparation processes in the same heating stage, and the difference in reaction temperature between each moment in each heating stage of each preparation process and other moments, obtain the error contribution degree of the reaction temperature at each moment in each heating stage of each preparation process.

[0050] Each of the above-mentioned heating stages is at the same temperature, so the reaction temperature in each heating stage changes with time with a certain change rule, which depends on the chemical reaction of generating chemical products. For example, when generating tributyl borate, this chemical reaction is an endothermic process, so the reaction temperature changes with time in the following way: the reaction temperature drops rapidly, then the rate of drop becomes slow, and finally when the chemical reaction reaches equilibrium, the reaction temperature no longer changes with time.

[0051] For different heating stages, the temperature conditions are different. Therefore, when transitioning between different heating stages, the reaction temperature will suddenly change, and the change pattern is complex. Therefore, this embodiment takes each heating stage as the analysis object, and the change pattern of the reaction temperature of each heating stage over time is relatively clear. Then, the reaction temperature of each heating stage has high redundancy, and can be efficiently compressed, further improving the compression efficiency and reducing the storage amount.

[0052] The above-mentioned law of reaction temperature variation over time depends on the chemical reaction process. However, when the chemical reaction is in progress, there will be some interference factors, such as power fluctuations of the microwave reaction accelerator, untimely automatic loading or manual loading of chemical reactants, etc., which will lead to the appearance of some discrete error data. These data deviate from the above-mentioned variation law. These discrete error data are untrue relative to the variation law, and have no contribution to the variation law of the reaction temperature in the extraction heating stage, thereby interfering with the compression process. In order to avoid the interference of these discrete error data on the compression process, it is necessary to evaluate the contribution of the above-mentioned discrete data of the reaction temperature at each moment in each heating stage to the variation law of the reaction temperature in the extraction heating stage. This embodiment uses the error contribution degree to describe the contribution of the discrete error existing in the reaction temperature to the variation law of the reaction temperature in the extraction heating stage.

[0053] As an example, the method for obtaining the error contribution degree of the reaction temperature at each moment in each heating stage in each preparation process is as follows:

[0054] Any preparation process is recorded as the target process, and other preparation processes other than the target process are recorded as reference processes; any heating stage in the target process is recorded as the target stage.

[0055] The difference between the reaction temperature at each moment in the target stage and the adjacent moments is obtained, which is recorded as the temperature difference at each moment in the same preparation process, denoted by T1; the difference between the reaction temperature of the target process at each moment in the target stage and the reaction temperature of the reference process at the same moment in the target stage is obtained, which is recorded as the temperature difference at each moment in different preparation processes, denoted by T2.

[0056] According to the temperature difference T1 at each moment in the same preparation process and the temperature difference T2 at each moment in different preparation processes, the error contribution degree of the reaction temperature at each moment in each heating stage in each preparation process is obtained.

[0057] In the above process, the larger T1 is, the greater the difference between the reaction temperature at each moment and the reaction temperature at adjacent moments in the same heating stage (i.e., the target stage) of each preparation process. Considering that the reaction temperature changes continuously in an ideal chemical reaction process, when the reaction temperature difference is large, it means that the reaction temperature at that moment has a large discrete error data as described above, which makes little contribution to extracting the above change law.

[0058] The larger T2 is, the greater the difference in reaction temperature at the same time in the same heating stage (that is, the target stage) of each preparation process. Considering that in an ideal chemical reaction process, even if different preparation processes use different chemical reaction chambers, the temperature conditions in the same heating stage are the same, then the difference in reaction temperature at the same time should be relatively similar (at the beginning of the chemical reaction of each preparation process in this embodiment, the amount of reactants input is the same). Therefore, when the difference in reaction temperature at the same time is large, it also means that the reaction temperature at that time has a large discrete error data as described above, which makes little contribution to the extraction of the above-mentioned change law.

[0059] Therefore, this embodiment obtains the error contribution degree of the reaction temperature at each moment in each heating stage in each preparation process based on T1 and T2, and can fully and accurately describe and evaluate the contribution of the reaction temperature at each moment in each heating stage to extracting the above-mentioned change law from different preparation processes and different moments in the same preparation process.

[0060] In this embodiment, the error contribution degree is negatively and positively correlated with T1 and T2, respectively.

[0061] Step S003: for each heating stage in each preparation process, the optimal storage model for each heating stage is obtained according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage.

[0062] In order to improve the compression efficiency of the reaction temperature at all times in each heating stage, it is first necessary to accurately describe the change law of the reaction temperature at all times in each heating stage. This embodiment uses the optimal storage model to accurately describe the actual change law of the reaction temperature at all times in each heating stage.

[0063] It should be noted that this embodiment uses the error contribution degree to further obtain the optimal storage model, which can ensure that the optimal storage model can extract the changing law of the reaction temperature from two aspects: the difference in the same heating stage of different preparation processes and the difference at different times of the same preparation process. This avoids the problem of inaccurate extraction of the changing law due to only considering the error in the reaction temperature when describing the changing law from only one heating stage of a preparation process, while ignoring the degree to which the reaction temperature is affected by the above-mentioned discrete errors.

[0064] Specifically, the reaction temperature at each moment in the heating stage has an error compared to the actual reaction temperature variation law. The error contribution degree of this embodiment describes the degree of influence of the reaction temperature under the error or the degree of contribution to the error. If the error contribution degree is larger, T1 and T2 are smaller, indicating that the reaction temperature contributes more to extracting the above-mentioned variation law (that is, obtaining the optimal storage model). At this time, the reaction temperature needs to pay more attention to the error and eliminate the error, so as to obtain an accurate and true variation law; on the contrary, if the error contribution degree is smaller, T1 and T2 are larger, indicating that the contribution to extracting the above-mentioned variation law (that is, obtaining the optimal storage model) is small. At this time, the reaction temperature does not need to pay attention to the error, so as to avoid introducing errors with relatively large influence in the optimal storage model, resulting in the optimal storage model being unable to describe the accurate and true variation law.

[0065] As an example, the method for obtaining the optimal storage model in each heating stage includes:

[0066] A storage model containing undetermined parameters is constructed, wherein the input of the storage model is the time and the output is the reaction temperature; each time in the heating stage is input into the storage model containing the undetermined parameters, the output reaction temperature is recorded as the predicted temperature at each time, and the difference between the reaction temperature at each time and the predicted temperature at each time is recorded as the error at each time; according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage, an objective function containing the undetermined parameters is obtained, the objective function containing the undetermined parameters is minimized to obtain the optimal parameters, and the storage model containing the optimal parameters is recorded as the optimal storage model.

[0067] The objective function containing the unknown parameters is positively correlated with the error contribution degree and the error.

[0068] As a preferred example, considering that the reaction temperature changes over time as follows: the reaction temperature drops rapidly, then the rate of drop slows down, and finally when the chemical reaction reaches equilibrium, the reaction temperature no longer changes over time. Therefore, the storage model with undetermined parameters is defined as an exponential model:

[0069]

[0070] Among them, A, B, C, and D are pending parameters, and x represents the input time. Indicates the predicted temperature of the output. That is, the storage model with undetermined parameters is an exponential function in a coordinate system with time as the horizontal axis and reaction temperature as the vertical axis, and e represents a natural constant.

[0071] The undetermined parameters in the above-mentioned objective function containing undetermined parameters are also A, B, C, and D.

[0072] In this embodiment, minimizing the objective function containing the pending parameters to obtain the optimal parameters includes: using the stochastic gradient descent method to optimize the pending parameters in the objective function, and the optimal parameters obtained by the stochastic gradient descent method are recorded as A1, B1, C1, and D1, where A1 is the optimal parameter corresponding to the pending parameter A, B1 is the optimal parameter corresponding to the pending parameter B, C1 is the optimal parameter corresponding to the pending parameter C, and D1 is the optimal parameter corresponding to the pending parameter D.

[0073] In other embodiments, a simulated annealing algorithm may be used to obtain optimal parameters.

[0074] The optimal storage model at this time is:

[0075]

[0076] Indicates the predicted temperature of the output of the optimal storage model at time x, where the independent variable is

[0077] Step S004, select a number of temperature trend points for each heating stage on the optimal storage model, wherein the optimal storage model is equally divided by the temperature trend points; obtain compressed data for each heating stage according to the temperature trend points, and store all compressed data in all heating stages in all preparation processes in a permanent storage device.

[0078] The optimal storage model for each heating stage is obtained as described above; this embodiment takes into account that on the one hand, a large amount of data in the process of preparing chemical products, such as the reaction temperature of tributyl borate, must be efficiently compressed, and on the other hand, it must be ensured that the compressed data can still retain the change trend of the data, such as the overall change trend of the reaction temperature of tributyl borate. Therefore, it is necessary to screen out a number of points on the optimal storage model for storage, and other points do not need to be stored to improve the efficiency of compressed storage and save storage space; among them, a number of points are screened out and recorded as temperature trend points, and these temperature trend points can retain or reflect the overall change trend of the reaction temperature in each heating stage.

[0079] It should be noted that the abscissa of the temperature trend point is time, and the ordinate is reaction temperature.

[0080] In order to ensure that the temperature trend points can reflect the overall change trend of the reaction temperature in each heating stage, the screened temperature trend points need to ensure that the optimal storage model can be equally divided. As an example, the method for obtaining the temperature trend points includes:

[0081] In this embodiment, four temperature trend points are obtained because the optimal storage model in this embodiment contains four parameters: A1, B1, C1, and D1. The horizontal coordinates of the four temperature trend points are assumed to be x1, x2, x3, and x4 from small to large. Considering that the maximum value of the horizontal coordinate of the optimal storage model is infinite, this embodiment avoids the situation where the horizontal coordinate of the temperature trend point is also infinite, and sets x4 to 1200. Then x1, x2, x3, and x4 satisfy the following formula:

[0082]

[0083] Solve for x1, x2, x3, and x4 above.

[0084] At this time, the four intervals [0, x1], [x1, x2], [x2, x3], and [x3, x4] divide the optimal storage model into four equal segments.

[0085] In this embodiment, the average value of the ordinate of the optimal storage model in each section is used as the compressed data. Therefore, four compressed data are obtained corresponding to each heating stage.

[0086] Since the above temperature trend points describe the overall change trend of the reaction temperature in each heating stage, the four compressed data corresponding to each heating stage also describe the overall change trend of the reaction temperature in each heating stage.

[0087] In other embodiments, x1, x2, x3, and x4 may be substituted into the optimal storage model to obtain the ordinate of the temperature trend point, and the ordinate is used as compressed data.

[0088] At this point, this embodiment has obtained compressed data that can intuitively reflect the overall change trend of the reaction temperature in each heating stage. At the same time, in the process of obtaining the compressed data, the change law of each heating stage is taken into account, and the interference of errors is avoided based on the degree of error contribution. In the process of obtaining compressed data, data redundancy is further reduced and compression efficiency is improved.

[0089] All compression data of each heating stage in each preparation process are obtained so far, and all compression data of all heating stages in all preparation processes are obtained similarly.

[0090] In this embodiment, the compressed data obtained in all heating stages of the preparation process is stored in a permanent memory. In this embodiment, when the compressed data is stored in the permanent memory, the compressed data can be compressed once again using the LZW compression algorithm and then stored in the permanent memory; other embodiments can directly decompress the data and store it in the permanent memory.

[0091] After being stored in the permanent memory, the reaction temperature used to calculate the above-mentioned compressed data in the temporary memory is cleared.

[0092] Embodiment three:

[0093] As an example, the error contribution degree of the reaction temperature at each moment in each heating stage of each preparation process is obtained according to the temperature difference T1 at each moment in the same preparation process and the temperature difference T2 at each moment in different preparation processes, including the method of:

[0094] Any heating stage of any preparation process is recorded as the target stage, and the reaction temperature at the i-th moment in the target stage is recorded as , the Q other moments closest to the ith moment in the first heating stage are recorded as the adjacent moments of the ith moment. In this embodiment, Q=10 is used as an example to describe the reaction temperature corresponding to the jth adjacent moment of the ith moment. .

[0095] The number of other preparation processes outside this preparation process is recorded as M, and the reaction temperature of the mth other preparation process outside this preparation process at the i-th time in the target stage is recorded as .

[0096] In other embodiments, there may be a situation where the number M of other preparation processes is relatively large. For example, when M is greater than 10, only the 10 preparation processes closest to the start time of the process may be retained as other preparation processes other than the preparation process.

[0097] Then the error contribution of the reaction temperature at the i-th moment in the target stage is The calculation formula is:

[0098]

[0099] in Represents an exponential function with a natural constant as its base.

[0100] in represents the temperature difference T1 at the i-th moment in the same preparation process, The temperature difference T2 at the i-th moment in different preparation processes.

[0101] As an example, according to the error contribution of the reaction temperature at all times in the heating stage and the error of the reaction temperature at all times in the heating stage, the objective function with unknown parameters is obtained, including the formula:

[0102]

[0103] represents the objective function with undetermined parameters, K represents the total number of moments in the heating stage, i represents the i-th moment in the heating stage, represents the error contribution of the reaction temperature at the i-th moment in the heating stage, The reaction temperature at the i-th moment in the heating stage, Represents the predicted temperature output by the storage model with undetermined parameters at the i-th moment in the heating stage.

[0104] Embodiment 4:

[0105] When all the heating stages in all the preparation processes are compressed and stored in the permanent memory, if you need to display or visualize the data change trend of the reaction temperature in the historical preparation process later, you can directly read the compressed data in the permanent memory and then draw it into a curve to display on the screen. When you need to show a more detailed change curve, you can fit all the compressed data in each heating stage into an exponential function curve. This exponential function curve is the optimal storage model, and the reaction temperature at each moment on the optimal storage model is displayed on the screen. This process is regarded as the decompression process of the data stored in the permanent memory.

[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data storage method for the synthesis of tributyl borate, characterized in that: The method comprises the following steps: Using a temporary storage device to store the reaction temperature of tributyl borate in a plurality of preparation processes, wherein each preparation process comprises a plurality of heating stages; According to the difference in reaction temperature between each preparation process and other preparation processes in the same heating stage, and the difference in reaction temperature between each moment in each heating stage of each preparation process and other moments, the error contribution degree of the reaction temperature at each moment in each heating stage of each preparation process is obtained; For each heating stage in each preparation process, according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage, an optimal storage model for each heating stage is obtained, and a number of temperature trend points of each heating stage are screened out on the optimal storage model, and the optimal storage model is equally divided by the several temperature trend points; compressed data of each heating stage is obtained according to the temperature trend points, and all compressed data in all heating stages of all preparation processes are stored in a permanent storage device; The specific steps of obtaining the optimal storage model for each heating stage according to the error contribution degree of the reaction temperature at all times in the heating stage and the error existing in the reaction temperature at all times in the heating stage are as follows: A storage model containing undetermined parameters is constructed, wherein the input of the storage model is the time and the output is the reaction temperature; each time in the heating stage is input into the storage model containing the undetermined parameters, the output reaction temperature is recorded as the predicted temperature at each time, and the difference between the reaction temperature at each time and the predicted temperature at each time is recorded as the error of the reaction temperature at each time; according to the error contribution degree of the reaction temperature at all times in the heating stage and the error of the reaction temperature at all times in the heating stage, an objective function containing the undetermined parameters is obtained, the optimal parameters are obtained by minimizing the objective function containing the undetermined parameters, and the storage model containing the optimal parameters is recorded as the optimal storage model.

2. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: The specific steps for obtaining the error contribution degree of the reaction temperature at each moment in each heating stage in each preparation process are as follows: Any preparation process is recorded as the target process, and other preparation processes other than the target process are recorded as reference processes; Any heating stage in the target process is recorded as the target stage; Obtain the difference in reaction temperature between each moment and the adjacent moments in the target stage, and record it as the temperature difference at each moment in the same preparation process; Obtain the difference between the reaction temperature of the target process at each moment in the target stage and the reaction temperature of the reference process at the same moment in the target stage, and record it as the temperature difference at each moment in different preparation processes; The error contribution degree is obtained according to the temperature difference at each moment in the same preparation process and the temperature difference at each moment in different preparation processes.

3. The data storage method for the synthesis of tributyl borate according to claim 2, characterized in that: The error contribution degree is negatively correlated with the temperature difference at each moment in the same preparation process and the temperature difference at each moment in different preparation processes, respectively.

4. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: The objective function containing the undetermined parameters is positively correlated with the error contribution degree and the error.

5. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: The abscissa of the temperature trend point is time, and the ordinate is reaction temperature.

6. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: The specific steps of obtaining the compression data of each heating stage according to the temperature trend point are as follows: For the temperature trend point, the optimal storage model is equally divided into several segments, and the mean value of the ordinate on each segment of the optimal storage model is used as the compressed data.

7. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: The temporary storage is a memory stick, and the permanent storage is a mechanical hard disk.

8. The data storage method for the synthesis of tributyl borate according to claim 1, characterized in that: When decompressing the data stored in the permanent memory, the steps include: All compressed data of each heating stage are read out from the permanent memory, the compressed data are fitted into an optimal storage model, and the reaction temperature on the fitted optimal storage model is used as the decompressed reaction temperature data of each heating stage.

9. The data storage method for tributyl borate synthesis according to claim 1, characterized in that: The steps of storing all compressed data in a permanent memory are as follows: All compressed data are compressed using the LZW compression algorithm, and the data compressed by the LZW compression algorithm are stored in a permanent memory.