[go: up one dir, main page]

CN117785868A - Data storage method and system applied to preparation of glass sand inclusion pipe - Google Patents

Data storage method and system applied to preparation of glass sand inclusion pipe Download PDF

Info

Publication number
CN117785868A
CN117785868A CN202311628277.4A CN202311628277A CN117785868A CN 117785868 A CN117785868 A CN 117785868A CN 202311628277 A CN202311628277 A CN 202311628277A CN 117785868 A CN117785868 A CN 117785868A
Authority
CN
China
Prior art keywords
data
preparation
associated sequence
sequence data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311628277.4A
Other languages
Chinese (zh)
Inventor
董婷婷
周奉光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Yuantong New Materials Co ltd
Original Assignee
Jiangxi Yuantong New Materials Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Yuantong New Materials Co ltd filed Critical Jiangxi Yuantong New Materials Co ltd
Priority to CN202311628277.4A priority Critical patent/CN117785868A/en
Publication of CN117785868A publication Critical patent/CN117785868A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of data storage, and discloses a data storage method and a data storage system applied to preparation of a glass sand inclusion pipe, wherein the data storage method comprises the following steps: extracting time series data and non-time series data in the preparation data; calculating the data association degree between each data in the time sequence data, performing data classification processing on the time sequence data to obtain associated sequence data and non-associated sequence data, and constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data; respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in a distributed database to obtain a first access interface and a second access interface; and mining characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data, and executing data storage of the time series data and the non-time series data to obtain a storage result. The invention aims to improve the data storage efficiency of the glass sand inclusion pipe under the preparation.

Description

应用于玻璃刚夹砂管制备下的数据存储方法及系统Data storage method and system applied to the preparation of glass rigid sand-filled pipes

技术领域Technical field

本发明涉及数据存储技术领域,尤其涉及一种应用于玻璃刚夹砂管制备下的数据存储方法及系统。The present invention relates to the field of data storage technology, and in particular to a data storage method and system applied in the preparation of glass rigid sand-filled pipes.

背景技术Background technique

玻璃刚夹砂管是一种实验室常用的装置,主要用于进行过滤、干燥和真空抽取等操作,它由一个玻璃管和两个玻璃接头组成,玻璃刚夹砂管的特点是玻璃管的中部有一段较细的夹砂区,可以将固体颗粒过滤出来,而液体可以通过,玻璃刚夹砂管后续出现质量问题时,需要调度相关制备数据进行分析,因此对于玻璃刚夹砂管的制备数据存储尤为重要。The glass-reinforced corundum tube is a commonly used device in laboratories, mainly used for filtering, drying, vacuum extraction and other operations. It consists of a glass tube and two glass joints. The characteristic of the glass-reinforced corundum tube is that there is a finer sand-filled area in the middle of the glass tube, which can filter out solid particles while allowing liquids to pass through. When quality problems occur in the glass-reinforced corundum tube later, relevant preparation data needs to be dispatched for analysis. Therefore, it is particularly important to store the preparation data of the glass-reinforced corundum tube.

现有的玻璃刚夹砂管的制备数据存储方法主要为:获取玻璃刚夹砂管的制备流程,根据制备流程创建一个文件存储系统,将制备流程中每个流程的制备数据打包,将打包后的数据依次存储到文件存储系统中,遇到异常数据或者额外添加的数据时,需要额外的对数据分析,以便于确定数据的存储位置,并且数据都是存储到一个区域,后续读取数据时需要依次遍历数据,从而确定最终需要的数据,因此该存储方法的存储性能较低,导致制备数据存储的效率降低,因此需要一种能够提高玻璃刚夹砂管制备下的数据存储效率的方法。The existing preparation data storage method of glass rigid sand-filled pipes is mainly as follows: obtain the preparation process of glass rigid sand-filled pipes, create a file storage system based on the preparation process, package the preparation data of each process in the preparation process, and then package the The data is stored in the file storage system in turn. When encountering abnormal data or additional data, additional data analysis is required to determine the storage location of the data, and the data is stored in an area. When reading the data subsequently The data needs to be traversed in order to determine the final required data. Therefore, the storage performance of this storage method is low, resulting in a reduction in the efficiency of preparing data storage. Therefore, a method that can improve the data storage efficiency of glass rigid sand-filled pipe preparation is needed.

发明内容Summary of the invention

本发明提供一种应用于玻璃刚夹砂管制备下的数据存储方法及系统,其主要目的在于提高玻璃刚夹砂管制备下的数据存储效率。The present invention provides a data storage method and system used in the preparation of glass rigid sand-filled pipes, and its main purpose is to improve the data storage efficiency in the preparation of glass rigid sand-filled pipes.

为实现上述目的,本发明提供的一种应用于玻璃刚夹砂管制备下的数据存储方法,包括:In order to achieve the above objectives, the present invention provides a data storage method applied to the preparation of glass rigid sand-filled pipes, including:

获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据;Obtain the preparation data in the preparation scenario of the glass rigid sand-filled pipe, and extract the time series data and non-time series data in the preparation data;

计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库;Calculate the data correlation between each data in the time series data, perform data classification processing on the time series data according to the data correlation, obtain correlated sequence data and non-correlated sequence data, and construct the correlated sequence A distributed database corresponding to the data and the non-correlated sequence data;

在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库;Access interfaces corresponding to the associated sequence data and the non-associated sequence data are respectively configured in the distributed database to obtain a first access interface and a second access interface, which are combined with the first access interface and the second access interface. Interface, perform parameter adjustment processing on the distributed database to obtain the target database;

挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。Mining the characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data based on the characteristic information, and combining the target database and the storage database to respectively execute the processing of the time series data and the Describe the data storage of non-time series data and obtain the storage results.

可选地,所述提取所述制备数据中的时间序列数据和非时间序列数据,包括:Optionally, the extracting time series data and non-time series data in the preparation data includes:

对所述制备数据进行数据降噪处理,得到降噪制备数据,识别所述降噪制备数据中每个数据的时间索引信息;Perform data denoising processing on the preparation data to obtain denoised preparation data, and identify the time index information of each data in the denoising preparation data;

根据所述时间索引信息,确定所述降噪制备数据中每个数据的制备时间点;Determining, according to the time index information, a preparation time point of each data in the noise reduction prepared data;

根据所述制备时间点,构建所述降噪制备数据对应的时间散点图,对所述时间散点图中的数据点进行拟合处理,得到拟合曲线;According to the preparation time point, construct a time scatter plot corresponding to the noise reduction preparation data, perform fitting processing on the data points in the time scatter plot, and obtain a fitting curve;

计算所述拟合曲线对应的曲线斜率,根据所述曲线斜率,分析所述降噪制备数据中每个数据与所述制备时间点的线性关系;Calculate the curve slope corresponding to the fitting curve, and analyze the linear relationship between each data in the noise reduction preparation data and the preparation time point according to the curve slope;

根据所述线性关系,从所述降噪制备数据中提取出时间序列数据和非时间序列数据。According to the linear relationship, time series data and non-time series data are extracted from the noise reduction preparation data.

可选地,所述计算所述拟合曲线对应的曲线斜率,包括:Optionally, calculating the curve slope corresponding to the fitting curve includes:

通过下述公式计算所述拟合曲线对应的曲线斜率:Calculate the curve slope corresponding to the fitting curve through the following formula:

其中,A表示拟合曲线对应的曲线斜率,Nt1和Mt1表示拟合曲线中在制备时间点为t1时对应的点坐标,Nt2和Mt2表示拟合曲线中在制备时间点为t2时对应的点坐标,表示制备时间点为t2和制备时间点为t1时的曲线点的斜率,N和M表示拟合曲线中在制备时间点为tβ时对应的点坐标,β表示拟合曲线中的曲线点数量。Among them, A represents the slope of the curve corresponding to the fitting curve, N t1 and M t1 represent the coordinates of the corresponding points in the fitting curve when the preparation time point is t1, and N t2 and M t2 represent the fitting curve when the preparation time point is t2. The corresponding point coordinates when represents the slope of the curve point when the preparation time point is t2 and the preparation time point is t1, N and M represent the corresponding point coordinates in the fitting curve when the preparation time point is tβ, β represents the curve point in the fitting curve quantity.

可选地,所述计算所述时间序列数据中每个数据之间的数据关联度,包括:Optionally, calculating the data correlation degree between each data in the time series data includes:

通过下述公式计算所述时间序列数据中每个数据之间的数据关联度:Calculate the data correlation between each data in the time series data using the following formula:

其中,B表示时间序列数据中每个数据之间的数据关联度,Db表示时间序列数据中第b个数据对应的数据向量,Db+1表示时间序列数据中第b+1个数据对应的数据向量,μ表示数据维度,minbminb+1|Db-Db+1|表示表示时间序列数据中第b个数据和第b+1个对应的数据向量的二级最小差,maxbmaxb+1|Db-Db+1|表示时间序列数据中第b个数据和第b+1个对应的数据向量的二级最大差。Among them, B represents the data correlation degree between each data in the time series data, D b represents the data vector corresponding to the b-th data in the time series data, and D b+1 represents the data vector corresponding to the b+1-th data in the time series data. The data vector, μ represents the data dimension, min b min b+1 |D b -D b+1 | represents the second-level minimum difference between the b-th data and the b+1-th corresponding data vector in the time series data, max b max b+1 |D b -D b+1 | represents the second-level maximum difference between the b-th data and the b+1-th corresponding data vector in the time series data.

