Method and device for monitoring types of liquid in tank truck, tank truck and medium
By obtaining the weight information and spectral analysis of the tank truck, identifying the type of liquid in the tank truck, solving the problem of mixed use risks in tank truck transportation, achieving safety supervision of food transportation, and avoiding cross-contamination.
Patent Information
- Application Number
- CN202411203451.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-20
AI Technical Summary
When tank trucks transport different types of liquid food or switch between food and non-food, they are prone to risk of mixed use, resulting in cross-contamination and affecting food safety.
By obtaining the weight information of the tank truck, determining its usage status, and using spectral analysis to obtain the target spectrum map, comparing the similarity with the preset spectral map set, monitoring and identifying the types of liquids in the tank truck in real time, and avoiding cross-contamination.
Real-time monitoring of the types of liquids in the tank truck is realized, effectively supervising the transportation process, avoiding cross-contamination, and ensuring the safety of food transportation.
Smart Images

Figure CN119164902A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method for monitoring the type of liquid in a tank truck, a device for monitoring the type of liquid in a tank truck, a computer-readable storage medium and a tank truck. Background Art
[0002] When tank trucks transport different types of liquid foods, or switch between food and non-food, if strict management and prevention measures are not taken, there is a risk of mixing, which in turn leads to cross contamination and affects food safety. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a method for monitoring the type of liquid in a tank truck, obtain the weight information of a target tank truck; determine that the target tank truck is in use based on the weight information, obtain a target spectrum of the liquid in the target tank truck; determine the type of liquid in the target tank truck based on the target spectrum and a set of preset spectrums. The monitoring method of the present invention can monitor the type of liquid in a tank truck in use in real time, realize effective supervision of tank truck transportation, avoid cross contamination to a certain extent, and ensure food transportation safety.
[0004] A second object of the present invention is to provide a device for monitoring the type of liquid in a tank truck.
[0005] A third object of the present invention is to provide a computer-readable storage medium.
[0006] A fourth object of the present invention is to provide a tank truck.
[0007] To achieve the above-mentioned objectives, a first aspect of an embodiment of the present invention proposes a method for monitoring the type of liquid in a tank truck, the method comprising: obtaining weight information of a target tank truck; determining that the target tank truck is in use based on the weight information, and obtaining a target spectrum of the liquid in the target tank truck; determining the type of liquid in the target tank truck based on the target spectrum and a preset spectrum set.
[0008] According to one embodiment of the present invention, determining the type of liquid in a target tank truck based on a target spectrum and a preset spectrum set includes: obtaining a similarity value between the target spectrum and the preset spectrum set, wherein the preset spectrum set includes a plurality of preset spectrums; and determining the type of liquid in the target tank truck based on the similarity value.
[0009] According to one embodiment of the present invention, determining the type of liquid in the target tank truck according to the similarity value includes: when the similarity value exceeds a preset similarity threshold, determining that the type of liquid in the target tank truck is the type of liquid corresponding to the preset spectrum.
[0010] According to one embodiment of the present invention, obtaining a similarity value between a target spectrum graph and a preset spectrum graph includes: obtaining a position error between an absorption peak position of the target spectrum graph and an absorption peak position of each preset spectrum graph; obtaining an intensity error between an absorption peak intensity of the target spectrum graph and an absorption peak intensity of each preset spectrum graph; and determining a similarity value between the target spectrum graph and each preset spectrum graph based on the position error and the intensity error.
[0011] According to one embodiment of the present invention, the similarity value between the target spectrum and each preset spectrum is determined based on the position error and the intensity error, including: calculating the sum of the position error multiplied by a first preset coefficient and the intensity error multiplied by a second preset coefficient; determining the similarity value between the target spectrum and the preset spectrum based on the difference between the preset value and the sum, wherein the preset value is 1.
[0012] According to an embodiment of the present invention, the method further comprises: if there are multiple similarity values exceeding a preset similarity value threshold, issuing a review reminder message.
[0013] According to one embodiment of the present invention, obtaining a target spectrum of liquid in a target tank truck includes: obtaining a spectrum signal of the liquid in the target tank truck; generating a corresponding electrical signal according to the spectrum signal; and generating the target spectrum according to the electrical signal.
[0014] To achieve the above-mentioned purpose, the second embodiment of the present invention proposes a monitoring device for the type of liquid in a tank truck, the device comprising: a first acquisition module, used to obtain the weight information of the target tank truck; a second acquisition module, used to determine based on the weight information that the target tank is in use, and obtain a target spectrum of the liquid in the target tank; a determination module, used to determine the type of liquid in the target tank truck based on the target spectrum and a preset spectrum set.
[0015] To achieve the above objectives, a third aspect of the present invention proposes a computer-readable storage medium on which a monitoring program for the type of liquid in a tank truck is stored. When the monitoring program for the type of liquid in a tank truck is executed by a processor, the aforementioned method for monitoring the type of liquid in a tank truck is implemented.
[0016] To achieve the above-mentioned objectives, a fourth aspect of the present invention proposes a tank truck, comprising a memory, a processor, and a monitoring program for the type of liquid in the tank truck stored in the memory and executable on the processor. When the processor executes the monitoring program for the type of liquid in the tank truck, the aforementioned method for monitoring the type of liquid in the tank truck is implemented.
[0017] According to the monitoring method, device, tank truck and medium for the type of liquid in a tank truck according to the embodiment of the present invention, the weight information of the target tank truck is obtained; when the target tank truck is determined to be in use based on the weight information, the target spectrum of the liquid in the target tank truck is obtained; the type of liquid in the target tank truck is determined based on the target spectrum and a set of preset spectrum. The monitoring method of the present invention can monitor the type of liquid in a tank truck in use in real time, realize effective supervision of tank truck transportation, avoid cross contamination to a certain extent, and ensure food transportation safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of a method for monitoring the type of liquid in a tank truck according to some embodiments of the present invention;
[0019] Figure 2 A block diagram of a device for monitoring the type of liquid in a tank truck according to some embodiments of the present invention;
[0020] Figure 3 Schematic diagram of a tank truck according to some embodiments of the present invention. DETAILED DESCRIPTION
[0021] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0022] The following describes in detail the method, device, tank truck and medium for monitoring the type of liquid in a tank truck according to an embodiment of the present invention with reference to the accompanying drawings.
[0023] Figure 1 Flow chart of a method for monitoring the type of liquid in a tank truck according to some embodiments of the present invention. Figure 1 The method for monitoring the type of liquid in a tank truck according to an embodiment of the present application may include the following steps:
[0024] S110, obtaining weight information of the target tank truck.
[0025] Specifically, the weight information of the target tank truck can be obtained by detecting a weight sensor disposed below the axle of the tank truck. It should be noted that the method for obtaining the weight information of the target tank truck is not specifically limited here.
[0026] S120, when it is determined according to the weight information that the target tank truck is in use, obtaining a target spectrum of the liquid in the target tank truck.
[0027] Specifically, the target tank truck can be determined to be in use by comparing the weight information of the target tank truck with a first preset weight threshold. For example, if the weight information of the target tank truck is greater than the first preset weight threshold, the target tank truck is determined to be in use, wherein the first preset weight threshold is determined according to actual conditions and is not specifically limited here. When it is determined that the target tank truck is in use, a target spectrum of the liquid in the target tank truck is obtained.
[0028] S130, determining the type of liquid in the target tank truck according to the target spectrum and the preset spectrum set.
[0029] Specifically, after obtaining the target spectrum, the target spectrum is compared with each preset spectrum in the preset spectrum set to determine the type of liquid in the target tank truck. For example, if the target spectrum is highly similar to a preset spectrum in the preset spectrum set, it is determined that the liquid type corresponding to the preset spectrum is the type of liquid in the target tank truck.
[0030] After determining the type of liquid in the target tank truck, a report will be generated, which includes but is not limited to the comparison results of the target spectrum and the preset spectrum, the identified chemical composition and similarity and other information.
[0031] The monitoring method of the present invention can monitor the type of liquid in a tank truck in use in real time, realize effective supervision of tank truck transportation, avoid cross contamination to a certain extent, and ensure food transportation safety.
[0032] In some embodiments, determining the type of liquid in a target tank truck based on a target spectrum and a preset spectrum set includes: obtaining a similarity value between the target spectrum and the preset spectrum set, wherein the preset spectrum set includes multiple preset spectrums; and determining the type of liquid in the target tank truck based on the similarity value.
[0033] Specifically, the absorption peak position and absorption peak intensity of the target spectrum and the absorption peak position and absorption peak intensity of each preset spectrum in the preset spectrum set can be obtained, and the similarity value between the target spectrum and each preset spectrum in the preset spectrum set can be obtained according to the absorption peak position and absorption peak intensity of the target spectrum and the absorption peak position and absorption peak intensity of each preset spectrum. Then, the type of liquid in the target tank truck can be determined according to the similarity value. For example, the similarity values can be sorted from large to small to obtain the maximum similarity value, and the liquid type of the preset spectrum corresponding to the maximum similarity value is used as the liquid type in the target tank truck.
[0034] In some embodiments, determining the type of liquid in the target tank truck according to the similarity value includes: when the similarity value exceeds a preset similarity threshold, determining the type of liquid in the target tank truck as the type of liquid corresponding to the preset spectrum. The preset similarity threshold is determined according to actual conditions, for example, the preset similarity threshold can be 95%, which is not specifically limited here.
[0035] Specifically, a similarity value between the target spectrum and each preset spectrum in the preset spectrum set is obtained, and each similarity value is compared with a preset similarity threshold. If the similarity value between a preset spectrum and the target spectrum exceeds the preset similarity threshold, it is determined that the liquid type corresponding to the preset spectrum is the liquid type in the target tank truck.
[0036] Exemplarily, assuming that the preset spectrum set includes a standard spectrum of ethanol, a standard spectrum of acetone, and a standard spectrum of toluene, similarity values between the target spectrum and the standard spectrum of ethanol, the standard spectrum of acetone, and the standard spectrum of toluene are obtained respectively. If the similarity value between the target spectrum and the standard spectrum of ethanol is greater than 95%, it is determined that the type of liquid in the target tank truck is ethanol.
[0037] In some embodiments, obtaining a similarity value between a target spectrum graph and a preset spectrum graph includes: obtaining a position error between an absorption peak position of the target spectrum graph and an absorption peak position of each preset spectrum graph; obtaining an intensity error between an absorption peak intensity of the target spectrum graph and an absorption peak intensity of each preset spectrum graph; and determining a similarity value between the target spectrum graph and each preset spectrum graph based on the position error and the intensity error.
[0038] In some embodiments, determining the similarity value between the target spectrum and each preset spectrum based on the position error and the intensity error includes: calculating the sum of the position error multiplied by a first preset coefficient and the intensity error multiplied by a second preset coefficient; determining the similarity value between the target spectrum and the preset spectrum based on the difference between the preset value and the sum, wherein the preset value is 1.
[0039] Specifically, the absorption peak position can be extracted from the spectrum using a peak detection algorithm (e.g., a peak finding algorithm), and the peak detection algorithm can also provide the intensity of the absorption peak. The absorption peak position of the target spectrum is matched with the absorption peak position of the preset spectrum, for example, a minimum distance matching algorithm is used to find the matching absorption peak position, and then the position error between the absorption peak position of the target spectrum and the absorption peak position of the preset spectrum is calculated by the following formula:
[0040]
[0041] Then, the absorption peak intensity of the target spectrum is matched with the absorption peak intensity of the preset spectrum, and then the intensity error between the absorption peak intensity of the target spectrum and the absorption peak intensity of the preset spectrum is calculated by the following formula:
[0042]
[0043] Among them, the maximum position error and the maximum strength error are determined according to actual conditions and are not specifically limited here.
[0044] Finally, the similarity value between the target spectrum and the preset spectrum is calculated according to the position error and intensity error by the following formula:
[0045] Similarity value = 1-(first preset coefficient * position error + second preset coefficient * intensity error)
[0046] In this way, the similarity value between the target spectrum and each preset spectrum in the preset spectrum set can be determined using the above calculation method.
[0047] In some embodiments, the above method further includes: if there are multiple similarity values exceeding a preset similarity value threshold, issuing a review reminder message.
[0048] Exemplarily, if there is only one similarity value that exceeds the preset similarity value threshold, the type of liquid in the target tank truck can be directly determined; if there are multiple similarity values that exceed the preset similarity value threshold, a review reminder message is issued to remind the staff to manually detect the type of liquid in the tank truck; if none of the similarity values exceeds the preset similarity value threshold, the target spectrum of the liquid in the target tank truck is re-acquired. If the type of liquid in the tank truck is still not determined after the target spectrum is re-acquired more than the preset number of times, an undetectable reminder message is issued to remind the staff to manually detect the type of liquid in the tank truck.
[0049] In some embodiments, the tank truck is provided with a spectrometer module, a photoelectric detection module and a data processing module, wherein the spectrometer module and the photoelectric detection module are arranged opposite to each other inside the tank of the tank truck. The cloud platform can obtain the weight information of the tank truck in real time, and when it is determined that the tank truck is in use according to the weight information of the tank truck, it issues an instruction to start the spectrometer module, the photoelectric detection module and the data processing module to obtain the target spectrum of the liquid in the target tank truck. Then the data processing module compares the target spectrum with the preset spectrum set, determines the type of liquid in the target tank truck and generates a report. Finally, the data processing module uploads the report to the cloud platform, which stores and analyzes the data in the report and provides detailed conclusions and suggestions.
[0050] In some embodiments, obtaining a target spectrum of liquid in a target tank truck includes: obtaining a spectrum signal of the liquid in the target tank truck; generating a corresponding electrical signal based on the spectrum signal; and generating the target spectrum based on the electrical signal.
[0051] Specifically, when the cloud platform detects that the target tank truck is in use, it will control the spectrometer module to emit preset rays, such as infrared rays, to the liquid in the tank truck. Then the optical elements (such as prisms or gratings) in the spectrometer module will decompose the infrared rays of the liquid in the tank truck to generate spectral signals, and then the spectral signals will be focused on the photoelectric detection module through the optical elements (such as lenses or reflectors) in the spectrometer module. The photoelectric detection module converts the spectral signal into a corresponding electrical signal, and then uploads the electrical signal to the data processing module. The data processing module performs baseline correction on the corresponding electrical signal to eliminate possible drift and noise, and then generates the target spectrum diagram based on the electrical signal.
[0052] In some embodiments, when it is determined that the target tank is empty based on the weight information, a calibration spectral signal of the liquid in the target tank is obtained, and a corresponding calibration electrical signal is generated based on the calibration spectral signal. When the intensity of the calibration electrical signal exceeds a preset electrical signal intensity threshold, it is determined that the calibration of the spectrometer module, the photoelectric detection module, and the data processing module is completed.
[0053] Specifically, the cloud platform can determine whether the target tank truck is in an empty state by comparing the weight information of the target tank truck with the second preset weight threshold. For example, if the weight information of the target tank truck is less than the second preset weight threshold, the target tank truck is determined to be in an empty state, wherein the second preset weight threshold is determined according to actual conditions and is not specifically limited here. When the cloud platform detects that the target tank truck is in an empty state, the spectrometer module, the photoelectric detection module, and the data processing module are calibrated.
[0054] Exemplarily, when the cloud platform detects that the target tank truck is in an empty state, the spectrometer module will be controlled to emit preset calibration rays, such as infrared rays, to the liquid in the tank truck, and then the optical elements (such as prisms or gratings) in the spectrometer module will decompose the infrared rays passing through the liquid in the tank truck to generate calibration spectrum signals, and then the calibration spectrum signals will be focused on the photoelectric detection module through the optical elements (such as lenses or reflectors) in the spectrometer module. The photoelectric detection module converts the calibration spectrum signal into a corresponding calibration electrical signal, and then uploads the calibration electrical signal to the data processing module. The data processing module obtains the intensity of the calibration electrical signal, and compares the intensity of the calibration electrical signal with the preset electrical signal intensity threshold to determine whether the spectrometer module and the photoelectric detection module are aligned in the optical path, and determines that the calibration of the spectrometer module, the photoelectric detection module and the data processing module is completed when the optical path is aligned. For example, if the intensity of the calibration electric signal exceeds the preset electric signal intensity threshold, it is determined that the optical paths of the spectrometer module and the photoelectric detection module are aligned, and then it is determined that the calibration of the spectrometer module, the photoelectric detection module and the data processing module is completed; otherwise, it is determined that the optical paths of the spectrometer module and the photoelectric detection module are not aligned, and adaptive adjustments are required, such as adaptively adjusting the emission angle of the preset calibration ray until the optical path is aligned. In addition, if the spectrometer module, the photoelectric detection module and the data processing module cannot be successfully calibrated, a calibration failure reminder message can be issued to notify the staff to check whether the spectrometer module, the photoelectric detection module and the data processing module are faulty.
[0055] In this way, the accuracy of the target spectrum can be ensured to a certain extent, thereby improving the accuracy of liquid type detection in the tank truck.
[0056] As a specific example, assume that the liquids transported by a tank truck may be three types: ethanol, acetone, and toluene.
[0057] (1) Preset spectrum collection:
[0058] Ethanol: It has characteristic absorption peaks at wavelengths such as 1040cm^-1, 1090cm^-1, and 1450cm^-1.
[0059] Acetone: has characteristic absorption peaks at wavelengths such as 1220cm^-1, 1365cm^-1, and 1700cm^-1.
[0060] Toluene: It has characteristic absorption peaks at wavelengths such as 730cm^-1, 1030cm^-1, and 1600cm^-1.
[0061] (2) Target spectrum:
[0062] The target spectrum has obvious absorption peaks at 1040cm^-1, 1090cm^-1, and 1450cm^-1.
[0063] (3) Spectral comparison:
[0064] The target spectrum has the highest similarity with the ethanol spectrum in the preset spectrum set.
[0065] (4) Ingredient identification:
[0066] The type of liquid in the target tank truck is identified as ethanol.
[0067] (5) Generate report:
[0068] Sample number: 12345
[0069] Test date: 2024-07-17
[0070] Testing equipment: Vehicle-mounted infrared spectrometer
[0071] Test results:
[0072] - Identified ingredients: Ethanol
[0073] - Similarity value: 98.7%
[0074] Details:
[0075] -The target spectrum matches well with the ethanol spectrum at 1040cm^-1, 1090cm^-1, and 1450cm^-1.
[0076] -No obvious interference and noise, the data is reliable.
[0077] In summary, the monitoring method of the present invention can monitor the type of liquid in a tank truck in use in real time, achieve effective supervision of tank truck transportation, avoid cross contamination to a certain extent, and ensure food transportation safety.
[0078] Corresponding to the above-mentioned embodiment, the present application also proposes a device for monitoring the type of liquid in a tank truck.
[0079] Reference Figure 2 The device 200 for monitoring the type of liquid in a tank truck includes: a first acquisition module 210 , a second acquisition module 220 and a determination module 230 .
[0080] The first acquisition module 210 is used to acquire the weight information of the target tank truck. The second acquisition module 220 is used to acquire the target spectrum of the liquid in the target tank when the target tank is determined to be in use according to the weight information. The determination module 230 is used to determine the type of liquid in the target tank truck according to the target spectrum and the preset spectrum set.
[0081] According to one embodiment of the present invention, the determination module 230 is specifically used to obtain a similarity value between a target spectrum and a preset spectrum set, wherein the preset spectrum set includes a plurality of preset spectrums; and determine the type of liquid in the target tank truck according to the similarity value.
[0082] According to one embodiment of the present invention, the determination module 230 is further configured to determine, when the similarity value exceeds a preset similarity threshold, that the type of liquid in the target tank truck is the type of liquid corresponding to the preset spectrum.
[0083] According to one embodiment of the present invention, the determination module 230 is also used to obtain the position error between the absorption peak position of the target spectrum and the absorption peak position of each preset spectrum; obtain the intensity error between the absorption peak intensity of the target spectrum and the absorption peak intensity of each preset spectrum; and determine the similarity value between the target spectrum and each preset spectrum based on the position error and the intensity error.
[0084] According to one embodiment of the present invention, the determination module 230 is further configured to calculate the sum of the position error multiplied by the first preset coefficient and the intensity error multiplied by the second preset coefficient; and determine the similarity value between the target spectrum and the preset spectrum according to the difference between the preset value and the sum, wherein the preset value is 1. According to one embodiment of the present invention, if there are multiple similarity values exceeding the preset similarity value threshold, a review reminder message is issued.
[0085] According to an embodiment of the present invention, the second acquisition module 220 is specifically used to acquire a spectral signal of the liquid in the target tank truck; generate a corresponding electrical signal according to the spectral signal; and generate a target spectrum diagram according to the electrical signal.
[0086] It should be pointed out that the above-mentioned explanation of the embodiment and beneficial effects of the method for monitoring the type of liquid in a tank truck is also applicable to the device for monitoring the type of liquid in a tank truck according to the embodiment of the present invention, and will not be elaborated here in order to avoid redundancy.
[0087] Corresponding to the above embodiments, the present application also proposes a computer-readable storage medium.
[0088] The computer-readable storage medium of the present application stores a monitoring program for the type of liquid in a tank truck, and when the monitoring program for the type of liquid in a tank truck is executed by a processor, the aforementioned method for monitoring the type of liquid in a tank truck is implemented.
[0089] It should be pointed out that the above-mentioned explanation of the embodiment and beneficial effects of the method for monitoring the type of liquid in a tank truck is also applicable to the computer-readable storage medium of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.
[0090] Corresponding to the above-mentioned embodiment, the present application also proposes a tank truck.
[0091] See also Figure 3 As shown, the tank truck 300 of the present application includes a memory 310, a processor 320, and a monitoring program for the type of liquid in the tank truck stored in the memory 310 and executable on the processor 320. When the processor executes the monitoring program for the type of liquid in the tank truck, the aforementioned method for monitoring the type of liquid in the tank truck is implemented.
[0092] It should be pointed out that the above-mentioned explanation of the embodiment and beneficial effects of the method for monitoring the type of liquid in a tank truck is also applicable to the tank truck of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.
[0093] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0094] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0095] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0096] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0097] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0098] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for monitoring the type of liquid in a tank truck, characterized in that: The method comprises: Obtain the weight information of the target tank truck; When it is determined according to the weight information that the target tank truck is in use, obtaining a target spectrum of the liquid in the target tank truck; The type of liquid in the target tank truck is determined according to the target spectrum and the preset spectrum set.
2. The method for monitoring the type of liquid in a tank truck according to claim 1, characterized in that: Determining the type of liquid in the target tank truck according to the target spectrum and the preset spectrum set includes: Obtaining a similarity value between the target spectrogram and the preset spectrogram set, wherein the preset spectrogram set includes a plurality of preset spectrograms; The type of liquid in the target tank truck is determined according to the similarity value.
3. The method for monitoring the type of liquid in a tank truck according to claim 2, characterized in that: Determining the type of liquid in the target tank truck according to the similarity value includes: When the similarity value exceeds a preset similarity threshold, it is determined that the type of liquid in the target tank truck is the type of liquid corresponding to the preset spectrum.
4. The method for monitoring the type of liquid in a tank truck according to claim 2, characterized in that: Obtaining a similarity value between the target spectrum and the preset spectrum includes: Obtaining a position error between an absorption peak position of the target spectrum and an absorption peak position of each of the preset spectrums; Obtaining an intensity error between the absorption peak intensity of the target spectrum and the absorption peak intensity of each of the preset spectrums; The similarity value between the target spectrum image and each of the preset spectrum images is determined according to the position error and the intensity error.
5. The method for monitoring the type of liquid in a tank truck according to claim 4, characterized in that: Determining the similarity value between the target spectrum and each of the preset spectrums according to the position error and the intensity error includes: Calculating a sum of the position error multiplied by a first preset coefficient and the intensity error multiplied by a second preset coefficient; The similarity value between the target spectrum graph and the preset spectrum graph is determined according to a difference between a preset value and the sum value, wherein the preset value is 1.
6. The method for monitoring the type of liquid in a tank truck according to claim 3, characterized in that: The method further comprises: If there are multiple similarity values exceeding the preset similarity value threshold, a review reminder message is issued.
7. The method for monitoring the type of liquid in a tank truck according to claim 1, characterized in that: Obtaining a target spectrum of the liquid in the target tank truck includes: Acquiring a spectral signal of the liquid in the target tank truck; generating a corresponding electrical signal according to the spectral signal; The target spectrum graph is generated according to the electrical signal.
8. A device for monitoring the type of liquid in a tank truck, characterized in that: The device comprises: A first acquisition module is used to acquire weight information of a target tank truck; A second acquisition module is used to acquire a target spectrum of the liquid in the target tank when it is determined that the target tank is in use according to the weight information; A determination module is used to determine the type of liquid in the target tank truck according to the target spectrum and a preset spectrum set.
9. A computer-readable storage medium, characterized in that: A monitoring program for the type of liquid in a tank truck is stored thereon, and when the monitoring program for the type of liquid in a tank truck is executed by a processor, a method for monitoring the type of liquid in a tank truck according to any one of claims 1-7 is implemented.
10. A tank truck, characterized in that: The invention comprises a memory, a processor and a monitoring program for the type of liquid in a tank truck which is stored in the memory and can be run on the processor. When the processor executes the monitoring program for the type of liquid in the tank truck, the monitoring method for the type of liquid in the tank truck according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Liquid identifying device
CN105092484A
Spectral file generation method and device, computer device and storage medium
CN111650137A
Calibration method, device and equipment of remote sensing monitoring host and storage medium
CN114910428A
Colored drawing cultural relic dye identification method, device, system and equipment and storage medium
CN117593573A
Apparatus for controlling liquid kind aboard tank lorry
JP1989294497A
