WO2020014842A1 - Substance detection method and apparatus, terminal, and readable storage medium - Google Patents

Substance detection method and apparatus, terminal, and readable storage medium Download PDF

Info

Publication number
WO2020014842A1
WO2020014842A1 PCT/CN2018/095843 CN2018095843W WO2020014842A1 WO 2020014842 A1 WO2020014842 A1 WO 2020014842A1 CN 2018095843 W CN2018095843 W CN 2018095843W WO 2020014842 A1 WO2020014842 A1 WO 2020014842A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample
substance
database
spectral data
matching
Prior art date
Application number
PCT/CN2018/095843
Other languages
French (fr)
Chinese (zh)
Inventor
骆磊
牟涛涛
Original Assignee
深圳达闼科技控股有限公司
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 深圳达闼科技控股有限公司 filed Critical 深圳达闼科技控股有限公司
Priority to CN201880001297.XA priority Critical patent/CN109073537A/en
Priority to PCT/CN2018/095843 priority patent/WO2020014842A1/en
Publication of WO2020014842A1 publication Critical patent/WO2020014842A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/65Raman scattering

Definitions

  • the present application relates to the field of substance detection, and in particular, to a method, a device, a terminal, and a readable storage medium for substance detection.
  • the current process of identifying a substance to be tested is: obtaining the spectral data of the substance to be tested, and matching the spectral data of the substance to be tested with the spectral data of a known substance, if the similarity with the spectral data of the known substance exceeds The similarity threshold determines that the substance to be tested is a known substance.
  • the inventor discovered during the research of the prior art that the amount of known substances currently contained in the database for substance detection is still very small. If the spectral data of a substance to be tested does not exist in the database, When a substance is tested for a substance, since the spectral data of the substance to be tested is very similar to the spectral data of a known sample in the database, the substance to be tested is often misjudged as a known substance in the database. In view of this situation, the current solution is to increase the similarity threshold of the spectral data of the sample in the database and the spectral data of the substance to be measured. However, when the substance is detected, the substance detection equipment is different, and it will be affected by the environment. The influence of factors, just by increasing the matching similarity threshold, often mistakes the test substance that originally belongs to the known sample in the database as an unknown substance.
  • a technical problem to be solved in some embodiments of the present application is to provide a method, a device, a terminal, and a readable storage medium for substance detection, so as to reduce the probability of misidentification of a substance to be detected.
  • An embodiment of the present application provides a method for detecting a substance, including: obtaining spectral data of the substance to be measured; and determining the relationship between the substance to be measured and the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database.
  • the matching result of each sample in the database includes the spectral data and attribute information of the known sample, and the spectral data and attribute information of the unknown sample. According to the matching result, the detection result of the substance to be tested is determined.
  • An embodiment of the present application further provides a device for detecting a substance, including: an acquisition module, a matching module, and a detection result determination module; the acquisition module is configured to acquire spectral data of a substance to be measured; and the matching module is configured to The spectral similarity between the spectral data and the spectral data of each sample in the database determines the matching results of the substance to be measured and each sample in the database.
  • the database includes the spectral data and attribute information of known samples and the spectral data of unknown samples. And attribute information; the detection result determination module is used to determine the detection result of the substance to be tested according to the matching result.
  • An embodiment of the present application further provides a terminal, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor.
  • the processor executes the method to enable at least one processor to perform the above-mentioned substance detection.
  • An embodiment of the present application further provides a computer-readable storage medium storing a computer program, and the computer program is executed by a processor to implement the foregoing method for detecting a substance.
  • the spectral data of the substance to be measured is matched with the spectral data of the known sample and the spectral data of the unknown sample in the database, and the matching result is obtained.
  • Unknown samples which increases the sample type of the database, increases the number of samples that can be matched by the test substance, reduces the probability of the test substance being misjudged due to the closeness of the spectral data of the known sample, and improves the test Accuracy of substance detection.
  • Sex because there is no need to increase the originally set similarity threshold, avoiding the situation where the known substance is misjudged as an unknown substance due to the increase of the originally set similarity threshold, which improves the accuracy of the substance detection. Sex.
  • FIG. 1 is a specific flowchart of a method for detecting a substance in a first embodiment of the present application
  • FIG. 2 is a specific flowchart of a method for detecting a substance in a second embodiment of the present application
  • FIG. 3 is a specific flowchart of a method for detecting a substance in a third embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a substance detection device in a fourth embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal in a fifth embodiment of the present application.
  • the first embodiment of the present application relates to a method for detecting a substance.
  • the method for detecting a substance can be applied to a terminal for detecting a substance, such as a Raman spectrometer.
  • the specific process of this substance detection method is shown in Figure 1:
  • Step 101 Obtain spectral data of a substance to be measured.
  • spectral data of the substance to be measured can be obtained, for example, by opening a spectrometer and scanning the substance to be measured to obtain spectrum data of the substance to be measured.
  • Step 102 According to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, determine a matching result of the matching of the substance to be tested and each sample in the database, where the database includes the spectral data of the known sample and Attribute information, as well as spectral data and attribute information for unknown samples.
  • the database stores the spectral data and attribute information of known samples, as well as the spectral data and attribute information of unknown samples, where the attribute information is used to indicate the relevant information of the sample, such as the sample name, user Remark information or sample photo information, sample characteristic information, etc .; because the name of the unknown sample is unknown, the user-defined name can be used for the name in the attribute information of the unknown sample, for example, "Unknown 1", "Unknown 2" and so on.
  • the user can increase the number of unknown samples in the database at any time. For example, after the user opens the terminal, the terminal scans an unknown substance to obtain the spectral data of the unknown substance, and acquires the unknown entered by the user The attribute information of the substance, save the spectral data of the unknown substance, the photo of the unknown substance, and the characteristic information of the unknown substance (such as: odor, texture, etc.) to the unknown sample in the database.
  • the terminal scans an unknown substance to obtain the spectral data of the unknown substance, and acquires the unknown entered by the user The attribute information of the substance, save the spectral data of the unknown substance, the photo of the unknown substance, and the characteristic information of the unknown substance (such as: odor, texture, etc.) to the unknown sample in the database.
  • the terminal compares the obtained spectral data with the known and unknown samples stored in the database, obtains the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, and determines the substance to be measured and the database.
  • the matching result of each sample in the comparison can be compared by comparing the characteristic peaks in the acquired spectral data with the characteristic peaks of the saved spectral data of the sample, and determining the spectral similarity according to the comparison result.
  • Method (such as a variable screening method) to determine the matching result of the test substance and each sample in the database.
  • the specific comparison process and screening method are not described in this embodiment. Of course, other methods can also be used to determine the matching result, which is not limited in this embodiment.
  • the spectral preprocessing of the substance to be measured can be performed before the spectral data of the substance to be measured is compared with the sample in the database.
  • the spectral preprocessing can eliminate the interference in the spectral data of the substance to be measured. feature.
  • Step 103 Determine the detection result of the substance to be tested according to the matching result.
  • the matching result includes the matching similarity between the test substance and the sample in the database, and according to the matching result, the process of determining the test result of the test substance is: determining whether the matching similarity corresponding to the sample exceeds a preset similarity To determine the detection result of the substance according to the determination result corresponding to the sample and the attribute information of the sample.
  • the matching result is a comparison between the spectral data of the substance to be measured and the spectral data of the sample in the database, and the matching result after screening, that is, the spectral data of the substance to be measured and the spectral data of the sample in the database are obtained after comparison.
  • Spectral similarity The spectral similarity retained after screening is used as the matching similarity in the matching results.
  • the matching result only includes a matching similarity corresponding to a sample that matches the spectral data of the substance to be measured. For example, the spectral data of the substance 1 to be tested is compared with the sample in the database.
  • the matching result after screening is:
  • the matching similarity of sample A is 90%; it can be understood that the matching result may also include multiple matching similarities, where each matching similarity has a unique corresponding sample that matches the spectral data of the substance to be tested, For example, the spectral data of the test substance 2 is compared with the sample in the database, and the matching result is: the similarity with the sample B is 90%; the similarity with the sample A + C is 80%, of which the sample A + C is expressed as a mixture of sample A and sample C in combination.
  • the preset similarity threshold is set in advance. However, the preset similarity threshold cannot be set too high or too low to avoid affecting the detection result of the substance detection. Therefore, the preset similarity threshold is counted countless times in practice. It is determined by the result of testing the substance.
  • the detection result of the substance to be tested specifically determines the detection result of the substance to be tested: if the sample corresponding to the matching similarity belongs to a known sample, and the determination result is that the matching similarity exceeds a preset similarity threshold value, it is determined to be
  • the test substance is a known substance; if the sample corresponding to the matching similarity belongs to an unknown sample, and the judgment result is that the matching similarity exceeds a preset similarity threshold, the substance to be tested is unknown in the database; if the matching similarity corresponds to If the sample belongs to a mixture of known samples and unknown samples, and the judgment result is that the matching similarity exceeds a preset similarity threshold, the substance to be tested is determined to be a mixture of known samples and unknown samples; if the judgment result is that the matching similarity exceeds a preset similarity threshold, the substance to be tested is determined to be a mixture of known samples and unknown samples; if the judgment result is that the matching
  • the matching result of the test substance 1 is: the matching similarity with the sample A is 90.5%; the matching result of the test substance 2 is: the matching similarity with the sample B is 91%; the matching result of the test substance 3 is: : The matching similarity with sample A + C is 92%; the matching result of test substance 4 is: the matching similarity with sample C is 80%; among them, sample A is a known sample in the database and sample A is already Known substance "fff", sample B and sample C are unknown samples in the database, sample B is unknown substance 1, sample C is unknown substance 2, sample A + C is expressed as a mixture of sample A and sample C, and the preset is similar The threshold is 90%.
  • the attribute information of the sample A it is determined that the sample A belongs to a known sample, and the matching similarity corresponding to the sample A exceeds a preset similarity threshold, and it is determined that the test substance 1 is a known substance “fff”.
  • the attribute information of the sample B it is determined that the sample B belongs to an unknown sample, and the matching similarity corresponding to the sample B exceeds a preset similarity threshold, and it is determined that the substance to be measured 2 is the unknown substance 1 in the database.
  • the sample A + C belongs to the mixture in the database, and the matching similarity corresponding to the sample A + C exceeds a preset similarity threshold, and the test substance 3 is determined to be a known substance “fff” and unknown. Mixture of substance 2 combinations.
  • the matching similarity corresponding to the sample D is lower than the preset similarity threshold, it is determined that the substance 4 to be tested is a new unknown, and the new unknown is not in the database.
  • Step 104 Display the detection result of the substance to be measured.
  • the stored attribute information of the known substance such as name, characteristics, photos, or remark information
  • the detection result is an unknown substance in the database
  • the attribute information of the unknown substance stored in the database is displayed, such as a custom name ("Unknown substance 1"), a photo, etc.
  • the detection result is a mixture of a known sample and an unknown sample combination in the database
  • the attribute information of the known sample and the attribute information of the unknown sample in the database are displayed.
  • an unrecognized mark is displayed, such as "unrecognized”.
  • step 103 After determining the detection result of the test substance in step 103, if it is determined that the test substance is a new unknown object, attribute information and spectral data of the new unknown object are added to the unknown sample in the database.
  • the attribute information and spectral data of the test substance are automatically added to the unknown sample in the database.
  • step 104 there is no sequence between step 104 and the step of adding a new unknown to the database, and they can be performed at the same time (for example, by using an asynchronous process) or at different times.
  • the spectral data of the substance to be measured is matched with the spectral data of the known sample and the spectral data of the unknown sample in the database, and the matching result is obtained.
  • Unknown samples which increases the sample type of the database, increases the number of samples that can be matched by the test substance, reduces the probability of the test substance being misjudged due to the closeness of the spectral data of the known sample, and improves the test Accuracy of substance detection.
  • Sex because there is no need to increase the originally set similarity threshold, avoiding the situation where the known substance is misjudged as an unknown substance due to the increase of the originally set similarity threshold, which improves the accuracy of the substance detection. Sex.
  • the second embodiment of the present application relates to a method for detecting a substance.
  • the second embodiment is a further improvement on the first embodiment.
  • the main improvement lies in that in this embodiment, after determining the detection result of the substance to be tested, Including: judging whether an update request to update the database is received, and if so, updating the database according to the detection result of the substance to be measured.
  • the specific method of this substance detection method is shown in Figure 2:
  • Step 201 Obtain spectral data of the substance to be measured.
  • Step 202 According to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, determine a matching result that the substance to be tested matches each sample in the database.
  • Step 203 Determine the detection result of the substance to be tested according to the matching result.
  • Step 204 Display the detection result of the substance to be measured.
  • Step 205 Determine whether an update request to update the database is received, and if so, execute step 206; otherwise, end the process.
  • the option of adding a sample may be displayed on the display interface of the substance detection terminal. If the test result of the substance to be tested is a new unknown, the user may receive an update request by selecting the option of adding a sample. In order to easily determine whether an update request is received, the determination may be performed within a preset time period (for example, 30 seconds). Of course, other methods for obtaining update requests can also be adopted, which are not listed here one by one.
  • Step 206 Update the database according to the detection result of the substance to be measured.
  • the spectral data and attribute information of the substance to be tested are added to the unknown sample in the database.
  • the test result of the test substance is a sample stored in the database (that is, the test substance is a known substance, an unknown sample in the database, or a mixture of a known sample and an unknown composition in the database)
  • the attribute information of the test substance is judged Is it the same as the attribute information of the sample stored in the database? If it is the same, the database is not updated; otherwise, the attribute information of the substance to be tested is added to the corresponding sample in the database.
  • steps 201 to 204 in this embodiment are substantially the same as steps 101 to 104 in the first embodiment, and details are not described herein again.
  • steps 205 to 206 may also be performed after execution of step 203.
  • step 205 executes step 204 when it is determined that an update request has not been received.
  • the substance detection method provided in this embodiment updates the database according to whether an update request is received after determining the detection result of the substance to be tested, which makes the database update very flexible and also increases
  • the sample data stored in the database further enriches the content stored in the database and improves the accuracy of the detection of the substance to be detected.
  • the third embodiment of the present application relates to a method for detecting a substance.
  • the third embodiment is a further improvement on the second embodiment.
  • the main improvement is that the embodiment further includes: adding a sample to the database.
  • the specific flow of this substance detection method is shown in Figure 3.
  • Step 301 Obtain spectral data of a substance to be measured.
  • Step 302 Determine the matching result of the substance to be tested and each sample in the database according to the spectral similarity between the spectrum data of the substance to be tested and the spectral data of each sample in the database.
  • Step 303 Determine the detection result of the substance to be tested according to the matching result.
  • Step 304 Display the detection result of the substance to be measured.
  • Step 305 Determine whether an update request to update the database is received. If yes, go to step 306; otherwise, go to step 307.
  • Step 306 Update the database according to the detection result of the substance to be measured. After that, step 307 is executed.
  • Step 307 Receive a request for adding a sample.
  • the user may initiate an addition request to the terminal for substance detection through other terminals, or the user may initiate the addition request through the display interface of the terminal for substance detection.
  • the manner in which a user initiates an add request is not limited.
  • the addition request may carry attribute information and spectral data of the sample to be added, or may not carry attribute information and spectral data of the sample to be added, which is not limited in this embodiment.
  • Step 308 Add the attribute information and the spectral data of the sample to be added to the database according to the adding request.
  • the sample to be added is a known substance, and the attribute information and spectrum data of the sample to be added are obtained according to the addition request; according to the sample name in the attribute information of the sample to be added, it is determined whether the sample to be added is in the database or not. The name of the sample is the same. If it is, the attribute information and spectral data of the sample to be added are added to the known samples in the database according to the user's choice; otherwise, it is determined whether the sample to be added exists in the database according to the spectral data of the sample to be added. If the sample is unknown, add the attribute information and spectral data of the sample to be added to the known sample, and delete the same sample from the unknown sample as the sample to be added. If not, directly add the attribute of the sample to be added Information and spectral data are added to known samples in the database.
  • one or more samples can be added.
  • a specific example below illustrates the process of adding samples.
  • spectral data and attribute information of the sample 1 to be added are acquired, where the attribute information includes the name, material characteristics, and photo information of the sample 1 to be added.
  • the name of the to-be-added sample 1 determines whether a sample with the same name as the to-be-added sample exists in the known samples in the database. If it exists, the user is prompted to add it. If the user chooses to add, the The attribute information and spectral data of the added sample are added to the database, covering the known samples with the same name in the database; if it does not exist, according to the spectral data of the sample 1 to be added, it is determined whether the spectral data and the unknown samples exist in the database. An unknown sample with the same spectral data of sample 1 to be added.
  • the attribute information and spectral data of sample 1 to be added are added to the known database.
  • delete the unknown sample B from the unknown sample in the database at the same time that is, delete the attribute information and spectral data of the unknown sample B from the unknown sample; if there is no unknown sample with the same spectral data as the sample 1 to be added, then directly Add the property information and spectral data of Sample 1 to the known samples in the database.
  • steps 301 to 306 in this embodiment are substantially the same as steps 201 to 206 in the second embodiment, and details are not described herein again.
  • the method for detecting a substance determines whether a known sample in the database has a sample with the same name as the sample to be added to prevent the situation of repeatedly adding a known sample.
  • the spectral data of the sample to be added is compared with the unknown sample in the database, so as to prevent the situation that the to-be-added sample is in both the known sample and the unknown sample after the sample is added, and the sample is not duplicated in the database, thereby improving the Accuracy of the test substance.
  • a fourth embodiment of the present application relates to a device 40 for detecting a substance, including: an acquisition module 401, a matching module 402, and a detection result determination module 403. The specific results of the device 40 are shown in FIG.
  • the obtaining module 401 is used to obtain the spectral data of the substance to be measured; the matching module 402 is used to determine the match between the substance to be measured and the samples in the database according to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database As a result, the database includes the spectral data and attribute information of the known sample, and the spectral data and attribute information of the unknown sample; the detection result determination module 403 is configured to determine the detection result of the substance to be tested according to the matching result.
  • This embodiment is an embodiment of a virtual device corresponding to the foregoing method for detecting a substance.
  • the technical details in the foregoing method embodiment are still applicable in this embodiment, and details are not described herein again.
  • a fifth embodiment of the present application relates to a terminal 50, and its structure is shown in FIG. It includes: at least one processor 501; and a memory 502 communicatively connected to the at least one processor 501.
  • the memory 502 stores instructions executable by at least one processor 501.
  • the instructions are executed by at least one processor 501, so that the at least one processor 501 can perform the above-mentioned method of substance detection.
  • the memory 502 and the processor 501 are connected in a bus manner.
  • the bus may include any number of interconnected buses and bridges.
  • the bus links one or more processors 501 and various circuits of the memory 502 together.
  • the bus can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, so they are not described further herein.
  • the bus interface provides an interface between the bus and the transceiver.
  • a transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium.
  • the data processed by the processor 501 is transmitted on a wireless medium through an antenna. Further, the antenna also receives the data and transmits the data to the processor 501.
  • the processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
  • the memory 502 may be used to store data used by the processor when performing operations.
  • processor in this embodiment can execute the implementation steps in the foregoing method embodiments, and the specific execution functions are not described in detail. For technical details in the method embodiments, details are not described herein again.
  • the sixth embodiment of the present application relates to a computer-readable storage medium.
  • the readable storage medium is a computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions that enable a computer to execute the first application of the present application.
  • the display method in the above embodiments is implemented by a program instructing related hardware.
  • the program is stored in a storage medium and includes several instructions to make a device (may It is a single-chip microcomputer, a chip, or the like) or a processor that executes all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), and a random access memory (RAM, Random-Access Memory), magnetic disks, or compact discs, which can store program code.