可选地,所述构建所述关联序列数据和所述非关联序列数据对应的分布式数据库,包括:Optionally, the construction of a distributed database corresponding to the associated sequence data and the non-associated sequence data includes:

分别提取所述关联序列数据和所述非关联序列数据对应的结构特征,得到第一结构特征和第二结构特征;Extract structural features corresponding to the associated sequence data and the non-associated sequence data respectively to obtain first structural features and second structural features;

分别对所述第一结构特征和所述第二结构特征进行特征筛选,得到第一目标特征和第二目标特征;Perform feature screening on the first structural features and the second structural features respectively to obtain first target features and second target features;

分别构建所述第一目标特征和所述第二目标特征对应的特征矩阵,得到第一特征矩阵和第二特征矩阵;Construct feature matrices corresponding to the first target feature and the second target feature respectively to obtain a first feature matrix and a second feature matrix;

分别对所述第一特征矩阵和所述第二特征矩阵进行矩阵融合,得到第一融合矩阵和第二融合矩阵;Perform matrix fusion on the first feature matrix and the second feature matrix respectively to obtain a first fusion matrix and a second fusion matrix;

根据所述第一融合矩阵和所述第二融合矩阵,生成所述关联序列数据和所述非关联序列数据对应的融合结构特征,得到第一融合特征和第二融合特征;According to the first fusion matrix and the second fusion matrix, generate fusion structural features corresponding to the associated sequence data and the non-associated sequence data, and obtain first fusion features and second fusion features;

提取所述关联序列数据和所述非关联序列数据对应的数据参数,得到第一数据参数和第二数据参数;Extract data parameters corresponding to the associated sequence data and the non-associated sequence data to obtain first data parameters and second data parameters;

根据所述第一融合特征、所述第二融合特征、所述第一数据参数以及所述第二数据参数,设置所述关联序列数据和所述非关联序列数据对应的存储要求;Set storage requirements corresponding to the associated sequence data and the non-associated sequence data according to the first fusion feature, the second fusion feature, the first data parameter and the second data parameter;

根据所述存储要求,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库。According to the storage requirements, a distributed database corresponding to the associated sequence data and the non-associated sequence data is constructed.

可选地,所述在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,包括:Optionally, respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface includes:

分别对所述关联序列数据和所述非关联序列数据进行属性提取,得到第一数据属性和第二数据属性;Perform attribute extraction on the associated sequence data and the non-associated sequence data respectively to obtain first data attributes and second data attributes;

计算所述第一数据属性中每个属性之间的支持系数,得到第一支持系数;Calculating the support coefficient between each attribute in the first data attribute to obtain a first support coefficient;

计算所述第二数据属性中每个属性之间的支持系数,得到第二支持系数;Calculate the support coefficient between each attribute in the second data attribute to obtain the second support coefficient;

根据所述第一支持系数和所述第二支持系数,分别提取所述第一数据属性和所述第二数据属性中的关键属性,得到第一关键属性和第二关键属性;According to the first support coefficient and the second support coefficient, respectively extract the key attributes in the first data attribute and the second data attribute to obtain the first key attribute and the second key attribute;

根据所述第一关键属性和所述第二关键属性,分别确定所述关联序列数据和所述非关联序列数据对应的接口类型,得到第一接口类型和第二接口类型;Determine, according to the first key attribute and the second key attribute, the interface types corresponding to the associated sequence data and the non-associated sequence data, respectively, to obtain a first interface type and a second interface type;

分别分析所述关联序列数据和所述非关联序列数据对应的业务逻辑,得到第一业务逻辑和第二业务逻辑;Analyze the business logic corresponding to the associated sequence data and the non-associated sequence data respectively to obtain the first business logic and the second business logic;

根据所述第一业务逻辑和所述第二业务逻辑,制定所述关联序列数据和所述非关联序列数据对应的接口逻辑,得到第一接口逻辑和第二接口逻辑;According to the first business logic and the second business logic, formulate interface logic corresponding to the associated sequence data and the non-associated sequence data to obtain a first interface logic and a second interface logic;

结合所述第一接口类型、所述第二接口类型、所述第一接口逻辑以及所述第二接口逻辑,在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口。In combination with the first interface type, the second interface type, the first interface logic and the second interface logic, access interfaces corresponding to the associated sequence data and the non-associated sequence data are respectively configured in the distributed database to obtain a first access interface and a second access interface.

可选地,所述计算所述第一数据属性中每个属性之间的支持系数,得到第一支持系数,包括:Optionally, calculating the support coefficient between each attribute in the first data attribute to obtain the first support coefficient includes:

可以通过下述公式计算所述第一数据属性中每个属性之间的支持系数:The support coefficient between each attribute in the first data attribute can be calculated by the following formula:

其中,F表示第一数据属性中每个属性之间的支持系数,q表示第一数据属性的属性数量,e表示第一数据属性的属性序列号,He表示第一数据属性中第e个属性的属性概率,He+1表示第一数据属性中第e+1个属性的属性概率,Ge,e+1表示第e个属性和第e+1个属性的向量比值。Among them, F represents the support coefficient between each attribute in the first data attribute, q represents the number of attributes of the first data attribute, e represents the attribute sequence number of the first data attribute, and He represents the e-th attribute in the first data attribute. The attribute probability of the attribute, He e+1 represents the attribute probability of the e+1th attribute in the first data attribute, G e, e+1 represents the vector ratio of the eth attribute and the e+1th attribute.

可选地,所述挖掘所述非时间序列数据对应的特征信息,包括:Optionally, the mining of feature information corresponding to the non-time series data includes:

利用预设的决策树挖掘模型对所述非时间序列数据进行信息挖掘,得到初始数据信息;Use a preset decision tree mining model to perform information mining on the non-time series data to obtain initial data information;

对所述初始数据信息进行信息清洗,得到目标数据信息;Perform information cleaning on the initial data information to obtain target data information;

对所述目标数据信息进行文本提取,得到信息文本,并计算所述信息文本对应的文本权重;Perform text extraction on the target data information to obtain information text, and calculate the text weight corresponding to the information text;

结合所述信息熵值和所述文本权重,提取所述目标数据信息中的特征信息。The information entropy value and the text weight are combined to extract feature information from the target data information.

可选地,所述计算所述目标数据信息中每个信息对应的信息熵值,包括:Optionally, calculating the information entropy value corresponding to each information in the target data information includes:

通过下述公式计算所述目标数据信息中每个信息对应的信息熵值:The information entropy value corresponding to each information in the target data information is calculated by the following formula:

其中,U表示目标数据信息中每个信息对应的信息熵值,i表示目标数据信息对应的信息序列号,δ表示目标数据信息对应的信息数量,Ei表示目标数据信息中第i个信息,W(Ei)表示目标数据信息中第i个信息的出现概率。Among them, U represents the information entropy value corresponding to each information in the target data information, i represents the information sequence number corresponding to the target data information, δ represents the number of information corresponding to the target data information, E i represents the i-th information in the target data information, W(E i ) represents the occurrence probability of the i-th information in the target data information.

一种应用于玻璃刚夹砂管制备下的数据存储系统,其特征在于,所述系统包括:A data storage system used in the preparation of glass rigid sand-filled pipes, characterized in that the system includes:

数据处理模块,用于获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据;The data processing module is used to obtain the preparation data in the preparation scenario of the glass rigid sand-filled pipe, and extract the time series data and non-time series data in the preparation data;

数据库构建模块,用于计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库;A database building module is used to calculate the data correlation between each data in the time series data, and perform data classification processing on the time series data according to the data correlation to obtain correlated sequence data and non-correlated sequence data. , construct a distributed database corresponding to the associated sequence data and the non-associated sequence data;

数据库调整模块,用于在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库;A database adjustment module configured to separately configure access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface, combined with the first access interface and the second access interface, performing parameter adjustment processing on the distributed database to obtain a target database;

数据存储模块,用于挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。The data storage module is used to mine the characteristic information corresponding to the non-time series data, construct a storage database corresponding to the non-time series data according to the characteristic information, and execute the corresponding processing of all the data in combination with the target database and the storage database. The data storage of the time series data and the non-time series data is performed to obtain the storage results.

