CN112351071B - Traditional chinese medicine production remote monitering system based on cloud calculates - Google Patents
Traditional chinese medicine production remote monitering system based on cloud calculates Download PDFInfo
- Publication number
- CN112351071B CN112351071B CN202011086828.5A CN202011086828A CN112351071B CN 112351071 B CN112351071 B CN 112351071B CN 202011086828 A CN202011086828 A CN 202011086828A CN 112351071 B CN112351071 B CN 112351071B
- Authority
- CN
- China
- Prior art keywords
- cluster head
- head node
- data
- traditional chinese
- chinese medicine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/30—Transforming light or analogous information into electric information
- H04N5/33—Transforming infrared radiation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/04—Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
- H04W40/10—Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/32—Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10048—Infrared image
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Closed-Circuit Television Systems (AREA)
- Alarm Systems (AREA)
Abstract
The utility model provides a traditional chinese medicine production process remote monitering system based on cloud, includes first remote monitering module, second remote monitering module, information transmission module and remote monitoring center, first remote monitering module is used for carrying out safety monitoring to traditional chinese medicine production facility, second remote monitering module is used for carrying out safety monitoring to traditional chinese medicine workshop, information transmission module is used for data and image transmission to the remote monitoring center with first remote monitering module and second remote monitering module collection, the remote monitoring center is used for handling and the analysis to received data and image to judge whether traditional chinese medicine production facility normally operates and whether safe in traditional chinese medicine production workshop. The invention has the beneficial effects that: through the remote monitoring to traditional chinese medicine production facility and traditional chinese medicine workshop for when the staff can know the traditional chinese medicine production circumstances in real time, guaranteed the safety of traditional chinese medicine production and gone on.
Description
Technical Field
The invention relates to the field of traditional Chinese medicine production, in particular to a cloud computing-based remote traditional Chinese medicine production monitoring system.
Background
With the wide application of modern information technology, image technology and sensor technology in the production process of traditional Chinese medicines, the traditional production mode of traditional Chinese medicines is converted into the digital and intelligent production mode of traditional Chinese medicines. As a complex system, the production process of the traditional Chinese medicine can influence the quality of traditional Chinese medicine products by all units and links forming the system, so that an effective monitoring system is established for the production process of the traditional Chinese medicine, and the method has important significance for ensuring the safe production of the traditional Chinese medicine.
Disclosure of Invention
Aiming at the problems, the invention aims to provide a remote traditional Chinese medicine production monitoring system based on cloud computing.
The purpose of the invention is realized by the following technical scheme:
a traditional Chinese medicine production remote monitoring system based on cloud computing comprises a first remote monitoring module, a second remote monitoring module, an information transmission module and a remote monitoring center, wherein the first remote monitoring module comprises a first data monitoring unit, a first video monitoring unit and a safety monitoring unit, the first data monitoring unit is used for collecting operation data of traditional Chinese medicine production equipment, the first video monitoring unit is used for collecting video images of the traditional Chinese medicine production equipment, the safety monitoring unit is used for collecting infrared images of the traditional Chinese medicine production equipment, the first remote monitoring module transmits the collected data and images to the remote monitoring center through the information transmission module, the second remote monitoring module comprises a second data monitoring unit and a second video monitoring unit, the second data monitoring unit adopts a sensor node to collect environmental parameter data of a traditional Chinese medicine production workshop, the second video monitoring unit is used for acquiring video images of the traditional Chinese medicine production workshop, the second remote monitoring module transmits acquired data and images to the remote monitoring center through the information transmission module, the remote monitoring center comprises a first safety management unit, a second safety management unit, a first information display unit and a second information display unit, the first safety management unit compares received operation data with preset operation data of traditional Chinese medicine production equipment, when the operation data is not equal to the operation data of the given traditional Chinese medicine production equipment, the traditional Chinese medicine production equipment is judged to have operation faults and perform early warning, the first safety management unit compares the received environmental parameter data with a given safety threshold, when the received environmental parameter data exceeds the given safety threshold, the traditional Chinese medicine production workshop is judged to have danger and perform early warning, the second safety management unit is used for processing and analyzing the received infrared image so as to judge whether the production equipment normally operates or not, and giving an early warning when the production equipment is judged to have an operation fault, the first information display unit is used for displaying the received operation data and video image of the traditional Chinese medicine production equipment, and the second information display unit is used for displaying the received environmental parameter data and video image in the traditional Chinese medicine production workshop.
Preferably, the second data monitoring unit collects environmental parameter data of the traditional Chinese medicine production workshop by adopting sensor nodes with a clustering structure, data transmission is carried out between cluster head nodes in a multi-hop transmission mode, and CH is setiDenotes the ith cluster head node, L (CH) in the second data monitoring uniti) Indicating cluster head node CHiAnd L (CH)i)= {CHi,j|d(CHi,CHi,j) R (CH) }, wherein, CHi,jIndicating cluster head node CHiJ-th neighbor cluster head node of d (CH)i,CHi,j) Indicating cluster head node CHiAnd neighbor cluster head node CHi,jThe distance between the sensor node and the cluster head node is R (CH), the communication radiuses of the sensor node and the cluster head node in the second data monitoring unit are equal;
given a transmission period τ, andwherein, trRepresenting the time length from the R-th round of clustering to the (R +1) -th round of clustering, R representing the number of current clustering rounds, and setting cluster head nodes CH at intervals of tauiSelecting a next-hop cluster head node from the neighbor cluster head nodes for data transmission, setting r (e) to represent the e-th transmission period in the r-th round of clustering, and definingIndicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jCoefficient of reliability of transmission data, andwherein, S (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jAmount of data successfully transmitted, N (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jThe amount of data transmitted;
definition of P (CH)iAnd r (e)) represents a set L (CH) from an initial stage of the r-th round of clustering to a transmission period r (e)i) And a transmission attribute detection coefficient corresponding to the neighbor cluster head node in (1), anddefinition of W (CH)i,jAnd r (e)) represents a neighbor cluster head node CHi,jBecomes a cluster head node CH in the transmission period r (e)iPriority of the next hop cluster head node, when P (CH)iWhen r (e) is not less than P, then W (CH)i,jAnd r (e)) is represented by:
where P denotes a given transmission property detection threshold, and P is 0.4, E (CH)i,jAnd r (e)) represents a neighbor cluster head node CHi,jValue of residual energy by transmission period r (E), E0(CHi,j) Indicating neighbor cluster head node CHi,jThe initial energy values of the sensor nodes and the cluster head nodes in the second data monitoring unit are equal;
when P (CH)iAnd r (e) < P, then W (CH)i,jAnd r (e)) is represented by:
in the formula (I), the compound is shown in the specification,indicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jAnd correcting the reliability coefficient of the transmission data.
Preferably, the cluster head node CH is from the initial stage of the r-th round of clustering to the time of the transmission period r (e)iTo neighbor cluster head node CHi,jCorrection of reliability coefficients of transmitted dataThe value of (c) is determined in the following manner:
(2) When neighbor cluster head node CHi,jSatisfy the requirement ofThen, the cluster head node CH is pairediTo neighbor cluster head node CHi,jThe reliability of data transmission is secondarily detected by setting L (CH)i,j) Indicating neighbor cluster head node CHi,jNeighbor cluster head node set, CHi,j,gIndicating neighbor cluster head node CHi,jR(s) represents the s transmission period in the r round of clustering, mu (CH)i,j,g,CHi,jAnd r (s)) represents the period from the initial stage of the r-th round of clustering to the transmission cyclePeriod r(s) time neighbor cluster head node CHi,j,gTo neighbor cluster head node CHi,jStatistical coefficients of the transmitted data, and wherein, N (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gTo neighbor cluster head node CHi,jAmount of data transmitted, θ (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gAnd neighbor cluster head node CHi,jA transmission attribute judgment function therebetween, andwherein the content of the first and second substances,represents the neighbor cluster head node CH from the initial stage of the r-th round clustering to the transmission period r(s)i,j,gTo neighbor cluster head node CHi,jReliability coefficient of the transmission data;
when neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jIs a malicious cluster head node, at this time order
When neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jFrom the initial stage of the r-th round of clustering to the transmission period r (e), there is channel congestion or channel interference phenomenon, at this time, the order is Wherein, N (CH)i,CHi,jR (s)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r(s)iTo neighbor cluster head node CHi,jAmount of data transmitted, ρ (N (CH)i,CHi,j,r(s)),N(CHi,CHi,jR (e)) represents a judgment function, and
in the set L (CH)i) The neighbor cluster head node with the maximum priority is selected to become a cluster head node CHiAnd the cluster head node of the next hop in the transmission period r (e) performs data transmission.
Preferably, the second safety management unit is configured to process and analyze the received infrared image, and includes an image processing unit and an image analysis unit, where the image processing unit is configured to perform filtering processing and target segmentation on the received infrared image, and the image analysis unit is configured to analyze the target image obtained by segmentation, so as to determine whether the traditional Chinese medicine production device is faulty in operation.
Preferably, the image processing unit performs target segmentation on the filtered device image by using an OTSU algorithm to obtain a device area image in the device image, determines an optimal threshold value of the OTSU algorithm by using a particle swarm algorithm, and defines a fitness function of the particle swarm algorithm as a maximum inter-class variance, where a larger fitness function value of the particle indicates that a better optimization result of the particle is.
The beneficial effects created by the invention are as follows:
the remote monitoring of the traditional Chinese medicine production equipment and the traditional Chinese medicine production workshop is comprehensively carried out from the aspects of data and images, so that the safety of the traditional Chinese medicine production is ensured while workers can know the production condition of the traditional Chinese medicine in real time; the sensor nodes with the clustering structure are adopted to safely monitor the environment of the traditional Chinese medicine production workshop, the set transmission mode among the cluster head nodes can effectively balance the energy consumption of the cluster head nodes, and the reliability of data transmission among the cluster head nodes is improved; the method has the advantages that the infrared image is adopted to carry out safety monitoring on the traditional Chinese medicine production equipment, the OTSU algorithm is adopted to carry out segmentation on the collected infrared image, the particle swarm algorithm is adopted to determine the optimal threshold of the OTSU algorithm, and the particle swarm algorithm is adopted to solve the problem that the traditional particle swarm algorithm is easy to fall into local optimization to influence the optimization precision.
Drawings
The invention is further described with the aid of the accompanying drawings, in which, however, the embodiments do not constitute any limitation to the invention, and for a person skilled in the art, without inventive effort, further drawings may be derived from the following figures.
FIG. 1 is a schematic diagram of the present invention.
Detailed Description
The invention is further described with reference to the following examples.
Referring to fig. 1, the cloud computing-based remote monitoring system for traditional Chinese medicine production of the embodiment includes a first remote monitoring module, a second remote monitoring module, an information transmission module and a remote monitoring center, where the first remote monitoring module includes a first data monitoring unit, a first video monitoring unit and a safety monitoring unit, the first data monitoring unit is used to collect operation data of traditional Chinese medicine production equipment, the first video monitoring unit is used to collect video images of the traditional Chinese medicine production equipment, the safety monitoring unit is used to collect infrared images of the traditional Chinese medicine production equipment, the first remote monitoring module transmits the collected data and images to the remote monitoring center through the information transmission module, the second remote monitoring module includes a second data monitoring unit and a second video monitoring unit, and the second data monitoring unit adopts a sensor node to collect environmental parameter data of a traditional Chinese medicine production workshop, the second video monitoring unit is used for acquiring video images of the traditional Chinese medicine production workshop, the second remote monitoring module transmits acquired data and images to the remote monitoring center through the information transmission module, the remote monitoring center comprises a first safety management unit, a second safety management unit, a first information display unit and a second information display unit, the first safety management unit compares received operation data with preset operation data of traditional Chinese medicine production equipment, when the operation data is not equal to the operation data of the given traditional Chinese medicine production equipment, the traditional Chinese medicine production equipment is judged to have operation faults and perform early warning, the first safety management unit compares the received environmental parameter data with a given safety threshold, when the received environmental parameter data exceeds the given safety threshold, the traditional Chinese medicine production workshop is judged to have danger and perform early warning, the second safety management unit is used for processing and analyzing the received infrared image so as to judge whether the production equipment normally operates or not, and giving an early warning when the production equipment is judged to have an operation fault, the first information display unit is used for displaying the received operation data and video image of the traditional Chinese medicine production equipment, and the second information display unit is used for displaying the received environmental parameter data and video image in the traditional Chinese medicine production workshop.
The preferred embodiment comprehensively carries out remote monitoring on the traditional Chinese medicine production equipment and the traditional Chinese medicine production workshop from the aspects of data and images, so that the working personnel can know the production condition of the traditional Chinese medicine in real time and simultaneously ensure the safe operation of the traditional Chinese medicine production; the sensor nodes with the clustering structure are adopted to safely monitor the environment of the traditional Chinese medicine production workshop, the set transmission mode among the cluster head nodes can effectively balance the energy consumption of the cluster head nodes, and the reliability of data transmission among the cluster head nodes is improved; the method has the advantages that the infrared image is adopted to carry out safety monitoring on the traditional Chinese medicine production equipment, the OTSU algorithm is adopted to carry out segmentation on the collected infrared image, the particle swarm algorithm is adopted to determine the optimal threshold of the OTSU algorithm, and the particle swarm algorithm is adopted to solve the problem that the traditional particle swarm algorithm is easy to fall into local optimization to influence the optimization precision.
Preferably, the second data monitoring unit collects environmental parameter data of the traditional Chinese medicine production workshop by adopting sensor nodes with a clustering structure, data transmission is carried out between cluster head nodes in a multi-hop transmission mode, and CH is setiDenotes the ith cluster head node, L (CH) in the second data monitoring uniti) Indicating cluster head node CHiAnd L (CH)i)= {CHi,j|d(CHi,CHi,j) R (CH) }, wherein, CHi,jIndicating cluster head node CHiJ-th neighbor cluster head node of d (CH)i,CHi,j) Indicating cluster head node CHiAnd neighbor cluster head node CHi,jThe distance between the sensor node and the cluster head node is R (CH), the communication radiuses of the sensor node and the cluster head node in the second data monitoring unit are equal;
given a transmission period τ, andwherein, trRepresenting the time length from the R-th round of clustering to the (R +1) -th round of clustering, R representing the number of current clustering rounds, and setting cluster head nodes CH at intervals of tauiSelecting a next-hop cluster head node from the neighbor cluster head nodes for data transmission, setting r (e) to represent the e-th transmission period in the r-th round of clustering, and definingIndicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jCoefficient of reliability of transmission data, andwherein, S (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jAmount of data successfully transmitted, N (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jThe amount of data transmitted;
definition of P (CH)iAnd r (e)) represents a set L (CH) from an initial stage of the r-th round of clustering to a transmission period r (e)i) And a transmission attribute detection coefficient corresponding to the neighbor cluster head node in (1), anddefinition of W (CH)i,jAnd r (e)) represents a neighbor cluster head node CHi,jBecomes a cluster head node CH in the transmission period r (e)iPriority of the next hop cluster head node, when P (CH)iWhen r (e) is not less than P, then W (CH)i,jAnd r (e)) is represented by:
where P denotes a given transmission property detection threshold, and P is 0.4, E (CH)i,jAnd r (e)) represents a neighbor cluster head node CHi,jValue of residual energy by transmission period r (E), E0(CHi,j) Indicating neighbor cluster head node CHi,jThe initial energy values of the sensor nodes and the cluster head nodes in the second data monitoring unit are equal;
when P (CH)iAnd r (e) < P, then W (CH)i,jAnd r (e)) is represented by:
in the formula (I), the compound is shown in the specification,indicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jAnd correcting the reliability coefficient of the transmission data.
Preferably, the cluster head node CH is from the initial stage of the r-th round of clustering to the time of the transmission period r (e)iTo neighbor cluster head node CHi,jCorrection of reliability coefficients of transmitted dataThe value of (c) is determined in the following manner:
(2) When neighbor cluster head node CHi,jSatisfy the requirement ofThen, the cluster head node CH is pairediTo neighbor cluster head node CHi,jThe reliability of data transmission is secondarily detected by setting L (CH)i,j) Indicating neighbor cluster head node CHi,jNeighbor cluster head node set, CHi,j,gIndicating neighbor cluster head node CHi,jR(s) represents the s transmission period in the r round of clustering, mu (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gTo neighbor cluster head node CHi,jStatistical coefficients of the transmitted data, and wherein, N (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gTo neighbor cluster head node CHi,jAmount of data transmitted, θ (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gAnd neighbor cluster head node CHi,jA transmission attribute judgment function therebetween, andwherein the content of the first and second substances,represents the neighbor cluster head node CH from the initial stage of the r-th round clustering to the transmission period r(s)i,j,gTo neighbor cluster head node CHi,jA transmission data reliability coefficient;
when neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jIs a malicious cluster head node, at this time order
When neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jFrom the initial stage of the r-th round of clustering to the transmission period r (e), there is channel congestion or channel interference phenomenon, at this time, the order is Wherein, N (CH)i,CHi,jR (s)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r(s)iTo neighbor cluster head node CHi,jAmount of data transmitted, ρ (N (CH)i,CHi,j,r(s)),N(CHi,CHi,jR (e)) represents a judgment function, and
in the set L (CH)i) The neighbor cluster head node with the maximum priority is selected to become a cluster head node CHiAnd the cluster head node of the next hop in the transmission period r (e) performs data transmission.
In the preferred embodiment, the sensor nodes with a clustering structure are used for collecting the environmental parameter data of the traditional Chinese medicine production workshop, the sensor nodes are used for collecting the environmental parameter data of the traditional Chinese medicine production workshop, and the cluster head nodes transmit the collected environmental parameter data in a multi-hop transmission mode, so that the energy consumption of the sensor nodes and the cluster head nodes can be effectively saved, and the life cycle of a wireless sensor network is prolonged; in order to increase the reliability of data transmission between cluster head nodes, the preferred embodiment sets a transmission cycle, and selects a new neighbor cluster head node as a next-hop cluster head node in each transmission cycle according to the specific situation of data transmission between the cluster head node and the neighbor cluster head node, thereby ensuring the efficiency and reliability of data transmission of the cluster head node; compared with the traditional method for selecting the next hop cluster head node, the preferred embodiment defines the priority of the neighbor cluster head node as the next hop cluster head node, the energy value item in the priority is used for ensuring that the selected next hop cluster head node has higher residual energy value, and the reliability coefficient item in the priority is used for ensuring that the cluster head node and the selected next hop cluster head node have higher data transmission efficiency and reliability, the traditional method usually measures the reliability of the cluster head node by calculating the success rate of data transmission between the cluster head nodes, however, when the success rate of data transmission between the cluster head nodes is lower, the cluster head node may be a malicious node, or channel congestion or channel interference occurs in the previous transmission process, thereby causing the condition of lower data transmission efficiency and reliability, and the channel congestion phenomenon or channel interference phenomenon does not exist all the time, however, the method of calculating the reliability coefficient according to the success rate of data transmission between the cluster head node and the neighboring cluster head node can cause the phenomenon of channel congestion and channel interference which occur before to affect the probability that the neighboring cluster head node is selected as the next hop cluster head node, thereby easily causing the phenomenon of energy imbalance between the cluster head nodes, aiming at the situation, the preferred embodiment carries out secondary detection on the neighboring cluster head node with smaller reliability coefficient value, when the neighboring cluster head node of the neighboring cluster head node has smaller efficiency and reliability in the previous transmission period to transmit data to the neighboring cluster head node, the neighboring cluster head node is indicated as a malicious node, at this time, the reliability coefficient of the malicious node is made equal to 0, namely, the malicious node is prevented from being selected as the next hop cluster head node, when the neighboring cluster head node of the neighboring cluster head node has a higher reliability coefficient in the previous transmission period, indicating that the neighbor cluster head node is a case of a lower reliability coefficient due to a channel congestion or channel interference phenomenon, therefore, the preferred embodiment corrects the reliability coefficient of the neighboring cluster head node, and determines the number of times that the neighboring cluster head node is not selected as the next-hop cluster head node by measuring the data amount transmitted from the cluster head node to the neighboring cluster head node, the more the number of times, it indicates that the phenomenon that the neighbor cluster head node is not selected as the next-hop cluster head node due to the channel interference or the channel congestion phenomenon is maintained for a longer time, and at this time, the influence of the channel interference or the channel congestion phenomenon on the neighbor cluster head node should be reduced, namely, the reliability coefficient value of the neighbor cluster head node is increased, so that the cluster head node participates in data transmission again, and the energy consumption among the cluster head nodes is balanced.
Preferably, the second safety management unit is configured to process and analyze the received infrared image, and includes an image processing unit and an image analysis unit, where the image processing unit is configured to perform filtering processing and target segmentation on the received infrared image, and the image analysis unit is configured to analyze the target image obtained by segmentation, so as to determine whether the traditional Chinese medicine production device is faulty in operation.
Preferably, the image processing unit performs target segmentation on the filtered device image by using an OTSU algorithm to obtain a device area image in the device image, determines an optimal threshold value of the OTSU algorithm by using a particle swarm algorithm, and defines a fitness function of the particle swarm algorithm as a maximum inter-class variance, where a larger fitness function value of the particle indicates that a better optimization result of the particle is.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (3)
1. A cloud computing-based remote monitoring system for a traditional Chinese medicine production process is characterized by comprising a first remote monitoring module, a second remote monitoring module, an information transmission module and a remote monitoring center, wherein the first remote monitoring module comprises a first data monitoring unit, a first video monitoring unit and a safety monitoring unit, the first data monitoring unit is used for collecting operation data of traditional Chinese medicine production equipment, the first video monitoring unit is used for collecting video images of the traditional Chinese medicine production equipment, the safety monitoring unit is used for collecting infrared images of the traditional Chinese medicine production equipment, the first remote monitoring module transmits the collected data and images to the remote monitoring center through the information transmission module, the second remote monitoring module comprises a second data monitoring unit and a second video monitoring unit, the second data monitoring unit adopts a sensor node to collect environmental parameter data of a traditional Chinese medicine production workshop, the second video monitoring unit is used for acquiring video images of the traditional Chinese medicine production workshop, the second remote monitoring module transmits acquired data and images to the remote monitoring center through the information transmission module, the remote monitoring center comprises a first safety management unit, a second safety management unit, a first information display unit and a second information display unit, the first safety management unit compares received operation data with preset operation data of traditional Chinese medicine production equipment, when the operation data is not equal to the operation data of the given traditional Chinese medicine production equipment, the traditional Chinese medicine production equipment is judged to have operation faults and perform early warning, the first safety management unit compares the received environmental parameter data with a given safety threshold, when the received environmental parameter data exceeds the given safety threshold, the traditional Chinese medicine production workshop is judged to have danger and perform early warning, the second safety management unit is used for processing and analyzing the received infrared image so as to judge whether the production equipment normally operates or not, and giving an early warning when the production equipment is judged to have an operation fault, the first information display unit is used for displaying the received operation data and video image of the traditional Chinese medicine production equipment, and the second information display unit is used for displaying the received environmental parameter data and video image in the traditional Chinese medicine production workshop;
the second data monitoring unit adopts sensor nodes with a clustering structure to acquire environmental parameter data of a traditional Chinese medicine production workshop, data transmission is carried out between cluster head nodes in a multi-hop transmission mode, and CH is setiDenotes the ith cluster head node, L (CH) in the second data monitoring uniti) Indicating cluster head node CHiAnd L (CH)i)={CHi,j|d(CHi,CHi,j) R (CH) }, wherein, CHi,jIndicating cluster head node CHiJ-th neighbor cluster head node of d (CH)i,CHi,j) Indicating cluster head node CHiAnd neighbor cluster head node CHi,jThe distance between the sensor node and the cluster head node is R (CH), the communication radiuses of the sensor node and the cluster head node in the second data monitoring unit are equal;
given a transmission period τ, andwherein, trRepresenting the time length from the R-th round of clustering to the (R +1) -th round of clustering, R representing the number of current clustering rounds, and setting cluster head nodes CH at intervals of tauiSelecting a next-hop cluster head node from the neighbor cluster head nodes for data transmission, setting r (e) to represent the e-th transmission period in the r-th round of clustering, and definingIndicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jCoefficient of reliability of transmission data, andwherein, S (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jAmount of data successfully transmitted, N (CH)i,CHi,jR (e)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jThe amount of data transmitted;
definition of P (CH)iAnd r (e)) represents a set L (CH) from an initial stage of the r-th round of clustering to a transmission period r (e)i) And a transmission attribute detection coefficient corresponding to the neighbor cluster head node in (1), anddefinition of W (CH)i,jAnd r (e)) represents a neighbor cluster head node CHi,jBecomes a cluster head node CH in the transmission period r (e)iPriority of the next hop cluster head node, when P (CH)iWhen r (e) is not less than P, then W (CH)i,jAnd r (e)) is represented by:
where P denotes a given transmission property detection threshold, and P is 0.4, E (CH)i,jR (e)) indicates the neighbor cluster head node CH by the transmission period r (e)i,jResidual energy value of, E0(CHi,j) Indicating neighbor cluster head node CHi,jThe initial energy values of the sensor nodes and the cluster head nodes in the second data monitoring unit are equal;
when P (CH)iAnd r (e) < P, then W (CH)i,jAnd r (e)) is represented by:
in the formula (I), the compound is shown in the specification,indicates the cluster head node CH from the initial stage of the r-th round clustering to the transmission period r (e)iTo neighbor cluster head node CHi,jA correction value of a reliability coefficient of the transmission data;
from the initial stage of the r-th round of clustering to the time of the transmission period r (e)iTo neighbor cluster head node CHi,jCorrection of reliability coefficients of transmitted dataThe value of (c) is determined in the following manner:
(2) When neighbor cluster head node CHi,jSatisfy the requirement ofThen, the cluster head node CH is pairediTo neighbor cluster head node CHi,jThe reliability of data transmission is secondarily detected by setting L (CH)i,j) Indicating neighbor cluster head node CHi,jNeighbor cluster head node set, CHi,j,gIndicating neighbor cluster head node CHi,jR(s) represents the s transmission period in the r round of clustering, mu (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gTo neighbor cluster head node CHi,jStatistical coefficients of the transmitted data, and wherein, N (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gTo neighbor cluster head node CHi,jAmount of data transmitted, θ (CH)i,j,g,CHi,jAnd r (s)) represents neighbor cluster head node CH from initial stage of r-th round clustering to transmission period r(s)i,j,gAnd neighbor cluster head node CHi,jA transmission attribute judgment function therebetween, andwherein the content of the first and second substances,represents the neighbor cluster head node CH from the initial stage of the r-th round clustering to the transmission period r(s)i,j,gTo neighbor cluster head node CHi,jReliability coefficient of the transmission data;
when neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jIs a malicious cluster head node, at this time order
When neighbor cluster head node CHi,jSatisfy the requirement of Then judging the neighbor cluster head node CHi,jFrom the initial stage of the r-th round of clustering to the transmission period r (e), there is channel congestion or channel interference phenomenon, at this time, the order is Wherein, N (CH)i,CHi,jR (s)) represents the cluster head node CH from the initial stage of the r-th round of clustering to the transmission period r(s)iTo neighbor cluster head node CHi,jAmount of data transmitted, ρ (N (CH)i,CHi,j,r(s)),N(CHi,CHi,jR (e)) represents a judgment function, and
in the set L (CH)i) The neighbor cluster head node with the maximum priority is selected to become a cluster head node CHiAnd the cluster head node of the next hop in the transmission period r (e) performs data transmission.
2. The cloud-computing-based remote monitoring system for the production process of traditional Chinese medicines, as claimed in claim 1, wherein the second security management unit is configured to process and analyze the received infrared image, and comprises an image processing unit and an image analysis unit, the image processing unit is configured to perform filtering processing and target segmentation on the received infrared image, and the image analysis unit is configured to analyze the segmented target image, so as to determine whether the traditional Chinese medicine production equipment is faulty in operation.
3. The cloud-computing-based remote monitoring system for the production process of traditional Chinese medicines, as recited in claim 2, characterized in that the image processing unit performs target segmentation on the filtered device image by using an OTSU algorithm to obtain a device region image in the device image, determines the optimal threshold value of the OTSU algorithm by using a particle swarm algorithm, defines the fitness function of the particle swarm algorithm as the maximum between-class variance, and a larger fitness function value of the particle indicates that the optimization result of the particle is better.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011086828.5A CN112351071B (en) | 2020-10-12 | 2020-10-12 | Traditional chinese medicine production remote monitering system based on cloud calculates |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011086828.5A CN112351071B (en) | 2020-10-12 | 2020-10-12 | Traditional chinese medicine production remote monitering system based on cloud calculates |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112351071A CN112351071A (en) | 2021-02-09 |
CN112351071B true CN112351071B (en) | 2021-06-11 |
Family
ID=74360593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011086828.5A Active CN112351071B (en) | 2020-10-12 | 2020-10-12 | Traditional chinese medicine production remote monitering system based on cloud calculates |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112351071B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830945A (en) * | 2019-11-14 | 2020-02-21 | 南昌诺汇医药科技有限公司 | Intelligent substation monitoring system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7890301B2 (en) * | 2004-06-24 | 2011-02-15 | Agilent Technologies, Inc. | Method for cluster head selection in networks accessed by mobile devices |
CN102695190B (en) * | 2012-05-16 | 2014-10-29 | 东南大学 | Data acquisition method in wireless sensor network |
CN110930644B (en) * | 2019-12-13 | 2020-06-30 | 江西太平洋电缆集团有限公司 | Cable production safety early warning system |
CN111489317B (en) * | 2020-05-12 | 2021-09-14 | 江西天境精藏科技有限公司 | Intelligent cinerary casket storage system |
-
2020
- 2020-10-12 CN CN202011086828.5A patent/CN112351071B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830945A (en) * | 2019-11-14 | 2020-02-21 | 南昌诺汇医药科技有限公司 | Intelligent substation monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN112351071A (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112788066B (en) | Abnormal flow detection method and system for Internet of things equipment and storage medium | |
CN110225107B (en) | Cable comprehensive detection system | |
CN112882445B (en) | Intelligent monitoring and management system for 5G and block chain for intelligent manufacturing | |
CN103812577A (en) | Method for automatically identifying and learning abnormal radio signal type | |
CN111314473A (en) | Environmental monitoring system based on artificial intelligence | |
CN106936517A (en) | A kind of automatic recognition system and its method of abnormal radio signal | |
CN110930644B (en) | Cable production safety early warning system | |
CN105515888A (en) | Intelligent substation communication network anomaly detection method based on multi-dimensional entropy sequence classification | |
CN114358242A (en) | Heterojunction battery production monitoring system and method | |
CN110930632B (en) | Early warning system based on artificial intelligence | |
CN110594954B (en) | Air conditioner fault detection method and detection device | |
CN112351071B (en) | Traditional chinese medicine production remote monitering system based on cloud calculates | |
CN116054416B (en) | Intelligent monitoring operation and maintenance management system based on Internet of things | |
CN116367108B (en) | Workshop safety monitoring system based on cloud computing | |
CN111245833B (en) | Vehicle intrusion detection method and device | |
CN110381462B (en) | power cable partial discharge on-line monitoring system | |
CN111490976A (en) | Dynamic baseline management and monitoring method for industrial control network | |
CN114282782A (en) | Wisdom energy consumption management system based on visual and internet of things of 3D | |
CN114936614A (en) | Operation risk identification method and system based on neural network | |
CN111775760B (en) | Intelligent management system for solar charging piles | |
CN111489317B (en) | Intelligent cinerary casket storage system | |
CN109803301B (en) | Offline identification management system for wireless network | |
CN108961701B (en) | Intelligent monitoring system for environment of transformer substation | |
CN117812594B (en) | Internet of things network security system and control method thereof | |
CN117723917B (en) | Monitoring application method based on optical fiber extrinsic Fabry-Perot type ultrasonic sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |