WO2021169953A1 - Blockchain-based data processing method and system, and computer readable storage medium - Google Patents
Blockchain-based data processing method and system, and computer readable storage medium Download PDFInfo
- Publication number
- WO2021169953A1 WO2021169953A1 PCT/CN2021/077473 CN2021077473W WO2021169953A1 WO 2021169953 A1 WO2021169953 A1 WO 2021169953A1 CN 2021077473 W CN2021077473 W CN 2021077473W WO 2021169953 A1 WO2021169953 A1 WO 2021169953A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- production
- data processing
- blockchain
- equipment
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Definitions
- This application relates to the field of blockchain, and in particular to a data processing method, system and computer-readable storage medium based on blockchain.
- device interconnection usually submits the production data of the device to the system for unified management, while the current device interconnection generally only has a single point of interaction, and most of the system returns results or operation instructions after receiving and processing data. Therefore, there are the characteristics of single device interconnection and passive data reception, which leads to low data collection efficiency, less data interaction, and low initiative of the manufacturing execution system.
- the main purpose of this application is to provide a blockchain-based data processing method, system, and computer-readable storage medium, aiming to solve the current technical problems of low data collection and processing efficiency and low initiative of production equipment to perform production.
- this application provides a blockchain-based data processing method, and the blockchain-based data processing method includes:
- the data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the data distribution through the blockchain and/or the data collection module Service module
- the data distributed service module sends the production data to the target data processing module and/or the blockchain;
- the target data processing module receives the production data and performs post-processing on the production data.
- the data distributed service module reads the load pressure of multiple data processing modules
- the data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/or block Chain, wherein the number of the target data processing module is one or several.
- the target data processing module verifies the production data
- the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
- the target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the failure of the production equipment according to the second production data.
- Good product slot information and send the defective product slot information of the production equipment to the blockchain for storage.
- the production equipment is adjusted according to the control parameters
- the production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
- the device management terminal obtains the device address of the production device
- the equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rules.
- the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
- the equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for the production equipment Adjust the production equipment according to the management and control parameters.
- the blockchain-based data processing system includes:
- the data collection module is used to collect the production data of the production equipment and send the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
- the data distributed service module is used to send the production data to the data processing module and/or the blockchain according to preset balanced distributed processing rules
- the data processing module is used to receive the production data and perform post-processing on the production data.
- the data distributed service module further includes:
- Reading unit for reading the load pressure of multiple data processing modules
- the determining unit is used to determine the target data processing module whose load pressure is at the preset load pressure in each data processing module, and send the production data to the target data processing module and/or the blockchain, wherein the target data processing
- the number of modules is one or several.
- the present application also provides a computer-readable storage medium on which a blockchain-based data processing program is stored, and the blockchain-based data processing program is processed The steps of the blockchain-based data processing method described in any one of the above are implemented when the device is executed.
- the data acquisition module collects the production data of the production equipment, and then the data acquisition module sends the production data to the blockchain for storage and uploading through the blockchain and/or data collection
- the module sends the production data to the data distributed service module.
- the data distributed service module sends the production data to the target data processing module and/or blockchain, and finally the target data processing module receives the production data
- the target data processing module performs post-processing on the production data, improves the efficiency of processing data through balanced distributed processing rules, and enables collaboration, control and management between equipment through data analysis and processing.
- FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application
- Fig. 2 is a schematic flowchart of a first embodiment of a data processing method based on blockchain in this application.
- FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application.
- the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
- the terminal may also include a camera, RF (Radio Frequency (radio frequency) circuits, sensors, audio circuits, WiFi modules, etc.
- sensors such as light sensors, motion sensors and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display screen according to the brightness of the ambient light
- the proximity sensor can turn off the display screen and/or when the mobile terminal is moved to the ear.
- Backlight As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary.
- the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
- terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
- a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data processing program based on the blockchain.
- the network interface 1004 is mainly used to connect to a background server and communicate with the background server;
- the user interface 1003 is mainly used to connect to a client (user side) and communicate with the client;
- the processor 1001 can be used to call a blockchain-based data processing program stored in the memory 1005.
- the blockchain-based data processing device includes: a memory 1005, a processor 1001, and a blockchain-based data processing program that is stored on the memory 1005 and can run on the processor 1001, Among them, when the processor 1001 calls the blockchain-based data processing program stored in the memory 1005, it performs the following operations:
- the data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the data distribution through the blockchain and/or the data collection module Service module
- the data distributed service module sends the production data to the target data processing module and/or the blockchain;
- the target data processing module receives the production data and performs post-processing on the production data.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the data distributed service module reads the load pressure of multiple data processing modules
- the data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/or block Chain, wherein the number of the target data processing module is one or several.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the target data processing module verifies the production data
- the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot information of the production equipment according to the second production data, and The defective product slot information of the production equipment is sent to the blockchain for storage.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the production equipment is adjusted according to the control parameters
- the production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the equipment management terminal obtains the equipment address of the production equipment
- the equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rules.
- the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
- the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
- the equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for the production equipment Adjust the production equipment according to the management and control parameters.
- This application also provides a blockchain-based data processing method.
- FIG. 2 is a schematic flowchart of the first embodiment of the blockchain-based data processing method of this application.
- Step S10 the data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
- this application adopts the data collection module to collect production data of production equipment uniformly. Specifically, before starting the production equipment, the data collection module obtains the device address of each production equipment in order to The equipment address is used as the identification of the production equipment, and then the data collection module collects production data of the production equipment. Specifically, the production data of each production equipment is accompanied by the identification of the production equipment for subsequent detection of unqualified production data. , Determine the problematic production equipment corresponding to the unqualified production data in time according to the production equipment attached to the production data. Further, after the data collection module collects the production data of the production equipment, it sends the production data to the blockchain for storage and uploading. The production data is sent to the data distribution service module through the blockchain, or the data collection module automatically sends the production data to the data distribution service module.
- Step S20 According to a preset balanced distributed processing rule, the data distributed service module sends the production data to the target data processing module and/or the blockchain;
- the data distributed service module receives the production data sent by the data collection module, and then the data distributed service module sends the production data to the target data processing module and/or according to the preset balanced distributed processing rules.
- the data distributed service module sends the production data to the target data processing module with low current load pressure.
- step S20 includes:
- Step S201 the data distributed service module reads the load pressure of multiple data processing modules
- Step S202 The data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/ Or blockchain, where the number of target data processing modules is one or several.
- the data distribution service module reads the load pressure of each data processing module in the system. Understandably, in order to improve the efficiency of data processing and avoid affecting the operation of the entire system when a single processing module is down, multiple data modules are used for processing. Ground, the data distributed service module reads the load pressure of multiple data processing modules, and then the data distributed service module determines the target data processing module whose load pressure is at the preset load pressure in each data processing module, and finally the data distributed service module combines The production data is sent to the target data processing module, where the number of the target data processing module is one or several.
- step S30 the target data processing module receives the production data, and performs post-processing on the production data.
- the target data processing module receives the production data, and the target data processing module performs post-processing on the production data. Further, it is understandable that when the number of target data processing modules is several, several target data processing modules perform The data undergoes post-processing at the same time.
- step S30 includes:
- Step S301 the target data processing module verifies the production data
- step S302 the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
- the target data processing module verifies the production data. Specifically, the data processing module performs data threshold verification, standard verification, and process compliance verification on the production data. Then, the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
- step S301 it further includes:
- Step S303 The target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot information of the production equipment according to the second production data. , And send the defective product slot information of the production equipment to the blockchain for storage.
- the target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot of the production equipment according to the second production data, and obtain the defective product slot of the defective product.
- Information upload the bad information to the blockchain for storage, and visualize the bad information.
- the production data of the production equipment is collected through the data collection module, and then the data collection module sends the production data to the blockchain for storage on the chain, so that the production data can be sent based on the blockchain and/or the data collection module
- the data distributed service module sends the production data to the target data processing module and/or blockchain, and then the target data processing module receives the production data, and the target data processing module And post-processing the production data, adopting balanced distributed processing rules to improve the efficiency of data processing.
- step S10 a second embodiment of the blockchain-based data processing method of this application is proposed.
- step S10 it further includes:
- Step S40 the production equipment is adjusted according to the management and control parameters
- step S50 the production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
- the system's production process and control parameters are issued uniformly, and the production process and control parameters are sent to the production equipment at one time.
- the production equipment adjusts the production equipment according to the control parameters, and then produces The equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for storage.
- step S40 it also includes:
- Step S401 the device management terminal obtains the device address of the production device
- step S402 the equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rule.
- the equipment management terminal needs to obtain the equipment address of the production equipment first, and then based on the preset matching rules, the equipment management terminal uniformly sends the management and control parameters matched by the production equipment to the production equipment .
- step S402 it further includes:
- Step S403 the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
- step S404 the equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for all
- the production equipment adjusts the production equipment according to the management and control parameters.
- the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain, so that the equipment management terminal can adjust the control parameters of the production equipment in time based on the abnormal information of the production equipment. Then, based on the equipment address of the production equipment, the management and control parameters are sent to the production equipment, so that the production equipment can adjust the production equipment according to the management and control parameters.
- the production equipment is adjusted according to the control parameters, and then the production equipment performs production according to the production process, records the production data in real time, and uploads the production data to the blockchain for on-chain storage.
- the equipment management terminal obtains the production The equipment address of the equipment, the equipment management terminal is based on the preset matching rules, and the equipment management terminal sends the management and control parameters matched by the production equipment to the production equipment uniformly for unified maintenance and management, which improves the efficiency of production data management and process management, and through data analysis Processing enables coordination, control and management between devices.
- the present application also provides a data processing system based on blockchain, and the data processing system based on blockchain includes:
- the data collection module is used to collect the production data of the production equipment and send the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
- the data distributed service module is used to send the production data to the data processing module and/or the blockchain according to preset balanced distributed processing rules
- the data processing module is used to receive the production data and perform post-processing on the production data.
- the data distributed service module also includes:
- Reading unit for reading the load pressure of multiple data processing modules
- the determining unit is used to determine the target data processing module whose load pressure is at the preset load pressure in each data processing module, and send the production data to the target data processing module and/or the blockchain, wherein the target data processing
- the number of modules is one or several.
- an embodiment of the present application also proposes a computer-readable storage medium, which stores a data processing program based on a blockchain, and when the data processing program based on a blockchain is executed by a processor The steps of each embodiment of the blockchain-based data processing method described above are implemented.
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
- a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Disclosed by the present application are a blockchain-based data processing method and system, and a computer readable storage medium. The blockchain-based data processing method comprises: a data acquisition module acquires production data of a production device and sends the production data to a blockchain for storage on the chain, so as to send, by means of the blockchain and/or the data acquisition module, the production data to a data distributed service module according to a preset balanced distributed processing rule; the data distributed service module sends the production data to a target data processing module; and the target data processing module receives the production data and performs post-processing on the production data, improving the processing efficiency of processing data by means of a balanced distributed processing rule, and enabling devices to achieve collaboration, restriction and management by means of the analysis and processing of data.
Description
本申请要求于2020年2月24日申请的、申请号为202010115262.8的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on February 24, 2020 with the application number 202010115262.8, the entire content of which is incorporated into this application by reference.
本申请涉及区块链领域,尤其涉及一种基于区块链的数据处理方法、***及计算机可读存储介质。This application relates to the field of blockchain, and in particular to a data processing method, system and computer-readable storage medium based on blockchain.
目前,生产制造执行***中,设备互联通常是将设备的生产数据进行提交至***统一管理,而当前的设备互联一般只能单点交互,***大多数作为数据接收处理后返回结果或操作指令,因此存在设备互联单一、被动接收数据等特点,导致数据采集效率低,数据交互少,生产制造执行***主动性小的问题。At present, in the manufacturing execution system, device interconnection usually submits the production data of the device to the system for unified management, while the current device interconnection generally only has a single point of interaction, and most of the system returns results or operation instructions after receiving and processing data. Therefore, there are the characteristics of single device interconnection and passive data reception, which leads to low data collection efficiency, less data interaction, and low initiative of the manufacturing execution system.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solution of the application, and does not mean that the above content is recognized as prior art.
本申请的主要目的在于提供一种基于区块链的数据处理方法、***及计算机可读存储介质,旨在解决目前数据采集及处理效率低及生产设备执行生产制造主动性小的技术问题。The main purpose of this application is to provide a blockchain-based data processing method, system, and computer-readable storage medium, aiming to solve the current technical problems of low data collection and processing efficiency and low initiative of production equipment to perform production.
为实现上述目的,本申请提供一种基于区块链的数据处理方法,所述基于区块链的数据处理方法包括:In order to achieve the above objective, this application provides a blockchain-based data processing method, and the blockchain-based data processing method includes:
数据采集模块采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the data distribution through the blockchain and/or the data collection module Service module
根据预设均衡分布式处理规则,所述数据分布式服务模块将所述生产数据发送至目标数据处理模块和/或区块链;According to preset balanced distributed processing rules, the data distributed service module sends the production data to the target data processing module and/or the blockchain;
所述目标数据处理模块接收所述生产数据,并对所述生产数据进行后处理。The target data processing module receives the production data and performs post-processing on the production data.
在一实施例中,所述数据分布式服务模块读取多个数据处理模块的负载压力;In an embodiment, the data distributed service module reads the load pressure of multiple data processing modules;
所述数据分布式服务模块确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,所述数据分布式服务模块并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/or block Chain, wherein the number of the target data processing module is one or several.
在一实施例中,所述目标数据处理模块对所述生产数据进行校验;In an embodiment, the target data processing module verifies the production data;
所述目标数据处理模块将通过校验的第一生产数据上传至区块链上链存储。The target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
在一实施例中,所述目标数据处理模块将未通过校验的第二生产数据发送至对应的生产设备,以供所述生产设备根据所述第二生产数据,确定所述生产设备的不良品槽信息,并将所述生产设备的不良品槽信息发送至区块链存储。In an embodiment, the target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the failure of the production equipment according to the second production data. Good product slot information, and send the defective product slot information of the production equipment to the blockchain for storage.
在一实施例中,生产设备根据管控参数进行调整;In one embodiment, the production equipment is adjusted according to the control parameters;
所述生产设备根据生产流程执行生产,实时记录生产数据,并将所述生产数据上传至区块链上链存储。The production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
在一实施例中,设备管理端获取所述生产设备的设备地址;In an embodiment, the device management terminal obtains the device address of the production device;
设备管理端基于预设匹配规则,将生产设备匹配的管控参数发送至所述生产设备。The equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rules.
在一实施例中,所述设备管理端实时监控所述生产设备,并基于区块链同步记录所述生产设备的异常信息;In an embodiment, the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
所述设备管理端基于所述生产设备的异常信息,调整所述生产设备的管控参数,并基于所述生产设备的设备地址将所述管控参数发送至所述生产设备,以供所述生产设备根据所述管控参数调整所述生产设备。The equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for the production equipment Adjust the production equipment according to the management and control parameters.
此外,为实现上述目的,本申请还提供一种基于区块链的数据处理***,所述基于区块链的数据处理***包括:In addition, in order to achieve the above objective, this application also provides a blockchain-based data processing system. The blockchain-based data processing system includes:
数据采集模块,用于采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module is used to collect the production data of the production equipment and send the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
数据分布式服务模块,用于根据预设均衡分布式处理规则,将所述生产数据发送至数据处理模块和/或区块链;The data distributed service module is used to send the production data to the data processing module and/or the blockchain according to preset balanced distributed processing rules;
数据处理模块,用于接收所述生产数据,并对所述生产数据进行后处理。The data processing module is used to receive the production data and perform post-processing on the production data.
在一实施例中,所述数据分布式服务模块还包括:In an embodiment, the data distributed service module further includes:
读取单元,用于读取多个数据处理模块的负载压力;Reading unit for reading the load pressure of multiple data processing modules;
确定单元,用于确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The determining unit is used to determine the target data processing module whose load pressure is at the preset load pressure in each data processing module, and send the production data to the target data processing module and/or the blockchain, wherein the target data processing The number of modules is one or several.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有基于区块链的数据处理程序,所述基于区块链的数据处理程序被处理器执行时实现以上任一项所述的基于区块链的数据处理方法的步骤。In addition, in order to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium on which a blockchain-based data processing program is stored, and the blockchain-based data processing program is processed The steps of the blockchain-based data processing method described in any one of the above are implemented when the device is executed.
本申请提出的基于区块链的数据处理方法,数据采集模块采集生产设备的生产数据,然后数据采集模块并将生产数据发送至区块链存储上链,以通过区块链和/或数据采集模块将生产数据发送至数据分布式服务模块,根据预设均衡分布式处理规则,数据分布式服务模块将生产数据发送至目标数据处理模块和/或区块链,最后目标数据处理模块接收生产数据,目标数据处理模块并对生产数据进行后处理,通过均衡分布式处理规则提升处理数据处理效率,并通过数据的分析处理让设备之间实现协同、制约及管理。In the blockchain-based data processing method proposed in this application, the data acquisition module collects the production data of the production equipment, and then the data acquisition module sends the production data to the blockchain for storage and uploading through the blockchain and/or data collection The module sends the production data to the data distributed service module. According to the preset balanced distributed processing rules, the data distributed service module sends the production data to the target data processing module and/or blockchain, and finally the target data processing module receives the production data , The target data processing module performs post-processing on the production data, improves the efficiency of processing data through balanced distributed processing rules, and enables collaboration, control and management between equipment through data analysis and processing.
图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图;FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application;
图2为本申请基于区块链的数据处理方法第一实施例的流程示意图。Fig. 2 is a schematic flowchart of a first embodiment of a data processing method based on blockchain in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio
Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may also include a camera, RF (Radio
Frequency (radio frequency) circuits, sensors, audio circuits, WiFi modules, etc. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor can turn off the display screen and/or when the mobile terminal is moved to the ear. Backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary. Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及基于区块链的数据处理程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data processing program based on the blockchain.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的基于区块链的数据处理程序。In the terminal shown in Figure 1, the network interface 1004 is mainly used to connect to a background server and communicate with the background server; the user interface 1003 is mainly used to connect to a client (user side) and communicate with the client; and the processor 1001 can be used to call a blockchain-based data processing program stored in the memory 1005.
在本实施例中,基于区块链的数据处理装置包括:存储器1005、处理器1001及存储在所述存储器1005上并可在所述处理器1001上运行的基于区块链的数据处理程序,其中,处理器1001调用存储器1005中存储的基于区块链的数据处理程序时,并执行以下操作:In this embodiment, the blockchain-based data processing device includes: a memory 1005, a processor 1001, and a blockchain-based data processing program that is stored on the memory 1005 and can run on the processor 1001, Among them, when the processor 1001 calls the blockchain-based data processing program stored in the memory 1005, it performs the following operations:
数据采集模块采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the data distribution through the blockchain and/or the data collection module Service module
根据预设均衡分布式处理规则,所述数据分布式服务模块将所述生产数据发送至目标数据处理模块和/或区块链;According to preset balanced distributed processing rules, the data distributed service module sends the production data to the target data processing module and/or the blockchain;
所述目标数据处理模块接收所述生产数据,并对所述生产数据进行后处理。The target data processing module receives the production data and performs post-processing on the production data.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
所述数据分布式服务模块读取多个数据处理模块的负载压力;The data distributed service module reads the load pressure of multiple data processing modules;
所述数据分布式服务模块确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,所述数据分布式服务模块并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/or block Chain, wherein the number of the target data processing module is one or several.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
所述目标数据处理模块对所述生产数据进行校验;The target data processing module verifies the production data;
所述目标数据处理模块将通过校验的第一生产数据上传至区块链上链存储。The target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
所述目标数据处理模块将未通过校验的第二生产数据发送至对应的生产设备,以供所述生产设备根据所述第二生产数据,确定所述生产设备的不良品槽信息,并将所述生产设备的不良品槽信息发送至区块链存储。The target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot information of the production equipment according to the second production data, and The defective product slot information of the production equipment is sent to the blockchain for storage.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
生产设备根据管控参数进行调整;The production equipment is adjusted according to the control parameters;
所述生产设备根据生产流程执行生产,实时记录生产数据,并将所述生产数据上传至区块链上链存储。The production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
设备管理端获取所述生产设备的设备地址;The equipment management terminal obtains the equipment address of the production equipment;
设备管理端基于预设匹配规则,将生产设备匹配的管控参数发送至所述生产设备。The equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rules.
进一步地,处理器1001可以调用存储器1005中存储的基于区块链的数据处理程序,还执行以下操作:Further, the processor 1001 may call a blockchain-based data processing program stored in the memory 1005, and also perform the following operations:
所述设备管理端实时监控所述生产设备,并基于区块链同步记录所述生产设备的异常信息;The equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
所述设备管理端基于所述生产设备的异常信息,调整所述生产设备的管控参数,并基于所述生产设备的设备地址将所述管控参数发送至所述生产设备,以供所述生产设备根据所述管控参数调整所述生产设备。The equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for the production equipment Adjust the production equipment according to the management and control parameters.
本申请还提供一种基于区块链的数据处理方法,参照图2,图2为本申请基于区块链的数据处理方法第一实施例的流程示意图。This application also provides a blockchain-based data processing method. Refer to FIG. 2, which is a schematic flowchart of the first embodiment of the blockchain-based data processing method of this application.
步骤S10,数据采集模块采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;Step S10, the data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
在本申请实施例中,为了提高数据采集效率,本申请采用数据采集模块统一采集生产设备的生产数据,具体地,在启动生产设备之前,数据采集模块获取每一生产设备的设备地址,以将该设备地址作为该生产设备的标识,接着数据采集模块采集生产设备的生产数据,具体地,每一生产设备的生产数据中附带该生产设备的标识,以供在后续检测到生产数据不合格时,及时根据该生产数据附带的生产设备确定该不合格生产数据对应的问题生产设备,进一步地,数据采集模块采集生产设备的生产数据之后,并将生产数据发送至区块链存储上链,以通过区块链将生产数据发送至数据分布式服务模块,或数据采集模块自动将生产数据发送至数据分布式服务模块。In the embodiments of this application, in order to improve the efficiency of data collection, this application adopts the data collection module to collect production data of production equipment uniformly. Specifically, before starting the production equipment, the data collection module obtains the device address of each production equipment in order to The equipment address is used as the identification of the production equipment, and then the data collection module collects production data of the production equipment. Specifically, the production data of each production equipment is accompanied by the identification of the production equipment for subsequent detection of unqualified production data. , Determine the problematic production equipment corresponding to the unqualified production data in time according to the production equipment attached to the production data. Further, after the data collection module collects the production data of the production equipment, it sends the production data to the blockchain for storage and uploading. The production data is sent to the data distribution service module through the blockchain, or the data collection module automatically sends the production data to the data distribution service module.
步骤S20,根据预设均衡分布式处理规则,所述数据分布式服务模块将所述生产数据发送至目标数据处理模块和/或区块链;Step S20: According to a preset balanced distributed processing rule, the data distributed service module sends the production data to the target data processing module and/or the blockchain;
该步骤中,数据分布式服务模块接收数据采集模块发送的生产数据,接着数据分布式服务模块根据预设均衡分布式处理规则,数据分布式服务模块将生产数据发送至目标数据处理模块和/或区块链,可以理解地,为了提高数据处理效率,数据分布式服务模块将生产数据发送至当前负载压力低的目标数据处理模块。In this step, the data distributed service module receives the production data sent by the data collection module, and then the data distributed service module sends the production data to the target data processing module and/or according to the preset balanced distributed processing rules. Blockchain, understandably, in order to improve the efficiency of data processing, the data distributed service module sends the production data to the target data processing module with low current load pressure.
具体地,步骤S20包括,Specifically, step S20 includes:
步骤S201,所述数据分布式服务模块读取多个数据处理模块的负载压力;Step S201, the data distributed service module reads the load pressure of multiple data processing modules;
步骤S202,所述数据分布式服务模块确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,所述数据分布式服务模块并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。Step S202: The data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/ Or blockchain, where the number of target data processing modules is one or several.
该步骤中,数据分布服务模块读取***中各个数据处理模块的负载压力,可以理解地,为了提高数据处理效率,避免单个处理模块宕机时影响整个***运行,采用多个数据模块处理,具体地,数据分布式服务模块读取多个数据处理模块的负载压力,接着数据分布式服务模块确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,最后数据分布式服务模块并将生产数据发送至目标数据处理模块,其中,目标数据处理模块数量为一个或若干个。In this step, the data distribution service module reads the load pressure of each data processing module in the system. Understandably, in order to improve the efficiency of data processing and avoid affecting the operation of the entire system when a single processing module is down, multiple data modules are used for processing. Ground, the data distributed service module reads the load pressure of multiple data processing modules, and then the data distributed service module determines the target data processing module whose load pressure is at the preset load pressure in each data processing module, and finally the data distributed service module combines The production data is sent to the target data processing module, where the number of the target data processing module is one or several.
步骤S30,所述目标数据处理模块接收所述生产数据,并对所述生产数据进行后处理。In step S30, the target data processing module receives the production data, and performs post-processing on the production data.
该步骤中,目标数据处理模块接收生产数据,目标数据处理模块并对生产数据进行后处理,进一步地,可以理解地,当目标数据处理模块数量为若干个时,若干个目标数据处理模块对生产数据同时进行后处理。In this step, the target data processing module receives the production data, and the target data processing module performs post-processing on the production data. Further, it is understandable that when the number of target data processing modules is several, several target data processing modules perform The data undergoes post-processing at the same time.
具体地,步骤S30包括,Specifically, step S30 includes:
步骤S301,所述目标数据处理模块对所述生产数据进行校验;Step S301, the target data processing module verifies the production data;
步骤S302,所述目标数据处理模块将通过校验的第一生产数据上传至区块链上链存储。In step S302, the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
该步骤中,目标数据处理模块在接收生产数据之后,目标数据处理模块对生产数据进行校验,具体地,数据处理模块对生产数据进行数据阈值校验、标准校验、流程合规性校验等,接着目标数据处理模块将通过校验的第一生产数据上传至区块链上链存储。In this step, after the target data processing module receives the production data, the target data processing module verifies the production data. Specifically, the data processing module performs data threshold verification, standard verification, and process compliance verification on the production data. Then, the target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
进一步地,步骤S301之后,还包括,Further, after step S301, it further includes:
步骤S303,所述目标数据处理模块将未通过校验的第二生产数据发送至对应的生产设备,以供所述生产设备根据所述第二生产数据,确定所述生产设备的不良品槽信息,并将所述生产设备的不良品槽信息发送至区块链存储。Step S303: The target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot information of the production equipment according to the second production data. , And send the defective product slot information of the production equipment to the blockchain for storage.
该步骤中,目标数据处理模块将未通过校验的第二生产数据发送至对应的生产设备,以供生产设备根据第二生产数据,确定生产设备的不良品槽,并获取不良品槽的不良信息,将不良信息上传至区块链存储,并将不良信息进行可视化处理。In this step, the target data processing module sends the second production data that fails the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot of the production equipment according to the second production data, and obtain the defective product slot of the defective product. Information, upload the bad information to the blockchain for storage, and visualize the bad information.
本申请实施例中,通过数据采集模块采集生产设备的生产数据,接着数据采集模块并将生产数据发送至区块链存储上链,以供基于区块链和/或数据采集模块将生产数据发送至数据分布式服务模块,根据预设均衡分布式处理规则,数据分布式服务模块将生产数据发送至目标数据处理模块和/或区块链,然后目标数据处理模块接收生产数据,目标数据处理模块并对生产数据进行后处理,采用均衡分布式处理规则,提高了数据处理效率。In the embodiment of the application, the production data of the production equipment is collected through the data collection module, and then the data collection module sends the production data to the blockchain for storage on the chain, so that the production data can be sent based on the blockchain and/or the data collection module To the data distributed service module, according to the preset balanced distributed processing rules, the data distributed service module sends the production data to the target data processing module and/or blockchain, and then the target data processing module receives the production data, and the target data processing module And post-processing the production data, adopting balanced distributed processing rules to improve the efficiency of data processing.
基于第一实施例,提出本申请基于区块链的数据处理方法的第二实施例,在本实施例中,步骤S10之前,还包括,Based on the first embodiment, a second embodiment of the blockchain-based data processing method of this application is proposed. In this embodiment, before step S10, it further includes:
步骤S40,生产设备根据管控参数进行调整;Step S40, the production equipment is adjusted according to the management and control parameters;
步骤S50,所述生产设备根据生产流程执行生产,实时记录生产数据,并将所述生产数据上传至区块链上链存储。In step S50, the production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
该步骤中,***启动生产设备前,统一启动***的生产流程和管控参数下发,将生产流程、管控参数等一次性发至生产设备,具体地,生产设备根据管控参数调整生产设备,接着生产设备根据生产流程执行生产,实时记录生产数据,并将生产数据上传至区块链上链存储。In this step, before the system starts the production equipment, the system's production process and control parameters are issued uniformly, and the production process and control parameters are sent to the production equipment at one time. Specifically, the production equipment adjusts the production equipment according to the control parameters, and then produces The equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for storage.
进一步地,步骤S40之前,还包括,Further, before step S40, it also includes:
步骤S401,设备管理端获取所述生产设备的设备地址;Step S401, the device management terminal obtains the device address of the production device;
步骤S402,设备管理端基于预设匹配规则,将生产设备匹配的管控参数发送至所述生产设备。In step S402, the equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rule.
该步骤中,为了能高效准确地下发生产流程及管控参数,设备管理端需先获取生产设备的设备地址,接着基于预设匹配规则,设备管理端将生产设备匹配的管控参数统一发送至生产设备。In this step, in order to efficiently and accurately distribute the production process and control parameters, the equipment management terminal needs to obtain the equipment address of the production equipment first, and then based on the preset matching rules, the equipment management terminal uniformly sends the management and control parameters matched by the production equipment to the production equipment .
进一步地,步骤S402之后,还包括,Further, after step S402, it further includes:
步骤S403,所述设备管理端实时监控所述生产设备,并基于区块链同步记录所述生产设备的异常信息;Step S403, the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;
步骤S404,所述设备管理端基于所述生产设备的异常信息,调整所述生产设备的管控参数,并基于所述生产设备的设备地址将所述管控参数发送至所述生产设备,以供所述生产设备根据所述管控参数调整所述生产设备。In step S404, the equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for all The production equipment adjusts the production equipment according to the management and control parameters.
该步骤中,在启动生产设备之后,设备管理端实时监控生产设备,并基于区块链同步记录生产设备的异常信息,以便设备管理端及时基于生产设备的异常信息,调整生产设备的管控参数,接着基于生产设备的设备地址将管控参数发送至生产设备,以供生产设备根据管控参数调整生产设备。In this step, after starting the production equipment, the equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain, so that the equipment management terminal can adjust the control parameters of the production equipment in time based on the abnormal information of the production equipment. Then, based on the equipment address of the production equipment, the management and control parameters are sent to the production equipment, so that the production equipment can adjust the production equipment according to the management and control parameters.
本申请实施例中,通过生产设备根据管控参数进行调整,接着生产设备根据生产流程执行生产,实时记录生产数据,并将生产数据上传至区块链上链存储,具体地,设备管理端获取生产设备的设备地址,设备管理端基于预设匹配规则,设备管理端将生产设备匹配的管控参数统一发送至生产设备,统一维护及管理,提高了生产数据管理、流程管理效率,且通过数据的分析处理让设备之间实现协同、制约及管理。In the embodiment of this application, the production equipment is adjusted according to the control parameters, and then the production equipment performs production according to the production process, records the production data in real time, and uploads the production data to the blockchain for on-chain storage. Specifically, the equipment management terminal obtains the production The equipment address of the equipment, the equipment management terminal is based on the preset matching rules, and the equipment management terminal sends the management and control parameters matched by the production equipment to the production equipment uniformly for unified maintenance and management, which improves the efficiency of production data management and process management, and through data analysis Processing enables coordination, control and management between devices.
本申请还提供一种基于区块链的数据处理***,所述基于区块链的数据处理***包括:The present application also provides a data processing system based on blockchain, and the data processing system based on blockchain includes:
数据采集模块,用于采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module is used to collect the production data of the production equipment and send the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;
数据分布式服务模块,用于根据预设均衡分布式处理规则,将所述生产数据发送至数据处理模块和/或区块链;The data distributed service module is used to send the production data to the data processing module and/or the blockchain according to preset balanced distributed processing rules;
数据处理模块,用于接收所述生产数据,并对所述生产数据进行后处理。The data processing module is used to receive the production data and perform post-processing on the production data.
进一步地,数据分布式服务模块还包括:Further, the data distributed service module also includes:
读取单元,用于读取多个数据处理模块的负载压力;Reading unit for reading the load pressure of multiple data processing modules;
确定单元,用于确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The determining unit is used to determine the target data processing module whose load pressure is at the preset load pressure in each data processing module, and send the production data to the target data processing module and/or the blockchain, wherein the target data processing The number of modules is one or several.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有基于区块链的数据处理程序,所述基于区块链的数据处理程序被处理器执行时实现以上所述基于区块链的数据处理方法的各个实施例的步骤。In addition, an embodiment of the present application also proposes a computer-readable storage medium, which stores a data processing program based on a blockchain, and when the data processing program based on a blockchain is executed by a processor The steps of each embodiment of the blockchain-based data processing method described above are implemented.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者***中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.
Claims (10)
- 一种基于区块链的数据处理方法,其中,所述基于区块链的数据处理方法包括以下步骤:A blockchain-based data processing method, wherein the blockchain-based data processing method includes the following steps:数据采集模块采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module collects the production data of the production equipment, and sends the production data to the blockchain for storage on the chain, so as to send the production data to the data distribution through the blockchain and/or the data collection module Service module根据预设均衡分布式处理规则,所述数据分布式服务模块将所述生产数据发送至目标数据处理模块和/或区块链;According to preset balanced distributed processing rules, the data distributed service module sends the production data to the target data processing module and/or the blockchain;所述目标数据处理模块接收所述生产数据,并对所述生产数据进行后处理。The target data processing module receives the production data and performs post-processing on the production data.
- 如权利要求1所述的基于区块链的数据处理方法,其中,所述根据预设均衡分布式处理规则,所述数据分布式服务模块将所述生产数据发送至目标数据处理模块和/或区块链的步骤包括:The blockchain-based data processing method according to claim 1, wherein the data distributed service module sends the production data to the target data processing module and/or according to the preset balanced distributed processing rule The steps of the blockchain include:所述数据分布式服务模块读取多个数据处理模块的负载压力;The data distributed service module reads the load pressure of multiple data processing modules;所述数据分布式服务模块确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,所述数据分布式服务模块并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The data distributed service module determines a target data processing module whose load pressure is at a preset load pressure in each data processing module, and the data distributed service module sends the production data to the target data processing module and/or block Chain, wherein the number of the target data processing module is one or several.
- 如权利要求1所述的基于区块链的数据处理方法,其中,所述目标数据处理模块并对所述生产数据进行后处理的步骤还包括:The block chain-based data processing method according to claim 1, wherein the step of post-processing the production data by the target data processing module further comprises:所述目标数据处理模块对所述生产数据进行校验;The target data processing module verifies the production data;所述目标数据处理模块将通过校验的第一生产数据上传至区块链上链存储。The target data processing module uploads the first production data that has passed the verification to the blockchain for on-chain storage.
- 如权利要求3所述的基于区块链的数据处理方法,其中,所述目标数据处理模块对所述生产数据进行校验的步骤之后,还包括:The block chain-based data processing method of claim 3, wherein after the step of verifying the production data by the target data processing module, the method further comprises:所述目标数据处理模块将未通过校验的第二生产数据发送至对应的生产设备,以供所述生产设备根据所述第二生产数据,确定所述生产设备的不良品槽信息,并将所述生产设备的不良品槽信息发送至区块链存储。The target data processing module sends the second production data that has not passed the verification to the corresponding production equipment, so that the production equipment can determine the defective product slot information of the production equipment according to the second production data, and The defective product slot information of the production equipment is sent to the blockchain for storage.
- 如权利要求1至4任一项所述的基于区块链的数据处理方法,其中,所述数据采集模块采集生产设备的生产数据的步骤之前,还包括:The block chain-based data processing method according to any one of claims 1 to 4, wherein, before the step of collecting the production data of the production equipment by the data collection module, it further comprises:生产设备根据管控参数进行调整;The production equipment is adjusted according to the control parameters;所述生产设备根据生产流程执行生产,实时记录生产数据,并将所述生产数据上传至区块链上链存储。The production equipment performs production according to the production process, records production data in real time, and uploads the production data to the blockchain for on-chain storage.
- 如权利要求5所述的基于区块链的数据处理方法,其中,所述生产设备根据管控参数进行调整的步骤之前,还包括:The block chain-based data processing method according to claim 5, wherein, before the step of adjusting the production equipment according to the management and control parameters, the method further comprises:设备管理端获取所述生产设备的设备地址;The equipment management terminal obtains the equipment address of the production equipment;设备管理端基于预设匹配规则,将生产设备匹配的管控参数发送至所述生产设备。The equipment management terminal sends the matched management and control parameters of the production equipment to the production equipment based on the preset matching rules.
- 如权利要求6所述的基于区块链的数据处理方法,其中,所述设备管理端将生产设备匹配的管控参数及生产流程统一发送至所述生产设备的步骤之后,还包括:The block chain-based data processing method according to claim 6, wherein after the step of uniformly sending the management and control parameters and the production process matched by the production equipment by the equipment management terminal to the production equipment, the method further comprises:所述设备管理端实时监控所述生产设备,并基于区块链同步记录所述生产设备的异常信息;The equipment management terminal monitors the production equipment in real time, and synchronously records the abnormal information of the production equipment based on the blockchain;所述设备管理端基于所述生产设备的异常信息,调整所述生产设备的管控参数,并基于所述生产设备的设备地址将所述管控参数发送至所述生产设备,以供所述生产设备根据所述管控参数调整所述生产设备。The equipment management terminal adjusts the management and control parameters of the production equipment based on the abnormal information of the production equipment, and sends the management and control parameters to the production equipment based on the equipment address of the production equipment for the production equipment Adjust the production equipment according to the management and control parameters.
- 一种基于区块链的数据处理***,其中,所述基于区块链的数据处理***包括:A blockchain-based data processing system, wherein the blockchain-based data processing system includes:数据采集模块,用于采集生产设备的生产数据,并将所述生产数据发送至区块链存储上链,以通过所述区块链和/或所述数据采集模块将所述生产数据发送至数据分布式服务模块;The data collection module is used to collect the production data of the production equipment and send the production data to the blockchain for storage on the chain, so as to send the production data to the blockchain and/or the data collection module Data distributed service module;数据分布式服务模块,用于根据预设均衡分布式处理规则,将所述生产数据发送至数据处理模块和/或区块链;The data distributed service module is used to send the production data to the data processing module and/or the blockchain according to preset balanced distributed processing rules;数据处理模块,用于接收所述生产数据,并对所述生产数据进行后处理。The data processing module is used to receive the production data and perform post-processing on the production data.
- 如权利要求8所述的基于区块链的数据处理***,其中,所述数据分布式服务模块还包括:The blockchain-based data processing system according to claim 8, wherein the data distributed service module further comprises:读取单元,用于读取多个数据处理模块的负载压力;Reading unit for reading the load pressure of multiple data processing modules;确定单元,用于确定各个数据处理模块中负载压力处于预设负载压力的目标数据处理模块,并将所述生产数据发送至目标数据处理模块和/或区块链,其中,所述目标数据处理模块数量为一个或若干个。The determining unit is used to determine the target data processing module whose load pressure is at the preset load pressure in each data processing module, and send the production data to the target data processing module and/or the blockchain, wherein the target data processing The number of modules is one or several.
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有基于区块链的数据处理程序,所述基于区块链的数据处理程序被处理器执行时实现如权利要求1至7中任一项所述的基于区块链的数据处理方法的步骤。A computer-readable storage medium, wherein a blockchain-based data processing program is stored on the computer-readable storage medium, and when the blockchain-based data processing program is executed by a processor, the following Steps of any one of the block chain-based data processing methods.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010115262.8A CN111339196B (en) | 2020-02-24 | 2020-02-24 | Data processing method and system based on block chain and computer readable storage medium |
CN202010115262.8 | 2020-02-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021169953A1 true WO2021169953A1 (en) | 2021-09-02 |
Family
ID=71183663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/077473 WO2021169953A1 (en) | 2020-02-24 | 2021-02-23 | Blockchain-based data processing method and system, and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111339196B (en) |
WO (1) | WO2021169953A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111339196B (en) * | 2020-02-24 | 2022-02-25 | 深圳点链科技有限公司 | Data processing method and system based on block chain and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6976033B2 (en) * | 2002-04-10 | 2005-12-13 | Charming Systems Corpration | Production cell information system based on activity costs and an architecture therefor |
CN105223914A (en) * | 2014-06-30 | 2016-01-06 | 中芯国际集成电路制造(上海)有限公司 | The system of management and control board production data and method thereof |
CN106302656A (en) * | 2016-08-01 | 2017-01-04 | 成都鼎智汇科技有限公司 | The Medical Data processing method of cloud storage platform |
CN107657681A (en) * | 2017-09-19 | 2018-02-02 | 金蝶软件(中国)有限公司 | Production equipment parameter regulation means and device, computer installation and readable memory |
CN108803542A (en) * | 2018-08-01 | 2018-11-13 | 武汉索雅信息技术有限公司 | Industrial production data manages system |
CN109299195A (en) * | 2018-10-23 | 2019-02-01 | 杭州能链科技有限公司 | Data processing method, device and storage medium |
CN111339196A (en) * | 2020-02-24 | 2020-06-26 | 深圳点链科技有限公司 | Data processing method and system based on block chain and computer readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150088982A1 (en) * | 2006-09-25 | 2015-03-26 | Weaved, Inc. | Load balanced inter-device messaging |
CN103188345B (en) * | 2013-03-01 | 2016-05-18 | 北京邮电大学 | Distributed dynamic load management system and method |
US9679041B2 (en) * | 2014-12-22 | 2017-06-13 | Franz, Inc. | Semantic indexing engine |
US20170124464A1 (en) * | 2015-10-28 | 2017-05-04 | Fractal Industries, Inc. | Rapid predictive analysis of very large data sets using the distributed computational graph |
CN109495578A (en) * | 2018-12-05 | 2019-03-19 | 贵州电网有限责任公司 | A kind of layering cluster processing system for electricity consumption acquisition system |
CN109615402A (en) * | 2018-12-14 | 2019-04-12 | 余洪斌 | Product quality back-tracing anti-fake system based on block chain technology |
CN109612517B (en) * | 2018-12-21 | 2021-03-30 | 深圳创维-Rgb电子有限公司 | Product production abnormity analysis method, data server, monitoring equipment and medium |
CN110046914A (en) * | 2019-03-14 | 2019-07-23 | 海南鑫镁科技有限公司 | A kind of block chain retroactive method towards food and drug safety supervision |
CN110430260B (en) * | 2019-08-02 | 2022-05-13 | 安徽领云物联科技有限公司 | Robot cloud platform based on big data cloud computing support and working method |
CN110728530A (en) * | 2019-10-16 | 2020-01-24 | 上海链度科技有限公司 | Monitoring and alarming method of tracing intelligent robot based on block chain |
-
2020
- 2020-02-24 CN CN202010115262.8A patent/CN111339196B/en active Active
-
2021
- 2021-02-23 WO PCT/CN2021/077473 patent/WO2021169953A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6976033B2 (en) * | 2002-04-10 | 2005-12-13 | Charming Systems Corpration | Production cell information system based on activity costs and an architecture therefor |
CN105223914A (en) * | 2014-06-30 | 2016-01-06 | 中芯国际集成电路制造(上海)有限公司 | The system of management and control board production data and method thereof |
CN106302656A (en) * | 2016-08-01 | 2017-01-04 | 成都鼎智汇科技有限公司 | The Medical Data processing method of cloud storage platform |
CN107657681A (en) * | 2017-09-19 | 2018-02-02 | 金蝶软件(中国)有限公司 | Production equipment parameter regulation means and device, computer installation and readable memory |
CN108803542A (en) * | 2018-08-01 | 2018-11-13 | 武汉索雅信息技术有限公司 | Industrial production data manages system |
CN109299195A (en) * | 2018-10-23 | 2019-02-01 | 杭州能链科技有限公司 | Data processing method, device and storage medium |
CN111339196A (en) * | 2020-02-24 | 2020-06-26 | 深圳点链科技有限公司 | Data processing method and system based on block chain and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111339196B (en) | 2022-02-25 |
CN111339196A (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108959000B (en) | Server pressure testing method, system and terminal | |
CN106778585B (en) | A kind of face key point-tracking method and device | |
US10877745B2 (en) | Apparatus and method for thread data processing | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN106912048B (en) | Access point information sharing method and device | |
CN110235132A (en) | The mobile device continuously verified is provided based on context aware | |
CN111078556B (en) | Application testing method and device | |
WO2021197349A1 (en) | Blockchain-based intelligent quality monitoring system and method, and readable storage medium | |
WO2019057089A1 (en) | Network card image packet capture method, terminal, and readable storage medium | |
CN110213313B (en) | File uploading method, related device and system | |
WO2015014308A1 (en) | A method and a device for data processing | |
CN113840292A (en) | Base station opening system, method, device and equipment based on micro-service | |
CN114363225B (en) | MTQQ protocol-based equipment debugging mode, system and storage medium | |
WO2021169953A1 (en) | Blockchain-based data processing method and system, and computer readable storage medium | |
US20240212399A1 (en) | Automobile Diagnosis System and Method, and Cloud Server | |
CN109218082B (en) | Network configuration parameter processing method, device and equipment | |
US20230305919A1 (en) | Electronic apparatus and operating method thereof | |
CN116610508A (en) | Heat dissipation test method and device, electronic equipment and storage medium | |
CN115987786A (en) | Configuration change method, system, terminal equipment and storage medium | |
KR20210022657A (en) | Random access resource selection method and terminal device | |
CN113780291A (en) | Image processing method and device, electronic equipment and storage medium | |
CN113076201A (en) | Mutual exclusion checking method for task instruction and electronic equipment | |
WO2021114264A1 (en) | Data transmission method and device, and computer-readable storage medium | |
CN113347710B (en) | Positioning method and related device | |
CN112492337B (en) | Communication method, communication device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21760203 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.01.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21760203 Country of ref document: EP Kind code of ref document: A1 |