本发明通过提取所述制备数据中的时间序列数据和非时间序列数据,可以对所述制备数据进行划分,从而得到具有时间依赖关系的数据和没有时间依赖关系的数据,进而可以通过所述时间序列数据了解玻璃刚夹砂管场景下的有关时间趋势的制备情况,通过所述非时间序列数据了解玻璃刚夹砂管场景下相关描述信息,本发明通过计算所述时间序列数据中每个数据之间的数据关联度,可以通过所述数据关联度了解所述时间序列数据中每个数据之间的关联关系,便于后续的数据分类处理,为后续分布式数据库的构建提供了保障,本发明通过在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,可以通过访问接口提高后续的数据访问效率,进而快速的检索到相关数据,本发明通过结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,实现了数据的分布式存储,以此提高了数据的存储效率。因此,本发明实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储方法及系统,能够提高玻璃刚夹砂管制备下的数据存储效率。By extracting time series data and non-time series data in the preparation data, the present invention can divide the preparation data, thereby obtaining data with time dependence and data without time dependence, and then can use the time Sequence data is used to understand the preparation status of relevant time trends in the scenario of glass rigidly sandwiched with sand pipes, and through the non-time series data, the relevant description information in the scenario of glass rigidly sandwiched with sand pipes is understood. The present invention calculates each data in the time series data The data correlation between each other can be used to understand the correlation between each data in the time series data, which facilitates subsequent data classification processing and provides guarantee for the construction of subsequent distributed databases. The present invention By respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database, subsequent data access efficiency can be improved through the access interface, and relevant data can be quickly retrieved. The present invention combines The target database and the storage database perform data storage of the time series data and the non-time series data respectively, realizing distributed storage of data, thereby improving data storage efficiency. Therefore, the data storage method and system provided by the embodiments of the present invention for use in the preparation of glass rigid sand-filled pipes can improve the data storage efficiency in the preparation of glass rigid sand-filled pipes.

附图说明Description of the drawings

图1为本发明一实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储方法的流程示意图;Figure 1 is a schematic flow chart of a data storage method applied to the preparation of glass rigid sand-filled pipes provided by an embodiment of the present invention;

图2为本发明一实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储系统的功能模块图;Figure 2 is a functional module diagram of a data storage system used in the preparation of glass rigid sand-filled pipes provided by an embodiment of the present invention;

图3为本发明一实施例提供的实现所述一种应用于玻璃刚夹砂管制备下的数据存储方法的电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device implementing the data storage method applied in the preparation of glass rigid sand-filled pipes according to an embodiment of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