Abstract

A substance detection method and apparatus, a terminal, and a readable storage medium. The substance detection method comprises: acquiring spectral data of a substance to be detected (101); on the basis of the spectral similarity between the spectral data of the substance to be detected and spectral data of samples in a database, determining matching results of matching the substance to be detected with the samples in the database (102), the database comprising spectral data and attribute information of known substances and spectral data and attribute information of unknown substances; and, on the basis of the matching result, determining a detection result of the substance to be detected (103). The likelihood of mis-identifying a substance to be detected can thereby be reduced.

Description

一种物质检测的方法、装置、终端和可读存储介质Method, device, terminal and readable storage medium for substance detection 技术领域Technical field
本申请涉及物质检测领域,尤其涉及一种物质检测的方法、装置、终端和可读存储介质。The present application relates to the field of substance detection, and in particular, to a method, a device, a terminal, and a readable storage medium for substance detection.
背景技术Background technique
目前对待测物质进行识别的过程为:获取该待测物质的光谱数据,并将该待测物质的光谱数据与已知物质的光谱数据进行匹配,若与已知物质的光谱数据的相似度超过相似度阈值,则判定该待测物质为已知物质。The current process of identifying a substance to be tested is: obtaining the spectral data of the substance to be tested, and matching the spectral data of the substance to be tested with the spectral data of a known substance, if the similarity with the spectral data of the known substance exceeds The similarity threshold determines that the substance to be tested is a known substance.
技术问题technical problem
发明人在研究现有技术过程中发现,目前对物质检测的数据库中包含的已知物质的数量还非常少,若一个待测物质的光谱数据并不存在于数据库中,但在对该待测物质进行物质检测时,由于该待测物质的光谱数据与数据库中的某一已知样品的光谱数据非常相近,则常常会将该待测物质误判定为数据库中的已知物质。针对这种情况,目前的解决方案是提高数据库中样品的光谱数据与待测物质的光谱数据匹配的相似度阈值,但是,由于在对物质进行检测时,物质检测设备存在差异,且会受到环境因素的影响,仅仅通过提高匹配的相似度阈值这种方式往往会将原本属于数据库中已知样品的待测物质误判为未知物质。The inventor discovered during the research of the prior art that the amount of known substances currently contained in the database for substance detection is still very small. If the spectral data of a substance to be tested does not exist in the database, When a substance is tested for a substance, since the spectral data of the substance to be tested is very similar to the spectral data of a known sample in the database, the substance to be tested is often misjudged as a known substance in the database. In view of this situation, the current solution is to increase the similarity threshold of the spectral data of the sample in the database and the spectral data of the substance to be measured. However, when the substance is detected, the substance detection equipment is different, and it will be affected by the environment. The influence of factors, just by increasing the matching similarity threshold, often mistakes the test substance that originally belongs to the known sample in the database as an unknown substance.
技术解决方案Technical solutions
本申请部分实施例所要解决的技术问题在于提供一种物质检测的方法、装置、终端和可读存储介质,降低对待测物质误识别的概率。A technical problem to be solved in some embodiments of the present application is to provide a method, a device, a terminal, and a readable storage medium for substance detection, so as to reduce the probability of misidentification of a substance to be detected.
本申请的一个实施例提供了一种物质检测的方法,包括:获取待测物质的光谱数据;根据待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果,其中,数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息;根据匹配结果,确定待测物质的检测结果。An embodiment of the present application provides a method for detecting a substance, including: obtaining spectral data of the substance to be measured; and determining the relationship between the substance to be measured and the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database. The matching result of each sample in the database. The database includes the spectral data and attribute information of the known sample, and the spectral data and attribute information of the unknown sample. According to the matching result, the detection result of the substance to be tested is determined.
本申请的一个实施例还提供了一种物质检测的装置,包括:获取模块、匹配模块和检测结果确定模块;获取模块用于获取待测物质的光谱数据;匹配模块用于根据待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果,其中,数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息;检测结果确定模块用于根据匹配结果,确定待测物质的检测结果。An embodiment of the present application further provides a device for detecting a substance, including: an acquisition module, a matching module, and a detection result determination module; the acquisition module is configured to acquire spectral data of a substance to be measured; and the matching module is configured to The spectral similarity between the spectral data and the spectral data of each sample in the database determines the matching results of the substance to be measured and each sample in the database. The database includes the spectral data and attribute information of known samples and the spectral data of unknown samples. And attribute information; the detection result determination module is used to determine the detection result of the substance to be tested according to the matching result.
本申请实施例还提供了一种终端,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,该指令被至少一个处理器执行,以使至少一个处理器能够执行上述的物质检测的方法。An embodiment of the present application further provides a terminal, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor. The processor executes the method to enable at least one processor to perform the above-mentioned substance detection.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现上述的物质检测的方法。An embodiment of the present application further provides a computer-readable storage medium storing a computer program, and the computer program is executed by a processor to implement the foregoing method for detecting a substance.
有益效果Beneficial effect
相对于现有技术而言,本申请部分实施例中将待测物质的光谱数据与数据库中的已知样品的光谱数据和未知样品的光谱数据进行匹配,获取匹配结果,由于数据库中还保存有未知样品,从而增大了数据库的样品类型,增大了待测物质可匹配样品的数量,减小了待测物质因与已知样品的光谱数据相近而被误判的概率,提高了对待测物质检测的准确性,同时,由于无需提高原本设置的相似度阈值,避免发生因提高原本设置的相似度阈值而造成将已知物质误判为未知物质的情况,提高了对待测物质检测的准确性。Compared with the prior art, in some embodiments of the present application, the spectral data of the substance to be measured is matched with the spectral data of the known sample and the spectral data of the unknown sample in the database, and the matching result is obtained. Unknown samples, which increases the sample type of the database, increases the number of samples that can be matched by the test substance, reduces the probability of the test substance being misjudged due to the closeness of the spectral data of the known sample, and improves the test Accuracy of substance detection. At the same time, because there is no need to increase the originally set similarity threshold, avoiding the situation where the known substance is misjudged as an unknown substance due to the increase of the originally set similarity threshold, which improves the accuracy of the substance detection. Sex.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the accompanying drawings. These exemplary descriptions do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the drawings in the drawings do not constitute a limitation on scale.
图1是本申请第一实施例中物质检测的方法的具体流程图;FIG. 1 is a specific flowchart of a method for detecting a substance in a first embodiment of the present application; FIG.
图2是本申请第二实施例中物质检测的方法的具体流程图;2 is a specific flowchart of a method for detecting a substance in a second embodiment of the present application;
图3是本申请第三实施例中物质检测的方法的具体流程图;3 is a specific flowchart of a method for detecting a substance in a third embodiment of the present application;
图4是本申请第四实施例中物质检测的装置的结构示意图;4 is a schematic structural diagram of a substance detection device in a fourth embodiment of the present application;
图5是本申请第五实施例中终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal in a fifth embodiment of the present application.
本发明的实施方式Embodiments of the invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请部分实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。然而,本领域的普通技术人员可以理解,在本申请的各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solution, and advantages of the present application clearer, some embodiments of the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. However, a person of ordinary skill in the art can understand that in the embodiments of the present application, many technical details are provided in order to make the reader better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed in this application can be implemented.
本申请的第一实施例涉及一种物质检测的方法,该物质检测的方法可以用于物质检测的终端,如,拉曼光谱仪等。该物质检测的方法的具体流程如图1所示:The first embodiment of the present application relates to a method for detecting a substance. The method for detecting a substance can be applied to a terminal for detecting a substance, such as a Raman spectrometer. The specific process of this substance detection method is shown in Figure 1:
步骤101:获取待测物质的光谱数据。Step 101: Obtain spectral data of a substance to be measured.
具体的说,开启物质检测的终端,对待测物质进行扫描,即可获取到该待测物质的光谱数据,如,打开光谱仪对待测物质进行扫描,获取该待测物质的光谱数据。Specifically, by opening a terminal for substance detection and scanning the substance to be measured, spectral data of the substance to be measured can be obtained, for example, by opening a spectrometer and scanning the substance to be measured to obtain spectrum data of the substance to be measured.
步骤102:根据该待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果,其中,数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息。Step 102: According to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, determine a matching result of the matching of the substance to be tested and each sample in the database, where the database includes the spectral data of the known sample and Attribute information, as well as spectral data and attribute information for unknown samples.
具体的说,数据库中保存有已知样品的光谱数据和属性信息,以及未知样品的光谱数据和属性信息,其中,属性信息是用于表明样品的相关信息,如,可以是样品的名称、用户备注的信息或者样品的照片信息、样品的特性信息等;由于不知道未知样品的名称,因而,对于未知样品的属性信息中的名称可以采用用户自定义的名称,例如,“未知物1”、“未知物2”等。Specifically, the database stores the spectral data and attribute information of known samples, as well as the spectral data and attribute information of unknown samples, where the attribute information is used to indicate the relevant information of the sample, such as the sample name, user Remark information or sample photo information, sample characteristic information, etc .; because the name of the unknown sample is unknown, the user-defined name can be used for the name in the attribute information of the unknown sample, for example, "Unknown 1", "Unknown 2" and so on.
可以理解的是,为了丰富数据库中的样品种类,用户随时可以增加数据库中未知样品的数量,例如,用户打开终端后,终端扫描一个未知物质获取该未知物质的光谱数据,并获取用户输入的未知物质的属性信息,保存该未知物质的光谱数据、该未知物质的照片、该未知物质的特性信息(如:气味、质感等)至数据库的未知样品中。It can be understood that in order to enrich the sample types in the database, the user can increase the number of unknown samples in the database at any time. For example, after the user opens the terminal, the terminal scans an unknown substance to obtain the spectral data of the unknown substance, and acquires the unknown entered by the user The attribute information of the substance, save the spectral data of the unknown substance, the photo of the unknown substance, and the characteristic information of the unknown substance (such as: odor, texture, etc.) to the unknown sample in the database.
终端将获取的光谱数据与数据库中保存的已知样品和未知样品进行比对,获取待测物质的光谱数据与数据库中个样品的光谱数据之间的光谱相似度,确定该待测物质与数据库中各样品匹配的匹配结果,比对的方式可以是将获取的光谱数据中的特征波峰与保存的样品的光谱数据的特征波峰进行比对,根据比对结果确定光谱相似度,并通过筛选的方式(如:变量筛选方法),确定该待测物质与数据库中各样品匹配的匹配结果,具体的比对过程以及筛选方式,本实施例中不再进行赘述。当然,还可以选用其他的方式确定匹配结果,本实施例不对此进行限制。The terminal compares the obtained spectral data with the known and unknown samples stored in the database, obtains the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, and determines the substance to be measured and the database. The matching result of each sample in the comparison can be compared by comparing the characteristic peaks in the acquired spectral data with the characteristic peaks of the saved spectral data of the sample, and determining the spectral similarity according to the comparison result. Method (such as a variable screening method) to determine the matching result of the test substance and each sample in the database. The specific comparison process and screening method are not described in this embodiment. Of course, other methods can also be used to determine the matching result, which is not limited in this embodiment.
可以理解的是,该待测物质的光谱数据在与数据库中的样品进行比对之前,可以对该待测光谱数据进行光谱预处理,通过光谱预处理可以消除待测物质的光谱数据中的干扰特征。It can be understood that before the spectral data of the substance to be measured is compared with the sample in the database, the spectral preprocessing of the substance to be measured can be performed. The spectral preprocessing can eliminate the interference in the spectral data of the substance to be measured. feature.
步骤103:根据匹配结果,确定待测物质的检测结果。Step 103: Determine the detection result of the substance to be tested according to the matching result.
一个具体的实现中,匹配结果中包括待测物质与数据库中样品的匹配相似度,而根据匹配结果,确定待测物质的检测结果的过程为:判断样品对应的匹配相似度是否超过预设相似度阈值,获取样品对应的判断结果;根据样品对应的判断结果以及样品的属性信息,确定待测物质的检测结果。In a specific implementation, the matching result includes the matching similarity between the test substance and the sample in the database, and according to the matching result, the process of determining the test result of the test substance is: determining whether the matching similarity corresponding to the sample exceeds a preset similarity To determine the detection result of the substance according to the determination result corresponding to the sample and the attribute information of the sample.
具体的说,匹配结果为待测物质的光谱数据与数据库中样品的光谱数据比对、筛选后的匹配结果,即经过比对之后获取到待测物质的光谱数据与数据库中样品的光谱数据的光谱相似度,筛选之后保留的光谱相似度作为匹配结果中的匹配相似度。通常该匹配结果中仅包含一个与待测物质的光谱数据相匹配的样品对应的匹配相似度,例如,待测物质1的光谱数据与数据库中样品进行比对、筛选后的匹配结果为:与样品A匹配相似度为90%;可以理解的是,该匹配结果中还可以包括多个匹配相似度,其中,每一个匹配相似度有唯一对应的与该待测物质的光谱数据匹配的样品,例如,待测物质2的光谱数据与数据库中样品进行比对、筛选后的匹配结果为:与样品B匹配相似度为90%;与样品A+C的匹配相似度为80%,其中,样品A+C表示为样品A和样品C组合的混合物。Specifically, the matching result is a comparison between the spectral data of the substance to be measured and the spectral data of the sample in the database, and the matching result after screening, that is, the spectral data of the substance to be measured and the spectral data of the sample in the database are obtained after comparison. Spectral similarity. The spectral similarity retained after screening is used as the matching similarity in the matching results. Usually, the matching result only includes a matching similarity corresponding to a sample that matches the spectral data of the substance to be measured. For example, the spectral data of the substance 1 to be tested is compared with the sample in the database. The matching result after screening is: The matching similarity of sample A is 90%; it can be understood that the matching result may also include multiple matching similarities, where each matching similarity has a unique corresponding sample that matches the spectral data of the substance to be tested, For example, the spectral data of the test substance 2 is compared with the sample in the database, and the matching result is: the similarity with the sample B is 90%; the similarity with the sample A + C is 80%, of which the sample A + C is expressed as a mixture of sample A and sample C in combination.
其中,预设相似度阈值为预先设置的,但是,预设相似度阈值不能设置过高也不能设置的过低,避免影响物质检测的检测结果,因而预设相似度阈值是根据实际中无数次对物质进行检测的结果而确定的。The preset similarity threshold is set in advance. However, the preset similarity threshold cannot be set too high or too low to avoid affecting the detection result of the substance detection. Therefore, the preset similarity threshold is counted countless times in practice. It is determined by the result of testing the substance.
将匹配结果中样品的匹配相似度与预设相似度阈值进行比较,判断样品的匹配相似度是否超过预设相似度阈值,并根据该判断结果以及根据匹配结果中对应的样品的属性信息,确定该待测物质的检测结果,具体的确定该待测物质的检测结果过程为:若匹配相似度对应的样品属于已知样品,且判断结果为匹配相似度超过预设相似度阈值,则判定待测物质为已知物;若匹配相似度对应的样品属于未知样品,且判断结果为匹配相似度超过预设相似度阈值,则判定待测物质为数据库中的未知物;若匹配相似度对应的样品属于已知样品和未知样品组成的混合物,且判断结果为匹配相似度超过预设相似度阈值,则判定待测物质为已知样品和未知样品组成的混合物;若判断结果为匹配相似度低于预设相似度阈值,则判定待测物质为新的未知样品。Compare the matching similarity of the sample in the matching result with a preset similarity threshold to determine whether the matching similarity of the sample exceeds the preset similarity threshold, and determine based on the judgment result and the attribute information of the corresponding sample in the matching result The detection result of the substance to be tested specifically determines the detection result of the substance to be tested: if the sample corresponding to the matching similarity belongs to a known sample, and the determination result is that the matching similarity exceeds a preset similarity threshold value, it is determined to be The test substance is a known substance; if the sample corresponding to the matching similarity belongs to an unknown sample, and the judgment result is that the matching similarity exceeds a preset similarity threshold, the substance to be tested is unknown in the database; if the matching similarity corresponds to If the sample belongs to a mixture of known samples and unknown samples, and the judgment result is that the matching similarity exceeds a preset similarity threshold, the substance to be tested is determined to be a mixture of known samples and unknown samples; if the judgment result is that the matching similarity is low Based on the preset similarity threshold, it is determined that the substance to be tested is a new unknown sample.
下面将以一个具体的例子说明确定该待测物质的检测结果过程。A specific example will be used to explain the process of determining the test result of the substance to be tested.
例如,待测物质1的匹配结果为:与样品A的匹配相似度为90.5%;待测物质2的匹配结果为:与样品B的匹配相似度为91%;待测物质3的匹配结果为:与样品A+C的匹配相似度为92%;待测物质4的匹配结果为:与样品C的匹配相似度为80%;其中,样品A为数据库中的已知样品,样品A为已知物“fff”,样品B和样品C为数据库中的未知样品,样品B为未知物质1,样品C为未知物质2,样品A+C表示为样品A和样品C组合的混合物,预设相似度阈值为90%。根据样品A的属性信息,确定样品A属于已知样品,且样品A对应的匹配相似度超过预设相似度阈值,判定待测物质1为已知物“fff”。根据样品B的属性信息,确定样品B属于未知样品,且样品B对应的匹配相似度超过预设相似度阈值,判定待测物质2为数据库中的未知物质1。根据样品A+C的属性信息,确定样品A+C属于数据库中混合物,且样品A+C对应的匹配相似度超过预设相似度阈值,判定待测物质3为已知物“fff”和未知物质2组合的混合物。样品D对应的匹配相似度低于预设相似度阈值,则判定待测物质4为新的未知物,该新的未知物不在数据库中。For example, the matching result of the test substance 1 is: the matching similarity with the sample A is 90.5%; the matching result of the test substance 2 is: the matching similarity with the sample B is 91%; the matching result of the test substance 3 is: : The matching similarity with sample A + C is 92%; the matching result of test substance 4 is: the matching similarity with sample C is 80%; among them, sample A is a known sample in the database and sample A is already Known substance "fff", sample B and sample C are unknown samples in the database, sample B is unknown substance 1, sample C is unknown substance 2, sample A + C is expressed as a mixture of sample A and sample C, and the preset is similar The threshold is 90%. According to the attribute information of the sample A, it is determined that the sample A belongs to a known sample, and the matching similarity corresponding to the sample A exceeds a preset similarity threshold, and it is determined that the test substance 1 is a known substance “fff”. According to the attribute information of the sample B, it is determined that the sample B belongs to an unknown sample, and the matching similarity corresponding to the sample B exceeds a preset similarity threshold, and it is determined that the substance to be measured 2 is the unknown substance 1 in the database. According to the attribute information of the sample A + C, it is determined that the sample A + C belongs to the mixture in the database, and the matching similarity corresponding to the sample A + C exceeds a preset similarity threshold, and the test substance 3 is determined to be a known substance “fff” and unknown. Mixture of substance 2 combinations. The matching similarity corresponding to the sample D is lower than the preset similarity threshold, it is determined that the substance 4 to be tested is a new unknown, and the new unknown is not in the database.
步骤104:显示待测物质的检测结果。Step 104: Display the detection result of the substance to be measured.
具体的说,若检测结果为已知物质,则显示保存的该已知物质的属性信息,如,名称、特性、照片或备注信息等。若检测结果为数据库中的未知物质,显示数据库中保存的该未知物质的属性信息,如,自定义名称(“未知物质1”)、照片等。若检测结果为数据库中的已知样品和未知样品组合的混合物,则显示数据库中已知样品的属性信息、未知样品的属性信息。若检测结果为新的未知物,则显示未识别的标记,如“未识别”。可以理解的是,显示待测物质的检测结果的同时,还可以显示该待测物质的光谱数据,本实施例对此不作限制。Specifically, if the detection result is a known substance, the stored attribute information of the known substance, such as name, characteristics, photos, or remark information, is displayed. If the detection result is an unknown substance in the database, the attribute information of the unknown substance stored in the database is displayed, such as a custom name ("Unknown substance 1"), a photo, etc. If the detection result is a mixture of a known sample and an unknown sample combination in the database, the attribute information of the known sample and the attribute information of the unknown sample in the database are displayed. If the detection result is a new unknown, an unrecognized mark is displayed, such as "unrecognized". It can be understood that, while displaying the detection result of the substance to be tested, the spectral data of the substance to be tested can also be displayed, which is not limited in this embodiment.
值得一提的是,在步骤103确定待测物质的检测结果之后,若确定待测物质为新的未知物,则将新的未知物的属性信息以及光谱数据添加至数据库的未知样品中。It is worth mentioning that after determining the detection result of the test substance in step 103, if it is determined that the test substance is a new unknown object, attribute information and spectral data of the new unknown object are added to the unknown sample in the database.
具体的说,若待测物质的检测结果为新的未知物,就自动将该待测物质的属性信息和光谱数据添加至数据库中的未知样品中。Specifically, if the detection result of the test substance is a new unknown, the attribute information and spectral data of the test substance are automatically added to the unknown sample in the database.
需要说明的是,步骤104以及将新的未知物添加至数据库的步骤之间没有先后顺序,可以同时进行(如:采用异步进程的方式),也可以不同时进行。It should be noted that there is no sequence between step 104 and the step of adding a new unknown to the database, and they can be performed at the same time (for example, by using an asynchronous process) or at different times.
相对于现有技术而言,本申请部分实施例中将待测物质的光谱数据与数据库中的已知样品的光谱数据和未知样品的光谱数据进行匹配,获取匹配结果,由于数据库中还保存有未知样品,从而增大了数据库的样品类型,增大了待测物质可匹配样品的数量,减小了待测物质因与已知样品的光谱数据相近而被误判的概率,提高了对待测物质检测的准确性,同时,由于无需提高原本设置的相似度阈值,避免发生因提高原本设置的相似度阈值而造成将已知物质误判为未知物质的情况,提高了对待测物质检测的准确性。Compared with the prior art, in some embodiments of the present application, the spectral data of the substance to be measured is matched with the spectral data of the known sample and the spectral data of the unknown sample in the database, and the matching result is obtained. Unknown samples, which increases the sample type of the database, increases the number of samples that can be matched by the test substance, reduces the probability of the test substance being misjudged due to the closeness of the spectral data of the known sample, and improves the test Accuracy of substance detection. At the same time, because there is no need to increase the originally set similarity threshold, avoiding the situation where the known substance is misjudged as an unknown substance due to the increase of the originally set similarity threshold, which improves the accuracy of the substance detection. Sex.
本申请的第二实施例涉及一种物质检测的方法,第二实施例是对第一实施例的进一步改进,主要改进之处在于,本实施例中在确定待测物质的检测结果之后,还包括:判断是否接收到更新数据库的更新请求,若是,则根据待测物质的检测结果,对数据库进行更新。该物质检测的方法,具体的流程如图2所示:The second embodiment of the present application relates to a method for detecting a substance. The second embodiment is a further improvement on the first embodiment. The main improvement lies in that in this embodiment, after determining the detection result of the substance to be tested, Including: judging whether an update request to update the database is received, and if so, updating the database according to the detection result of the substance to be measured. The specific method of this substance detection method is shown in Figure 2:
步骤201:获取待测物质的光谱数据。Step 201: Obtain spectral data of the substance to be measured.
步骤202:根据待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果。Step 202: According to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database, determine a matching result that the substance to be tested matches each sample in the database.
步骤203:根据匹配结果,确定待测物质的检测结果。Step 203: Determine the detection result of the substance to be tested according to the matching result.
步骤204:显示待测物质的检测结果。Step 204: Display the detection result of the substance to be measured.
步骤205:判断是否接收到更新数据库的更新请求,若是,则执行步骤206,否则,结束该流程。Step 205: Determine whether an update request to update the database is received, and if so, execute step 206; otherwise, end the process.
具体的说,可以在物质检测终端的显示界面上显示添加样品的选项,若待测物质的检测结果为新的未知物,可以通过用户选取添加样品的选项的方式,接收更新请求。为了便于判断是否接收到更新请求,可以在预设时间段内(如30秒)进行判断。当然,还可以采用其他获取更新请求的方式,此处不再一一列举。Specifically, the option of adding a sample may be displayed on the display interface of the substance detection terminal. If the test result of the substance to be tested is a new unknown, the user may receive an update request by selecting the option of adding a sample. In order to easily determine whether an update request is received, the determination may be performed within a preset time period (for example, 30 seconds). Of course, other methods for obtaining update requests can also be adopted, which are not listed here one by one.
步骤206:根据待测物质的检测结果,对数据库进行更新。Step 206: Update the database according to the detection result of the substance to be measured.
具体的说,若待测物质的检测结果为新的未知物,则将该待测物质的光谱数据和属性信息添加至数据库的未知样品中。若待测物质的检测结果为数据库中保存的样品(即待测物质为已知物、数据库中的未知样品或者数据库中已知样品和未知组成的混合物),则判断该待测物质的属性信息是否与数据库中保存的样品的属性信息相同,若相同,则不进行数据库的更新,否则,向数据库中对应的样品添加该待测物质的属性信息。Specifically, if the detection result of the substance to be tested is a new unknown, the spectral data and attribute information of the substance to be tested are added to the unknown sample in the database. If the test result of the test substance is a sample stored in the database (that is, the test substance is a known substance, an unknown sample in the database, or a mixture of a known sample and an unknown composition in the database), the attribute information of the test substance is judged Is it the same as the attribute information of the sample stored in the database? If it is the same, the database is not updated; otherwise, the attribute information of the substance to be tested is added to the corresponding sample in the database.
需要说明的是,本实施例中的步骤201至步骤204与第一实施例中的步骤101至步骤104大致相同,此处不再赘述。此外,步骤205至步骤206也可以是在步骤203执行完之后执行,当然,若放在步骤203后执行,则步骤205在判断未接收到更新请求时执行步骤204。It should be noted that steps 201 to 204 in this embodiment are substantially the same as steps 101 to 104 in the first embodiment, and details are not described herein again. In addition, steps 205 to 206 may also be performed after execution of step 203. Of course, if executed after step 203, step 205 executes step 204 when it is determined that an update request has not been received.
与现有技术相比,本实施例提供的物质检测的方法,在确定待测物质的检测结果后,根据是否接收到更新请求,对数据库进行更新,使得数据库的更新非常灵活,同时也增加了数据库中保存的样品的数据,进一步丰富了数据库中的保存内容,提高对待测物质检测的准确性。Compared with the prior art, the substance detection method provided in this embodiment updates the database according to whether an update request is received after determining the detection result of the substance to be tested, which makes the database update very flexible and also increases The sample data stored in the database further enriches the content stored in the database and improves the accuracy of the detection of the substance to be detected.
本申请的第三实施例涉及一种物质检测的方法,第三实施例是对第二实施例的进一步改进,主要改进之处在于,本实施例中还包括:向数据库中添加样品。该物质检测的方法的具体流程如图3所示。The third embodiment of the present application relates to a method for detecting a substance. The third embodiment is a further improvement on the second embodiment. The main improvement is that the embodiment further includes: adding a sample to the database. The specific flow of this substance detection method is shown in Figure 3.
步骤301:获取待测物质的光谱数据。Step 301: Obtain spectral data of a substance to be measured.
步骤302:根据待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果。Step 302: Determine the matching result of the substance to be tested and each sample in the database according to the spectral similarity between the spectrum data of the substance to be tested and the spectral data of each sample in the database.
步骤303:根据匹配结果,确定待测物质的检测结果。Step 303: Determine the detection result of the substance to be tested according to the matching result.
步骤304:显示待测物质的检测结果。Step 304: Display the detection result of the substance to be measured.
步骤305:判断是否接收到更新数据库的更新请求,若是,则执行步骤306,否则,执行步骤307。Step 305: Determine whether an update request to update the database is received. If yes, go to step 306; otherwise, go to step 307.
步骤306:根据待测物质的检测结果,对数据库进行更新。之后执行步骤307。Step 306: Update the database according to the detection result of the substance to be measured. After that, step 307 is executed.
步骤307:接收添加样品的添加请求。Step 307: Receive a request for adding a sample.
具体的说,用户可以通过其他终端向物质检测的终端发起添加请求,也可以是用户通过物质检测的终端的显示界面发起添加请求。本实施例中不限制用户发起添加请求的方式。添加请求中可以携带待添加样品的属性信息和光谱数据,也可以不携带待添加样品的属性信息和光谱数据,本实施例中不对此进行限制。Specifically, the user may initiate an addition request to the terminal for substance detection through other terminals, or the user may initiate the addition request through the display interface of the terminal for substance detection. In this embodiment, the manner in which a user initiates an add request is not limited. The addition request may carry attribute information and spectral data of the sample to be added, or may not carry attribute information and spectral data of the sample to be added, which is not limited in this embodiment.
步骤308:根据添加请求将待添加样品的属性信息以及光谱数据添加至数据库中。Step 308: Add the attribute information and the spectral data of the sample to be added to the database according to the adding request.
一个具体的实现中,待添加样品为已知物质,根据添加请求,获取待添加样品的属性信息以及光谱数据;根据待添加样品的属性信息中的样品名称,判断待添加样品是否与数据库中已知样品的名称一样,若是,则根据用户的选择将待添加样品的属性信息以及光谱数据添加至数据库的已知样品中;否则,根据待添加样品的光谱数据,判断待添加样品是否存在于数据库的未知样品中,若是,则将待添加样品的属性信息以及光谱数据添加至已知样品中,并在未知样品中删除与待添加样品相同的样品,若不是,则直接将待添加样品的属性信息以及光谱数据添加至数据库的已知样品中。In a specific implementation, the sample to be added is a known substance, and the attribute information and spectrum data of the sample to be added are obtained according to the addition request; according to the sample name in the attribute information of the sample to be added, it is determined whether the sample to be added is in the database or not. The name of the sample is the same. If it is, the attribute information and spectral data of the sample to be added are added to the known samples in the database according to the user's choice; otherwise, it is determined whether the sample to be added exists in the database according to the spectral data of the sample to be added. If the sample is unknown, add the attribute information and spectral data of the sample to be added to the known sample, and delete the same sample from the unknown sample as the sample to be added. If not, directly add the attribute of the sample to be added Information and spectral data are added to known samples in the database.
具体的说,待添加样品可以一个也可以是多个。下面将一个具体的例子说明添加样品的过程。Specifically, one or more samples can be added. A specific example below illustrates the process of adding samples.
例如,获取到待添加样品1的光谱数据和属性信息,其中,属性信息中包括待添加样品1的名称、物质特性、照片信息等。根据该待添加样品1的名称,判断数据库中的已知样品中是否存在与该待添加样品相同名称的样品,若存在,则向用户发起是否添加的提示,若用户选择添加,则将该待添加样品的属性信息和光谱数据添加至数据库中,覆盖数据库中具有相同名称的已知样品;若不存在,则根据该待添加样品1的光谱数据,判断数据库的未知样品中是否存在光谱数据与待添加样品1的光谱数据相同的未知样品,若数据库中的未知样品B的光谱数据与待添加样品1的光谱数据相同,则将待添加样品1的属性信息以及光谱数据添加至数据库的已知样品中,同时删除数据库的未知样品中的未知样品B,即在未知样品中删除未知样品B的属性信息和光谱数据;若不存在与待添加样品1光谱数据相同的未知样品,那么直接将待添加样品1的属性信息和光谱数据添加至数据库的已知样品中。For example, spectral data and attribute information of the sample 1 to be added are acquired, where the attribute information includes the name, material characteristics, and photo information of the sample 1 to be added. According to the name of the to-be-added sample 1, determine whether a sample with the same name as the to-be-added sample exists in the known samples in the database. If it exists, the user is prompted to add it. If the user chooses to add, the The attribute information and spectral data of the added sample are added to the database, covering the known samples with the same name in the database; if it does not exist, according to the spectral data of the sample 1 to be added, it is determined whether the spectral data and the unknown samples exist in the database. An unknown sample with the same spectral data of sample 1 to be added. If the spectral data of unknown sample B in the database is the same as the spectral data of sample 1 to be added, the attribute information and spectral data of sample 1 to be added are added to the known database. In the sample, delete the unknown sample B from the unknown sample in the database at the same time, that is, delete the attribute information and spectral data of the unknown sample B from the unknown sample; if there is no unknown sample with the same spectral data as the sample 1 to be added, then directly Add the property information and spectral data of Sample 1 to the known samples in the database.
需要说明的是,本实施例中的步骤301至步骤306与第二实施例中的步骤201至步骤206大致相同,此处不再赘述。It should be noted that steps 301 to 306 in this embodiment are substantially the same as steps 201 to 206 in the second embodiment, and details are not described herein again.
与现有技术相比,本实施例提供的物质检测的方法在添加样品时,判断数据库的已知样品中是否存在与待添加样品重名的样品,防止重复添加已知样品的情况,同时,通过待添加样品的光谱数据与数据库中的未知样品进行比对,从而防止添加样品后发生该待添加样品既在已知样品中又在未知样品中的情况,提高数据库中样品不重复,从而提高对待测物质检测的准确性。Compared with the prior art, when adding a sample, the method for detecting a substance provided in this embodiment determines whether a known sample in the database has a sample with the same name as the sample to be added to prevent the situation of repeatedly adding a known sample. The spectral data of the sample to be added is compared with the unknown sample in the database, so as to prevent the situation that the to-be-added sample is in both the known sample and the unknown sample after the sample is added, and the sample is not duplicated in the database, thereby improving the Accuracy of the test substance.
本申请的第四实施例涉及一种物质检测的装置40,包括:包括:获取模块401、匹配模块402和检测结果确定模块403,该装置40的具体结果如图4所示。A fourth embodiment of the present application relates to a device 40 for detecting a substance, including: an acquisition module 401, a matching module 402, and a detection result determination module 403. The specific results of the device 40 are shown in FIG.
获取模块401用于获取待测物质的光谱数据;匹配模块402用于根据待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定待测物质与数据库中各样品匹配的匹配结果,其中,数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息;检测结果确定模块403用于根据匹配结果,确定待测物质的检测结果。The obtaining module 401 is used to obtain the spectral data of the substance to be measured; the matching module 402 is used to determine the match between the substance to be measured and the samples in the database according to the spectral similarity between the spectral data of the substance to be measured and the spectral data of each sample in the database As a result, the database includes the spectral data and attribute information of the known sample, and the spectral data and attribute information of the unknown sample; the detection result determination module 403 is configured to determine the detection result of the substance to be tested according to the matching result.
本实施例是与上述物质检测的方法对应的虚拟装置实施例,上述方法实施例中技术细节在本实施例中依然适用,此处不再赘述。This embodiment is an embodiment of a virtual device corresponding to the foregoing method for detecting a substance. The technical details in the foregoing method embodiment are still applicable in this embodiment, and details are not described herein again.
需要说明的是,以上所述的装置实施例仅仅是示意性的,并不对本申请的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的,此处不做限制。It should be noted that the device embodiments described above are only schematic and do not limit the scope of protection of this application. In practical applications, those skilled in the art may select some or all of the modules according to actual needs. To achieve the purpose of the solution of this embodiment, there is no limitation here.
本申请的第五实施例涉及一种终端50,其结构如图5所示。包括:至少一个处理器501;以及,与至少一个处理器501通信连接的存储器502。存储器502存储有可被至少一个处理器501执行的指令。指令被至少一个处理器501执行,以使至少一个处理器501能够执行上述的物质检测的方法。A fifth embodiment of the present application relates to a terminal 50, and its structure is shown in FIG. It includes: at least one processor 501; and a memory 502 communicatively connected to the at least one processor 501. The memory 502 stores instructions executable by at least one processor 501. The instructions are executed by at least one processor 501, so that the at least one processor 501 can perform the above-mentioned method of substance detection.
存储器502和处理器501采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器501和存储器502的各种电路链接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器501处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器501。The memory 502 and the processor 501 are connected in a bus manner. The bus may include any number of interconnected buses and bridges. The bus links one or more processors 501 and various circuits of the memory 502 together. The bus can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, so they are not described further herein. The bus interface provides an interface between the bus and the transceiver. A transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium through an antenna. Further, the antenna also receives the data and transmits the data to the processor 501.
处理器501负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器502可以被用于存储处理器在执行操作时所使用的数据。The processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 502 may be used to store data used by the processor when performing operations.
需要说明的是,本实施例中的处理器能够执行上述的方法实施例中实施步骤,具体的执行功能并未详细说明,可参见方法实施例中的技术细节,此处不再赘述。It should be noted that the processor in this embodiment can execute the implementation steps in the foregoing method embodiments, and the specific execution functions are not described in detail. For technical details in the method embodiments, details are not described herein again.
本申请的第六实施例涉及一种计算机可读存储介质,该可读存储介质为计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,该计算机指令使计算机能够执行本申请第一或第二方法实施例中涉及的物质检测的方法。The sixth embodiment of the present application relates to a computer-readable storage medium. The readable storage medium is a computer-readable storage medium. The computer-readable storage medium stores computer instructions that enable a computer to execute the first application of the present application. A method for detecting a substance involved in one or the second method embodiments.
需要说明的是,本领域的技术人员能够理解,上述实施例中显示方法是通过程序来指令相关的硬件来完成的,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random-Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It should be noted that those skilled in the art can understand that the display method in the above embodiments is implemented by a program instructing related hardware. The program is stored in a storage medium and includes several instructions to make a device (may It is a single-chip microcomputer, a chip, or the like) or a processor that executes all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), and a random access memory (RAM, Random-Access Memory), magnetic disks, or compact discs, which can store program code.
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the foregoing embodiments are specific embodiments for implementing the present application, and in practical applications, various changes can be made in form and details without departing from the spirit and range.

