CN108369603B - Substance detection processing method, substance detection processing device and detection equipment - Google Patents

Substance detection processing method, substance detection processing device and detection equipment Download PDF

Info

Publication number
CN108369603B
CN108369603B CN201780003278.6A CN201780003278A CN108369603B CN 108369603 B CN108369603 B CN 108369603B CN 201780003278 A CN201780003278 A CN 201780003278A CN 108369603 B CN108369603 B CN 108369603B
Authority
CN
China
Prior art keywords
substance
spectral information
user
database
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780003278.6A
Other languages
Chinese (zh)
Other versions
CN108369603A (en
Inventor
骆磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cloudoptek Technology Co ltd
Original Assignee
Cloudminds Shenzhen Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cloudminds Shenzhen Holdings Co Ltd filed Critical Cloudminds Shenzhen Holdings Co Ltd
Publication of CN108369603A publication Critical patent/CN108369603A/en
Application granted granted Critical
Publication of CN108369603B publication Critical patent/CN108369603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Biochemistry (AREA)
  • Computational Linguistics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The embodiment of the invention relates to a substance detection processing method, a substance detection processing device and detection equipment, wherein the method comprises the following steps: acquiring spectral information of a substance to be detected; matching the spectral information of the substance to be detected in a known substance detection database, wherein at least two spectral information with known substance names are stored in the known substance detection database; and if the spectral information of the substance to be detected does not match the known substance detection database, storing the spectral information and a record that the spectral information is not identified by the known substance detection database in a pre-established unknown substance detection database. The embodiment of the invention is convenient for database maintenance personnel to track the current use condition, updates and enriches the database in time, and further improves the detection success rate of the substance to be detected.

Description

Substance detection processing method, substance detection processing device and detection equipment
Technical Field
The embodiment of the invention relates to the technical field of substance detection, in particular to a substance detection processing method, a substance detection processing device and detection equipment.
Background
In recent years, substance detection devices are widely used in the fields of security inspection, such as the detection of suspicious articles, the detection of drug components by drug administration, and the explosion field investigation by chemical defense troops, and civil fields such as the detection of pesticide residues, the detection of melamine, the detection of illegal cooking oil and genuine and fake wine, and are widely used in the field of food safety. In the conventional detection device, a substance detection database storing known substance spectral information is arranged on a local or cloud server, and when the substance is detected, the spectral information of the substance to be detected is matched with the spectral information in the substance detection database so as to determine the name of the substance to be detected.
In the course of studying the prior art, the inventors found that there are at least the following problems in the related art: due to the fact that the variety of substances in real life is too many, even if a large database maintained and updated by a specially-assigned person is established at the cloud end, the spectral information of all the substances is difficult to cover, and therefore the situations that the spectral information uploaded by a user fails to be matched and the substances to be detected cannot be detected often occur.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a novel substance detection processing method, device and detection apparatus, which can help database maintenance personnel to update and enrich a substance detection database, thereby improving the detection success rate of a substance to be detected.
In a first aspect, an embodiment of the present invention provides a substance detection processing method, where the processing method is applied to a detection device, and the method includes:
acquiring spectral information of a substance to be detected;
matching the spectral information of the substance to be detected in a known substance detection database, wherein at least two spectral information with known substance names are stored in the known substance detection database;
and if the matching result that the spectral information of the substance to be detected is matched with the known substance detection database is negative, storing the spectral information and a record that the spectral information is not identified by the known substance detection database in a pre-established unknown substance detection database.
In a second aspect, an embodiment of the present invention further provides a substance detection processing apparatus, where the processing apparatus is applied to a detection device, and the apparatus includes:
the spectrum information acquisition module is used for acquiring the spectrum information of the substance to be detected;
the spectrum information matching module is used for matching the spectrum information of the substance to be detected in a known substance detection database, and at least two pieces of spectrum information with known substance names are stored in the known substance detection database;
and the first database updating module is used for enabling the pre-established unknown substance detection database to store the spectral information and the record that the spectral information is not identified by the known substance detection database if the matching result that the spectral information of the substance to be detected is matched with the known substance detection database is negative.
In a third aspect, an embodiment of the present invention further provides a detection apparatus, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
According to the substance detection processing method, the substance detection processing device and the substance detection equipment provided by the embodiment of the invention, when the spectral information of the substance to be detected does not match the known substance detection database, namely, the substance to be detected is not identified by the detection equipment, the spectral information and the information that the spectral information is not identified by the known substance detection database are stored in the pre-established unknown substance detection database. Therefore, the database maintenance personnel can know which substance spectral information needs to be added in the using process of the current user by checking the related content of the unidentified spectral information in the unknown substance detection database. The method and the device are convenient for database maintenance personnel to track the current use condition, update and enrich the database in time, and further improve the detection success rate of the substance to be detected.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1a is a schematic diagram of an application scenario of the processing method and apparatus of the present invention;
FIG. 1b is a schematic diagram of an application scenario of the processing method and apparatus of the present invention;
FIG. 2 is a flow chart of one embodiment of a processing method of the present invention;
FIG. 3a is a flow chart of some of the steps of an embodiment of the process of the present invention;
FIG. 3b is a flow chart of some of the steps of an embodiment of the process of the present invention;
FIG. 4 is a schematic structural view of one embodiment of a processing apparatus of the present invention;
FIG. 5 is a schematic structural view of one embodiment of a processing apparatus of the present invention;
FIG. 6 is a schematic structural view of one embodiment of a treatment apparatus of the present invention;
FIG. 7 is a schematic structural view of one embodiment of a treatment apparatus of the present invention; and
fig. 8 is a schematic diagram of a hardware structure of a detection device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The substance detection processing method and the substance detection processing device provided by the embodiment of the invention are suitable for application scenes shown in fig. 1a and 1 b. In the application scenario shown in fig. 1a, the substance to be detected 10, the detection terminal 21 and the detection device 20 are included, where the detection terminal 21 is configured to obtain spectral information of the substance to be detected 10, and then send the spectral information of the substance to be detected 10 to the detection device 20. The detection device 20 is used for identifying the spectral information of the substance 10 to be detected to obtain a detection result of the substance 10 to be detected, and sending the detection result to the detection terminal 21, so that a user can know the substance name of the substance 10 to be detected. The detection terminal 21 and the detection device 20 can communicate with each other through a network 30, wherein the network 30 can be a local area network of a home or a company, or a specific network, for example. The test terminal 21 and the test device 20 have at least one network interface to establish a communication connection with the network 30. The detection device 20 may be a cloud server or other server connected to the detection terminal 10 via a network.
As shown in fig. 1b, the detection device 20 may also integrate the functions of acquiring the spectral information and identifying the spectral information at the same time, that is, the detection device 20 separately acquires the spectral information of the substance 10 to be detected from the substance 10 to be detected and acquires the substance name of the substance to be detected through the spectral information.
The detection device 20 previously establishes a known substance detection database storing spectral information of known substances and an unknown substance detection database storing spectral information of unknown substances. After the detection device 20 acquires the spectral information of the substance 10 to be detected or acquires the spectral information from the detection terminal 21, matching the spectral information in a known substance detection database, and if the matching is successful, returning or returning a detection result, namely the substance name of the substance 10 to be detected, to the detection terminal 21. If the matching is unsuccessful, then the unknown substance detection database is caused to store the spectral information, and information that the spectral information is not recognized by the known substance detection database. The database maintenance personnel can track the current use condition by checking the unknown substance detection database conveniently, the database is updated and enriched in time, and the detection success rate of the substance to be detected is improved.
It should be noted that, in the practical application process, the application scenario may further include more substances to be detected 10, detection devices 20, and detection terminals 21.
An embodiment of the present invention provides a substance detection processing method, which may be performed by the detection apparatus 20 in fig. 1a or fig. 1b, as shown in fig. 2, and includes:
101: acquiring spectral information of a substance to be detected;
the spectral information may be a raman spectrum, an infrared spectrum, or the like, the raman spectrum may be obtained by the raman spectrum component, and the infrared spectrum may be obtained by the infrared spectrum component. The raman spectroscopy component, the infrared spectroscopy component, and the like may be disposed inside the detection device 20, and the detection device 20 directly obtains the spectral information. The raman spectroscopy component, the infrared spectroscopy component, and the like may also be provided inside the detection terminal 21, and the detection terminal 21 obtains the spectral information and then transmits the spectral information to the detection apparatus 20 through the network 30.
102: and matching the spectral information of the substance to be detected in a known substance detection database, wherein at least two spectral information with known substance names are stored in the known substance detection database.
The known substance detection database stores a large amount of spectral information with known substance names, the spectral information of the substance to be detected is compared with the spectral information in the known substance detection database one by one, and if the known substance detection database contains spectral information matched with the spectral information of the substance to be detected, the spectral information of the substance to be detected is matched with the known substance detection database, namely the substance to be detected is identified, and a detection result can be returned by the detection device 20. And if the spectral information matched with the spectral information of the substance to be detected does not exist in the known substance detection database, the spectral information of the substance to be detected does not match the known substance detection database, namely the substance to be detected is not identified.
103: and if the matching result that the spectral information of the substance to be detected is matched with the known substance detection database is negative, storing the spectral information and a record that the spectral information is not identified by the known substance detection database in a pre-established unknown substance detection database.
An unknown substance detection database for storing the unidentified spectral information may be established in advance, and when the spectral information of the substance to be detected does not match the known substance detection database, that is, the substance to be detected is unidentified by the detection device 20, the spectral information of the unidentified substance to be detected and the relevant information of the unidentified spectral information may be stored in the unknown substance detection database. So that the database maintenance personnel can know which spectral information is not identified currently by looking at the unknown substance detection database, and accordingly update and enrich the database.
In particular, in some embodiments of the method, the spectral information that is not identified is stored in an unknown substance detection database, and the spectral information may be first matched in the unknown substance detection database. If the spectral information does not match the unknown substance detection database, which indicates that the spectral information is not recognized for the first time, the spectral information is added to the unknown substance detection database, and an initial value of the number of times of non-recognition of the spectral information (for example, the initial value of the number of times of non-recognition is set to 1), and a data identification (data ID) may be assigned to the spectral information. In practical applications, the spectral information may be stored in the unknown substance detection database in the form of the following data structure.
Figure BDA0001606644150000051
Figure BDA0001606644150000061
If the spectral information matches the unknown substance detection database, indicating that the unknown substance detection database already stores a data structure of the spectral information, and the spectral information has been previously detected by other users and has been unsuccessfully detected, directly increasing the number of unidentified times in the existing data structure, for example, adding 1 to the number of unidentified times.
Optionally, the unidentified number of times for the same user is calculated only once, that is, if the user has performed a detection for the spectral information before, the unidentified number of times of the spectral information is not increased any more. Various items of information related to the spectral information may be stored in the unknown substance detection database in the form of the following data structures:
Figure BDA0001606644150000062
the unidentified user array is used for storing the identity of the user detecting the spectral information and can also store the detection record of the user detecting the spectral information. Matching the spectral information detected by the user to the unknown substance detection database when the spectral information is not recognized by the known substance detection database. If the spectrum information does not match the unknown substance detection database, establishing data of the data structure in the unknown substance detection database, storing the spectrum information, distributing a data ID for the spectrum information, setting an initial value (for example, 1) of the unidentified times, and adding the identity of the user in an unidentified user array. If the spectral information matches the unknown substance detection database, it is first determined whether the user's identity exists in the unidentified user array corresponding to the spectral information, if so, it is indicated that the user has previously detected the spectral information, the number of unidentified times is not increased, and if not, the number of unidentified times is increased (for example, by 1).
In the embodiment of the invention, when the spectral information of the substance to be detected does not match the known substance detection database, that is, the substance to be detected is not identified by the detection device, the spectral information and information that the spectral information is not identified by the known substance detection database are stored in the pre-established unknown substance detection database. Therefore, the database maintenance personnel can know which substance spectral information needs to be added in the using process of the current user by checking the related content of the unidentified spectral information in the unknown substance detection database. The method and the device are convenient for database maintenance personnel to track the current use condition, update and enrich the database in time, and further improve the detection success rate of the substance to be detected.
Optionally, the detection device 20 may also receive a substance name corresponding to the unrecognized spectral information uploaded by the user. For example, when spectral information of a substance to be detected of a user is not recognized, if the user knows the name of the substance to be detected, the name of the substance of the spectral information may be actively input. The substance name may be directly input into the detection device 20 by the user, or may be input into the detection terminal 21 by the user and uploaded to the detection device 20 by the detection terminal 21 through the network 30. The detection device 20 will determine whether to add the spectral information and the received substance name to the database of known substance detections based on the trustworthiness of the received substance name. Therefore, the enrichment and the updating of the known substance detection database can be automatically realized, the detectable substance range of the database is efficiently and reliably improved, and the maintenance cost is greatly reduced.
Wherein the detection device 20 determines the trustworthiness of the received substance name based on the user's credit value of the uploaded substance name. For example, in some embodiments of the method, as shown in fig. 3a, the method further comprises:
104 a: a substance name uploaded by a user that does not match spectral information of a database of known substance detections is received.
105 a: and acquiring a credit value of the user, and if the credit value is greater than or equal to a preset credit threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
When the detection device 20 receives the substance name of the unidentified spectral information uploaded by a certain user, the credit value of the user can be acquired, if the credit value is higher than or equal to a preset credit threshold value, the credibility of the substance name uploaded by the user is considered to be high, the substance name can be determined as the substance name of the spectral information, the spectral information and the substance name uploaded by the user are added into a known substance detection database, and further the spectral information can be deleted from the unknown substance detection database at the same time.
The detection device 20 may also determine the reliability of the uploaded substance name based on the number of users who uploaded the same substance name for the same spectral information. For example, in certain embodiments of the method, the method further comprises:
and increasing the uploading times of the spectral information.
If the uploading times are larger than or equal to a preset time threshold value, acquiring the number of users uploading the same substance name to the spectrum information, and if the number of users is larger than or equal to a preset number threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
After the detection device 20 receives the substance name of unidentified spectral information uploaded by a certain user, the number of times of uploading the spectral information is increased (an initial value of the number of times of uploading may be set to 0), and the substance name and the uploading user are recorded, if the number of times of uploading the spectral information is greater than or equal to a preset number threshold, and the number of users uploading the same substance name for the spectral information is greater than or equal to a preset number threshold, the substance name is considered to have a high reliability, the substance name may be determined as the substance name of the spectral information, the spectral information and the substance name corresponding to the substance name are added to a known substance detection database, and further, the spectral information may be deleted from the unknown substance detection database at the same time.
In practical application, the method for judging the credit value of the uploading user can be independently used for judging the credibility of the substance name, and if the credit value of the user is smaller than a preset credit threshold value, no operation is performed. Or the credibility of the substance names is judged by independently using a method for judging the number of users uploading the same substance names, and if the number of the users is smaller than a preset user number threshold value, no operation is performed. The two methods can also be combined, for example, a credit value of the uploading user is acquired, and if the credit value is greater than or equal to a preset credit threshold value, the spectral information and the corresponding substance name are added into a known substance detection database. If the credit value is smaller than a preset credit threshold value, and the uploading times aiming at the spectrum information are larger than or equal to a preset time threshold value, further acquiring the number of users uploading the same substance name aiming at the spectrum information, and if the number of users is larger than or equal to the user number threshold value, adding the spectrum information and the corresponding substance name into a known substance detection database. And if the number of the users is smaller than the user number threshold value, no operation is performed. That is, in this embodiment, as shown in fig. 3b, in addition to 101 and 103, the method further includes:
104 b: receiving a substance name uploaded by a user and not matched with spectral information of a known substance detection database; .
105 b: and acquiring a credit value of the user, and if the credit value is greater than or equal to a preset credit threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
106 b: increasing the uploading times of the spectral information;
107 b: if the credit value of the user is smaller than a preset credit threshold value, and the uploading times are larger than or equal to a preset number threshold value, acquiring the number of users uploading the same substance name to the spectrum information, and if the number of users is larger than or equal to a preset number threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
Specifically, in practical applications, the number of times of uploading the spectral information in the unknown substance detection database may be increased to record the number of times of uploading the substance name to the spectral information, and the information of the user who uploads the substance name may be further increased, for example, the following data structure is adopted:
Figure BDA0001606644150000091
Figure BDA0001606644150000101
wherein an initial value (e.g. 0) may be assigned for the number of uploads when the database is built, and the upload substance name user array is used to store the identity of the user uploading the substance name to the spectral information and the substance name uploaded by the user. And when the user uploads the substance name aiming at the spectrum information, deleting the identity of the user in the unidentified user array, and adding the uploaded substance name user array.
Optionally, the number of uploads of the spectral information is calculated only once for the same user, i.e. if the user has previously uploaded the substance name for the spectral information, the number of uploads of the spectral information is not increased. Whether the identification of the user exists in the uploaded substance name user array corresponding to the spectral information may be determined, if so, it is indicated that the user has uploaded the substance name for the spectral information before, the number of times of uploading is not increased, and if not, the number of times of uploading is increased (for example, 1 is added).
When the substance name of the spectral information is finally confirmed, the substance name of the spectral information can be notified to a user who does not upload the substance name and has an error in uploading substance name among users who detect the spectral information; and rewarding the user who uploaded the correct name of the substance. Specifically, the operation may be performed according to the unidentified user array and the uploaded substance name user array, and the finally confirmed substance name is sent to all users in the unidentified user array, that is, the user who does not upload the substance name among the users who detect the spectral information. And comparing the finally confirmed substance names one by one with the substance names corresponding to the users recorded in the uploaded substance name user array, wherein if the substance names are consistent with each other, the corresponding user is the user with the correct uploaded substance name, and if the substance names are not consistent with each other, the corresponding user is the user with the wrong uploaded substance name, so that the correct substance name can be sent to the user with the wrong uploaded substance name, and a reward is given to the user with the correct uploaded substance name, for example, a substance reward is given and/or the credit value of the user is increased. Therefore, user experience can be improved, the substance names of the spectral information uploaded by the user are encouraged, and further help is provided for enrichment and updating of the database.
Correspondingly, an embodiment of the present invention further provides a substance detection processing apparatus, which is used in the detection device shown in fig. 1a or fig. 1b, as shown in fig. 4, the processing apparatus 200 includes:
the spectrum information acquisition module 201 is used for acquiring the spectrum information of the substance to be detected;
the spectrum information matching module 202 is configured to match the spectrum information of the substance to be detected in a known substance detection database, where at least two pieces of spectrum information with known substance names are stored in the known substance detection database;
a first database updating module 203, configured to, if the matching result that the spectral information of the substance to be detected matches the known substance detection database is negative, enable a pre-established unknown substance detection database to store the spectral information and a record that the spectral information is not identified by the known substance detection database.
In the embodiment of the invention, when the spectral information of the substance to be detected does not match the known substance detection database, that is, the substance to be detected is not identified by the detection device, the spectral information and information that the spectral information is not identified by the known substance detection database are stored in the pre-established unknown substance detection database. Therefore, the database maintenance personnel can know which substance spectral information needs to be added in the using process of the current user by checking the related content of the unidentified spectral information in the unknown substance detection database. The method and the device are convenient for database maintenance personnel to track the current use condition, update and enrich the database in time, and further improve the detection success rate of the substance to be detected.
Optionally, in some embodiments of the apparatus, as shown in fig. 5, the first database updating module 203 includes a first database updating sub-module 2031 configured to:
matching the spectral information of the substance to be detected in the unknown substance detection database, and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is negative, adding the spectral information and the initial unidentified frequency value of the spectral information into the unknown substance detection database;
and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is yes, increasing the unidentified times of the spectral information.
Optionally, in some embodiments of the apparatus, as shown in fig. 6, the apparatus 200 further includes a second database updating module 204, configured to:
receiving a substance name uploaded by a user and not matched with spectral information of a known substance detection database;
and acquiring a credit value of the user, and if the credit value is greater than or equal to a preset credit threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
Optionally, in some embodiments of the apparatus, the second database updating module 204 is further configured to:
increasing the uploading times of the spectral information;
if the credit value of the user is smaller than a preset credit threshold value, and the uploading times are larger than or equal to a preset number threshold value, acquiring the number of users uploading the same substance name to the spectrum information, and if the number of users is larger than or equal to a preset number threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
Optionally, in some embodiments of the apparatus, referring to fig. 7, the apparatus 200 further includes:
a reply module 205, configured to notify a user who does not upload the substance name and uploads the substance name incorrectly in the users that detect the spectral information of the substance name;
and the reward module 206 is used for rewarding the user with the correct name of the uploaded substance.
Optionally, in some embodiments of the apparatus, referring to fig. 7, the apparatus 200 further includes:
a storage module 207 for:
storing an unidentified user array and an uploaded substance name user array associated with the spectral information in the unknown substance detection database, wherein the unidentified user array is used for storing the identity of a user who detects the spectral information, and the uploaded substance name user array is used for storing the identity of a user who uploads a substance name to the spectral information and the substance name;
and when the spectrum information detected by the user is not matched with the matching result of the known substance detection database, adding the identity of the user into the unidentified user array of the spectrum, and when the user uploads the substance name aiming at the spectrum information, deleting the identity of the user in the unidentified user array and adding the identity of the user into the uploaded substance name user array.
Optionally, in some embodiments of the apparatus, the first database updating sub-module 203 is specifically configured to:
if the identity of the user detecting the spectral information does not exist in the unidentified user array, increasing the unidentified times of the spectral information;
the second database updating module 204 is specifically configured to:
and if the identification of the user uploading the substance name does not exist in the uploaded substance name user array, increasing the uploading times of the spectrum information.
It should be noted that the processing apparatus can execute the processing method provided by the embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. For technical details that are not described in detail in the embodiments of the processing apparatus, reference may be made to the processing method provided in the embodiments of the present invention.
Fig. 8 is a schematic diagram of a hardware structure of a detection apparatus 20 according to an embodiment of the present invention, and as shown in fig. 8, the detection apparatus 20 includes:
one or more processors 22 and a memory 23, with one processor 22 being an example in fig. 8.
The processor 22 and the memory 23 may be connected by a bus or other means, such as the bus connection in fig. 8.
The memory 23, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the processing method in the embodiment of the present invention (for example, the spectral information acquisition module 201, the spectral information matching module 202, and the first database update module 203 shown in fig. 4). The processor 22 executes various functional applications of the server and data processing, i.e., a processing method of the above-described method embodiment, by executing the nonvolatile software program, instructions, and modules stored in the memory 23.
The memory 23 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the processing device, and the like. Further, the memory 23 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 23 may optionally include memory located remotely from the processor 22, which may be connected to the processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 23 and, when executed by the one or more processors 22, perform the processing method in any of the method embodiments described above, e.g., performing the method steps 101-103 of fig. 2, 104 a-105 a of fig. 3a, and 104 b-107 b of fig. 3b described above; the functions of the module 201 and 203 in fig. 4, the module 201 and 203 in fig. 5, the sub-module 2031, the module 201 and 204 in fig. 6, and the module 201 and 207 in fig. 7 are realized.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, such as one of the processors 22 in fig. 8, to enable the one or more processors to perform the processing method in any of the method embodiments, such as performing the method steps 101 to 103 in fig. 2, the method steps 104a to 105a in fig. 3a, and the method steps 104b to 107b in fig. 3 b; the functions of the module 201 and 203 in fig. 4, the module 201 and 203 in fig. 5, the sub-module 2031, the module 201 and 204 in fig. 6, and the module 201 and 207 in fig. 7 are realized.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (15)

1. A substance detection processing method applied to a detection device, the method comprising:
acquiring spectral information of a substance to be detected;
matching the spectral information of the substance to be detected in a known substance detection database, wherein at least two spectral information with known substance names are stored in the known substance detection database;
if the matching result that the spectral information of the substance to be detected is matched with the known substance detection database is negative, enabling the spectral information and the record that the spectral information is not identified by the known substance detection database to be stored in a pre-established unknown substance detection database;
said causing said unknown substance detection database to store said spectral information, and a record that said spectral information is not recognized by said known substance detection database, comprises:
matching the spectral information of the substance to be detected in the unknown substance detection database, and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is negative, adding the spectral information and the initial unidentified frequency value of the spectral information into the unknown substance detection database;
and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is yes, increasing the unidentified times of the spectral information.
2. The method of claim 1, further comprising:
receiving a substance name uploaded by a user and not matched with spectral information of a known substance detection database;
and acquiring a credit value of the user, and if the credit value is greater than or equal to a preset credit threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
3. The method of claim 2, further comprising:
increasing the uploading times of the spectral information;
if the credit value of the user is smaller than a preset credit threshold value, and the uploading times are larger than or equal to a preset number threshold value, acquiring the number of users uploading the same substance name to the spectrum information, and if the number of users is larger than or equal to a preset number threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
notifying a user who does not upload the substance name and has an error in uploading the substance name among users who detect the spectral information, of the substance name of the spectral information;
and rewarding the user who uploads the correct material name.
5. The method of claim 3, further comprising:
storing an unidentified user array and an uploaded substance name user array associated with the spectral information in the unknown substance detection database, wherein the unidentified user array is used for storing the identity of a user who detects the spectral information, and the uploaded substance name user array is used for storing the identity of a user who uploads a substance name to the spectral information and the substance name;
and when the spectral information detected by the user is not matched with the matching result of the known substance detection database, adding the identity of the user into the unidentified user array of the spectral information, and when the user uploads the substance name aiming at the spectral information, deleting the identity of the user from the unidentified user array and adding the identity of the user into the uploaded substance name user array.
6. The method according to claim 5, wherein if the matching result of the spectral information of the substance to be detected matching the unknown substance detection database is yes, increasing the number of unidentified times of the spectral information comprises:
if the identity of the user detecting the spectral information does not exist in the unidentified user array, increasing the unidentified times of the spectral information;
the increasing the uploading times of the spectral information comprises:
and if the identification of the user uploading the substance name does not exist in the uploaded substance name user array, increasing the uploading times of the spectrum information.
7. A substance detection processing device applied to a detection apparatus, the device comprising:
the spectrum information acquisition module is used for acquiring the spectrum information of the substance to be detected;
the spectrum information matching module is used for matching the spectrum information of the substance to be detected in a known substance detection database, and at least two pieces of spectrum information with known substance names are stored in the known substance detection database;
the first database updating module is used for enabling a pre-established unknown substance detection database to store the spectral information and a record that the spectral information is not identified by the known substance detection database if the matching result that the spectral information of the substance to be detected is matched with the known substance detection database is negative;
the first database update module includes a first database update sub-module configured to:
matching the spectral information of the substance to be detected in the unknown substance detection database, and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is negative, adding the spectral information and the initial unidentified frequency value of the spectral information into the unknown substance detection database;
and if the matching result that the spectral information of the substance to be detected is matched with the unknown substance detection database is yes, increasing the unidentified times of the spectral information.
8. The apparatus of claim 7, further comprising a second database update module to:
receiving a substance name uploaded by a user and not matched with spectral information of a known substance detection database;
and acquiring a credit value of the user, and if the credit value is greater than or equal to a preset credit threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
9. The apparatus of claim 8, wherein the second database update module is further configured to:
increasing the uploading times of the spectral information;
if the credit value of the user is smaller than a preset credit threshold value, and the uploading times are larger than or equal to a preset number threshold value, acquiring the number of users uploading the same substance name to the spectrum information, and if the number of users is larger than or equal to a preset number threshold value, adding the spectrum information and the substance name corresponding to the spectrum information into the known substance detection database.
10. The apparatus of claim 8 or 9, further comprising:
the reply module is used for notifying the substance name of the spectral information to users who do not upload the substance name and upload the substance name incorrectly in the users who detect the spectral information;
and the reward module is used for rewarding the user with the correct uploaded substance name.
11. The apparatus of claim 9, further comprising a storage module configured to:
storing an unidentified user array and an uploaded substance name user array associated with the spectral information in the unknown substance detection database, wherein the unidentified user array is used for storing the identity of a user who detects the spectral information, and the uploaded substance name user array is used for storing the identity of a user who uploads a substance name to the spectral information and the substance name;
and when the spectrum information detected by the user is not matched with the matching result of the known substance detection database, adding the identity of the user into the unidentified user array of the spectrum, and when the user uploads the substance name aiming at the spectrum information, deleting the identity of the user in the unidentified user array and adding the identity of the user into the uploaded substance name user array.
12. The apparatus of claim 11, wherein the first database update sub-module is specifically configured to:
if the identity of the user detecting the spectral information does not exist in the unidentified user array, increasing the unidentified times of the spectral information;
the second database update module is specifically configured to:
and if the identification of the user uploading the substance name does not exist in the uploaded substance name user array, increasing the uploading times of the spectrum information.
13. A detection apparatus, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a detection device, cause the detection device to perform the method of any one of claims 1-6.
15. A computer program product, characterized in that the computer program product comprises a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions which, when executed by a detection device, cause the detection device to perform the method of any of claims 1-6.
CN201780003278.6A 2017-11-24 2017-11-24 Substance detection processing method, substance detection processing device and detection equipment Active CN108369603B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/112947 WO2019100346A1 (en) 2017-11-24 2017-11-24 Substance detection processing method, device and detection apparatus

Publications (2)

Publication Number Publication Date
CN108369603A CN108369603A (en) 2018-08-03
CN108369603B true CN108369603B (en) 2022-03-11

Family

ID=63011263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780003278.6A Active CN108369603B (en) 2017-11-24 2017-11-24 Substance detection processing method, substance detection processing device and detection equipment

Country Status (2)

Country Link
CN (1) CN108369603B (en)
WO (1) WO2019100346A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109543798B (en) * 2018-11-29 2021-02-02 深圳达闼科技控股有限公司 Product anti-counterfeiting method and device based on spectral information and computing equipment
CN109580534A (en) * 2018-11-30 2019-04-05 深圳市太赫兹科技创新研究院有限公司 Substance classes recognition methods, terahertz time-domain spectroscopy instrument system and terminal device
CN110489586A (en) * 2019-01-07 2019-11-22 公安部第一研究所 A kind of matched method of sample detection database hierarchy
CN110503055B (en) * 2019-08-27 2022-04-05 广东小天才科技有限公司 Friend adding method, device and system and storage medium
CN111077326A (en) * 2019-12-20 2020-04-28 中译语通文娱科技(青岛)有限公司 Detection technology based on AI technology pre-perception capability
CN113358594B (en) * 2020-06-30 2023-07-28 北京领主科技有限公司 Material component analysis system, method, device and medium based on spectrum detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821991A (en) * 2005-02-18 2006-08-23 上海赢思软件技术有限公司 Knowledge question-and-answer quick processing system based on artificial intelligence
CN101093509A (en) * 2007-07-18 2007-12-26 中国科学院计算技术研究所 Interactive querying system and method
CN101949824A (en) * 2009-06-30 2011-01-19 武汉矽感科技有限公司 Method and system device for detecting commodity according to spectral information of substance
CN102118431A (en) * 2010-12-30 2011-07-06 百度在线网络技术(北京)有限公司 Knowledge information interaction service method, platform and site
CN103439266A (en) * 2013-08-26 2013-12-11 广东省珠宝玉石及贵金属检测中心 Identification and analysis system for jewelry jade and rock minerals

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1470860A (en) * 2002-07-26 2004-01-28 精碟科技股份有限公司 Detection evaluating system
US7444198B2 (en) * 2006-12-15 2008-10-28 Applied Materials, Inc. Determining physical property of substrate
EP1992939A1 (en) * 2007-05-16 2008-11-19 National University of Ireland, Galway A kernel-based method and apparatus for classifying materials or chemicals and for quantifying the properties of materials or chemicals in mixtures using spectroscopic data.
CN103093273B (en) * 2012-12-30 2016-05-11 信帧电子技术(北京)有限公司 Based on the video demographic method of body weight for humans identification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821991A (en) * 2005-02-18 2006-08-23 上海赢思软件技术有限公司 Knowledge question-and-answer quick processing system based on artificial intelligence
CN101093509A (en) * 2007-07-18 2007-12-26 中国科学院计算技术研究所 Interactive querying system and method
CN101949824A (en) * 2009-06-30 2011-01-19 武汉矽感科技有限公司 Method and system device for detecting commodity according to spectral information of substance
CN102118431A (en) * 2010-12-30 2011-07-06 百度在线网络技术(北京)有限公司 Knowledge information interaction service method, platform and site
CN103439266A (en) * 2013-08-26 2013-12-11 广东省珠宝玉石及贵金属检测中心 Identification and analysis system for jewelry jade and rock minerals

Also Published As

Publication number Publication date
CN108369603A (en) 2018-08-03
WO2019100346A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN108369603B (en) Substance detection processing method, substance detection processing device and detection equipment
CN107566358B (en) Risk early warning prompting method, device, medium and equipment
CN106469261B (en) Identity verification method and device
US10231124B2 (en) Anti-theft method and client for a mobile terminal
CN105337997B (en) Login method of application client and related equipment
CN108154031B (en) Method, device, storage medium and electronic device for identifying disguised application
US11468264B2 (en) Substance ingredient detection method and apparatus, and detection device
JP2017501618A5 (en)
US10404723B1 (en) Method and system for detecting credential stealing attacks
CN104346566A (en) Method, device, terminal, server and system for detecting privacy authority risks
CN108306886B (en) Identity authentication method, device and storage medium
EP3256941A1 (en) System and method for user identity verification, and client and server by use thereof
CN109410675B (en) Exercise recommendation method based on student portrait and family education equipment
CN104376022B (en) Data processing method and device
CN111241400B (en) Information searching method and device
Djanali et al. SQL injection detection and prevention system with raspberry Pi honeypot cluster for trapping attacker
CN111079499B (en) Writing content identification method and system in learning environment
CN107302434B (en) Method and system for checking electronic signature
CN111385272A (en) Weak password detection method and device
CN107294902B (en) Risk identification method and equipment
CN107679053A (en) Location recommendation method, device, computer equipment and storage medium
RU2015116527A (en) METHOD FOR IMPLEMENTING ROAMING IN CASE OF DISTURBANCE OF FUNCTIONING OF DATA TRANSFER SERVICE IN MOBILE PHONE NETWORK
CN107294981B (en) Authentication method and equipment
WO2016131063A1 (en) System and method for user identity verification, and client and server by use thereof
CN110619211A (en) Malicious software identification method, system and related device based on dynamic characteristics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220602

Address after: 1904-010, 20th floor, building 4, No. 11, Changchun Bridge Road, Haidian District, Beijing 100089

Patentee after: BEIJING CLOUDOPTEK TECHNOLOGY Co.,Ltd.

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee before: CLOUDMINDS (SHENZHEN) HOLDINGS Co.,Ltd.

TR01 Transfer of patent right