CN111343209B - Picture processing method with temperature information - Google Patents

Picture processing method with temperature information Download PDF

Info

Publication number
CN111343209B
CN111343209B CN202010433666.1A CN202010433666A CN111343209B CN 111343209 B CN111343209 B CN 111343209B CN 202010433666 A CN202010433666 A CN 202010433666A CN 111343209 B CN111343209 B CN 111343209B
Authority
CN
China
Prior art keywords
picture
data
data center
storage pool
communication mode
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
Application number
CN202010433666.1A
Other languages
Chinese (zh)
Other versions
CN111343209A (en
Inventor
吴永东
张弥
张利平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shuangshi Technology Co ltd
Original Assignee
Zhejiang Shuangshi Infrared Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shuangshi Infrared Technology Co ltd filed Critical Zhejiang Shuangshi Infrared Technology Co ltd
Priority to CN202010433666.1A priority Critical patent/CN111343209B/en
Publication of CN111343209A publication Critical patent/CN111343209A/en
Application granted granted Critical
Publication of CN111343209B publication Critical patent/CN111343209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/0022Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
    • G01J5/0025Living bodies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/48Thermography; Techniques using wholly visual means
    • G01J5/485Temperature profile
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K1/00Details of thermometers not specially adapted for particular types of thermometer
    • G01K1/02Means for indicating or recording specially adapted for thermometers
    • G01K1/022Means for indicating or recording specially adapted for thermometers for recording
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K1/00Details of thermometers not specially adapted for particular types of thermometer
    • G01K1/02Means for indicating or recording specially adapted for thermometers
    • G01K1/024Means for indicating or recording specially adapted for thermometers for remote indication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/20Clinical contact thermometers for use with humans or animals
    • G01K13/223Infrared clinical thermometers, e.g. tympanic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J2005/0077Imaging

Abstract

The invention provides a picture processing method with temperature information, which can not only obtain a picture captured by an early warning system, but also obtain the temperature of all pixel points from a real-time video stream and synthesize the temperature to obtain a picture with temperature information, and can modify the picture based on a region to be detected through offline picture temperature analysis software to obtain the temperature information of a required region, so that a user can obtain the temperature information of any point on the picture according to actual needs; meanwhile, the invention also sets an uploading strategy of the picture, realizes the storage of the source data through the unchangeable cache storage pool, and ensures the safety, stability and reliability of the uploading of the picture data through the setting of the uploading mode; the data accuracy is improved by setting different verification modes for newly-transmitted data and re-transmitted data.

Description

Picture processing method with temperature information
Technical Field
The invention relates to a picture processing method, in particular to a picture processing method with temperature information.
Background
In the case of temperature measurement by an infrared thermal imager, because the display resolution of infrared thermal imaging is low (the image resolution of current mainstream thermal imaging equipment is 384 × 288, the infrared image resolution is 11 ten thousand pixels, and the image resolution of visible light is already on the order of million pixels), in practical application, because the thermal imaging resolution is low, it is difficult to confirm the specific position of a temperature anomaly point in a positioning picture through a thermal imaging picture. The temperature data obtained by thermal imaging and the image data obtained by a visible light camera are complementarily combined.
The pictures captured by the temperature detection early warning system are captured from the real-time video stream, and the captured pictures can only display the temperature information superposed on the video stream during capturing, but cannot perform temperature analysis on the stored pictures. Only the area and the temperature of the image captured by the system can be seen; the temperature conditions of other places where the detection area is not drawn cannot be known.
Moreover, the processing of the pictures is usually performed by sequentially transmitting the pictures upwards from the bottom monitoring center and then controlling the pictures by each monitoring center, wherein the upper monitoring center is limited by the reported data of the lower monitoring center and cannot ensure the integrity and reliability of the data. Moreover, the existing uploading mode is generally the uploading through the unique communication mode, and if the current communication mode is unstable, the data loss is easily caused; the above process may also cause inconsistency of data in data centers at different levels, thereby causing inconsistency of exception handling, resulting in generation of contradiction.
Disclosure of Invention
In order to solve the problems in the prior art, a picture processing method with temperature information is provided.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method of picture processing with temperature information, the method comprising:
when the picture is captured, the temperatures corresponding to all pixel points of the full screen are saved;
synthesizing a first picture with temperature information according to the captured picture and the temperatures of all pixel points;
storing the first picture in a hard disk;
acquiring a temperature area to be measured;
editing the first picture according to the area to be measured to generate a second picture;
and covering the second picture with the first picture, or storing the second picture in a mode of copying the first picture.
Uploading the stored pictures to a cloud storage pool, wherein the pictures in the cloud storage pool are not allowed to be edited;
after the cloud storage pool obtains the picture, obtaining the highest temperature value T in the picture and the personnel density P of the environment where the picture is located; selecting an uploading strategy according to the highest temperature value T and the personnel density P, and uploading the pictures to the data center according to the uploading strategy;
the data center adopts a hierarchical structure and sequentially comprises a first-level data center, a second-level data center, a third-level data center and a fourth-level data center from top to bottom, wherein the upper-level data center can manage the lower-level data center, and the lower-level data center uploads picture data to the upper-level data center according to a specific strategy after receiving the picture data; various communication modes are supported between each level of data center and the cloud storage pool;
the selecting of the uploading strategy according to the maximum temperature value T and the personnel density P specifically comprises the following steps:
when in use
Figure 756756DEST_PATH_IMAGE001
Then, a communication mode with the highest stability between the cloud storage pool and each level of data center is determined, and then the picture data are simultaneously sent to each data center based on the determined communication mode, wherein the communication modes between each data center and the cloud storage pool can be different;
when in use
Figure 346000DEST_PATH_IMAGE002
Figure 594579DEST_PATH_IMAGE003
When the weight W of the picture is calculated, when
Figure 458630DEST_PATH_IMAGE004
Determining a communication mode between the cloud storage pool and the primary data center, and selecting the communication mode with the highest security to upload picture data; determining communication modes between the cloud storage pool and second, third and fourth level data centers, and selecting the communication mode with the highest stability to upload picture data; when in use
Figure 741844DEST_PATH_IMAGE005
Determining a communication mode between the cloud storage pool and the primary and secondary data centers, and selecting the communication mode with the highest security to upload picture data; determining communication modes between the cloud storage pool and the three-level and four-level data centers, and selecting stabilityUploading the picture data in the communication mode with the highest performance; wherein the content of the first and second substances,
Figure 298727DEST_PATH_IMAGE006
is a preset weight threshold;
wherein the content of the first and second substances,
Figure 31672DEST_PATH_IMAGE007
(ii) a a. b is a constant coefficient;
when in use
Figure 699414DEST_PATH_IMAGE002
Figure 837134DEST_PATH_IMAGE008
Then, determining a communication mode between the cloud storage pool and the second-level data center, selecting a communication mode with the highest security to upload picture data, determining a communication mode between the cloud storage pool and the third-level and fourth-level data centers, and selecting a communication mode with the highest stability to upload the picture data; the first-level data center respectively acquires picture data from the second-level data center, the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data;
when in use
Figure 299339DEST_PATH_IMAGE009
Figure 522510DEST_PATH_IMAGE010
Determining a communication mode between the cloud storage pool and the third-level data center, selecting a communication mode with the highest security to upload picture data, determining a communication mode between the cloud storage pool and the fourth-level data center, and selecting a communication mode with the highest stability to upload the picture data; the second-level data center respectively acquires picture data from the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data; the first-level data center respectively acquires picture data from the second-level data center, the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data;
when in use
Figure 993943DEST_PATH_IMAGE009
Figure 986170DEST_PATH_IMAGE011
When the current is over; determining a communication mode between the cloud storage pool and the four-level data center, and selecting the communication mode with the highest security to upload picture data; then, the four-level data center respectively uploads the picture data to the first-level data center, the second-level data center and the third-level data center in sequence.
Wherein the content of the first and second substances,
Figure 884856DEST_PATH_IMAGE012
is to determine a high level threshold for the area indicated by the picture from historical temperature data,
Figure 595323DEST_PATH_IMAGE013
determining a normal temperature value of a region indicated by the picture according to historical temperature data;
Figure 339288DEST_PATH_IMAGE014
an average density value determined according to historical density data of the area indicated by the picture;
Figure 451600DEST_PATH_IMAGE015
determining the highest temperature value of the area indicated by the picture according to historical temperature data;
Figure 255608DEST_PATH_IMAGE016
determining the highest density value of the area indicated by the picture according to historical temperature data; the stability of the communication mode is determined according to the packet loss rate and the signal strength; the safety of the communication mode is determined by the packet loss rate and the fault tolerance rate.
The cloud storage pool further comprises a cache storage pool, a transferred storage pool and an unvarnished storage pool; the cache storage pool is used for storing pictures from the hard disk, the pictures are not allowed to be modified, and the uploaded storage pool is used for storing the uploaded picture data, wherein the picture data in the uploaded storage pool comprises a first head file with a communication mode identification, a picture identification and a sent time stamp; the unvarnished storage pool comprises the picture data which has determined the transmission mode and waits for transmission; the picture data in the unvarnished storage pool comprises a second header file with a communication mode identifier and a picture identifier;
periodically detecting the storage time length of the pictures in the cache storage pool, and automatically deleting the pictures when the storage time length exceeds the first time length; the uploaded picture data are stored in the uploaded storage pool, feedback data from each level of data center are detected in real time, and when response information confirming receipt is received, the corresponding picture data are deleted; wherein the response message includes the first header file; and when the transmitted storage pool determines that the picture data before the time indicated by the time stamp is stored according to the time stamp in the first head file, re-determining the transmission mode and retransmitting the picture data.
Wherein when
Figure 718951DEST_PATH_IMAGE017
Figure 266607DEST_PATH_IMAGE003
Then, determining the information of the person appearing in the picture, specifically comprising: determining the number of persons in the picture and determining the current temperature of each person in the picture
Figure 233426DEST_PATH_IMAGE018
Selecting
Figure 473914DEST_PATH_IMAGE019
The method comprises the steps that (1) people are used as target people, characteristic information of the target people is obtained, the number M of the target people is determined, the passing points of the target people are obtained, and the passing points with abnormity and the number N of the passing points are determined;
when the value of M x N is larger than a preset threshold value, selecting a transmission mode different from the picture data to upload the related information of the personnel according to the current transmission rate and stability of each communication mode;
wherein the personnel-related information includes: the method comprises the following steps of obtaining characteristic information of target personnel, the number M of the target personnel, the number N of abnormal passing points and abnormal passing points, and a header file of picture data.
The system comprises a three-level data center, a four-level data center, a two-level data center, a first-level data center and a second-level data center, wherein the three-level data center receives picture data from the four-level data center, the two-level data center simultaneously receives picture data from the three-level data center and the four-level data center, and the one-level data center simultaneously receives picture data from the two; after receiving the picture data, each level of data center adds a data center identifier in a header file; the first level, second level and third level data centers verify the received picture data, including: comparing and verifying the plurality of picture data according to the size of the picture, the picture identification and the time stamp in the header file; if the image data are consistent with the image data, only one image data is reserved, and identification information of each level of data center through which the image data pass is added in a header file of the image data.
The invention has the advantages that the invention provides a picture processing method with temperature information, which not only can obtain the picture captured by the early warning system, but also can obtain the temperature of all pixel points from the real-time video stream and synthesize the temperature to obtain the picture with the temperature information, and the picture can be modified based on the area to be detected through the offline picture temperature analysis software to obtain the temperature information of the required area, so that a user can obtain the temperature information of any point on the picture according to the actual requirement; meanwhile, the invention also sets an uploading strategy of the picture data, realizes the storage of the source data through the unchangeable cache storage pool, and ensures the safety, stability and reliability of the uploading of the picture data through the setting of the uploading mode; the data accuracy is improved by setting different verification modes for newly-transmitted data and re-transmitted data.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a framework diagram of an implementation of the preferred embodiment of the present invention;
FIG. 2 is a flow chart of picture capture in accordance with a preferred embodiment of the present invention;
fig. 3 is a diagram of a picture analysis editing flow of the preferred embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
As shown in fig. 1, the image processing method with temperature information provided by the present invention saves the temperatures of all pixel points of the full screen while capturing the image. The temperature information of any pixel point on the picture can be acquired through a special picture analysis tool. And realizing the off-line analysis of the temperature of any point in the picture.
A method for processing pictures with temperature information, wherein a capturing process is shown in fig. 2, the method comprises:
when the picture is captured, the temperatures corresponding to all pixel points of the full screen are saved; namely, when the temperature detection early warning system captures the picture, the temperature information of all pixel points of the full screen is simultaneously stored;
synthesizing a first picture with temperature information according to the captured picture and the temperatures of all pixel points;
storing the first picture in a hard disk;
acquiring a temperature area to be measured;
editing the first picture according to the area to be measured to generate a second picture; by adding an off-line picture temperature analysis software, the software can open a picture file with temperature and edit (add, modify and delete) a temperature measurement area on the picture to obtain temperature information of any point on the picture; meanwhile, the color palette can be modified, and the background picture can be regenerated, wherein the specific content is shown in fig. 3; the user can set different areas according to different detected targets and display temperature information in the specific areas.
Covering the second picture with the first picture, or storing the second picture in a mode of the first picture copy; the stored information includes pictures, temperature data and picture parameters.
When the temperature detection early warning system captures a picture, full-screen temperature data is captured at the same time and stored in the hard disk in a specific format, and when the picture file is browsed by a conventional picture browsing tool, only one common picture is obtained; when the special picture temperature analysis tool is opened, temperature measurement areas can be added, modified and deleted on the picture, temperature measurement parameters such as color palettes and radiances can be modified, temperature measurement operation on any point of the picture can be achieved, the original picture can be updated, and a newly edited picture can be stored.
After the picture is edited locally, the picture can be uploaded to a data center through a cloud, wherein the picture can comprise a first picture and/or a second picture.
Uploading the pictures to a cloud storage pool, wherein the pictures in the cloud storage pool are not allowed to be edited; since the storage pool disables the editing function, it has only the encapsulation and transmission functions of data, thereby securing the security of the source data.
After the cloud storage pool obtains the picture, obtaining the highest temperature value T in the picture and the personnel density P of the environment where the picture is located; selecting an uploading strategy according to the highest temperature value and the personnel density P, and uploading the picture data to a data center according to the uploading strategy, wherein the data center adopts a hierarchical structure and sequentially comprises a first-level data center, a second-level data center, a third-level data center and a fourth-level data center from top to bottom; various communication modes are supported between each level of data center and the cloud storage pool; the multiple communication modes can be various common communication modes at present, and include one or more of various long-distance communication modes such as wired communication, wireless communication, 4G, 5G, WIFI (wireless fidelity), GPRS (general packet radio service), microwave communication and satellite communication. Besides supporting various existing communication modes, a special safety channel is also built between each level of data centers for realizing specific data transmission.
When the detection is to detect the temperature of the person in the captured picture, the maximum value refers to the maximum value of the temperature of the person in the picture, and a specific detection target can be set according to actual requirements, so that the density can be changed according to the actual requirements.
The selecting of the uploading strategy according to the maximum temperature value T and the personnel density P specifically comprises the following steps:
when in use
Figure 893394DEST_PATH_IMAGE001
Determining a communication mode with the highest stability between the cloud storage pool and each level of data center, and then sending the picture data to each data center simultaneously based on the determined communication mode, wherein the communication modes between each data center and the cloud storage pool can be different or the same;
in the field, high temperature may have different standards, and when the temperature is higher than a certain value, the high temperature is in a dangerous state, such as a person is in a high-burning state (greater than 38.5 (adults) or 39 (children)), or the temperature of the equipment exceeds an upper limit value, and therefore, for the temperature higher than the standard value, a high-level threshold is set to identify whether the high-risk state is in, and for the state, regardless of the density of the persons, reporting needs to be performed in a most stable manner, so as to improve the stability of data, facilitate emergency processing of the data centers at different levels for the received data, and be able to timely discover abnormal conditions of each area, and make similar emergency measures according to corresponding plans, improve the consistency of processing abnormal matters of the data centers at different levels, and improve emergency efficiency.
When in use
Figure 241811DEST_PATH_IMAGE002
Figure 328716DEST_PATH_IMAGE020
When the weight W of the picture is calculated, when
Figure 740106DEST_PATH_IMAGE004
In time, the cloud storage pool and the primary data are determinedSelecting a communication mode with highest safety for uploading picture data according to a communication mode between centers; determining communication modes between the cloud storage pool and second, third and fourth level data centers, and selecting the communication mode with the highest stability to upload picture data; when in use
Figure 646882DEST_PATH_IMAGE005
Determining a communication mode between the cloud storage pool and the primary and secondary data centers, and selecting the communication mode with the highest security to upload picture data; determining a communication mode between the cloud storage pool and the third-level and fourth-level data centers, and selecting the communication mode with the highest stability to upload picture data; wherein the content of the first and second substances,
Figure 536340DEST_PATH_IMAGE006
is a preset weight threshold; it can be determined statistically from historical data or empirically in the art. When uploading picture data to the upper data center, the lower data center uses the redundant link to perform communication, that is, at least two communication modes are used for transmission, for example, the communication mode is determined based on the stabilization and/or the safety of the communication mode.
Wherein the content of the first and second substances,
Figure 743331DEST_PATH_IMAGE021
(ii) a a. b is a constant coefficient;
when in use
Figure 325622DEST_PATH_IMAGE022
Figure 719694DEST_PATH_IMAGE011
Then, determining a communication mode between the cloud storage pool and the second-level data center, selecting a communication mode with the highest security to upload picture data, determining a communication mode between the cloud storage pool and the third-level and fourth-level data centers, and selecting a communication mode with the highest stability to upload the picture data; the first-level data center respectively obtains picture data from the second-level data center, the third-level data center and the fourth-level data center, and pictures are included according to the picture dataChecking the picture of a header file of the data;
when in use
Figure 412844DEST_PATH_IMAGE009
Figure 208761DEST_PATH_IMAGE010
Determining a communication mode between the cloud storage pool and the third-level data center, selecting a communication mode with the highest security to upload picture data, determining a communication mode between the cloud storage pool and the fourth-level data center, and selecting a communication mode with the highest stability to upload the picture data; the second-level data center respectively acquires picture data from the third-level data center and the fourth-level data center, and checks the picture according to a header file comprising the picture data; the first-level data center respectively acquires picture data from the second-level data center, the third-level data center and the fourth-level data center, and checks the picture according to a header file comprising the picture data;
when in use
Figure 961954DEST_PATH_IMAGE023
Figure 843322DEST_PATH_IMAGE008
When the current is over; determining a communication mode between the cloud storage pool and the four-level data center, and selecting the communication mode with the highest security to upload picture data; then, the four-level data center respectively uploads the picture data to the first-level data center, the second-level data center and the third-level data center in sequence.
Wherein the content of the first and second substances,
Figure 340163DEST_PATH_IMAGE024
is to determine a high level threshold for the area indicated by the picture from historical temperature data,
Figure 990587DEST_PATH_IMAGE025
determining a normal temperature value of a region indicated by the picture according to historical temperature data;
Figure 649101DEST_PATH_IMAGE014
according to the picture instituteAn average density value determined from historical density data indicative of the region;
Figure 283345DEST_PATH_IMAGE015
determining the highest temperature value of the area indicated by the picture according to historical temperature data;
Figure 318297DEST_PATH_IMAGE016
determining the highest density value of the area indicated by the picture according to historical temperature data; wherein, the stability is determined according to the packet loss rate and the signal strength; wherein the security is determined by the packet loss rate and the fault tolerance rate.
According to the invention, the uploading process of the picture data is set through the mode, and the communication mode is selected based on different network performances in the uploading process, so that not only are various transmission resources supported by the equipment effectively utilized, but also the safety and stability of data transmission are ensured; the method and the device can be better suitable for processing various picture data, and the processing efficiency of the network is improved.
The cloud storage pool further comprises a cache storage pool, a transferred storage pool and an unvarnished storage pool; the cache storage pool is used for storing pictures from the hard disk, the pictures are not allowed to be modified, and the uploaded storage pool is used for storing the uploaded picture data, wherein the picture data in the uploaded storage pool comprises a first head file with a communication mode identification, a picture identification and a sent time stamp; the unvarnished storage pool comprises the picture data which has determined the transmission mode and waits for transmission; the picture data in the unvarnished storage pool comprises a second header file with a communication mode identifier and a picture identifier;
periodically detecting the storage time length of data in the cache storage pool, and automatically deleting the data when the storage time length exceeds the first time length; detecting feedback data from each level of data center in real time in the transmitted storage pool, and deleting corresponding picture data when receiving response information confirming receipt; wherein the response message includes the first header file; and when the transmitted storage pool determines that the picture data before the time indicated by the time stamp is stored according to the time stamp in the first head file, re-determining the transmission mode and retransmitting the picture data.
In the process, the data center only feeds back and confirms that the response information is received, and does not feed back the data which is not received, and the cloud storage pool can determine the data which fails to be transmitted according to the timestamp in the response information and then retransmit the data which fails to be transmitted; therefore, the picture data stored in the transmitted storage pool comprises the transmission mode used before, so that the retransmission is carried out by using the transmission mode which is different from the previous transmission mode and receives the response information, thereby improving the reliability of the retransmission. Preferably, the cloud storage may further include a retransmission storage pool; the retransmission data may also be dumped to an untransmitted memory pool for transmission.
Wherein when
Figure 88807DEST_PATH_IMAGE017
Figure 649714DEST_PATH_IMAGE003
Then, determining the information of the person appearing in the picture, specifically comprising: determining the number of persons in the picture and determining the current temperature of each person in the picture
Figure 771253DEST_PATH_IMAGE018
Selecting
Figure 609896DEST_PATH_IMAGE019
When the value of M x N is larger than a preset threshold value, a transmission mode different from picture data is selected according to the current transmission rate and stability of each communication mode to upload the related information of the personnel, and the related information of the personnel is transmitted to each data center, wherein the related information of the personnel comprises: the method comprises the following steps of obtaining characteristic information of target personnel, the number M of the target personnel, the number N of abnormal passing points and abnormal passing points, and a header file of picture data. Wherein the characteristic information of the target person may be biological characteristic information,Terminal identification, identity information, etc.
The transmission of the personnel related information uses a transmission mode different from that of the picture data and simultaneously transmits the personnel related information to the data centers at all levels, so that the missing report and the wrong report of the data can be prevented, the safety and the accuracy of the data centers at all levels are improved, the data centers at all levels can assign proper measures conveniently, and the inconsistency of the upper and lower data centers for exception handling is reduced.
When uploading the personnel related information to the upper data center, the lower data center uses the redundant link to perform communication, that is, at least uses two communication modes to perform transmission, for example, at least one communication mode is determined based on the stabilization and/or safety of the communication modes, and a special safety channel between the data centers is used to perform transmission. Therefore, the safety and timeliness of the information transmission are improved.
The system comprises a three-level data center, a four-level data center, a two-level data center, a first-level data center and a second-level data center, wherein the three-level data center receives picture data from the four-level data center, the two-level data center simultaneously receives picture data from the three-level data center and the four-level data center, and the one-level data center simultaneously receives picture data from the two; after receiving the picture data, each level of data center adds a data center identifier in a header file; the first level, second level and third level data centers verify the received picture data, including: comparing and verifying the plurality of picture data according to the size of the picture, the picture identification and the time stamp in the header file; if the image data are consistent, only one image data is reserved, and identification information of each level of data center through which the image data pass is added in a header file of the image data;
if the picture data are inconsistent, acquiring the picture data again from the buffer storage pool, wherein header files of the image data which are acquired again also comprise T, P corresponding to the picture and region information, then comparing again according to the region information, the value of T × P, the size of the picture and picture marks in the header files, determining the picture data which are consistent with the image data which are acquired again and data center marks (reliable data center marks) corresponding to the picture data which are acquired again, and then determining marks (unreliable data center marks) of data centers corresponding to the inconsistent picture data; respectively adding a reliable data center identifier and an unreliable data center identifier in a header file of the picture data; when the upper-level data center finishes the data determination, the determined image data is sent to the unreliable data center again, and the data abnormality is informed; the reliability of the data center can be used for evaluating each data center.
And for the data acquired from the cache storage pool, different indexes are adopted for comparison and verification, so that the safety of data verification is improved, and the accuracy of data of each level of data center is ensured.
Wherein when
Figure 969334DEST_PATH_IMAGE017
Figure 235230DEST_PATH_IMAGE003
When the real-time data is processed, the abnormal data can be informed through a display device independently arranged in the detected environment; when the processed data is not real-time data, the abnormal information can be informed in a short message mode and the like by acquiring the terminal information of the target person; and informing a management mechanism to which the target person belongs to check. Therefore, various exceptions can be processed in time, and potential risks are reduced.
The invention provides a picture processing method with temperature information, which can not only obtain a picture captured by an early warning system, but also obtain the temperature of all pixel points from a real-time video stream and synthesize the temperature to obtain a picture with temperature information, and can modify the picture based on a region to be detected through offline picture temperature analysis software to obtain the temperature information of a required region, so that a user can obtain the temperature information of any point on the picture according to actual needs; meanwhile, the invention also sets an uploading strategy of the picture, realizes the storage of the source data through the unchangeable cache storage pool, and ensures the safety, stability and reliability of the uploading of the picture data through the setting of the uploading mode; the data accuracy is improved by setting different verification modes for newly-transmitted data and re-transmitted data.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (3)

1. A picture processing method with temperature information, the method comprising:
when the picture is captured, the temperatures corresponding to all pixel points of the full screen are saved;
synthesizing a first picture with temperature information according to the captured picture and the temperatures of all pixel points;
storing the first picture in a hard disk;
acquiring a temperature area to be measured;
editing the first picture according to the area to be measured to generate a second picture;
covering the second picture with the first picture, or storing the second picture in a mode of the first picture copy;
uploading the stored pictures to a cloud storage pool, wherein the pictures in the cloud storage pool are not allowed to be edited;
after the cloud storage pool obtains the picture, obtaining the highest temperature value T in the picture and the personnel density P of the environment where the picture is located; selecting an uploading strategy according to the highest temperature value T and the personnel density P, and uploading the picture data to a data center according to the uploading strategy;
the data center adopts a hierarchical structure and sequentially comprises a first-level data center, a second-level data center, a third-level data center and a fourth-level data center from top to bottom, wherein the upper-level data center can manage the lower-level data center, and the lower-level data center uploads picture data to the upper-level data center according to a specific uploading strategy after receiving the picture data; various communication modes are supported between each level of data center and the cloud storage pool;
selecting an uploading strategy according to the maximum temperature value T and the personnel density P specifically comprises the following steps:
when T is>TgThen, a communication mode with the highest stability between the cloud storage pool and each level of data center is determined, and then the picture data are simultaneously sent to each data center based on the determined communication mode, wherein the communication modes between each data center and the cloud storage pool can be different;
when T isg≥T>TSign boardAnd P is more than or equal to PSign boardWhen W is larger than W, the weight W of the picture is calculatedSign boardDetermining a communication mode between the cloud storage pool and the primary data center, and selecting the communication mode with the highest security to upload picture data; determining communication modes between the cloud storage pool and second, third and fourth level data centers, and selecting the communication mode with the highest stability to upload picture data; when W is<WSign boardDetermining a communication mode between the cloud storage pool and the primary and secondary data centers, and selecting the communication mode with the highest security to upload picture data; determining a communication mode between the cloud storage pool and the third-level and fourth-level data centers, and selecting the communication mode with the highest stability to upload picture data; wherein, WSign boardIs a preset weight threshold;
wherein the content of the first and second substances,
Figure FDA0002570606520000021
a. b is a constant coefficient;
when T isg≥T>TSign boardAnd P is<PSign boardThen, determining a communication mode between the cloud storage pool and the second-level data center, selecting a communication mode with the highest security to upload picture data, determining a communication mode between the cloud storage pool and the third-level and fourth-level data centers, and selecting a communication mode with the highest stability to upload the picture data; the first-level data center respectively acquires picture data from the second-level data center, the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data;
when T isSign boardNot less than T and P not less than PSign boardDetermining a communication mode between the cloud storage pool and the third-level data center, and selecting securityUploading picture data in the highest communication mode, determining the communication mode between the cloud storage pool and the four-level data center, and uploading the picture data in the communication mode with the highest stability; the second-level data center respectively acquires picture data from the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data; the first-level data center respectively acquires picture data from the second-level data center, the third-level data center and the fourth-level data center, and checks the picture according to a header file of the picture data;
when T isSign boardNot less than T and P<PSign boardWhen the current is over; determining a communication mode between the cloud storage pool and the four-level data center, and selecting the communication mode with the highest security to upload picture data; then, the four-level data center respectively uploads the picture data to the first-level data center, the second-level data center and the third-level data center in sequence;
wherein, TgIs to determine a high level threshold, T, for the region indicated by the picture from historical temperature dataSign boardDetermining a normal temperature value of a region indicated by the picture according to historical temperature data; pSign boardAn average density value determined according to historical density data of the area indicated by the picture; t ismaxDetermining the highest temperature value of the area indicated by the picture according to historical temperature data; pmaxDetermining the highest density value of the area indicated by the picture according to the historical density data; the stability of the communication mode is determined according to the packet loss rate and the signal strength; the safety of the communication mode is determined by the packet loss rate and the fault tolerance rate.
2. The method of claim 1, wherein the cloud storage pools comprise a cache pool, a transferred pool, and an unvarnished pool; the cache storage pool is used for storing pictures from the hard disk, the pictures are not allowed to be modified, and the uploaded storage pool is used for storing the uploaded picture data, wherein the picture data in the uploaded storage pool comprises a first head file with a communication mode identification, a picture identification and a sent time stamp; the unvarnished storage pool comprises the picture data which has determined the transmission mode and waits for transmission; the picture data in the unvarnished storage pool comprises a second header file with a communication mode identifier and a picture identifier;
the method comprises the steps that a cache storage pool periodically detects the storage time length of pictures in the cache storage pool, and when the storage time length exceeds a first time length, the pictures are automatically deleted; the uploaded picture data are stored in the uploaded storage pool, feedback data from each level of data center are detected in real time, and when response information confirming receipt is received, the corresponding picture data are deleted; wherein the response message includes the first header file; and when the transmitted storage pool determines that the picture data before the time indicated by the time stamp is stored according to the time stamp in the first head file, re-determining the transmission mode and retransmitting the picture data.
3. The method of claim 2,
when T is>TSign boardAnd P is more than or equal to PSign boardThen, determining the information of the person appearing in the picture, specifically comprising: determining the number of persons in the picture and determining the current temperature T of each person in the picturenowSelecting Tnow>TSign boardThe method comprises the steps that (1) people are used as target people, characteristic information of the target people is obtained, the number M of the target people is determined, the passing points of the target people are obtained, and the passing points with abnormity and the number N of the passing points are determined;
when the value of M x N is larger than a preset threshold value, selecting a transmission mode different from the picture data to upload the related information of the personnel according to the current transmission rate and stability of each communication mode;
wherein the personnel-related information includes: the method comprises the following steps of obtaining characteristic information of target personnel, the number M of the target personnel, abnormal passing points and the number N thereof, and a header file of picture data.
CN202010433666.1A 2020-05-21 2020-05-21 Picture processing method with temperature information Active CN111343209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010433666.1A CN111343209B (en) 2020-05-21 2020-05-21 Picture processing method with temperature information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010433666.1A CN111343209B (en) 2020-05-21 2020-05-21 Picture processing method with temperature information

Publications (2)

Publication Number Publication Date
CN111343209A CN111343209A (en) 2020-06-26
CN111343209B true CN111343209B (en) 2020-08-25

Family

ID=71188105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010433666.1A Active CN111343209B (en) 2020-05-21 2020-05-21 Picture processing method with temperature information

Country Status (1)

Country Link
CN (1) CN111343209B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844727A (en) * 2017-02-10 2017-06-13 珠海经济特区远宏科技有限公司大连分公司 The treatment of large nuber of images characteristic distributed capture and hierarchical application system and method
CN107655576A (en) * 2017-09-20 2018-02-02 北京许继电气有限公司 Infrared thermal imaging on-line monitoring method and system
CN109818789A (en) * 2019-01-22 2019-05-28 苏州科达科技股份有限公司 Picture transmission method and system, storage medium, electronic equipment
CN110702240A (en) * 2018-07-09 2020-01-17 北京蜂盒科技有限公司 Body temperature early warning method and device based on identity recognition

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294611B (en) * 2013-03-22 2015-06-17 浪潮电子信息产业股份有限公司 Server node data cache method based on limited data consistency state
CN104125397B (en) * 2014-06-30 2018-12-14 联想(北京)有限公司 A kind of data processing method and electronic equipment
GB2574571A (en) * 2018-03-09 2019-12-18 Land Instruments Int Ltd Alignment system for an infra-red sensor
CN109087304B (en) * 2018-06-15 2021-09-03 广东大仓机器人科技有限公司 Thermal imaging module-based super-threshold region dividing method
CN110782426B (en) * 2018-09-11 2022-07-12 成都极米科技股份有限公司 Background extraction method and target discrimination method
CN109378079A (en) * 2018-09-27 2019-02-22 同济大学 A kind of system and method based on Cases for Fever Symptom Monitoring infectious disease
CN110332995A (en) * 2019-06-13 2019-10-15 深圳市中科鸿智科技有限公司 Contactless humanbody temp measuring method, device, system and storage medium
CN110298433A (en) * 2019-07-09 2019-10-01 杭州麦乐克科技股份有限公司 A kind of indoor human body quantity survey (surveying) device
CN111128399B (en) * 2020-03-30 2020-07-14 广州地理研究所 Epidemic disease epidemic situation risk level assessment method based on people stream density

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844727A (en) * 2017-02-10 2017-06-13 珠海经济特区远宏科技有限公司大连分公司 The treatment of large nuber of images characteristic distributed capture and hierarchical application system and method
CN107655576A (en) * 2017-09-20 2018-02-02 北京许继电气有限公司 Infrared thermal imaging on-line monitoring method and system
CN110702240A (en) * 2018-07-09 2020-01-17 北京蜂盒科技有限公司 Body temperature early warning method and device based on identity recognition
CN109818789A (en) * 2019-01-22 2019-05-28 苏州科达科技股份有限公司 Picture transmission method and system, storage medium, electronic equipment

Also Published As

Publication number Publication date
CN111343209A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111861951B (en) Dual-band monitoring method, device and system based on infrared light and visible light
CN105354773B (en) System for evidence preservation and verification on traffic accident scene
CN104867263B (en) Camera positioning alarm method and system
KR101794005B1 (en) Error detection system for network camera
KR101348617B1 (en) Surveillance systemme using wireless network, master sensor node and server apparatus
CN101488967A (en) Video transmission method, embedded monitoring terminal and monitoring platform server
CN110648489B (en) Storehouse early warning system based on infrared thermal imaging ignition point identification
CN111343209B (en) Picture processing method with temperature information
CN105894602A (en) Work order processing method and device
WO2015037304A1 (en) Image monitoring system and image transmission method
JP2004064276A (en) Remote monitoring system
KR101657522B1 (en) Network camera and method for operating recorder thereof
US11398091B1 (en) Repairing missing frames in recorded video with machine learning
WO2021004268A1 (en) Monitoring system and method
KR100936443B1 (en) Vehicle monitoring system and method using the same
CN112422900A (en) Video data storage method based on block chain
US20040008257A1 (en) Monitoring service process using communication network
CN111458038B (en) Infrared monitoring method, device and system based on revolving body
KR101753194B1 (en) Apparatus and method for connection of image between heterogenous networks
CN111854961B (en) Infrared monitoring method, device and system based on high-temperature object in target environment
JP4527740B2 (en) VIDEO COLLECTION METHOD, VIDEO COLLECTION SYSTEM, VIDEO COLLECTION PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
KR101903072B1 (en) Apparatus and method for visually checking result of control
CN111833373B (en) Infrared monitoring method, device and system based on moving object in target environment
CN112422893B (en) Internet of things mass data construction site video image processing method
JPH0344230A (en) Facsimile server

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An image processing method with temperature information

Effective date of registration: 20210617

Granted publication date: 20200825

Pledgee: Hangzhou branch of Bank of Nanjing Co.,Ltd.

Pledgor: ZHEJIANG SHUANGSHI INFRARED TECHNOLOGY Co.,Ltd.

Registration number: Y2021330000579

PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220704

Granted publication date: 20200825

Pledgee: Hangzhou branch of Bank of Nanjing Co.,Ltd.

Pledgor: ZHEJIANG SHUANGSHI INFRARED TECHNOLOGY Co.,Ltd.

Registration number: Y2021330000579

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A kind of picture processing method with temperature information

Effective date of registration: 20220824

Granted publication date: 20200825

Pledgee: Hangzhou branch of Bank of Nanjing Co.,Ltd.

Pledgor: ZHEJIANG SHUANGSHI INFRARED TECHNOLOGY Co.,Ltd.

Registration number: Y2022330001893

PE01 Entry into force of the registration of the contract for pledge of patent right
CP03 Change of name, title or address

Address after: Room 1003, South Block, building 9, 88 Jiangling Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee after: Zhejiang Shuangshi Technology Co.,Ltd.

Address before: Room 1003, South Block, Building 9, No. 88, Jiangling Road, Xixing Street, Binjiang District, Hangzhou City, Zhejiang Province, 310000

Patentee before: ZHEJIANG SHUANGSHI INFRARED TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address