Claims (10)

  1. 一种物质检测的方法,其中,包括:A method for substance detection, including:
    获取待测物质的光谱数据;Obtain the spectral data of the substance to be measured;
    根据所述待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定所述待测物质与所述数据库中各样品匹配的匹配结果,其中,所述数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息;Determining the matching result of the test substance and each sample in the database according to the spectral similarity between the spectrum data of the test substance and the spectrum data of each sample in the database, wherein the database includes known samples Spectral data and attribute information, as well as spectral data and attribute information of unknown samples;
    根据所述匹配结果,确定所述待测物质的检测结果。According to the matching result, a detection result of the test substance is determined.
  2. 根据权利要求1所述的物质检测的方法,其中,所述匹配结果中包括所述待测物质与所述数据库中样品的匹配相似度;The method for detecting a substance according to claim 1, wherein the matching result includes a matching similarity between the substance to be tested and a sample in the database;
    根据所述匹配结果,确定所述待测物质的检测结果,具体包括:Determining the detection result of the substance to be tested according to the matching result specifically includes:
    判断所述样品对应的匹配相似度是否超过预设相似度阈值,获取所述样品对应的判断结果;Determine whether the matching similarity corresponding to the sample exceeds a preset similarity threshold, and obtain a judgment result corresponding to the sample;
    根据所述样品对应的判断结果以及所述样品的属性信息,确定所述待测物质的检测结果。The detection result of the substance to be tested is determined according to a judgment result corresponding to the sample and attribute information of the sample.
  3. 根据权利要求2所述的物质检测的方法,其中,根据所述样品对应的判断结果以及所述样品的属性信息,确定所述待测物质的检测结果,具体包括:The method for detecting a substance according to claim 2, wherein determining the detection result of the substance to be tested according to a judgment result corresponding to the sample and attribute information of the sample specifically includes:
    若匹配相似度对应的样品属于已知样品,且所述判断结果为所述匹配相似度超过所述预设相似度阈值,则判定所述待测物质为已知物;If the sample corresponding to the matching similarity belongs to a known sample, and the judgment result is that the matching similarity exceeds the preset similarity threshold, determining that the substance to be tested is a known substance;
    若匹配相似度对应的样品属于未知样品,且所述判断结果为所述匹配相似度超过所述预设相似度阈值,则判定所述待测物质为所述数据库中的未知物;If the sample corresponding to the matching similarity belongs to an unknown sample, and the judgment result is that the matching similarity exceeds the preset similarity threshold, determining that the substance to be tested is an unknown in the database;
    若匹配相似度对应的样品属于已知样品和未知样品组成的混合物,且所述判断结果为所述匹配相似度超过所述预设相似度阈值,则判定所述待测物质为已知样品和未知样品组成的混合物;If the sample corresponding to the matching similarity belongs to a mixture of a known sample and an unknown sample, and the judgment result is that the matching similarity exceeds the preset similarity threshold, the substance to be tested is determined to be a known sample and A mixture of unknown samples;
    若判断结果为所述匹配相似度低于所述预设相似度阈值,则判定所述待测物质为新的未知物。If the determination result is that the matching similarity is lower than the preset similarity threshold, it is determined that the substance to be tested is a new unknown.
  4. 根据权利要求1至3中任一项所述的物质检测的方法,其中,确定所述待测物质的检测结果之后,还包括:The method for detecting a substance according to any one of claims 1 to 3, wherein after determining a detection result of the substance to be tested, further comprising:
    若确定待测物质为新的未知物,则将所述新的未知物的属性信息以及光谱数据添加至所述数据库的未知样品中。If it is determined that the substance to be measured is a new unknown object, attribute information and spectral data of the new unknown object are added to the unknown sample in the database.
  5. 根据权利要求1至3中任一项所述的物质检测的方法,其中,确定所述待测物质的检测结果之后,还包括:The method for detecting a substance according to any one of claims 1 to 3, wherein after determining a detection result of the substance to be tested, further comprising:
    判断是否接收到更新数据库的更新请求,若是,则根据待测物质的检测结果,对所述数据库进行更新。It is determined whether an update request to update the database is received, and if so, the database is updated according to the detection result of the substance to be measured.
  6. 根据权利要求5所述的物质检测的方法,其中,所述物质的检测方法还包括:The method for detecting a substance according to claim 5, wherein the method for detecting a substance further comprises:
    接收添加样品的添加请求;Receiving a request for adding a sample;
    根据所述添加请求将所述待添加样品的属性信息以及光谱数据添加至所述数据库中。Adding attribute information and spectrum data of the sample to be added to the database according to the adding request.
    7根据权利要求6所述的物质检测的方法,其中,所述待添加样品为已知物质,则根据所述添加请求将所述待添加样品的属性信息以及光谱数据添加至所述数据库中,具体包括:7. The method for detecting a substance according to claim 6, wherein the sample to be added is a known substance, and the attribute information and spectral data of the sample to be added are added to the database according to the addition request, These include:
    根据所述添加请求,获取所述待添加样品的属性信息以及光谱数据;Obtaining attribute information and spectral data of the sample to be added according to the adding request;
    根据所述待添加样品的属性信息中的样品名称,判断待添加样品是否与数据库中已知样品的名称一样,若是,则根据用户的选择将所述待添加样品的属性信息以及光谱数据添加至所述数据库的已知样品中;According to the sample name in the attribute information of the sample to be added, determine whether the sample to be added has the same name as a known sample in the database, and if so, add the attribute information and spectral data of the sample to be added to the Among known samples of the database;
    否则,根据所述待添加样品的光谱数据,判断所述待添加样品是否存在于所述数据库的未知样品中,若是,则将所述待添加样品的属性信息以及光谱数据添加至所述已知样品中,并在未知样品中删除与所述待添加样品相同的样品,若不是,则直接将所述待添加样品的属性信息以及光谱数据添加至所述数据库的已知样品中。Otherwise, according to the spectral data of the sample to be added, determine whether the sample to be added exists in an unknown sample in the database, and if so, add attribute information and spectral data of the sample to be added to the known In the sample, the same sample as the to-be-added sample is deleted from the unknown sample, and if not, the attribute information and spectral data of the to-be-added sample are directly added to the known sample in the database.
  7. 根据权利要求1至7中任一项所述的物质检测的方法,其中,在确定所述待测物质的检测结果之后,还包括:The method for detecting a substance according to any one of claims 1 to 7, after determining a detection result of the substance to be tested, further comprising:
    显示所述待测物质的检测结果。The detection result of the test substance is displayed.
  8. 一种物质检测的装置,其中,包括:获取模块、匹配模块和检测结果确定模块;A device for substance detection, comprising: an acquisition module, a matching module, and a test result determination module;
    所述获取模块用于获取待测物质的光谱数据;The acquisition module is configured to acquire spectral data of a substance to be measured;
    所述匹配模块用于根据所述待测物质的光谱数据与数据库中各样品的光谱数据的光谱相似度,确定所述待测物质与所述数据库中各样品匹配的匹配结果,其中,所述数据库中包括已知样品的光谱数据和属性信息,以及未知样品的光谱数据以及属性信息;The matching module is configured to determine a matching result for matching the substance to be tested with each sample in the database according to the spectral similarity between the spectrum data of the substance to be tested and the spectral data of each sample in the database, wherein the The database includes spectral data and attribute information of known samples, as well as spectral data and attribute information of unknown samples;
    检测结果确定模块用于根据所述匹配结果,确定所述待测物质的检测结果。The detection result determination module is configured to determine a detection result of the substance to be tested according to the matching result.
  9. 一种终端,其中,包括:A terminal, including:
    至少一个处理器;以及,At least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory connected in communication with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1~8任一项所述的物质检测的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method according to any one of claims 1 to 8. Method of substance detection.
  10. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1~8任一项所述的物质检测的方法。A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the method for detecting a substance according to any one of claims 1 to 8 is implemented.