本申请实施例提供一种应用于玻璃刚夹砂管制备下的数据存储方法。本申请实施例中,所述一种应用于玻璃刚夹砂管制备下的数据存储方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述一种应用于玻璃刚夹砂管制备下的数据存储方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。所述服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。The embodiment of the present application provides a data storage method applied in the preparation of glass rigid sand-filled pipes. In the embodiments of the present application, the execution subject of the data storage method applied to the preparation of glass rigid sand-filled pipes includes but is not limited to servers, terminals, etc. that can be configured to execute the method provided by the embodiments of the present application. at least one of the devices. In other words, the data storage method applied to the preparation of glass rigid sand-filled pipes can be executed by software or hardware installed on the terminal device or the server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server may be an independent server, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and content delivery networks (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.

参照图1所示,为本发明一实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储方法的流程示意图。在本实施例中,所述一种应用于玻璃刚夹砂管制备下的数据存储方法包括步骤S1—S4。Referring to FIG. 1 , a schematic flow chart of a data storage method applied to the preparation of glass rigid sand-filled pipes is provided according to an embodiment of the present invention. In this embodiment, the data storage method applied to the preparation of glass rigid sand-filled pipes includes steps S1-S4.

S1、获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据。S1. Acquire preparation data in a glass fiber reinforced corundum tube preparation scenario, and extract time series data and non-time series data from the preparation data.

本发明通过提取所述制备数据中的时间序列数据和非时间序列数据,可以对所述制备数据进行划分,从而得到具有时间依赖关系的数据和没有时间依赖关系的数据,进而可以通过所述时间序列数据了解玻璃刚夹砂管场景下的有关时间趋势的制备情况,通过所述非时间序列数据了解玻璃刚夹砂管场景下相关描述信息,其中,所述玻璃刚夹砂管是用玻璃制成的夹砂管,通常由两段玻璃管组成,中间夹有细砂颗粒,玻璃夹砂管通过控制上下两段管之间的压力差,可以使细砂颗粒上升或下降,玻璃刚夹砂管常用于实验室中的液体分离、过滤和干燥等操作,通过调整夹砂管的上下位置,可以控制砂颗粒的上升或下降速度,从而实现对液体的分离和过滤,玻璃夹砂管具有耐腐蚀、耐高温的特点,透明度好,使用方便,所述制备数据是玻璃刚夹砂管制备场景下的所有加工相关的数据,如材料搅拌,材料加热等数据,所述时间序列数据是所述制备数据中和时间有关的数据,会随着时间的变化呈现出一定的规律的相关数据,如加热过程中的材料反应的数据,所述非时间序列数据是所述制备数据中与时间无关的数据,如物料性质的相关数据,设备参数数据等。By extracting time series data and non-time series data in the preparation data, the present invention can divide the preparation data, thereby obtaining data with time dependence and data without time dependence, and then can use the time Sequence data is used to understand the preparation situation of relevant time trends in the scenario of glass rigid sand-coated pipes, and the non-time series data is used to understand relevant description information in the scenario of glass rigid-coated sand pipes, wherein the glass rigid-coated sand pipes are made of glass. The finished sand-filled pipe is usually composed of two sections of glass tubes with fine sand particles sandwiched in the middle. The glass sand-filled pipe can make the fine sand particles rise or fall by controlling the pressure difference between the upper and lower sections of the pipe. The glass is just sand-filled. Glass tubes are often used for liquid separation, filtration and drying operations in laboratories. By adjusting the upper and lower positions of the sand-filled tubes, the rising or falling speed of the sand particles can be controlled, thereby achieving separation and filtration of liquids. Glass sand-filled tubes are resistant to It has the characteristics of corrosion and high temperature resistance, good transparency, and easy to use. The preparation data is all processing-related data in the preparation scenario of glass rigid sand pipe, such as material stirring, material heating and other data. The time series data is the The time-related data in the preparation data will show a certain pattern of related data as time changes, such as the data of the material reaction during the heating process. The non-time series data is the time-independent data in the preparation data. Data, such as data related to material properties, equipment parameter data, etc.

作为本发明的一个实施例,所述提取所述制备数据中的时间序列数据和非时间序列数据,包括:对所述制备数据进行数据降噪处理,得到降噪制备数据,识别所述降噪制备数据中每个数据的时间索引信息,根据所述时间索引信息,确定所述降噪制备数据中每个数据的制备时间点,根据所述制备时间点,构建所述降噪制备数据对应的时间散点图,对所述时间散点图中的数据点进行拟合处理,得到拟合曲线,计算所述拟合曲线对应的曲线斜率,根据所述曲线斜率,分析所述降噪制备数据中每个数据与所述制备时间点的线性关系,根据所述线性关系,从所述降噪制备数据中提取出时间序列数据和非时间序列数据。As an embodiment of the present invention, extracting time series data and non-time series data in the preparation data includes: performing data denoising processing on the preparation data, obtaining denoised preparation data, and identifying the denoised data. Time index information of each data in the preparation data. According to the time index information, the preparation time point of each data in the noise reduction preparation data is determined. According to the preparation time point, a corresponding corresponding to the noise reduction preparation data is constructed. Time scatter plot, perform fitting processing on the data points in the time scatter plot to obtain a fitting curve, calculate the curve slope corresponding to the fitting curve, and analyze the noise reduction preparation data according to the curve slope There is a linear relationship between each data in the data and the preparation time point. According to the linear relationship, time series data and non-time series data are extracted from the noise reduction preparation data.

其中,所述降噪制备数据是所述制备数据中的噪声干扰经过抑制后得到的数据,所述时间索引信息是所述降噪制备数据中每个数据的时间戳信息,如玻璃刚夹砂管制备场景中关于材料的加热时间信息,所述时间散点图以所述制备时间点和所述降噪制备数据的数据变量为坐标轴构建的散点图,所述线性关系是所述降噪制备数据中每个数据与所述制备时间点之间的存在直接关系。Among them, the noise reduction preparation data is the data obtained after the noise interference in the preparation data is suppressed, the time index information is the timestamp information of each data in the noise reduction preparation data, such as the heating time information about the material in the glass reinforced sand-filled tube preparation scenario, the time scatter plot is a scatter plot constructed with the preparation time point and the data variables of the noise reduction preparation data as coordinate axes, and the linear relationship is the direct relationship between each data in the noise reduction preparation data and the preparation time point.

可选的,对所述制备数据进行数据降噪处理可以通过低通滤波器实现,所述时间索引信息可以通过识别所述降噪制备数据中每个数据的日志数据得到,构建所述降噪制备数据对应的时间散点图可以通过制图工具实现,所述制图工具是由脚本语言构建,对所述时间散点图中的数据点进行拟合处理可以通过线性拟合函数实现,可以通过计算所述曲线斜率相邻斜率之间的比值,根据比值的变化程度分析所述降噪制备数据中每个数据与所述制备时间点的线性关系,从所述降噪制备数据中提取出时间序列数据和非时间序列数据可以通过提取函数实现,如left函数。Optionally, data denoising processing on the preparation data can be implemented through a low-pass filter. The time index information can be obtained by identifying the log data of each data in the denoising preparation data to construct the denoising process. The time scatter plot corresponding to the prepared data can be realized through a graphing tool, which is constructed by a script language. The fitting processing of the data points in the time scatter graph can be realized through a linear fitting function, which can be calculated by The ratio between adjacent slopes of the curve slope, the linear relationship between each data in the noise reduction preparation data and the preparation time point is analyzed according to the degree of change of the ratio, and a time series is extracted from the noise reduction preparation data Data and non-time series data can be implemented through extraction functions, such as the left function.

进一步的,作为本发明的一个可选实施例,所述计算所述拟合曲线对应的曲线斜率,包括:Further, as an optional embodiment of the present invention, calculating the curve slope corresponding to the fitting curve includes:

通过下述公式计算所述拟合曲线对应的曲线斜率:Calculate the curve slope corresponding to the fitting curve through the following formula:

其中,A表示拟合曲线对应的曲线斜率,Nt1和Mt1表示拟合曲线中在制备时间点为t1时对应的点坐标,Nt2和Mt2表示拟合曲线中在制备时间点为t2时对应的点坐标,表示制备时间点为t2和制备时间点为t1时的曲线点的斜率,N和M表示拟合曲线中在制备时间点为tβ时对应的点坐标,β表示拟合曲线中的曲线点数量。Among them, A represents the slope of the curve corresponding to the fitting curve, N t1 and M t1 represent the coordinates of the corresponding points in the fitting curve when the preparation time point is t1, and N t2 and M t2 represent the fitting curve when the preparation time point is t2. The corresponding point coordinates when represents the slope of the curve point when the preparation time point is t2 and the preparation time point is t1, N and M represent the corresponding point coordinates in the fitting curve when the preparation time point is tβ, β represents the curve point in the fitting curve quantity.

S2、计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库。S2. Calculate the data correlation between each data in the time series data, perform data classification processing on the time series data according to the data correlation, obtain associated sequence data and non-associated sequence data, and construct the A distributed database corresponding to correlated sequence data and the non-correlated sequence data.

本发明通过计算所述时间序列数据中每个数据之间的数据关联度,可以通过所述数据关联度了解所述时间序列数据中每个数据之间的关联关系,便于后续的数据分类处理,为后续分布式数据库的构建提供了保障,其中,所述数据关联度表示所述时间序列数据中每个数据之间的关联程度。By calculating the data correlation between each data in the time series data, the present invention can understand the correlation between each data in the time series data through the data correlation, which facilitates subsequent data classification processing. This provides a guarantee for the subsequent construction of a distributed database, where the data correlation degree represents the degree of correlation between each data in the time series data.

作为本发明的一个实施例,所述计算所述时间序列数据中每个数据之间的数据关联度,包括:As an embodiment of the present invention, the calculating of the data association degree between each data in the time series data includes:

通过下述公式计算所述时间序列数据中每个数据之间的数据关联度:Calculate the data correlation between each data in the time series data using the following formula:

其中,B表示时间序列数据中每个数据之间的数据关联度,Db表示时间序列数据中第b个数据对应的数据向量,Db+1表示时间序列数据中第b+1个数据对应的数据向量,μ表示数据维度,minbminb+1|Db-Db+1|表示表示时间序列数据中第b个数据和第b+1个对应的数据向量的二级最小差,maxbmaxb+1|Db-Db+1|表示时间序列数据中第b个数据和第b+1个对应的数据向量的二级最大差。Among them, B represents the data correlation degree between each data in the time series data, D b represents the data vector corresponding to the b-th data in the time series data, and D b+1 represents the data vector corresponding to the b+1-th data in the time series data. The data vector, μ represents the data dimension, min b min b+1 |D b -D b+1 | represents the second-level minimum difference between the b-th data and the b+1-th corresponding data vector in the time series data, max b max b+1 |D b -D b+1 | represents the second-level maximum difference between the b-th data and the b+1-th corresponding data vector in the time series data.

本发明通过根据所述数据关联度,对所述时间序列数据进行数据分类处理,从而可以将所述时间序列数据中的有关联性的数据和无关联的数据分开,进而提高所述时间序列数据的管理效率,其中,所述关联序列数据是所述时间序列数据中具有关联关系的数据,所述非关联序列数据是所述时间序列数据中没有关联性的数据,可选地,对所述时间序列数据进行数据分类处理可以通过将所述数据关联度与预设阈值进行比对,若所述数据关联度大于预设阈值,则该数据为关联序列数据,若所述数据关联度不大于预设阈值,则该数据为非关联序列数据。By performing data classification processing on the time series data according to the data correlation degree, the present invention can separate relevant data and non-correlated data in the time series data, thereby improving the time series data. Management efficiency, wherein the associated sequence data is data with an associated relationship in the time series data, and the non-associated sequence data is data without association in the time series data. Optionally, the Data classification processing of time series data can be performed by comparing the data correlation degree with a preset threshold. If the data correlation degree is greater than the preset threshold, the data is associated sequence data. If the data correlation degree is not greater than If the threshold is preset, the data is non-correlated sequence data.

本发明通过构建所述关联序列数据和所述非关联序列数据对应的分布式数据库,可以对数据进行分布式储存,从而提高了数据存储的灵活性,并且在数据存储时可以快速的读取和响应,其中,所述分布式数据库是对所述关联序列数据和所述非关联序列数据进行数据存储的虚拟内存。By constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data, the present invention can perform distributed storage of data, thereby improving the flexibility of data storage, and can quickly read and store data during data storage. Response, wherein the distributed database is a virtual memory for data storage of the associated sequence data and the non-associated sequence data.

作为本发明的一个实施例,所述构建所述关联序列数据和所述非关联序列数据对应的分布式数据库,包括:分别提取所述关联序列数据和所述非关联序列数据对应的结构特征,得到第一结构特征和第二结构特征,分别对所述第一结构特征和所述第二结构特征进行特征筛选,得到第一目标特征和第二目标特征,分别构建所述第一目标特征和所述第二目标特征对应的特征矩阵,得到第一特征矩阵和第二特征矩阵,分别对所述第一特征矩阵和所述第二特征矩阵进行矩阵融合,得到第一融合矩阵和第二融合矩阵,根据所述第一融合矩阵和所述第二融合矩阵,生成所述关联序列数据和所述非关联序列数据对应的融合结构特征,得到第一融合特征和第二融合特征,并提取所述关联序列数据和所述非关联序列数据对应的数据参数,得到第一数据参数和第二数据参数,根据所述第一融合特征、所述第二融合特征、所述第一数据参数以及所述第二数据参数,设置所述关联序列数据和所述非关联序列数据对应的存储要求,根据所述存储要求,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库。As an embodiment of the present invention, the construction of a distributed database corresponding to the associated sequence data and the non-associated sequence data includes: respectively extracting the structural features corresponding to the associated sequence data and the non-associated sequence data, Obtain the first structural feature and the second structural feature, perform feature screening on the first structural feature and the second structural feature respectively, obtain the first target feature and the second target feature, and construct the first target feature and the second target feature respectively. The feature matrix corresponding to the second target feature is used to obtain a first feature matrix and a second feature matrix. The first feature matrix and the second feature matrix are respectively matrix fused to obtain a first fusion matrix and a second fusion matrix. Matrix, according to the first fusion matrix and the second fusion matrix, generate the fusion structural features corresponding to the associated sequence data and the non-associated sequence data, obtain the first fusion feature and the second fusion feature, and extract the The data parameters corresponding to the associated sequence data and the non-associated sequence data are obtained to obtain first data parameters and second data parameters. According to the first fusion feature, the second fusion feature, the first data parameter and the The second data parameter sets storage requirements corresponding to the associated sequence data and the non-associated sequence data, and constructs a distributed database corresponding to the associated sequence data and the non-associated sequence data according to the storage requirements.

其中,所述第一结构特征和所述第二结构特征分别是所述关联序列数据和所述非关联序列数据对应的数据结构特点,所述第一特征矩阵和所述第二特征矩阵分别是所述第一目标特征和所述第二目标特征对应的特征值构建的方阵,所述第一融合特征和所述第二融合特征分别是所述关联序列数据和所述非关联序列数据对应的数据数据结构综合特征,所述第一数据参数和所述第二数据参数分别是所述关联序列数据和所述非关联序列数据对应的参数信息,如数据内存容量,所述存储要求是所述关联序列数据和所述非关联序列数据对应的数据存储区域所具备的性能、容量、可靠性和安全性等方面的要求。Wherein, the first structural feature and the second structural feature are respectively the data structure features corresponding to the associated sequence data and the non-associated sequence data, and the first feature matrix and the second feature matrix are respectively A square matrix constructed from feature values corresponding to the first target feature and the second target feature. The first fusion feature and the second fusion feature are respectively corresponding to the associated sequence data and the non-associated sequence data. Comprehensive characteristics of the data structure, the first data parameter and the second data parameter are parameter information corresponding to the associated sequence data and the non-associated sequence data, such as data memory capacity, and the storage requirement is the Requirements for performance, capacity, reliability, security and other aspects of the data storage area corresponding to the correlated sequence data and the non-correlated sequence data.

可选地,所述关联序列数据和所述非关联序列数据对应的结构特征可以通过SURF特征提取方法实现,可以通过计算所述第一结构特征和所述第二结构特征对应的特征值,根据特征值大小进行特征筛选,所述第一目标特征和所述第二目标特征对应的特征矩阵可以通过矩阵函数实现,如zero矩阵函数,所述第一特征矩阵和所述第二特征矩阵的矩阵融合可以通过矩阵融合运算法则实现,如矩阵加法法则,所述关联序列数据和所述非关联序列数据对应的融合结构特征可以通过特征生成器实现,所述关联序列数据和所述非关联序列数据对应的数据参数可以通过参数提取器实现,所述关联序列数据和所述非关联序列数据对应的存储要求可以通过条件限制函数进行设置,所述关联序列数据和所述非关联序列数据对应的分布式数据库可以通过脚本语言构建。Optionally, the structural features corresponding to the associated sequence data and the non-associated sequence data can be realized by the SURF feature extraction method. The feature values corresponding to the first structural feature and the second structural feature can be calculated according to Feature screening is performed based on the size of the feature value. The feature matrix corresponding to the first target feature and the second target feature can be implemented through a matrix function, such as the zero matrix function, the matrix of the first feature matrix and the second feature matrix. Fusion can be achieved through matrix fusion algorithms, such as matrix addition rules. The fusion structural features corresponding to the associated sequence data and the non-associated sequence data can be achieved through a feature generator. The associated sequence data and the non-associated sequence data The corresponding data parameters can be implemented through a parameter extractor. The storage requirements corresponding to the associated sequence data and the non-associated sequence data can be set through conditional restriction functions. The distributions corresponding to the associated sequence data and the non-associated sequence data Formula databases can be built using scripting languages.

S3、在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库。S3. Configure access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface, combine the first access interface and the third access interface The second access interface performs parameter adjustment processing on the distributed database to obtain the target database.

本发明通过在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,可以通过访问接口提高后续的数据访问效率,进而快速的检索到相关数据,其中,所述第一访问接口和所述第二访问接口分别是所述分布式数据库用于访问所述关联序列数据和所述非关联序列数据对应的接口。By separately configuring the access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database, the present invention can improve subsequent data access efficiency through the access interfaces, and then quickly retrieve relevant data, wherein, The first access interface and the second access interface are respectively the interfaces used by the distributed database to access the associated sequence data and the non-associated sequence data.

作为本发明的一个实施例,所述在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,包括:分别对所述关联序列数据和所述非关联序列数据进行属性提取,得到第一数据属性和第二数据属性,计算所述第一数据属性中每个属性之间的支持系数,得到第一支持系数,计算所述第二数据属性中每个属性之间的支持系数,得到第二支持系数,根据所述第一支持系数和所述第二支持系数,分别提取所述第一数据属性和所述第二数据属性中的关键属性,得到第一关键属性和第二关键属性,根据所述第一关键属性和所述第二关键属性,分别确定所述关联序列数据和所述非关联序列数据对应的接口类型,得到第一接口类型和第二接口类型,分别分析所述关联序列数据和所述非关联序列数据对应的业务逻辑,得到第一业务逻辑和第二业务逻辑,根据所述第一业务逻辑和所述第二业务逻辑,制定所述关联序列数据和所述非关联序列数据对应的接口逻辑,得到第一接口逻辑和第二接口逻辑,结合所述第一接口类型、所述第二接口类型、所述第一接口逻辑以及所述第二接口逻辑,在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口。As an embodiment of the present invention, the access interfaces corresponding to the associated sequence data and the non-associated sequence data are respectively configured in the distributed database to obtain a first access interface and a second access interface, including: respectively Perform attribute extraction on the associated sequence data and the non-associated sequence data to obtain the first data attribute and the second data attribute, calculate the support coefficient between each attribute in the first data attribute, and obtain the first support coefficient , calculate the support coefficient between each attribute in the second data attribute, and obtain the second support coefficient. According to the first support coefficient and the second support coefficient, extract the first data attribute and the second support coefficient respectively. The key attribute in the second data attribute is to obtain the first key attribute and the second key attribute. According to the first key attribute and the second key attribute, the correspondence between the associated sequence data and the non-associated sequence data is determined respectively. interface type, obtain the first interface type and the second interface type, respectively analyze the business logic corresponding to the associated sequence data and the non-associated sequence data, obtain the first business logic and the second business logic, according to the first business logic and the second business logic, formulate the interface logic corresponding to the associated sequence data and the non-associated sequence data, obtain the first interface logic and the second interface logic, combine the first interface type, the third Two interface types, the first interface logic and the second interface logic, respectively configure the access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain the first access interface and Second access interface.

其中,所述第一数据属性和所述第二数据属性分别是描述所述关联序列数据和所述非关联序列数据各个方面的特性,所述第一支持系数表示所述第一数据属性中每个属性对其他属性之间的影响程度,所述关键属性是所述第一数据属性和所述第二数据属性中的重要属性,所述接口类型是所述关联序列数据和所述非关联序列数据对应的接口种类,如RESTfulAPI、SOAP、GraphQL等,所述业务逻辑是所述关联序列数据和所述非关联序列数据对应的业务需求和规则,所述接口逻辑是关于所述关联序列数据和所述非关联序列数据对应的接口访问规则。Among them, the first data attribute and the second data attribute are characteristics that describe various aspects of the associated sequence data and the non-associated sequence data respectively, the first support coefficient represents the degree of influence of each attribute in the first data attribute on other attributes, the key attribute is an important attribute in the first data attribute and the second data attribute, the interface type is the interface type corresponding to the associated sequence data and the non-associated sequence data, such as RESTfulAPI, SOAP, GraphQL, etc., the business logic is the business requirements and rules corresponding to the associated sequence data and the non-associated sequence data, and the interface logic is the interface access rules corresponding to the associated sequence data and the non-associated sequence data.

可选的,所述关联序列数据和所述非关联序列数据的属性提取可以通过属性提取工具实现,所述属性提取工具是由Java语言编译,所述第二支持系数与所述第一支持系数计算原理相同,在此不做过多赘述,可以通过根据所述第一支持系数和所述第二支持系数的数值大小提取所述第一数据属性和所述第二数据属性中的关键属性,所述关联序列数据和所述非关联序列数据对应的接口类型可以通过根据所述第一关键属性和所述第二关键属性对应的属性类型确定,可以通过确定所述关联序列数据和所述非关联序列数据对应的数据业务,分析数据业务对应的业务功能,根据业务功能得到业务逻辑,在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口可以通过配置文件实现,如XML、JSON、YAML等配置文件。Optionally, the attribute extraction of the associated sequence data and the non-associated sequence data can be implemented through an attribute extraction tool. The attribute extraction tool is compiled by the Java language. The second support coefficient and the first support coefficient The calculation principle is the same and will not be described in detail here. The key attributes of the first data attribute and the second data attribute can be extracted according to the numerical values of the first support coefficient and the second support coefficient. The interface type corresponding to the associated sequence data and the non-associated sequence data can be determined by determining the attribute type corresponding to the first key attribute and the second key attribute. Correlate the data service corresponding to the sequence data, analyze the business function corresponding to the data service, and obtain the business logic according to the business function. The access interface corresponding to the associated sequence data and the non-associated sequence data can be respectively configured in the distributed database through Configuration file implementation, such as XML, JSON, YAML and other configuration files.

可选的,作为本发明的一个可选实施例,所述计算所述第一数据属性中每个属性之间的支持系数,得到第一支持系数,包括:Optionally, as an optional embodiment of the present invention, calculating the support coefficient between each attribute in the first data attribute to obtain the first support coefficient includes:

可以通过下述公式计算所述第一数据属性中每个属性之间的支持系数:The support coefficient between each attribute in the first data attribute can be calculated by the following formula:

其中,F表示第一数据属性中每个属性之间的支持系数,q表示第一数据属性的属性数量,e表示第一数据属性的属性序列号,He表示第一数据属性中第e个属性的属性概率,He+1表示第一数据属性中第e+1个属性的属性概率,Ge,e+1表示第e个属性和第e+1个属性的向量比值。Among them, F represents the support coefficient between each attribute in the first data attribute, q represents the number of attributes of the first data attribute, e represents the attribute sequence number of the first data attribute, and He represents the e-th attribute in the first data attribute. The attribute probability of the attribute, He e+1 represents the attribute probability of the e+1th attribute in the first data attribute, G e, e+1 represents the vector ratio of the eth attribute and the e+1th attribute.

本发明通过结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,进而得到高适配性的数据库,为后续的数据存储提供了保障。The present invention combines the first access interface and the second access interface to perform parameter adjustment processing on the distributed database, thereby obtaining a highly adaptable database, thereby providing a guarantee for subsequent data storage.

S4、挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。S4. Mining the characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data based on the characteristic information, and combining the target database and the storage database to perform processing of the time series data respectively. and data storage of the non-time series data to obtain storage results.

本发明通过挖掘所述非时间序列数据对应的特征信息,可以发现所述非时间序列数据中数据内存的在表征信息,提高了后续存储数据库的精确性,为提高所述非时间序列数据的存储效率提供了保障,其中,所述特征信息是关于所述非时间序列数据的表征描述信息。By mining the characteristic information corresponding to the non-time series data, the present invention can discover the representation information of the data memory in the non-time series data, thereby improving the accuracy of the subsequent storage database. In order to improve the storage of the non-time series data Efficiency is guaranteed, wherein the feature information is representational description information about the non-time series data.

作为本发明的一个实施例,所述挖掘所述非时间序列数据对应的特征信息,包括:利用预设的决策树挖掘模型对所述非时间序列数据进行信息挖掘,得到初始数据信息,对所述初始数据信息进行信息清洗,得到目标数据信息,对所述目标数据信息进行文本提取,得到信息文本,并计算所述信息文本对应的文本权重,结合所述信息熵值和所述文本权重,提取所述目标数据信息中的特征信息。As an embodiment of the present invention, the mining of feature information corresponding to the non-time series data includes: using a preset decision tree mining model to perform information mining on the non-time series data to obtain initial data information, performing information cleaning on the initial data information to obtain target data information, performing text extraction on the target data information to obtain information text, and calculating the text weight corresponding to the information text, and combining the information entropy value and the text weight to extract the feature information in the target data information.

其中,所述决策树挖掘模型是用于提取数据中的信息的模型,所述初始数据信息是所述非时间序列数据中每个数据的所有相关描述信息,所述目标数据信息是所述初始数据信息总的无效信息和重复信息经过去除后得到的信息,所述信息熵值表示所述目标数据信息中每个信息包含的信息量的多少,所述文本权重表示所述信息文本的重要程度。Wherein, the decision tree mining model is a model used to extract information in data, the initial data information is all relevant description information of each data in the non-time series data, and the target data information is the initial The information obtained after removing the total invalid information and duplicate information of the data information. The information entropy value represents the amount of information contained in each information in the target data information. The text weight represents the importance of the information text. .

可选的,对所述初始数据信息进行信息清洗可以通过清洗工具实现,所述清洗工具是由编程语言编译,对所述目标数据信息进行文本提取可以通过OCR文本技术实现,计算所述信息文本中对应的文本字符的权重值,根据权重值确定所述信息文本的文本权重。Optionally, information cleaning of the initial data information can be achieved through a cleaning tool, which is compiled by a programming language. Text extraction of the target data information can be achieved through OCR text technology to calculate the information text. The weight value of the corresponding text character in , determine the text weight of the information text according to the weight value.

可选的,作为本发明的一个可选实施例,所述计算所述目标数据信息中每个信息对应的信息熵值,包括:Optionally, as an optional embodiment of the present invention, the calculating the information entropy value corresponding to each information in the target data information includes:

通过下述公式计算所述目标数据信息中每个信息对应的信息熵值:The information entropy value corresponding to each information in the target data information is calculated by the following formula:

其中,U表示目标数据信息中每个信息对应的信息熵值,i表示目标数据信息对应的信息序列号,δ表示目标数据信息对应的信息数量,Ei表示目标数据信息中第i个信息,W(Ei)表示目标数据信息中第i个信息的出现概率。Among them, U represents the information entropy value corresponding to each information in the target data information, i represents the information sequence number corresponding to the target data information, δ represents the number of information corresponding to the target data information, E i represents the i-th information in the target data information, W(E i ) represents the occurrence probability of the i-th information in the target data information.

本发明通过结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,实现了数据的分布式存储,以此提高了数据的存储效率,为后续的数据读取提供了便利性。The present invention realizes distributed storage of data by combining the target database and the storage database to respectively perform data storage of the time series data and the non-time series data, thereby improving the data storage efficiency and providing Convenience is provided for subsequent data reading.

本发明通过提取所述制备数据中的时间序列数据和非时间序列数据,可以对所述制备数据进行划分,从而得到具有时间依赖关系的数据和没有时间依赖关系的数据,进而可以通过所述时间序列数据了解玻璃刚夹砂管场景下的有关时间趋势的制备情况,通过所述非时间序列数据了解玻璃刚夹砂管场景下相关描述信息,本发明通过计算所述时间序列数据中每个数据之间的数据关联度,可以通过所述数据关联度了解所述时间序列数据中每个数据之间的关联关系,便于后续的数据分类处理,为后续分布式数据库的构建提供了保障,本发明通过在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,可以通过访问接口提高后续的数据访问效率,进而快速的检索到相关数据,本发明通过结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,实现了数据的分布式存储,以此提高了数据的存储效率。因此,本发明实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储方法,能够提高玻璃刚夹砂管制备下的数据存储效率。By extracting time series data and non-time series data in the preparation data, the present invention can divide the preparation data, thereby obtaining data with time dependence and data without time dependence, and then can use the time Sequence data is used to understand the preparation status of relevant time trends in the scenario of glass rigidly sandwiched with sand pipes, and through the non-time series data, the relevant description information in the scenario of glass rigidly sandwiched with sand pipes is understood. The present invention calculates each data in the time series data The data correlation between each other can be used to understand the correlation between each data in the time series data, which facilitates subsequent data classification processing and provides guarantee for the construction of subsequent distributed databases. The present invention By respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database, subsequent data access efficiency can be improved through the access interface, and relevant data can be quickly retrieved. The present invention combines The target database and the storage database perform data storage of the time series data and the non-time series data respectively, realizing distributed storage of data, thereby improving data storage efficiency. Therefore, the embodiment of the present invention provides a data storage method applied to the preparation of glass rigid sand-filled pipes, which can improve the data storage efficiency in the preparation of glass rigid sand-filled pipes.

如图2所示,是本发明一实施例提供的一种应用于玻璃刚夹砂管制备下的数据存储系统的功能模块图。As shown in Figure 2, it is a functional module diagram of a data storage system used in the preparation of glass rigid sand-filled pipes provided by an embodiment of the present invention.

本发明所述一种应用于玻璃刚夹砂管制备下的数据存储系统100可以安装于电子设备中。根据实现的功能,所述一种应用于玻璃刚夹砂管制备下的数据存储系统100可以包括数据处理模块101、数据库构建模块102、数据库调整模块103及数据存储模块104。本发明所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The data storage system 100 used in the preparation of glass rigid sand-filled pipes according to the present invention can be installed in electronic equipment. According to the implemented functions, the data storage system 100 used in the preparation of glass rigid sand-filled pipes may include a data processing module 101, a database construction module 102, a database adjustment module 103 and a data storage module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.

在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:

所述数据处理模块101,用于获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据;The data processing module 101 is used to obtain preparation data in the preparation scenario of glass rigid sand-filled pipes, and extract time series data and non-time series data in the preparation data;

所述数据库构建模块102,用于计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库;The database building module 102 is used to calculate the data correlation between each data in the time series data, perform data classification processing on the time series data according to the data correlation, and obtain the associated sequence data and non-data correlation. Correlate sequence data, and construct a distributed database corresponding to the correlated sequence data and the non-correlated sequence data;

所述数据库调整模块103,用于在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库;The database adjustment module 103 is configured to separately configure access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface, combined with the third access interface. An access interface and the second access interface perform parameter adjustment processing on the distributed database to obtain a target database;

所述数据存储模块104,用于挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。The data storage module 104 is used to mine the characteristic information corresponding to the non-time series data, construct a storage database corresponding to the non-time series data according to the characteristic information, and combine the target database and the storage database respectively. Perform data storage of the time series data and the non-time series data to obtain storage results.

详细地,本申请实施例中所述一种应用于玻璃刚夹砂管制备下的数据存储系统100中所述的各模块在使用时采用与上述图1中所述的一种应用于玻璃刚夹砂管制备下的数据存储方法一样的技术手段,并能够产生相同的技术效果,这里不再赘述。In detail, each module described in the data storage system 100 used in the preparation of glass rigid sand-filled pipes described in the embodiment of the present application adopts the same method as the one described in Figure 1 described above. The data storage method for preparing sand-filled pipes uses the same technical means and can produce the same technical effects, so we will not go into details here.

如图3所示,是本发明一实施例提供的实现一种应用于玻璃刚夹砂管制备下的数据存储方法的电子设备1的结构示意图。As shown in FIG. 3 , it is a schematic structural diagram of an electronic device 1 that implements a data storage method applied to the preparation of glass rigid sand-filled pipes provided by an embodiment of the present invention.

所述电子设备1可以包括处理器10、存储器11、通信总线12以及通信接口13,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如一种应用于玻璃刚夹砂管制备下的数据存储方法程序。The electronic device 1 may include a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a data storage method program for preparing glass reinforced corundum tubes.

其中,所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing Unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备1的控制核心(ControlUnit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行一种应用于玻璃刚夹砂管制备下的数据存储方法程序等),以及调用存储在所述存储器11内的数据,以执行电子设备的各种功能和处理数据。The processor 10 may be composed of an integrated circuit in some embodiments, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple integrated circuits packaged with the same function or different functions, including one or A combination of multiple central processing units (CPUs), microprocessors, digital processing chips, graphics processors and various control chips, etc. The processor 10 is the control core (ControlUnit) of the electronic device 1, using various interfaces and lines to connect various components of the entire electronic device, by running or executing programs or modules stored in the memory 11 (for example, executing A data storage method program applied to the preparation of glass rigid sand-filled pipes, etc.), and calls the data stored in the memory 11 to perform various functions of the electronic device and process data.

所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备的内部存储单元,例如该电子设备的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备的外部存储设备,例如电子设备上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备的应用软件及各类数据,例如一种应用于玻璃刚夹砂管制备下的数据存储方法程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium. The readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. . In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital (SD) device equipped on the electronic device. ) card, Flash Card, etc. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in electronic equipment, such as the code of a data storage method program applied to the preparation of glass rigid sand pipes, etc., but can also be used to temporarily store data that has been processed. Output or data to be output.

