A laboratory safety management method and system based on Internet of Things
Obtain logs and image information of experimental equipment through Internet of Things technology, use blockchain and smart contracts for analysis, predict equipment service life and adjust usage strategies, solving the problem of uneven use of laboratory equipment and achieving optimal use of equipment Status maintenance.
Patent Information
- Application Number
- CN202410831463.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The uneven usage status of laboratory equipment leads to serious equipment wear or aging. The existing technology lacks effective usage status management methods.
Adopting a laboratory safety management method based on the Internet of Things, by obtaining log documents and operating image information of experimental equipment, using blockchain and smart contracts for data packaging and analysis, combined with behavioral pattern recognition models and usage prediction models, predict the equipment's service life, and adjust usage strategies based on predicted results.
It achieves accurate prediction of the service life of experimental equipment and adjustment of usage strategies, ensuring that laboratory equipment remains in optimal use and avoids equipment loss and aging.
Smart Images

Figure CN118396820B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of equipment management, and in particular relates to a laboratory safety management method and system based on the Internet of Things. Background Art
[0002] At present, the arrangements and plans for the use of precision instruments in laboratories are all made manually. The frequency and method of use of each device are highly random, which leads to uneven use of each device. Some devices suffer from severe wear and tear, while some devices will age if not used for a long time. Summary of the invention
[0003] The purpose of the present invention is to provide a laboratory safety management method and system based on the Internet of Things to solve the technical problem of uneven usage status of laboratory equipment in the prior art.
[0004] A laboratory safety management method based on the Internet of Things, the method comprising:
[0005] S1: Acquire first experimental data and first operation image information of a plurality of first experimental devices in a laboratory;
[0006] S2: at a predetermined time interval, packaging the IDs of the plurality of first experimental devices, the first experimental data and the first operation image information into a block, and uploading the block to the blockchain;
[0007] S3: Based on the first smart contract, the plurality of first experimental data and the first operation image information are processed to obtain a plurality of first operation information;
[0008] S4: inputting the plurality of first operation information into a usage prediction model to obtain a plurality of first predicted service lives of the plurality of first experimental devices;
[0009] S5: Generate a first instruction based on the multiple first predicted service lives, and send it to the corresponding blockchain node, so as to execute a corresponding adjustment strategy.
[0010] Preferably, the S1 comprises:
[0011] S11: Regularly obtain the local log document of the first experimental device;
[0012] S12: Preprocessing the local log document to obtain a first log document; the first log document includes first time information and first experimental data information; the first time information refers to the time when the experimental operation corresponding to the experimental data recorded in the first log document occurs, and the first experimental data information refers to the experimental data information occurring in the first time information;
[0013] S13: extracting first operation image information corresponding to the first time information from the local image information.
[0014] Preferably, S2 includes:
[0015] S21: Acquire all course information and first experiment information corresponding to each first course information;
[0016] S22: Establishing a mapping relationship between each of the first course information and the corresponding first experiment information;
[0017] S23: Acquire course schedule information, and extract a plurality of first class information from the course schedule information;
[0018] S24: traversing the plurality of first class information, and acquiring the plurality of first class information that require experimental operation as the plurality of second class information;
[0019] S25: extracting a plurality of first class times from a plurality of the second class information, and setting the predetermined time interval according to the plurality of first class times.
[0020] Preferably, S3 includes:
[0021] S31: generating a plurality of first usage frequency information according to a plurality of the first experimental data;
[0022] S32: determining a plurality of single-use duration information according to a plurality of the first experimental data within a preset time period;
[0023] S33: determining a plurality of first error reporting time sequences according to a plurality of the first experimental data and the first operation image information;
[0024] S34: obtaining a plurality of first operation information according to a plurality of the first usage frequency information, a single usage duration information and a first error reporting time sequence.
[0025] Preferably, the S33 includes:
[0026] S331: extracting a plurality of first error information from a plurality of the first experimental data;
[0027] S332: inputting the first operation image information into a first behavior pattern recognition model to output a plurality of second error messages;
[0028] S333: Obtain a first error time sequence according to the plurality of first error information and the plurality of second error information.
[0029] Preferably, the first behavior pattern recognition model is obtained by training in the following manner:
[0030] First, a plurality of sample data are obtained, wherein the sample data includes improper operation behaviors of users on experimental equipment, and the improper operation behaviors are manually labeled;
[0031] Secondly, the image information of the improper operation behavior is used as input, and the manually labeled information is used as output to train a convolutional neural network model to obtain the first behavior pattern recognition model.
[0032] Preferably, the usage prediction model is trained in the following manner:
[0033] First, sample data is acquired, wherein the sample data includes first operation information of a plurality of experimental devices and service life information of the plurality of experimental devices;
[0034] Secondly, the first operation information of the multiple experimental devices in the sample data is used as input, and the service life information of the multiple experimental devices is used as output to train a convolutional neural network model, so as to obtain the usage prediction model.
[0035] Preferably, in S5:
[0036] For the first experimental equipment with a longer predicted service life, its future usage frequency will be lower and its usage priority will be lower;
[0037] For the first experimental equipment with a shorter predicted service life, the greater the frequency of use in the future, the higher the priority of use.
[0038] This application also proposes a laboratory safety management system based on the Internet of Things, which is used to implement the above-mentioned laboratory safety management method based on the Internet of Things.
[0039] The present application proposes a laboratory safety management method and system based on the Internet of Things. The method uses multiple first experimental equipment in the laboratory as blockchain nodes, uploads local log documents and operation image information of multiple first experimental equipment to the blockchain at predetermined time intervals, obtains multiple first operation information through smart contract analysis, and predicts the predicted service life of multiple first experimental equipment through a machine learning model. Finally, the use strategy of multiple first experimental equipment is adjusted according to the multiple predicted service lives. Through the technical solution of the present application, the log documents and operation image information of the experimental equipment are comprehensively utilized to accurately predict the service life of the experimental equipment and adjust the use strategy, so that each experimental equipment in the laboratory can maintain the best use state. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0041] Figure 1 It is an execution flow chart of a laboratory safety management method based on the Internet of Things of the present invention. DETAILED DESCRIPTION
[0042] 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.
[0043] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, wherein the illustrative embodiments and descriptions are only used to explain the present invention but are not intended to limit the present invention.
[0044] The following is a detailed description of a laboratory safety management method and system based on the Internet of Things of the present invention.
[0045] This embodiment proposes a laboratory safety management method based on the Internet of Things, comprising the following steps:
[0046] S1: Acquire first experimental data and first operation image information of a plurality of first experimental devices in a laboratory.
[0047] In order to accurately evaluate and predict the use of experimental equipment, it is necessary to obtain the first experimental data and first operation image information of each experimental equipment in this step. The first experimental data is obtained from the local log file of the experimental equipment, and the first operation image information is obtained by shooting with a camera within the field of view of the experimental equipment.
[0048] The S1 comprises the following sub-steps:
[0049] S11: Regularly obtain local log documents of multiple first experimental devices.
[0050] The first experimental equipment includes high-precision equipment such as spectrum analyzers and network analyzers. In the first experimental equipment, each time an experimental operation is performed, the experimental data will be recorded in a local log file.
[0051] S12: Preprocess the local log document to obtain a first log document.
[0052] Since the log document formats of various experimental devices are different, in order to adapt to the unified processing of logs, the local log documents need to be pre-processed to form a first log document with a unified format.
[0053] The preprocessing includes data cleaning, data extraction and data formatting. The data cleaning is specifically to remove obviously erroneous data from the log document. The data extraction is to extract the specified type of experimental data from the local log document according to the experimental data analysis requirements. The data formatting is to organize the extracted experimental data according to a preset format, thereby forming a first log document with a unified format.
[0054] Among them, the first log document includes first time information and first experimental data information, the first time information refers to the time when the experimental operation corresponding to the experimental data recorded in the first log document occurs, and the first experimental data information refers to the experimental data information occurring in the first time information.
[0055] S13: extracting first operation image information corresponding to the first time information from the local image information.
[0056] At least one camera is provided within the viewing angle of each of the first experimental devices, and the at least one camera is responsible for recording the operating behavior of the operator.
[0057] The operation behavior includes sequence information of the operator using relevant buttons on the first experimental device.
[0058] Since the amount of local image information data for all time periods is large, if behavioral pattern analysis is performed on the local image information for all time periods, it will consume more computing resources. Therefore, the first time information can be used to extract the image information of the corresponding time as the first operation image information to be subjected to behavioral pattern analysis.
[0059] S2: At a predetermined time interval, the ID of each of the first experimental devices is packaged with the first experimental data and the first operation image information to form a block, and uploaded to the blockchain.
[0060] In order to realize the data linkage analysis and unified control of each experimental equipment, blockchain technology is used to upload the first experimental data and first operation image information of each of the first experimental equipment to the blockchain.
[0061] The predetermined time interval can be set as required, wherein the predetermined time interval on weekdays can be set shorter, and the predetermined time interval on weekends can be set longer.
[0062] Preferably, the course schedule information can be extracted to obtain the time arrangement information of the experimental course, and the predetermined time interval is determined according to the time arrangement information. The specific implementation method is as follows:
[0063] S21: Acquire all course information and first experiment information corresponding to each first course information.
[0064] The total course information refers to the courses that need to be studied in this semester or this academic year, and the total course information includes multiple first course information, the first course information refers to the designated learning subjects, and the first experiment information is used to indicate whether the first course information requires experiments.
[0065] S22: Establish a mapping relationship between each of the first course information and the corresponding first experiment information.
[0066] In this step, a mapping relationship is established between each of the first course information and the corresponding first experiment information by establishing a mapping relationship.
[0067] S23: Obtaining course schedule information, and extracting a plurality of first class information from the course schedule information.
[0068] The plurality of first class information includes the plurality of first course information included in the course schedule information, the class time corresponding to the first course information, and the first experiment information.
[0069] S24: traverse the plurality of the first class information to obtain a plurality of the second class information that requires experimental operation.
[0070] The multiple first class information include the class time and whether experiments are required for each of the first course information. Therefore, after traversing the multiple first class information, multiple first class information that require experimental operations can be obtained, so that these first class information can be determined as second class information.
[0071] S25: extracting a plurality of first class times from a plurality of the second class information, and setting the predetermined time interval according to the plurality of first class times.
[0072] In this step, the first time series is formed by using the multiple first class times, and the predetermined time interval is set according to the density of the first time series in the time dimension.
[0073] For example, if the first time series is [Monday morning, Monday afternoon, Wednesday afternoon, Friday afternoon], the predetermined time interval on Monday can be set to half a day, and the predetermined time interval from Tuesday to Friday can be set to 1 day.
[0074] S3: Based on the first smart contract, the plurality of the first experimental data and the first operation image information are processed to obtain a plurality of first operation information.
[0075] The S3 comprises the following sub-steps:
[0076] S31: Generate a plurality of first usage frequency information according to a plurality of the first experimental data.
[0077] The first experimental data corresponding to each of the first experimental devices may include the first experimental data corresponding to the first experimental device and the time information corresponding to the generation of the first experimental data, so that the use frequency information of the plurality of the first experimental devices can be determined according to the time information.
[0078] S32: Determine multiple single-use duration information according to multiple first experimental data within a preset time period.
[0079] The single use duration of each of the first experimental devices can be obtained through the time information in step S31, and after averaging a plurality of the single use durations, the average value is used as the single use duration information.
[0080] S33: Determine a plurality of first error reporting time sequences according to a plurality of the first experimental data and the first operation image information.
[0081] The S33 includes:
[0082] S331: extracting a plurality of first error information from a plurality of the first experimental data.
[0083] The plurality of first error messages include a plurality of error messages and first time information corresponding to the plurality of error messages.
[0084] S332: Input the first operation image information into a first behavior pattern recognition model to output a plurality of second error messages.
[0085] The plurality of second error messages include a plurality of improper operation information and second time information corresponding to the plurality of improper operation information.
[0086] The first behavior pattern recognition model is used to perform pattern recognition analysis on the first operation image information, thereby obtaining a plurality of improper operation information.
[0087] S333: Obtain a first error time sequence according to the plurality of first error information and the plurality of second error information.
[0088] The first time information and the second time information are aggregated to obtain the first error reporting time sequence, wherein the first error reporting time sequence is used to indicate time and frequency information of improper operation of a plurality of the first experimental devices.
[0089] S34: obtaining a plurality of first operation information according to a plurality of the first usage frequency information, a single usage duration information and a first error reporting time sequence.
[0090] The plurality of first operation information may be in the form of a ternary vector, specifically [first usage frequency information, single usage duration information, first error reporting time series].
[0091] The first behavior pattern recognition model is obtained by training in the following manner:
[0092] First, a plurality of sample data are obtained, wherein the sample data includes improper operation behaviors of users on experimental equipment, and the improper operation behaviors are manually labeled.
[0093] Secondly, the image information of the improper operation behavior is used as input, and the manually labeled information is used as output to train a convolutional neural network model to obtain the first behavior pattern recognition model.
[0094] S4: Inputting the plurality of first operation information into a usage prediction model to obtain a plurality of first predicted service lives of the plurality of first experimental devices.
[0095] The usage prediction model is used to predict the service life of multiple first experimental devices based on multiple first operation information corresponding to multiple first experimental devices.
[0096] The usage prediction model is trained in the following way:
[0097] First, sample data is obtained, wherein the sample data includes first operation information of a plurality of experimental devices and service life information of the plurality of experimental devices.
[0098] Secondly, the first operation information of the multiple experimental devices in the sample data is used as input, and the service life information of the multiple experimental devices is used as output to train a convolutional neural network model, so as to obtain the usage prediction model.
[0099] S5: Generate a first instruction based on the multiple first predicted service lives, and send it to the corresponding blockchain node, so as to execute a corresponding adjustment strategy.
[0100] Since the experimental equipment needs to be used at specified time intervals to keep it in good operating condition and obtain a longer service life, in this step, the future usage frequency and usage priority of the multiple first experimental equipment can be set according to the multiple first predicted service lives, and an adjustment strategy can be formed and sent to the multiple blockchain nodes corresponding to the multiple first experimental equipment.
[0101] Specifically, for the first experimental equipment with a longer predicted service life, its future use frequency is smaller and its use priority is lower; for the first experimental equipment with a shorter predicted service life, its future use frequency is greater and its use priority is higher. Preferably, in a specific implementation, the future use frequency and the use priority can be adaptively set according to the difference between the first predicted service lives, so that each experimental equipment is in the same use state.
[0102] This application also proposes an Internet of Things-based laboratory safety management system for executing the above-mentioned Internet of Things-based laboratory safety management method.
[0103] The present application proposes a laboratory safety management method and system based on the Internet of Things. The method uses multiple first experimental equipment in the laboratory as blockchain nodes, uploads local log documents and operation image information of multiple first experimental equipment to the blockchain at predetermined time intervals, obtains multiple first operation information through smart contract analysis, and predicts the predicted service life of multiple first experimental equipment through a machine learning model. Finally, the use strategy of multiple first experimental equipment is adjusted according to the multiple predicted service lives. Through the technical solution of the present application, the log documents and operation image information of the experimental equipment are comprehensively utilized to accurately predict the service life of the experimental equipment and adjust the use strategy, so that each experimental equipment in the laboratory can maintain the best use state.
[0104] The above description is only a preferred embodiment of the present invention, so all equivalent changes or modifications made according to the structure, characteristics and principles described in the scope of the patent application of the present invention are included in the scope of the patent application of the present invention.
Claims
1. A laboratory safety management method based on the Internet of Things, characterized in that: The method includes: S1: Acquire first experimental data and first operation image information of a plurality of first experimental devices in a laboratory; S2: at a predetermined time interval, the IDs of the plurality of first experimental devices, the first experimental data and the first operation image information are packaged into a block, and uploaded to the blockchain; S3: Based on the first smart contract, the plurality of first experimental data and the first operation image information are processed to obtain a plurality of first operation information; S4: inputting the first operation information into a usage prediction model to obtain a first predicted service life of the first experimental equipment; S5: Generate a first instruction according to the first predicted service lives, and send it to a corresponding blockchain node, so as to execute a corresponding adjustment strategy; The S3 includes: S31: generating a plurality of first usage frequency information according to a plurality of the first experimental data; S32: determining a plurality of single-use duration information according to a plurality of the first experimental data within a preset time period; S33: determining a plurality of first error reporting time sequences according to a plurality of the first experimental data and the first operation image information; S34: obtaining a plurality of first operation information according to a plurality of the first usage frequency information, the single usage duration information and the first error reporting time sequence; The S1 includes: S11: Regularly obtain the local log document of the first experimental device; S12: Preprocessing the local log document to obtain a first log document; the first log document includes first time information and first experimental data information; the first time information refers to the time when the experimental operation corresponding to the experimental data recorded in the first log document occurs, and the first experimental data information refers to the experimental data information occurring in the first time information; S13: extracting first operation image information corresponding to the first time information from the local image information; The S2 includes: S21: Acquire all course information and first experiment information corresponding to each first course information; S22: Establishing a mapping relationship between each of the first course information and the corresponding first experiment information; S23: Acquire course schedule information, and extract a plurality of first class information from the course schedule information; S24: traversing the plurality of first class information, and acquiring the plurality of first class information that require experimental operation as the plurality of second class information; S25: extracting a plurality of first class times from a plurality of the second class information, and setting the predetermined time interval according to the plurality of first class times; The S33 includes: S331: extracting a plurality of first error information from a plurality of the first experimental data; S332: inputting the first operation image information into a first behavior pattern recognition model to output a plurality of second error messages; S333: Obtain a first error time sequence according to the plurality of first error information and the plurality of second error information.
2. According to claim 1, a laboratory safety management method based on the Internet of Things is characterized in that: The first behavior pattern recognition model is obtained by training in the following manner: First, a plurality of sample data are obtained, wherein the sample data includes improper operation behaviors of users on experimental equipment, and the improper operation behaviors are manually labeled; Secondly, the image information of the improper operation behavior is used as input, and the manually labeled information is used as output to train a convolutional neural network model to obtain the first behavior pattern recognition model.
3. A laboratory safety management method based on the Internet of Things according to claim 2, characterized in that: The usage prediction model is trained in the following way: First, sample data is acquired, wherein the sample data includes first operation information of a plurality of experimental devices and service life information of the plurality of experimental devices; Secondly, the first operation information of the multiple experimental devices in the sample data is used as input, and the service life information of the multiple experimental devices is used as output to train a convolutional neural network model, so as to obtain the usage prediction model.
4. A laboratory safety management method based on the Internet of Things according to claim 3, characterized in that: In S5: For the first experimental equipment with a longer predicted service life, its future usage frequency will be lower and its usage priority will be lower; For the first experimental equipment whose predicted service life is shorter, the greater its future usage frequency is, and the higher its usage priority is.
5. A laboratory safety management system based on the Internet of Things, used to implement a laboratory safety management method based on the Internet of Things as described in any one of claims 1 to 4.