PCT/CN2018/095843 2018-07-16 2018-07-16 Substance detection method and apparatus, terminal, and readable storage medium WO2020014842A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880001297.XA CN109073537A (en) 2018-07-16 2018-07-16 A kind of method, apparatus, terminal and the readable storage medium storing program for executing of substance detection
PCT/CN2018/095843 WO2020014842A1 (en) 2018-07-16 2018-07-16 Substance detection method and apparatus, terminal, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/095843 WO2020014842A1 (en) 2018-07-16 2018-07-16 Substance detection method and apparatus, terminal, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2020014842A1 true WO2020014842A1 (en) 2020-01-23

Family

ID=64789243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/095843 WO2020014842A1 (en) 2018-07-16 2018-07-16 Substance detection method and apparatus, terminal, and readable storage medium

Country Status (2)

Country Link
CN (1) CN109073537A (en)
WO (1) WO2020014842A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532308B (en) * 2019-07-11 2024-01-02 北京嘉元文博科技有限公司 Cultural relic substance identification method and device and computer readable storage medium
CN110458229A (en) * 2019-08-09 2019-11-15 电子科技大学中山学院 A kind of recognition methods of fluorescent powder and device
CN110780021A (en) * 2019-10-30 2020-02-11 广船国际有限公司 Method and device for determining standard substance, terminal and storage medium
CN113466426A (en) * 2021-06-30 2021-10-01 中国航发动力股份有限公司 Method for obtaining shrinkage rate of sample casting and method for determining shrinkage rate of blade
CN114034641A (en) * 2021-12-08 2022-02-11 重庆大学 Narrow-band filter-based Raman on-chip detection system and method
CN115078281B (en) * 2022-08-23 2022-11-25 北京英视睿达科技股份有限公司 Water body substance component detection and calculation method based on picture spectral similarity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955518A (en) * 2014-05-06 2014-07-30 北京华泰诺安科技有限公司 Method for matching a test object spectrum with database spectrum
CN104215623A (en) * 2013-05-31 2014-12-17 欧普图斯(苏州)光学纳米科技有限公司 Multi-industry detection-oriented laser Raman spectrum intelligent identification method and system
CN105606584A (en) * 2015-12-15 2016-05-25 厦门出入境检验检疫局检验检疫技术中心 Method and system for identifying consistency of articles by using Raman spectroscopy
CN105699304A (en) * 2016-01-28 2016-06-22 深圳市芭田生态工程股份有限公司 Method for acquiring matter information represented by spectral information
CN108052962A (en) * 2017-11-29 2018-05-18 西安建筑科技大学 A kind of Spectral matching algorithm based on improved edit-distance

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101285768B (en) * 2008-05-29 2010-06-02 红云红河烟草(集团)有限责任公司 Method for damage-free discrimination for genuine-fake cigarette by near-infrared spectral analysis technology
CN104568778B (en) * 2015-01-15 2018-04-17 浙江理工大学 A kind of textile component discrimination method based on high light spectrum image-forming
CN106198482B (en) * 2015-05-04 2019-07-05 清华大学 The method for whether being added with Western medicine in detection health care product based on Raman spectrum
CN108064389B (en) * 2017-09-15 2019-02-01 达闼科技(北京)有限公司 A kind of target identification method, device and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104215623A (en) * 2013-05-31 2014-12-17 欧普图斯(苏州)光学纳米科技有限公司 Multi-industry detection-oriented laser Raman spectrum intelligent identification method and system
CN103955518A (en) * 2014-05-06 2014-07-30 北京华泰诺安科技有限公司 Method for matching a test object spectrum with database spectrum
CN105606584A (en) * 2015-12-15 2016-05-25 厦门出入境检验检疫局检验检疫技术中心 Method and system for identifying consistency of articles by using Raman spectroscopy
CN105699304A (en) * 2016-01-28 2016-06-22 深圳市芭田生态工程股份有限公司 Method for acquiring matter information represented by spectral information
CN108052962A (en) * 2017-11-29 2018-05-18 西安建筑科技大学 A kind of Spectral matching algorithm based on improved edit-distance