所述通信总线12可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。The communication bus 12 may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. The bus is configured to enable connection communication between the memory 11 and at least one processor 10 and the like.

所述通信接口13用于上述电子设备1与其他设备之间的通信,包括网络接口和用户接口。可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备与其他电子设备之间建立通信连接。所述用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备中处理的信息以及用于显示可视化的用户界面。The communication interface 13 is used for communication between the above-mentioned electronic device 1 and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which are generally used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display (Display) or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, or the like. The display may also be appropriately referred to as a display screen or a display unit, and is used for displaying information processed in the electronic device and for displaying a visualized user interface.

图3仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 only shows an electronic device with components. Persons skilled in the art can understand that the structure shown in FIG. 3 does not limit the electronic device 1 and may include fewer or more components than shown in the figure. components, or combinations of certain components, or different arrangements of components.

例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理系统与所述至少一个处理器10逻辑相连,从而通过电源管理系统实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) that supplies power to various components. Preferably, the power supply may be logically connected to the at least one processor 10 through a power management system, so that through the power management system The system implements functions such as charging management, discharge management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described again here.

应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the above embodiments are for illustration only, and the scope of the patent application is not limited by this structure.

所述电子设备1中的所述存储器11存储的一种应用于玻璃刚夹砂管制备下的数据存储方法程序是多个指令的组合,在所述处理器10中运行时,可以实现:The memory 11 in the electronic device 1 stores a data storage method program applied to the preparation of glass rigid sand-filled pipes, which is a combination of multiple instructions. When run in the processor 10, it can be implemented:

获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据;Obtain the preparation data in the preparation scenario of the glass rigid sand-filled pipe, and extract the time series data and non-time series data in the preparation data;

计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库;Calculating the data association degree between each data in the time series data, performing data classification processing on the time series data according to the data association degree to obtain associated sequence data and unassociated sequence data, and constructing a distributed database corresponding to the associated sequence data and the unassociated sequence data;

在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库;Access interfaces corresponding to the associated sequence data and the non-associated sequence data are respectively configured in the distributed database to obtain a first access interface and a second access interface, which are combined with the first access interface and the second access interface. Interface, perform parameter adjustment processing on the distributed database to obtain the target database;

挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。Mining the characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data based on the characteristic information, and combining the target database and the storage database to respectively execute the processing of the time series data and the Describe the data storage of non-time series data and obtain the storage results.

具体地,所述处理器10对上述指令的具体实现方法可参考附图对应实施例中相关步骤的描述,在此不赘述。Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。所述计算机可读存储介质可以是易失性的,也可以是非易失性的。例如,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或系统、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Furthermore, if the integrated modules/units of the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Memory).

本发明还提供一种计算机可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序在被电子设备的处理器所执行时,可以实现:The present invention also provides a computer-readable storage medium. The readable storage medium stores a computer program. When executed by a processor of an electronic device, the computer program can realize:

获取玻璃刚夹砂管制备场景下的制备数据,提取所述制备数据中的时间序列数据和非时间序列数据;Obtain the preparation data in the preparation scenario of the glass rigid sand-filled pipe, and extract the time series data and non-time series data in the preparation data;

计算所述时间序列数据中每个数据之间的数据关联度,根据所述数据关联度,对所述时间序列数据进行数据分类处理,得到关联序列数据和非关联序列数据,构建所述关联序列数据和所述非关联序列数据对应的分布式数据库;Calculate the data correlation between each data in the time series data, perform data classification processing on the time series data according to the data correlation, obtain correlated sequence data and non-correlated sequence data, and construct the correlated sequence A distributed database corresponding to the data and the non-correlated sequence data;

在所述分布式数据库中分别配置所述关联序列数据和所述非关联序列数据对应的访问接口,得到第一访问接口和第二访问接口,结合所述第一访问接口和所述第二访问接口,对所述分布式数据库进行参数调整处理,得到目标数据库;Access interfaces corresponding to the associated sequence data and the non-associated sequence data are respectively configured in the distributed database to obtain a first access interface and a second access interface, which are combined with the first access interface and the second access interface. Interface, perform parameter adjustment processing on the distributed database to obtain the target database;

挖掘所述非时间序列数据对应的特征信息,根据所述特征信息,构建所述非时间序列数据对应的存储数据库,结合所述目标数据库和所述存储数据库分别执行对所述时间序列数据和所述非时间序列数据的数据存储,得到存储结果。Mining the characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data based on the characteristic information, and combining the target database and the storage database to respectively execute the processing of the time series data and the Describe the data storage of non-time series data and obtain the storage results.

在本发明所提供的几个实施例中,应该理解到,所揭露的设备,系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, the embodiments should be regarded as illustrative and non-restrictive from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is therefore intended that all claims falling within the claims All changes within the meaning and scope of equivalent elements are included in the present invention. Any accompanying reference signs in the claims shall not be construed as limiting the claim in question.

本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。The embodiments of this application can obtain and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or digital computer-controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .

此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或系统也可以由一个单元或系统通过软件或者硬件来实现。第一、第二等词语用来表示名称,而并不表示任何特定的顺序。Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim may also be implemented by one unit or system by software or hardware. The words first, second, etc. are used to indicate names and do not indicate any specific order.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified. Modifications or equivalent substitutions may be made without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A data storage method applied to preparation of a glass sand inclusion pipe, which is characterized by comprising the following steps:
acquiring preparation data in a preparation scene of the glass sand inclusion tube, and extracting time sequence data and non-time sequence data in the preparation data;
calculating the data association degree between each data in the time sequence data, carrying out data classification processing on the time sequence data according to the data association degree to obtain associated sequence data and non-associated sequence data, and constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data;
Respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface, and carrying out parameter adjustment processing on the distributed database by combining the first access interface and the second access interface to obtain a target database;
and mining the characteristic information corresponding to the non-time series data, constructing a storage database corresponding to the non-time series data according to the characteristic information, and respectively executing data storage of the time series data and the non-time series data by combining the target database and the storage database to obtain a storage result.
2. The method for storing data applied to the preparation of a glass sand inclusion tube according to claim 1, wherein the extracting time series data and non-time series data in the preparation data comprises:
performing data noise reduction processing on the preparation data to obtain noise reduction preparation data, and identifying time index information of each data in the noise reduction preparation data;
determining a preparation time point of each data in the noise reduction preparation data according to the time index information;
Constructing a time scatter diagram corresponding to the noise reduction preparation data according to the preparation time points, and performing fitting treatment on data points in the time scatter diagram to obtain a fitting curve;
calculating a curve slope corresponding to the fitted curve, and analyzing the linear relation between each data in the noise reduction preparation data and the preparation time point according to the curve slope;
and extracting time sequence data and non-time sequence data from the noise reduction preparation data according to the linear relation.
3. The method for storing data applied to the preparation of a glass sand inclusion tube according to claim 2, wherein the calculating the curve slope corresponding to the fitted curve comprises:
calculating the slope of the curve corresponding to the fitted curve by the following formula:
wherein A represents the slope of the curve corresponding to the fitted curve, N t1 And M t1 Represents the corresponding point coordinates, N, in the fitting curve when the preparation time point is t1 t2 And M t2 Represents the corresponding point coordinates in the fitted curve when the preparation time point is t2,represents the slope of the curve point at the preparation time point t2 and the preparation time point t1, N And M And (3) representing corresponding point coordinates in the fitting curve when the preparation time point is tβ, wherein β represents the number of curve points in the fitting curve.
4. The method for storing data applied to the preparation of a glass sand inclusion tube according to claim 1, wherein the calculating the data association degree between each data in the time series data comprises:
calculating the data association degree between each data in the time series data by the following formula:
wherein B represents a degree of data correlation between each of the time-series data, D b Representing a data vector corresponding to the b-th data in the time-series data, D b+1 Represents the data vector corresponding to the (b+1) th data in the time series data, mu represents the data dimension, min b min b+1 |D b -D b+1 The expression represents the second-order minimum difference, max, representing the b-th data and the b+1th corresponding data vector in the time-series data b max b+1 |D b -D b+1 The i represents the second-order maximum difference between the b-th data and the b+1-th corresponding data vector in the time-series data.
5. The method for storing data applied to preparation of glass sand inclusion tubes according to claim 1, wherein the constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data comprises:
respectively extracting structural features corresponding to the associated sequence data and the non-associated sequence data to obtain a first structural feature and a second structural feature;
Performing feature screening on the first structural feature and the second structural feature to obtain a first target feature and a second target feature;
respectively constructing feature matrixes corresponding to the first target feature and the second target feature to obtain a first feature matrix and a second feature matrix;
respectively carrying out matrix fusion on the first feature matrix and the second feature matrix to obtain a first fusion matrix and a second fusion matrix;
generating fusion structural features corresponding to the associated sequence data and the non-associated sequence data according to the first fusion matrix and the second fusion matrix to obtain a first fusion feature and a second fusion feature;
extracting data parameters corresponding to the associated sequence data and the non-associated sequence data to obtain a first data parameter and a second data parameter;
setting storage requirements corresponding to the associated sequence data and the non-associated sequence data according to the first fusion feature, the second fusion feature, the first data parameter and the second data parameter;
and constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data according to the storage requirement.
6. The method for storing data applied to preparation of glass sand inclusion pipe according to claim 1, wherein the step of respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface comprises the steps of:
performing attribute extraction on the associated sequence data and the non-associated sequence data respectively to obtain a first data attribute and a second data attribute;
calculating a support coefficient between each attribute in the first data attributes to obtain a first support coefficient;
calculating a support coefficient between each attribute in the second data attributes to obtain a second support coefficient;
according to the first support coefficient and the second support coefficient, key attributes in the first data attribute and the second data attribute are extracted respectively to obtain a first key attribute and a second key attribute;
according to the first key attribute and the second key attribute, interface types corresponding to the associated sequence data and the non-associated sequence data are respectively determined, and a first interface type and a second interface type are obtained;
respectively analyzing service logic corresponding to the associated sequence data and the non-associated sequence data to obtain a first service logic and a second service logic;
According to the first service logic and the second service logic, interface logic corresponding to the associated sequence data and the non-associated sequence data is formulated to obtain first interface logic and second interface logic;
and respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database by combining the first interface type, the second interface type, the first interface logic and the second interface logic to obtain a first access interface and a second access interface.
7. The method for storing data in the preparation of a glass sand inclusion tube according to claim 6, wherein the calculating the support coefficient between each of the first data attributes to obtain the first support coefficient comprises:
the support coefficient between each of the first data attributes may be calculated by the following formula:
wherein F represents a support coefficient between each attribute in the first data attribute, q represents the attribute number of the first data attribute, e represents the attribute serial number of the first data attribute, H e Attribute probability, H, representing the e-th attribute of the first data attributes e+1 Representing attribute probability of (e+1) th attribute in first data attribute, G e,e+1 Representing the vector ratio of the e-th attribute and the e+1th attribute.
8. The method for storing data applied to preparation of glass sand inclusion pipe according to claim 1, wherein the mining of the characteristic information corresponding to the non-time series data comprises:
performing information mining on the non-time sequence data by using a preset decision tree mining model to obtain initial data information;
performing information cleaning on the initial data information to obtain target data information;
extracting the text of the target data information to obtain an information text, and calculating text weight corresponding to the information text;
and extracting characteristic information in the target data information by combining the information entropy value and the text weight.
9. The method for storing data applied to the preparation of a glass sand inclusion tube according to claim 8, wherein the calculating the information entropy value corresponding to each piece of the target data information comprises:
calculating an information entropy value corresponding to each piece of information in the target data information through the following formula:
wherein U represents the information entropy value corresponding to each piece of information in the target data information, i represents the information serial number corresponding to the target data information, delta represents the information quantity corresponding to the target data information, E i Represents the ith information, W (E i ) The occurrence probability of the i-th information in the target data information is represented.
10. A data storage system for use in the preparation of glass sand inclusion tubes, the system comprising:
the data processing module is used for acquiring preparation data in a preparation scene of the glass sand inclusion tube and extracting time sequence data and non-time sequence data in the preparation data;
the database construction module is used for calculating the data association degree between each piece of data in the time sequence data, carrying out data classification processing on the time sequence data according to the data association degree to obtain associated sequence data and non-associated sequence data, and constructing a distributed database corresponding to the associated sequence data and the non-associated sequence data;
the database adjustment module is used for respectively configuring access interfaces corresponding to the associated sequence data and the non-associated sequence data in the distributed database to obtain a first access interface and a second access interface, and carrying out parameter adjustment processing on the distributed database by combining the first access interface and the second access interface to obtain a target database;
The data storage module is used for mining the characteristic information corresponding to the non-time sequence data, constructing a storage database corresponding to the non-time sequence data according to the characteristic information, and respectively executing data storage of the time sequence data and the non-time sequence data by combining the target database and the storage database to obtain a storage result.
CN202311628277.4A 2023-11-30 2023-11-30 Data storage method and system applied to preparation of glass sand inclusion pipe Pending CN117785868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311628277.4A CN117785868A (en) 2023-11-30 2023-11-30 Data storage method and system applied to preparation of glass sand inclusion pipe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311628277.4A CN117785868A (en) 2023-11-30 2023-11-30 Data storage method and system applied to preparation of glass sand inclusion pipe

Publications (1)

Publication Number Publication Date
CN117785868A true CN117785868A (en) 2024-03-29

Family

ID=90387587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311628277.4A Pending CN117785868A (en) 2023-11-30 2023-11-30 Data storage method and system applied to preparation of glass sand inclusion pipe

Country Status (1)

Country Link
CN (1) CN117785868A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107123047A (en) * 2017-04-14 2017-09-01 北京金融资产交易所有限公司 The data collecting system and its collecting method merchandised based on bond
CN110515895A (en) * 2019-08-30 2019-11-29 弭迺彬 The method and system of storage are associated in big data storage system to data file
CN112667604A (en) * 2021-01-04 2021-04-16 中车青岛四方车辆研究所有限公司 Time sequence data and data storage method and device of rail transit TIAS system
CN115757488A (en) * 2022-11-09 2023-03-07 苏州凌云光工业智能技术有限公司 Detection data processing method, device, equipment and storage medium
CN116737842A (en) * 2023-05-16 2023-09-12 北京海卓飞网络科技有限公司 Entity relationship display method, device, electronic equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107123047A (en) * 2017-04-14 2017-09-01 北京金融资产交易所有限公司 The data collecting system and its collecting method merchandised based on bond
CN110515895A (en) * 2019-08-30 2019-11-29 弭迺彬 The method and system of storage are associated in big data storage system to data file
CN112667604A (en) * 2021-01-04 2021-04-16 中车青岛四方车辆研究所有限公司 Time sequence data and data storage method and device of rail transit TIAS system
CN115757488A (en) * 2022-11-09 2023-03-07 苏州凌云光工业智能技术有限公司 Detection data processing method, device, equipment and storage medium
CN116737842A (en) * 2023-05-16 2023-09-12 北京海卓飞网络科技有限公司 Entity relationship display method, device, electronic equipment and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郁滨: "系统工程理论", 28 February 2009, 中国科学技术大学出版社, pages: 219 *

Similar Documents

Publication Publication Date Title
CN111768096A (en) Rating method and device based on algorithm model, electronic equipment and storage medium
CN114187448A (en) Document image recognition method and apparatus, electronic device, computer readable medium
CN115827257B (en) CPU capacity prediction method and system for processor system
CN114187096A (en) Risk assessment method, device, equipment and storage medium based on user portrait
CN114612194A (en) Product recommendation method, device, electronic device and storage medium
JP7309811B2 (en) Data annotation method, apparatus, electronics and storage medium
CN115048174A (en) User-based personalized menu generation method, device, equipment and storage medium
CN114138743A (en) ETL task automatic configuration method and device based on machine learning
CN107977504A (en) A kind of asymmetric in-core fuel management computational methods, device and terminal device
CN115237941A (en) Data reporting method and device, electronic equipment and computer readable storage medium
CN115510077A (en) Method, device, equipment and medium for updating graph data based on message passing
CN113127697B (en) Method and system for optimizing graph layout, electronic device and readable storage medium
CN115186188A (en) Product recommendation method, device and equipment based on behavior analysis and storage medium
CN117785868A (en) Data storage method and system applied to preparation of glass sand inclusion pipe
CN115328724B (en) Monitoring method and system based on big data platform
CN115048999B (en) Label optimization method, device, electronic device and readable medium
CN114238233B (en) Automatic file cleaning method, device, equipment and storage medium
CN117992742A (en) Method, device and storage medium for detecting smart contract vulnerabilities
CN117076129A (en) An automatic fusion method and device for operators
CN116483707A (en) Test method, test device, test apparatus, test program, and test program
CN116737946A (en) Entity information map generation method, device, electronic equipment and storage medium
CN116307736A (en) Method, device, equipment and storage medium for automatically generating risk image
CN115934571A (en) Method and device for generating interface test cases based on Bayesian classification algorithm
CN114418063A (en) Method and device for assigning network layers in neural network model
CN114610807A (en) Data import template configuration method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination