Intelligent occupational health management method based on block chain
By using blockchain technology to collect, encrypt and store data in occupational health management, combining smart contracts and machine learning, the problem of easy data tampering and insufficient privacy protection in traditional methods is solved, real-time and intelligence of data is achieved Integrated management protects employees' health rights and interests and improves management efficiency and transparency.
Patent Information
- Application Number
- CN202410972263.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional occupational health management methods rely on manual records and centralized databases, which have problems such as data tampering, information silos and insufficient privacy protection. Blockchain technology has not yet seen mature solutions in this field, especially in real-time data and There are shortcomings in intelligent management.
Adopt blockchain-based occupational health intelligent management methods, and use the Ethereum smart contract to define data storage by wearing smart bracelets and installing environmental sensors. Rules and access rights are combined with IPFS for distributed storage, role-based access control is designed, machine learning algorithms are used for data analysis and health warnings and improvement suggestions are sent through smart contracts, management methods are regularly evaluated, and employees are encouraged to participate in optimization through DAO mechanisms.
Realize real-time, immutable and intelligent management of occupational health data, ensure data security and privacy protection, improve management efficiency and accuracy, ensure the openness and fairness of the management process, and have a wide range of application prospects and Promotional value.
Smart Images

Figure CN118969268A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of occupational health and hygiene management technology, and in particular to an occupational health and hygiene intelligent management method based on blockchain. Background Art
[0002] Blockchain is a decentralized distributed ledger that is tamper-proof, secure and reliable. It combines distributed storage, peer-to-peer transmission, consensus mechanism, cryptography and other technologies to record transactions and information through a growing data block chain (Blocks) to ensure data security and transparency. With the advancement of industrialization and the improvement of workers' health awareness, occupational health and wellness management has become an important part of enterprise management. Occupational health and wellness, also known as "labor hygiene" or "occupational hygiene", refers to the use of scientific management and technical means to control various factors that may endanger the health of workers in the workplace, thereby protecting the physical health of workers, improving their work efficiency, and ensuring that they can engage in suitable work in a long-term and stable manner. This definition emphasizes the health of the workplace environment, the protection of individual workers' health, and the improvement of work efficiency.
[0003] Traditional occupational health management methods mainly rely on manual records, paper archives and centralized database systems. These methods have problems such as easy data tampering, information islands, and insufficient privacy protection. In recent years, although some studies have introduced the Internet of Things and big data technologies, they still cannot effectively solve the problems of data security and privacy protection. Existing blockchain technology is considered to have the potential to solve the above problems due to its decentralization, tamper-proof and transparency. However, there is no mature solution for applying blockchain technology to occupational health management, especially in achieving data real-time, privacy protection and intelligent management. The existing technology still has major deficiencies. Therefore, it is necessary to design corresponding technical solutions to solve them. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] In view of the shortcomings of the existing technology, the present invention provides an intelligent occupational health and wellness management method based on blockchain, which solves the problems that traditional occupational health and wellness management methods mainly rely on manual records, paper archives and centralized database systems, and have problems such as easy data tampering, information islands, and insufficient privacy protection; it cannot effectively solve the problems of data security and privacy protection; and there is no technical problem that there is no mature solution to the application of blockchain technology in occupational health and wellness management.
[0006] (II) Technical solution
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: a blockchain-based occupational health and wellness intelligent management method, the method steps include the following:
[0008] S1. Occupational health data collection:
[0009] In manufacturing companies, by having employees wear smart bracelets and installing environmental sensors in the work environment, real-time data on employees’ heart rate, blood pressure, and exercise volume, as well as the temperature, humidity, and concentration of harmful gases in the work environment, are collected. These data are pre-processed through edge computing devices to remove outlier data and extract valid information.
[0010] S2. Data on-chain:
[0011] The pre-processed data is encrypted using the SHA-256 algorithm to generate a data summary, and the data summary and encrypted data are stored on the chain using the Ethereum smart contract. The smart contract defines the storage rules and access rights of the data to ensure data security and privacy protection;
[0012] S3, Data Storage and Management:
[0013] The data on the chain is distributedly stored through IPFS to ensure high availability and redundancy of the data. A role-based access control mechanism is designed so that only the enterprise's occupational health and safety managers and authorized employees can access specific data;
[0014] S4. Data analysis and feedback:
[0015] Smart contracts regularly trigger data analysis processes, using machine learning algorithms to analyze employees’ health data and identify potential health risks;
[0016] Based on the analysis results, the smart contract automatically sends health warnings and improvement suggestions to relevant employees and managers, including adjusting working hours and improving the working environment;
[0017] S5. Continuous Improvement:
[0018] Regularly evaluate occupational health and wellness management methods through the transparency and traceability of blockchain;
[0019] Through the DAO mechanism, companies encourage employees to participate in the improvement and optimization of management methods, put forward rational suggestions, and make voting decisions to continuously improve management effectiveness.
[0020] Preferably, in step S1, the specific steps of preprocessing the data by the edge computing device are as follows:
[0021] S101, the edge computing device receives raw data from the smart bracelet and environmental sensors, including the employee's heart rate, blood pressure, exercise volume, and the temperature, humidity, and concentration of harmful gases in the working environment;
[0022] S102, cleaning the received data to remove outliers and noise. Outliers are caused by sensor failure or communication errors and are detected and removed by setting a reasonable range or using statistical methods;
[0023] S103, formatting the cleaned data to unify the data format for subsequent processing and storage, including unifying the heart rate data into an average value per minute and aligning the environmental data according to timestamps;
[0024] S104, performing aggregation processing on the formatted data to reduce the amount of data, including averaging the heart rate data within one minute and calculating the maximum, minimum and average values of the temperature data within one hour;
[0025] S105, extracting useful feature information from the aggregated data, the features including the average heart rate of the employees, the range of blood pressure fluctuation, the trend of the amount of exercise, the daily fluctuation of the ambient temperature, the average value of humidity, and the peak concentration of harmful gases;
[0026] S106, marking the extracted characteristic data, marking abnormal health indicators and excessive environmental parameters for subsequent analysis and processing;
[0027] S107, compressing the processed data to reduce storage space and transmission bandwidth usage, and using a lossless compression algorithm to ensure data integrity;
[0028] S108, before transmission to the blockchain, encrypt the data to ensure data security during transmission, and use a symmetric encryption algorithm to encrypt the data;
[0029] S109, transmit the preprocessed data to the nodes in the blockchain network through a secure channel for further storage and management.
[0030] Preferably, in step S2, the specific steps of hashing the data using the SHA-256 algorithm are:
[0031] S201, additional padding: pad the original data to a length of 448 bits by first adding a "1" bit at the end of the data, and then adding several "0" bits until the length is 448 bits;
[0032] Additional length bit: A 64-bit binary number is appended to the padded data, which indicates the length of the original data;
[0033] S202, dividing the preprocessed data into 512-bit blocks;
[0034] S203, use eight 32-bit constants to initialize the hash value:
[0035] H0 = 0x6a09e667,
[0036] H1 = 0xbb67ae85,
[0037] H2 = 0x3c6ef372,
[0038] H3 = 0xa54ff53a,
[0039] H4 = 0x510e527f,
[0040] H5 = 0x9b05688c,
[0041] H6 = 0x1f83d9ab,
[0042] H7 = 0x5be0cd19;
[0043] S204: For each 512-bit data block, perform the following processing:
[0044] Message expansion: expand a 512-bit data block into 64 32-bit words;
[0045] Initialize working variables: Initialize the 8 parts of the current hash value as working variables;
[0046] Main loop: For each of the 64 32-bit words, perform the following operations:
[0047] T1=H+Σ1(E)+Ch(E,F,G)+K[t]+W[t],
[0048] T2=Σ0(A)+Maj(A,B,C),
[0049] H=G,
[0050] G=F,
[0051] F=E,
[0052] E=D+T1,
[0053] D=C,
[0054] C=B,
[0055] B=A,
[0056] A=T1+T2,where:
[0057] Σ0(x)=(x>>2)^(x>>13)^(x>>22),
[0058] Σ1(x)=(x>>6)^(x>>11)^(x>>25),
[0059] Ch(x,y,z)=(x&y)^(~x&z),
[0060] Maj(x,y,z)=(x&y)^(x&z)^(y&z),
[0061] K[t] is a constant array, W[t] is the expanded message block;
[0062] S205, add the value of the working variable to the current hash value:
[0063] H0=H0+A,
[0064] H1=H1+B,
[0065] H2=H2+C,
[0066] H3=H3+D,
[0067] H4=H4+E,
[0068] H5=H5+F,
[0069] H6=H6+G,
[0070] H7=H7+H,
[0071] S206, the final hash value is composed of H0 to H7 connected to form a 256-bit hash value.
[0072] Preferably, in step S3, the specific steps of using IPFS for distributed storage include the following: S301, installing IPFS, first, installing an IPFS node locally or on a server, and after the installation is complete, initializing the IPFS node;
[0073] S302, adding data to IPFS, adding the pre-processed occupational health data to the IPFS network;
[0074] S303, distributed storage of data. IPFS uses content addressing and distributed hash tables to achieve distributed storage of data. The data is divided into multiple blocks. Each block has a unique CID. These blocks are distributed on multiple nodes in the IPFS network.
[0075] S304, retrieve data through CID. Anyone with CID can retrieve and access data through the IPFS network.
[0076] Preferably, in step S4, the specific steps of analyzing the employee health data using a machine learning algorithm are as follows:
[0077] S401, establish a prediction model:
[0078] Based on the preprocessed health data, select the appropriate machine learning algorithm for model training;
[0079] The algorithm uses a linear regression algorithm to predict continuous health indicators. The model formula is:
[0080] y=w1x1+w2x2+...+wn*xn+b
[0081] in:
[0082] y is the health indicator to be predicted; x1, x2, ..., xn are the characteristics of health data; w1, w2, ..., wn are the weight coefficients of the characteristics; b is the bias term;
[0083] Train the model parameters w and b by minimizing the loss function;
[0084] S402, Model Evaluation and Optimization:
[0085] Use cross-validation methods to evaluate the predictive performance of the model. Based on the evaluation results, adjust feature engineering, model parameters, or select other algorithms to continuously optimize the model.
[0086] S403, deploy the model and make predictions:
[0087] Deploy the trained model in a smart contract to regularly make predictions on newly collected employee health data;
[0088] Based on the prediction results, health warnings and improvement suggestions are automatically sent to relevant personnel.
[0089] Preferably, in step S5, the specific method steps for regularly evaluating the occupational health and hygiene management method using blockchain are:
[0090] S501, all employee health data and work environment data stored on the blockchain are open and transparent and can be viewed by any participant;
[0091] The data change history can be traced, and the time, content and operator of each change can be checked;
[0092] S502, each process of occupational health and wellness management, including data collection, data on-chain, data analysis, and early warning, is automatically executed through smart contracts, and the execution records of each step will be recorded on the blockchain;
[0093] Managers and employees can view the records of these process executions and understand the status of the entire management process;
[0094] S503, the enterprise can periodically trigger an evaluation process, and the evaluation team composed of management personnel and employee representatives will conduct a comprehensive evaluation of the entire occupational health and wellness management method based on the data and management processes recorded on the blockchain;
[0095] The evaluation team can review the implementation status of each link, analyze the advantages and disadvantages of the management method, and put forward suggestions for improvement;
[0096] S504, based on the evaluation results, the enterprise uses the DAO mechanism to allow all participating employees to put forward improvement suggestions and vote;
[0097] Voting records will also be recorded on the blockchain, ensuring the openness and transparency of the improvement process;
[0098] Improvement plans that are voted in favor will be included in the next round of optimization of management methods.
[0099] Preferably, in step S4, the health warnings and improvement suggestions also include regular health examinations, regular health examinations, increasing beneficial physical and mental activities, optimizing the ergonomic design of jobs, providing occupational health protection supplies, providing occupational health training and health knowledge popularization, establishing occupational health files, and carrying out occupational health consultation and psychological counseling services.
[0100] (III) Beneficial effects
[0101] Compared with the prior art, the invention has the following beneficial effects: it solves the problems of easy data tampering, information islands and insufficient privacy protection in the prior art, realizes the real-time, non-tamperable and intelligent management of occupational health data, protects the health rights and interests of employees, and has broad application prospects and promotion value;
[0102] Through data encryption and decentralized storage of blockchain technology, the security and privacy of occupational health and wellness data can be ensured. The tamper-proof characteristics of blockchain can be utilized to ensure the authenticity and integrity of data. Through smart contracts, automatic analysis and feedback of data can be achieved to improve management efficiency and accuracy. Distributed storage technology can be used to ensure high availability and redundancy of data and reduce the risk of single point failures. The transparency and traceability of blockchain ensure the openness and fairness of the management process, which helps to continuously improve management methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0103] Figure 1 It is a schematic diagram of the overall method steps of the present invention;
[0104] Figure 2 A schematic diagram of specific steps for preprocessing data by the edge computing device of the present invention;
[0105] Figure 3 A schematic diagram of the specific steps of performing hash processing on data using the SHA-256 algorithm of the present invention;
[0106] Figure 4 This is a schematic diagram of the specific steps of using IPFS for distributed storage in the present invention;
[0107] Figure 5 A schematic diagram of specific steps of analyzing employee health data using a machine learning algorithm according to the present invention;
[0108] Figure 6 This is a schematic diagram of the health warning and improvement suggestion system of the present invention. DETAILED DESCRIPTION
[0109] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0110] See also Figure 1-Figure 6 The embodiment of the present invention provides a technical solution: an occupational health and wellness intelligent management method based on blockchain, the method steps include the following:
[0111] S1. Occupational health data collection:
[0112] In manufacturing companies, by having employees wear smart bracelets and installing environmental sensors in the work environment, real-time data on employees’ heart rate, blood pressure, and exercise volume, as well as the temperature, humidity, and concentration of harmful gases in the work environment, are collected. These data are pre-processed through edge computing devices to remove outlier data and extract valid information.
[0113] S2. Data on-chain:
[0114] The pre-processed data is encrypted using the SHA-256 algorithm to generate a data summary, and the data summary and encrypted data are stored on the chain using the Ethereum smart contract. The smart contract defines the storage rules and access rights of the data to ensure data security and privacy protection;
[0115] Ethereum smart contracts are automatically executed programs running on the Ethereum blockchain. Once deployed and conditions are met, smart contracts will be automatically executed without human intervention. Smart contracts run on the Ethereum blockchain and there is no single controlling party. Once deployed, the code and status of smart contracts cannot be tampered with. Smart contracts can automatically execute predefined tasks and rules. All smart contract codes and transaction records are public and can be viewed by anyone. Smart contracts are executed on the blockchain and are protected by the blockchain's security mechanism. Smart contracts can be written according to business logic to support complex transactions and application scenarios.
[0116] S3, Data Storage and Management:
[0117] The data on the chain is distributedly stored through IPFS (Interplanetary File System) to ensure high availability and redundancy of data. A role-based access control mechanism is designed so that only the enterprise's occupational health and safety managers and authorized employees can access specific data;
[0118] S4. Data analysis and feedback:
[0119] Smart contracts regularly trigger data analysis processes, using machine learning algorithms to analyze employees’ health data and identify potential health risks;
[0120] Based on the analysis results, the smart contract automatically sends health warnings and improvement suggestions to relevant employees and managers, including adjusting working hours and improving the working environment;
[0121] S5. Continuous Improvement:
[0122] Regularly evaluate occupational health and wellness management methods through the transparency and traceability of blockchain;
[0123] Through the DAO mechanism, companies encourage employees to participate in the improvement and optimization of management methods, put forward rational suggestions, and make voting decisions to continuously improve management effectiveness.
[0124] Through the mechanism of decentralized autonomous organization (DAO), enterprises encourage employees to participate in the improvement and optimization of management methods; DAO is a form of autonomous organization based on blockchain technology, with no centralized controller, and management and decision-making are carried out by participants through voting;
[0125] In this occupational health and wellness management method, the company uses the DAO mechanism to allow participants (i.e. employees) to make rational suggestions and make decisions on improvement plans for management methods through voting;
[0126] It can give full play to the initiative and creativity of employees, continuously optimize and improve occupational health and hygiene management methods, improve management effects, and achieve continuous improvement;
[0127] The DAO mechanism uses decentralized autonomy to allow participants (employees) to actively participate in improving management methods and optimizing decision-making processes, which reflects the company's attention to employees and is conducive to improving the effectiveness of occupational health and wellness management.
[0128] Further improved, in step S1, the edge computing device is a computing device deployed close to the data source (smart bracelet and environmental sensor), which has certain computing and storage capabilities and can perform local processing before data is transmitted to the central server to improve response speed, reduce data transmission volume and enhance privacy protection; the specific steps of the edge computing device preprocessing data are as follows:
[0129] S101, the edge computing device receives raw data from the smart bracelet and environmental sensors, including the employee's heart rate, blood pressure, exercise volume, and the temperature, humidity, and concentration of harmful gases in the working environment;
[0130] S102, cleaning the received data to remove outliers and noise. Outliers are caused by sensor failure or communication errors and are detected and removed by setting a reasonable range or using statistical methods (standard deviation);
[0131] S103, formatting the cleaned data to unify the data format for subsequent processing and storage, including unifying the heart rate data into an average value per minute and aligning the environmental data according to timestamps;
[0132] S104, performing aggregation processing on the formatted data to reduce the amount of data, including averaging the heart rate data within one minute and calculating the maximum, minimum and average values of the temperature data within one hour;
[0133] S105, extracting useful feature information from the aggregated data, the features including the average heart rate of the employees, the range of blood pressure fluctuation, the trend of the amount of exercise, the daily fluctuation of the ambient temperature, the average value of humidity, and the peak concentration of harmful gases;
[0134] S106, marking the extracted characteristic data, marking abnormal health indicators and excessive environmental parameters for subsequent analysis and processing;
[0135] S107, compressing the processed data to reduce storage space and transmission bandwidth usage, and using a lossless compression algorithm to ensure data integrity;
[0136] S108, before transmitting to the blockchain, encrypt the data to ensure data security during transmission, and use a symmetric encryption algorithm (AES) to encrypt the data;
[0137] S109, transmit the preprocessed data to the nodes in the blockchain network through a secure channel for further storage and management.
[0138] Edge computing devices can effectively pre-process occupational health and wellness data, ensure the quality and security of the data, and provide a reliable foundation for subsequent data uploading, storage, analysis, and feedback.
[0139] Symmetric encryption algorithm (AES, Advanced Encryption Standard) is a widely used encryption algorithm for protecting the confidentiality of data. AES is a symmetric key encryption algorithm, which means that the same key is used to encrypt and decrypt data. AES has high efficiency, strong security, and is widely used in various application scenarios; Symmetric encryption: use the same key for encryption and decryption; Block encryption: processes fixed-size block data, usually 128 bits; Flexible key length: supports 128-bit, 192-bit and 256-bit key lengths; Efficient: very efficient in hardware and software implementations.
[0140] Further improved, in step S2, SHA-256 is a secure hash algorithm used to convert input data into a hash value (digest) of fixed length. The encryption processing of the SHA-256 algorithm generates a unique hash value of fixed length, which is irreversible and very sensitive to the input data.
[0141] SHA-256 is a cryptographic hash function that can map input data of any length to a fixed-length 256-bit (32-byte) output. Fixed output length: no matter how long the input data is, the output hash value length is 256 bits; irreversible: the original data cannot be deduced from the hash value; collision resistance: it is difficult to find two different input data with the same hash value;
[0142] The specific steps to hash data using the SHA-256 algorithm are:
[0143] S201, additional padding: pad the original data to a length of 448 bits (modulo 512 bits), by first adding a "1" bit at the end of the data, and then adding several "0" bits until the length is 448 bits (modulo 512 bits);
[0144] Additional length bit: A 64-bit binary number is appended to the padded data, which indicates the length of the original data;
[0145] S202, dividing the preprocessed data into 512-bit blocks;
[0146] S203, use eight 32-bit constants to initialize the hash value:
[0147] H0 = 0x6a09e667,
[0148] H1 = 0xbb67ae85,
[0149] H2 = 0x3c6ef372,
[0150] H3 = 0xa54ff53a,
[0151] H4 = 0x510e527f,
[0152] H5 = 0x9b05688c,
[0153] H6 = 0x1f83d9ab,
[0154] H7 = 0x5be0cd19;
[0155] In the SHA-256 algorithm, there are 8 initial constants H0-H7 and 64 32-bit constants a, b, c, d, e, f, g, h;
[0156] a, b, c, d, e, f, g, h represent 8 intermediate variables, which will be updated in each round of iteration;
[0157] These eight variables store the intermediate results of the algorithm when processing message blocks. In each iteration, they are updated and calculated based on the results of the previous round and predefined constants.
[0158] Finally, the values of these eight variables are added to the initial H0-H7 constants to get the final hash value;
[0159] S204: For each 512-bit data block, perform the following processing:
[0160] Message expansion: expand a 512-bit data block into 64 32-bit words;
[0161] Initialize working variables: Initialize the 8 parts of the current hash value as working variables;
[0162] Main loop: For each of the 64 32-bit words, perform the following operations:
[0163] T1=H+Σ1(E)+Ch(E,F,G)+K[t]+W[t],
[0164] T2=Σ0(A)+Maj(A,B,C),
[0165] H=G,
[0166] G=F,
[0167] F=E,
[0168] E=D+T1,
[0169] D=C,
[0170] C=B,
[0171] B=A,
[0172] A=T1+T2,
[0173] in:
[0174] Σ0(x)=(x>>2)^(x>>13)^(x>>22),
[0175] Σ1(x)=(x>>6)^(x>>11)^(x>>25),
[0176] Ch(x,y,z)=(x&y)^(~x&z),
[0177] Maj(x,y,z)=(x&y)^(x&z)^(y&z),
[0178] K[t] is a constant array, W[t] is the expanded message block;
[0179] S205, add the value of the working variable to the current hash value:
[0180] H0=H0+A,
[0181] H1=H1+B,
[0182] H2=H2+C,
[0183] H3=H3+D,
[0184] H4=H4+E,
[0185] H5=H5+F,
[0186] H6=H6+G,
[0187] H7=H7+H,
[0188] S206, the final hash value is composed of H0 to H7 connected to form a 256-bit hash value.
[0189] Through the above steps, the SHA-256 algorithm can generate a fixed-length hash value for the preprocessed occupational health data for the generation of data summaries; these hash values can be securely stored on the blockchain, and the storage rules and access rights of the data can be defined through smart contracts to ensure data security and privacy protection.
[0190] Further improved, in step S3, IPFS (InterPlanetary File System) is a peer-to-peer network protocol for distributed storage and sharing, which realizes efficient data storage and retrieval through content addressing, ensuring high availability and redundancy of data. The specific steps of using IPFS for distributed storage include the following:
[0191] S301, install IPFS. First, you need to install the IPFS node locally or on the server. After the installation is complete, initialize the IPFS node.
[0192] S302, adding data to IPFS, adding the pre-processed occupational health data to the IPFS network;
[0193] S303, distributed storage of data. IPFS uses content addressing and distributed hash tables (DHT) to achieve distributed storage of data. The data is divided into multiple blocks. Each block has a unique CID. These blocks are distributed on multiple nodes in the IPFS network.
[0194] S304, retrieve data through CID. Anyone with CID can retrieve and access data through the IPFS network.
[0195] Through the above steps, IPFS is used for distributed storage to ensure the high availability and redundancy of occupational health data; at the same time, combined with Ethereum smart contracts, role-based access control is implemented to ensure data security and privacy protection; the transparency and traceability of blockchain technology are effectively utilized to improve the level of intelligence in occupational health management.
[0196] Further improved, in step S4, the specific steps of using the machine learning algorithm to analyze the employee health data are as follows:
[0197] S401, establish a prediction model:
[0198] Based on the preprocessed health data, select the appropriate machine learning algorithm for model training;
[0199] The algorithm uses a linear regression algorithm to predict continuous health indicators. The model formula is:
[0200] y=w1x1+w2x2+...+wn*xn+b
[0201] in:
[0202] y is the health indicator to be predicted; x1, x2, ..., xn are the characteristics of health data; w1, w2, ..., wn are the weight coefficients of the characteristics; b is the bias term;
[0203] Train the model parameters w and b by minimizing the loss function (mean square error);
[0204] S402, Model Evaluation and Optimization:
[0205] Use cross-validation methods to evaluate the predictive performance of the model. Based on the evaluation results, adjust feature engineering, model parameters, or select other algorithms to continuously optimize the model.
[0206] S403, deploy the model and make predictions:
[0207] Deploy the trained model in a smart contract to regularly make predictions on newly collected employee health data;
[0208] Based on the prediction results, health warnings and improvement suggestions are automatically sent to relevant personnel.
[0209] Through such a machine learning analysis process, automated analysis of employee health data and health risk warnings can be achieved, providing intelligent support for occupational health management.
[0210] Further improved, in step S5, the specific method steps for regularly evaluating the occupational health and hygiene management method using blockchain are:
[0211] S501, all employee health data and work environment data stored on the blockchain are open and transparent and can be viewed by any participant;
[0212] The data change history can be traced, and the time, content and operator of each change can be checked;
[0213] S502, each process of occupational health and wellness management, including data collection, data on-chain, data analysis, and early warning, is automatically executed through smart contracts, and the execution records of each step will be recorded on the blockchain;
[0214] Managers and employees can view the records of these process executions and understand the status of the entire management process;
[0215] S503, the enterprise can periodically trigger an evaluation process, and the evaluation team composed of management personnel and employee representatives will conduct a comprehensive evaluation of the entire occupational health and wellness management method based on the data and management processes recorded on the blockchain;
[0216] The evaluation team can review the implementation status of each link, analyze the advantages and disadvantages of the management method, and put forward suggestions for improvement;
[0217] S504, based on the evaluation results, the enterprise uses the DAO mechanism to allow all participating employees to put forward improvement suggestions and vote;
[0218] Voting records will also be recorded on the blockchain, ensuring the openness and transparency of the improvement process;
[0219] Improvement plans that are voted in favor will be included in the next round of optimization of management methods.
[0220] Through the above steps, enterprises can make full use of the characteristics of blockchain to achieve continuous optimization and improvement of occupational health and safety management methods and improve management effectiveness. The transparency and traceability of blockchain provide guarantees for this process.
[0221] Specifically, in step S4, the health warning and improvement suggestions also include regular health check-ups, regular health check-ups, increasing beneficial physical and mental activities, optimizing the ergonomic design of jobs, providing occupational health protection supplies, providing occupational health training and health knowledge popularization, establishing occupational health files, and carrying out occupational health consultation and psychological counseling services;
[0222] Adjust working hours: appropriately increase rest time, arrange work and rest time rhythm reasonably, develop good eating and resting habits, and ensure adequate sleep time;
[0223] Improve the working environment: improve air quality;
[0224] Regular health check-ups: timely detection and prevention of potential health problems;
[0225] Increase beneficial physical and mental activities: moderate exercise, relaxation and leisure;
[0226] Optimize the ergonomic design of work positions: reduce the physical burden on employees;
[0227] Provide occupational health protection supplies: masks, protective clothing;
[0228] Provide occupational health training and health knowledge popularization: improve health awareness;
[0229] Establish occupational health records: continuously track and manage the health status of employees;
[0230] Provide occupational health consultation and psychological counseling services to help employees relieve stress.
[0231] The review solves the problems of easy data tampering, information islands and insufficient privacy protection in existing technologies, realizes the real-time, tamper-proof and intelligent management of occupational health data, protects the health rights and interests of employees, and has broad application prospects and promotion value.
[0232] Through data encryption and decentralized storage of blockchain technology, the security and privacy of occupational health and wellness data can be ensured. The tamper-proof characteristics of blockchain can be utilized to ensure the authenticity and integrity of data. Through smart contracts, automatic analysis and feedback of data can be achieved to improve management efficiency and accuracy. Distributed storage technology can be used to ensure high availability and redundancy of data and reduce the risk of single point failures. The transparency and traceability of blockchain ensure the openness and fairness of the management process, which helps to continuously improve management methods.
[0233] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
[0234] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A blockchain-based occupational health and wellness intelligent management method, characterized in that: The method steps include the following: S1. Occupational health data collection: In manufacturing companies, by having employees wear smart bracelets and installing environmental sensors in the work environment, real-time data on employees’ heart rate, blood pressure, and exercise volume, as well as the temperature, humidity, and concentration of harmful gases in the work environment, are collected. These data are pre-processed through edge computing devices to remove outlier data and extract valid information. S2. Data on-chain: The pre-processed data is encrypted using the SHA-256 algorithm to generate a data summary, and the data summary and encrypted data are stored on the chain using the Ethereum smart contract. The smart contract defines the storage rules and access rights of the data to ensure data security and privacy protection; S3, Data Storage and Management: The data on the chain is distributedly stored through IPFS to ensure high availability and redundancy of the data. A role-based access control mechanism is designed so that only the enterprise's occupational health and safety managers and authorized employees can access specific data; S4. Data analysis and feedback: Smart contracts regularly trigger data analysis processes, using machine learning algorithms to analyze employees’ health data and identify potential health risks; Based on the analysis results, the smart contract automatically sends health warnings and improvement suggestions to relevant employees and managers, including adjusting working hours and improving the working environment; S5. Continuous Improvement: Regularly evaluate occupational health and wellness management methods through the transparency and traceability of blockchain; Through the DAO mechanism, companies encourage employees to participate in the improvement and optimization of management methods, put forward rational suggestions, and make voting decisions to continuously improve management effectiveness.
2. According to claim 1, a blockchain-based occupational health and wellness intelligent management method is characterized by: In step S1, the specific steps of the edge computing device preprocessing the data are as follows: S101, the edge computing device receives raw data from the smart bracelet and environmental sensors, including the employee's heart rate, blood pressure, exercise volume, and the temperature, humidity, and concentration of harmful gases in the working environment; S102, cleaning the received data to remove outliers and noise. Outliers are caused by sensor failure or communication errors and are detected and removed by setting a reasonable range or using statistical methods; S103, formatting the cleaned data to unify the data format for subsequent processing and storage, including unifying the heart rate data into an average value per minute and aligning the environmental data according to timestamps; S104, performing aggregation processing on the formatted data to reduce the amount of data, including averaging the heart rate data within one minute and calculating the maximum, minimum and average values of the temperature data within one hour; S105, extracting useful feature information from the aggregated data, the features including the average heart rate of the employees, the range of blood pressure fluctuation, the trend of the amount of exercise, the daily fluctuation of the ambient temperature, the average value of humidity, and the peak concentration of harmful gases; S106, marking the extracted characteristic data, marking abnormal health indicators and excessive environmental parameters for subsequent analysis and processing; S107, compressing the processed data to reduce storage space and transmission bandwidth usage, and using a lossless compression algorithm to ensure data integrity; S108, before transmission to the blockchain, encrypt the data to ensure data security during transmission, and use a symmetric encryption algorithm to encrypt the data; S109, transmit the preprocessed data to the nodes in the blockchain network through a secure channel for further storage and management.
3. According to claim 1, a blockchain-based occupational health and wellness intelligent management method is characterized by: In step S2, the specific steps of hashing the data using the SHA-256 algorithm are: S201, additional padding: pad the original data to a length of 448 bits by first adding a "1" bit at the end of the data, and then adding several "0" bits until the length is 448 bits; Additional length bit: A 64-bit binary number is appended to the padded data, which indicates the length of the original data; S202, dividing the preprocessed data into 512-bit blocks; S203, use eight 32-bit constants to initialize the hash value: H0 = 0x6a09e667, H1 = 0xbb67ae85, H2 = 0x3c6ef372, H3 = 0xa54ff53a, H4 = 0x510e527f, H5 = 0x9b05688c, H6 = 0x1f83d9ab, H7 = 0x5be0cd19; S204: For each 512-bit data block, perform the following processing: Message expansion: expand a 512-bit data block into 64 32-bit words; Initialize working variables: Initialize the 8 parts of the current hash value as working variables; Main loop: For each of the 64 32-bit words, perform the following operations: T1=H+Σ1(E)+Ch(E,F,G)+K[t]+W[t], T2=Σ0(A)+Maj(A,B,C), H=G, G=F, F=E, E=D+T1, D=C, C=B, B=A, A=T1+T2, in: Σ0(x)=(x>>2)^(x>>13)^(x>>22), Σ1(x)=(x>>6)^(x>>11)^(x>>25), Ch(x,y,z)=(x&y)^(~x&z), Maj(x,y,z)=(x&y)^(x&z)^(y&z), K[t] is a constant array, W[t] is the expanded message block; S205, add the value of the working variable to the current hash value: H0=H0+A, H1=H1+B, H2=H2+C, H3=H3+D, H4=H4+E, H5=H5+F, H6=H6+G, H7=H7+H, S206, the final hash value is composed of H0 to H7 connected to form a 256-bit hash value.
4. According to the blockchain-based occupational health and wellness intelligent management method of claim 1, it is characterized by: In step S3, the specific steps of using IPFS for distributed storage include the following: S301, install IPFS. First, install the IPFS node locally or on the server. After the installation is complete, initialize the IPFS node. S302, adding data to IPFS, adding the pre-processed occupational health data to the IPFS network; S303, distributed storage of data. IPFS uses content addressing and distributed hash tables to achieve distributed storage of data. The data is divided into multiple blocks. Each block has a unique CID. These blocks are distributed on multiple nodes in the IPFS network. S304, retrieve data through CID. Anyone with CID can retrieve and access data through the IPFS network.
5. According to claim 1, a blockchain-based occupational health and wellness intelligent management method is characterized by: In step S4, the specific steps of using the machine learning algorithm to analyze the employee health data are as follows: S401, establish a prediction model: Based on the preprocessed health data, select the appropriate machine learning algorithm for model training; The algorithm uses a linear regression algorithm to predict continuous health indicators. The model formula is: y=w1x1+w2x2+...+wn*xn+b in: y is the health indicator to be predicted; x1, x2, ..., xn are the characteristics of health data; w1,w2,...,wn are the weight coefficients of the features; b is the bias term; Train the model parameters w and b by minimizing the loss function; S402, Model Evaluation and Optimization: Use cross-validation methods to evaluate the predictive performance of the model. Based on the evaluation results, adjust feature engineering, model parameters, or select other algorithms to continuously optimize the model. S403, deploy the model and make predictions: Deploy the trained model in a smart contract to regularly make predictions on newly collected employee health data; Based on the prediction results, health warnings and improvement suggestions are automatically sent to relevant personnel.
6. According to claim 1, a blockchain-based occupational health and wellness intelligent management method is characterized by: In step S5, the specific steps for regularly evaluating occupational health and hygiene management methods using blockchain are as follows: S501, all employee health data and work environment data stored on the blockchain are open and transparent and can be viewed by any participant; The data change history can be traced, and the time, content and operator of each change can be checked; S502, each process of occupational health and wellness management, including data collection, data uploading, data analysis, and early warning, is automatically executed through smart contracts, and the execution records of each step will be recorded on the blockchain; Managers and employees can view the records of these process executions and understand the status of the entire management process; S503, the enterprise can periodically trigger an evaluation process, and the evaluation team composed of managers and employee representatives will conduct a comprehensive evaluation of the entire occupational health and wellness management method based on the data and management processes recorded on the blockchain; The evaluation team can review the implementation status of each link, analyze the advantages and disadvantages of the management method, and put forward suggestions for improvement; S504, based on the evaluation results, the enterprise uses the DAO mechanism to allow all participating employees to put forward improvement suggestions and vote; Voting records will also be recorded on the blockchain, ensuring the openness and transparency of the improvement process; Improvement plans that are voted in favor will be included in the next round of optimization of management methods.
7. According to claim 1, a blockchain-based occupational health and wellness intelligent management method is characterized by: In step S4, health warnings and improvement suggestions also include regular health examinations, regular health examinations, increasing beneficial physical and mental activities, optimizing the ergonomic design of jobs, providing occupational health protection supplies, providing occupational health training and health knowledge popularization, establishing occupational health files, and carrying out occupational health consultation and psychological counseling services.
Citation Information
Cited By
Intelligent motion data processing method and system based on block chain
CN119172180A
Intelligent physical examination data integration modeling system
CN119811676A