Also Published As

Publication number Publication date
CN109073537A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2020014842A1 (en) Substance detection method and apparatus, terminal, and readable storage medium
WO2020215571A1 (en) Sensitive data identification method and device, storage medium, and computer apparatus
WO2015135452A1 (en) Text information processing method and apparatus
WO2017020514A1 (en) Picture scene determining method and apparatus, and server
WO2018157818A1 (en) Method and apparatus for inferring preference of user, terminal device, and storage medium
WO2022111327A1 (en) Risk level data processing method and apparatus, and storage medium and electronic device
CN109342989B (en) Error analysis method and device for electric energy meter
CN108390788B (en) User identification method and device and electronic equipment
US9787685B2 (en) Methods, devices and systems for managing authority
CN106790262B (en) Authentication method and device
CN112382387A (en) Intelligent medical information pushing method and device based on big data and medical cloud platform
WO2020015139A1 (en) Method and device for identifying high-risk passenger, computer apparatus, and storage medium
US20210397828A1 (en) Bi-directional interaction network (binet)-based person search method, system, and apparatus
EP3276487A1 (en) Method of detecting similar applications and electronic device adapted to the same
CN111400126A (en) Network service abnormal data detection method, device, equipment and medium
WO2019196107A1 (en) Method for detecting composition of substance, related device, and computer readable storage medium
CN112702339A (en) Abnormal traffic monitoring and analyzing method and device based on deep migration learning
US8922828B2 (en) Determining scan priority of documents
WO2018188222A1 (en) A2l file merging method and device
CN105205074B (en) File increment upgrade method and system
CN112259226A (en) Intelligent medical condition monitoring method and system based on big data and medical cloud platform
CN111159115A (en) Similar file detection method, device, equipment and storage medium
US11367311B2 (en) Face recognition method and apparatus, server, and storage medium
CN110020665A (en) A kind of microbial biomass modal data analysis method being compatible with different flight mass spectrometers
US20220166702A1 (en) Fuzzing preprocessing apparatus and method for automating smart network fuzzing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18926644

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/05/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18926644

Country of ref document: EP

Kind code of ref document: A1