WO2019100346A1 - Substance detection processing method, device and detection apparatus - Google Patents

Substance detection processing method, device and detection apparatus Download PDF

Info

Publication number
WO2019100346A1
WO2019100346A1 PCT/CN2017/112947 CN2017112947W WO2019100346A1 WO 2019100346 A1 WO2019100346 A1 WO 2019100346A1 CN 2017112947 W CN2017112947 W CN 2017112947W WO 2019100346 A1 WO2019100346 A1 WO 2019100346A1
Authority
WO
WIPO (PCT)
Prior art keywords
substance
spectral information
user
name
database
Prior art date
Application number
PCT/CN2017/112947
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 PCT/CN2017/112947 priority Critical patent/WO2019100346A1/en
Priority to CN201780003278.6A priority patent/CN108369603B/en
Publication of WO2019100346A1 publication Critical patent/WO2019100346A1/en

Links

Images

Classifications

    • 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
    • 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

Definitions

  • the embodiments of the present application relate to the field of material detection technologies, for example, to a substance detection processing method, apparatus, and detection apparatus.
  • the current detecting device sets a substance detecting database storing spectral information of a known substance on a local or cloud server, and performs material detection to match the spectral information of the substance to be detected with the spectral information in the substance detecting database to determine The name of the substance to be tested.
  • An object of the embodiments of the present application is to provide a new substance detection processing method, apparatus, and detection apparatus, which can help database maintenance personnel update and enrich the substance detection database, thereby improving the detection success rate of the substance to be detected.
  • an embodiment of the present application provides a substance detection processing method, where the processing method is applied to a detection device, and the method includes:
  • the known substance detection database stores at least two pieces of spectral information whose substance names are known;
  • the pre-established unknown substance detection database stores the spectral information, and the spectral information is not recognized by the known substance detection database.
  • the embodiment of the present application further provides a substance detecting processing device, where the processing device is applied to a detecting device, and the device includes:
  • a spectral information acquiring module configured to acquire spectral information of the substance to be detected
  • a spectral information matching module configured to match spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known;
  • a first database update module configured to: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is no, the pre-established unknown substance detection database stores the spectral information, and the The spectral information is not recorded by the known substance detection database.
  • the embodiment of the present application further provides a detecting device, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described above.
  • the material detecting processing method, device and detecting device provided by the embodiment of the present application, when the spectral information of the substance to be detected does not match the known substance detecting database, that is, the substance to be detected is not recognized by the detecting device,
  • the established unknown substance detection database stores the spectral information, and the information that the spectral information is not recognized by the known substance detection database.
  • the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
  • 1a is a schematic diagram of an application scenario of a processing method and apparatus of the present application
  • 1b is a schematic diagram of an application scenario of a processing method and apparatus of the present application
  • FIG. 2 is a flow chart of one embodiment of a processing method of the present application.
  • Figure 3a is a flow chart showing some of the steps in one embodiment of the processing method of the present application.
  • Figure 3b is a flow chart of some steps in one embodiment of the processing method of the present application.
  • FIG. 4 is a schematic structural view of an embodiment of a processing apparatus of the present application.
  • Figure 5 is a schematic structural view of an embodiment of a processing apparatus of the present application.
  • FIG. 6 is a schematic structural view of an embodiment of a processing apparatus of the present application.
  • Figure 7 is a schematic structural view of an embodiment of a processing apparatus of the present application.
  • FIG. 8 is a schematic structural diagram of hardware of a detecting device provided by an embodiment of the present application.
  • the substance detection processing method and apparatus provided by the embodiments of the present application are applicable to the application scenarios shown in FIG. 1a and FIG. 1b.
  • the substance to be detected 10 the detection terminal 21 and the detection device 20 are included, wherein the detection terminal 21 is used to obtain the spectral information of the substance to be detected 10, and then the spectral information of the substance 10 to be detected is transmitted.
  • the detection device 20 is given.
  • the detecting device 20 identifies the spectral information of the substance to be detected 10 to obtain a detection result of the substance to be detected 10, and transmits the detection result to the detecting terminal 21 to enable the user to know the substance name of the substance 10 to be detected.
  • the detecting terminal 21 and the detecting device 20 can communicate with each other through the network 30, wherein the network 30 can be, for example, a home or company local area network, or a specific network or the like.
  • the detecting terminal 21 and the detecting device 20 have at least one network interface to establish a communication connection with the network 30.
  • the detecting device 20 may be a cloud server or other server connected to the detecting terminal 10 via a network.
  • the detecting device 20 can also integrate the functions of acquiring spectral information and spectral information identification, that is, the detecting device 20 separately obtains the spectral information of the substance to be detected 10 from the substance to be detected 10, and obtains the spectral information through the spectral information.
  • the detecting device 20 pre-establishes a known substance detecting database storing spectral information of a known substance, and an unknown substance detecting database for storing spectral information of which the substance name is unknown. After the detection device 20 acquires or acquires the spectral information of the substance to be detected 10 from the detection terminal 21, the spectral information is matched in the known substance detection database, and if the matching is successful, the detection result is returned or returned to the detection terminal 21, that is, The substance name of the substance 10 is detected. If the match is unsuccessful, the unknown substance detection database is stored with the spectral information, and the spectral information is not recognized by the known substance detection database. It is convenient for the database maintenance personnel to track the current usage status by checking the unknown substance detection database, and update and enrich the database in time, thereby improving the detection success rate of the substance to be detected.
  • the application scenario may further include more substances to be detected 10, the detecting device 20, and the detecting terminal 21.
  • the embodiment of the present application provides a substance detection processing method, which may be performed by the detecting device 20 in FIG. 1a or 1b. As shown in FIG. 2, the substance detecting processing method includes:
  • the spectral information may be a Raman spectrum, an infrared spectrum or the like, and the Raman spectrum may be obtained by a Raman spectroscopy component, and the infrared spectroscopy may be obtained by an infrared spectroscopy component.
  • the Raman spectroscopy component and the infrared spectroscopy component or the like may be disposed inside the detecting device 20, and the spectral information is directly obtained by the detecting device 20.
  • a Raman spectroscopy component, an infrared spectroscopy component, and the like may also be disposed inside the detecting terminal 21, the spectral information is obtained by the detecting terminal 21, and then the spectral information is transmitted to the detecting device 20 through the network 30.
  • the known substance detection database stores a large number of spectral information with known substance names, and compares the spectral information of the substance to be detected with the spectral information in the known substance detection database one by one, if the known substance detection database exists and is to be detected.
  • the spectral information of the spectral information of the substance is matched, and the spectral information of the substance to be detected matches the known substance detection database, that is, the substance to be detected is identified, and the detection result can be returned by the detecting device 20. If the spectral information paired 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, that is, the substance to be detected is not recognized.
  • the matching result of the spectral information of the substance to be detected matches the known substance detection database is negative, storing the spectral information in a pre-established unknown substance detection database, and the spectral information is not described
  • the records identified by the substance detection database are known.
  • the unknown substance detection database may be pre-established for storing unidentified spectral information.
  • 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 recognized by the detecting device 20, it is unknown.
  • the substance detection database stores spectral information of the undetected substance to be detected, and related information that the spectral information is not recognized. In order to enable the database maintenance personnel to know which spectral information is currently not recognized by checking the unknown substance detection database, to update and enrich the database accordingly.
  • unrecognized spectral information is stored in an unknown substance detection database, which may be first matched in an unknown substance detection database. If the spectral information does not match the unknown substance detection database, indicating that the spectral information is not recognized for the first time, the spectral information is added to the unknown substance detection database, and the initial value of the unrecognized number of the spectral information (for example, the number of unrecognized times) The initial value is set to 1), and the data information can also be assigned a data identification (data ID).
  • the spectral information can be stored in an unknown substance detection database in the form of the following data structure.
  • the existing data is directly added.
  • the number of unrecognized times in the structure for example, increases the number of unrecognized ones.
  • the number of unrecognized times for the same user is only calculated once, that is, if the user has previously performed the detection for the spectral information, the unrecognized number of the spectral information is no longer increased.
  • the information related to the spectral information can be stored in the unknown substance detection database in the form of the following data structure:
  • the unidentified user array is used to store the identity of the user who detects the spectral information, and may also store a detection record in which the user detects the spectral information.
  • the spectral information detected by the user is not recognized by the known substance detection database, the spectral information is matched to the unknown substance detection database. If the spectral information does not match the unknown substance detection database, the data of the data structure is established in the unknown substance detection database, the spectrum information is stored, the data ID is assigned to the spectrum information, and the initial value of the unrecognized number is set. (For example, 1), the identity of the user is added to the unrecognized user array.
  • the spectral information matches the unknown substance detection database, it is first determined whether the identity of the user exists in an unidentified user array corresponding to the spectral information, and if yes, indicating that the user has previously detected the spectral information, The number of unrecognized times does not increase, and if not, the number of unrecognized increases (for example, 1 is added).
  • the pre-established unknown substance detecting database stores the spectral information. And information that the spectral information is not recognized by the known substance detection database.
  • the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
  • the detecting device 20 may further receive a substance name corresponding to the unrecognized spectral information uploaded by the user.
  • a substance name corresponding to the unrecognized spectral information uploaded by the user.
  • the substance name may be directly input to the detecting device 20 by the user, or may be input to the detecting terminal 21 by the user, and uploaded to the detecting device 20 by the detecting terminal 21 through the network 30.
  • the detecting device 20 determines whether the spectral information and the substance name it receives are added to the known substance detecting database based on the reliability of the received substance name. This can automatically realize the enrichment and update of the known substance detection database, efficiently and reliably improve the range of detectable substances in the database, and greatly reduce maintenance costs.
  • the detecting device 20 determines that the credibility of the received substance name may be based on the credit value of the user who uploaded the substance name. For example, in some embodiments of the method, as shown in FIG. 3a, the method further includes:
  • 105a Acquire a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance corresponding to the spectral information name.
  • the detecting device 20 When the detecting device 20 receives the substance name of the unidentified spectrum information uploaded by a certain user, the credit value of the user may be obtained, and if the credit value is higher than or equal to the preset credit threshold, the user uploads the substance.
  • the name is highly credible, and the substance name can be determined as the substance name of the spectral information, and the spectral information and the name of the substance uploaded by the user are added to the known substance detection database, and further can be simultaneously in the unknown substance detection database. Delete the spectral information.
  • the detecting device 20 can also determine the credibility of the uploaded substance name based on the number of users who upload the same substance name for the same spectral information. For example, in some embodiments of the method, the method further includes:
  • the number of uploads is greater than or equal to a preset number of thresholds, obtaining a number of users uploading the same substance name to the spectral information, and if the number of users is greater than or equal to a preset number threshold, detecting the known substance
  • the spectral information is added to the database, and the substance name corresponding to the spectral information.
  • the detecting device 20 When the detecting device 20 receives the substance name of the unidentified spectral information uploaded by a certain user, the number of uploading of the spectral information is increased (the initial value of the uploading number may be set to 0), and the substance name and the upper
  • the user records, if the number of uploads for the spectral information is greater than or equal to the preset number of thresholds, and the number of users uploading the same substance name for the spectral information is greater than or equal to the preset number threshold, the substance name is considered The credibility is high, and the substance name can be determined as the substance name of the spectral information, and the spectral information and its corresponding substance name are added to the known substance detection database, and further can be simultaneously in the unknown substance detection database. Delete the spectral information.
  • the method of judging the credit value of the uploaded user may be used alone to determine the credibility of the substance name. If the credit value of the user is less than the preset credit threshold, no operation is performed. Alternatively, the method of judging the number of users uploading the same substance name may be used to determine the credibility of the substance name. If the number of users is less than the preset user number threshold, no operation is performed. It is also possible to combine the two, for example, to obtain the credit value of the uploading user first, and if the credit value is greater than or equal to the preset credit threshold, the spectral information and the corresponding substance name are added to the known substance detection database.
  • the method includes, in addition to 101-103, a method:
  • 105b Acquire a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance corresponding to the spectral information name.
  • 107b If the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than Or equal to the preset number of thresholds, the spectral information is added to the known substance detection database, and the substance name corresponding to the spectral information.
  • the data structure of the spectral information in the unknown substance detection database may be increased by the number of uploads to record the number of times the substance name is uploaded to the spectral information, and the information of the user who uploads the substance name may be further increased, for example, as follows data structure:
  • an initial value (for example, 0) may be allocated for the number of uploads when the database is established, and an uploading substance name user array is used to store the identity of the user who uploaded the substance name to the spectral information and the substance name uploaded by the user.
  • an uploading substance name user array is used to store the identity of the user who uploaded the substance name to the spectral information and the substance name uploaded by the user.
  • the number of uploads for the same user is only calculated once, that is, if the user has previously uploaded the substance name for the spectrum information, the number of uploads of the spectrum information is no longer increased. It may be first determined whether the identity of the user exists in the user name array of the uploaded substance name corresponding to the spectral information. If it exists, it indicates that the user has previously uploaded the substance name for the spectral information, and the uploading number does not increase, if not, Then the number of uploads is increased (for example, by 1).
  • the substance name of the spectral information can also be used by the user who detects the spectral information.
  • the user who did not upload the substance name and the name of the uploaded substance notified the substance name of the spectral information; and the user who rewarded the name of the uploaded substance.
  • the foregoing operation may be performed according to the unidentified user array and the uploaded substance name user array, and the final confirmed substance name is sent to all users in the unrecognized user array, that is, the user who detects the spectral information is not uploaded.
  • the name of the substance to be confirmed is compared with the name of the substance corresponding to each user recorded in the user name array of the substance name.
  • the corresponding user is the user with the correct name of the uploaded substance. If they are inconsistent, they are uploaded.
  • the user with the wrong substance name can then send the correct substance name to the user who uploaded the wrong substance name, and reward the user who uploaded the substance with the correct name, such as giving a material reward and/or increasing the credit value of the user. This enhances the user experience and encourages users to upload material names for spectral information to help enrich and update the database.
  • the embodiment of the present application further provides a substance detecting and processing device, which is used in the detecting device shown in FIG. 1a or 1b.
  • the processing device 200 includes:
  • the spectral information acquiring module 201 is configured to acquire spectral information of the substance to be detected
  • the spectral information matching module 202 is configured to match the spectral information of the substance to be detected in a known substance detection database, where the known substance detection database stores at least two pieces of spectral information whose substance names are known;
  • the first database update module 203 is configured to: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is no, the pre-established unknown substance detection database stores the spectral information, and the The spectral information is not recorded by the known substance detection database.
  • the pre-established unknown substance detecting database stores the spectral information. And information that the spectral information is not recognized by the known substance detection database.
  • the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
  • the first database update module 203 includes a first database update submodule 2031, configured to:
  • Matching spectral information of the substance to be detected in the unknown substance detection database such as If the matching information of the spectral information of the substance to be detected matches the unknown substance detection database is negative, adding the spectral information to the unknown substance detection database, and an initial value of the unrecognized number of the spectral information;
  • the unrecognized number of times of the spectral information is increased.
  • the apparatus 200 further includes a second database update module 204, configured to:
  • the second database update module 204 is further configured to:
  • the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than or equal to The preset number of thresholds is added to the known substance detection database, and the substance name corresponding to the spectral information.
  • the device 200 further includes:
  • the replying module 205 is configured to notify the user who does not upload the substance name and the name of the uploaded substance in the user who detects the spectral information, the substance name of the spectral information;
  • the reward module 206 is configured to reward a user who uploads the correct name of the substance.
  • the device 200 further includes:
  • the storage module 207 is configured to:
  • the unrecognized user array Storing an unidentified user array associated with the spectral information and an uploading substance name user array in the unknown substance detection database, the unrecognized user array storing an identity of a user detecting the spectral information, Uploading a substance name user array for storing an identity of the user who uploaded the substance name for the spectral information and the substance name;
  • the identity of the user is added to the unrecognized user array of the spectrum, when the user uploads
  • the material name of the spectral information is deleted, the identity of the user is deleted in the unidentified user array, and the uploaded substance name user array is added.
  • the first database update submodule 203 is specifically configured to:
  • the second database update module 204 is specifically configured to:
  • the identity of the user who uploaded the substance name does not exist in the upload substance name user array, the number of times the spectral information is uploaded is increased.
  • the foregoing processing apparatus can perform the processing method provided by the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
  • the processing method provided by the embodiments of the present application can perform the processing method provided by the embodiments of the present application.
  • FIG. 8 is a schematic diagram showing the hardware structure of the detecting device 20 according to the embodiment of the present application. As shown in FIG. 8, the detecting device 20 includes:
  • processors 22 and memory 23, one processor 22 is exemplified in FIG.
  • the processor 22 and the memory 23 can be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 23 is used as a non-volatile computer readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the processing methods in the embodiments of the present application.
  • the module (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 and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 23, that is, the processing method of the above-described method embodiments.
  • 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 required for at least one function; the storage data area may store data created according to usage of the processing device, and the like. Further, the memory 23 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 23 can optionally include memory remotely located relative to processor 22, which can be connected to the processing device over 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 above method embodiments, for example, performing the above described FIG. Method step 101 to step 103, method step 104a to step 105a in FIG. 3a, method step 104b to step 107b in FIG. 3b; module 201-203 in FIG. 4, module 201-203 in FIG. 5, submodule 2031 in FIG.
  • the embodiment of the present application provides a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, such as in FIG. a processor 22, which may cause the one or more processors to perform the processing method in any of the above method embodiments, for example, to perform the method steps 101 to 103 in FIG. 2 described above, the method steps in FIG. 3a 104a to step 105a, method step 104b to step 107b in Fig. 3b; implement module 201-203 in Fig. 4, module 201-203 in Fig. 5, submodule 2031, module 201-204 in Fig. 6, module in Fig. 7 201-207 features.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

Disclosed are a substance detection processing method, a device and a detection apparatus, the method comprising: acquiring spectrum information of a substance to undergo detection (101); matching the spectrum information of the substance to undergo detection against items in a known-substance detection database, wherein the known-substance detection database has stored therein at least two pieces of known spectrum information with respect to a substance name (102); and if no match results from the matching of the spectrum information of the substance to undergo detection against the known-substance detection database items, storing, in a pre-established unknown-substance detection database, the spectrum information and a record that the spectrum information was not identified in the known-substance detection database (103). The method facilitates the tracking of current usage circumstances by database maintenance personnel, and timely updating and expansion of a database, thereby increasing the successful detection rate of substances to undergo detection.

Description

物质检测处理方法、装置和检测设备Material detection processing method, device and detecting device 技术领域Technical field
本申请实施例涉及物质检测技术领域,例如涉及一种物质检测处理方法、装置和检测设备。The embodiments of the present application relate to the field of material detection technologies, for example, to a substance detection processing method, apparatus, and detection apparatus.
背景技术Background technique
近年来,物质检测装置应用日趋广泛,包括安检中检测可疑物品、药监局检测药品成分、防化部队进行爆炸现场勘查等专业领域,也包括检测农药残留、检测是否存在三聚氰胺、检测地沟油和真假酒等民用领域,尤其在食品安全领域得到广泛应用。目前的检测装置,将存储有已知物质光谱信息的物质检测数据库设置在本地或者云端服务器上,进行物质检测时,将待检测物质的光谱信息与物质检测数据库中的光谱信息进行匹配,以确定待检测物质的名称。In recent years, the application of substance testing devices has become increasingly widespread, including the detection of suspicious items in security inspections, the detection of pharmaceutical ingredients by the Food and Drug Administration, and the explosion-proof site investigation by anti-chemical units. It also includes testing pesticide residues, detecting the presence of melamine, detecting waste oil and The field of civilian and other civilian use, especially in the field of food safety has been widely used. The current detecting device sets a substance detecting database storing spectral information of a known substance on a local or cloud server, and performs material detection to match the spectral information of the substance to be detected with the spectral information in the substance detecting database to determine The name of the substance to be tested.
在研究现有技术的过程中,发明人发现相关技术中至少存在如下问题:由于现实生活中物质的种类过多,即使在云端建立专人维护和更新的大数据库,也很难涵盖所有物质的光谱信息,从而时常发生用户上传的光谱信息匹配失败、无法检测待检测物质的情况发生。In the process of studying the prior art, the inventors found that at least the following problems exist in the related art: due to the excessive variety of substances in real life, it is difficult to cover the spectrum of all substances even if a large database maintained and updated by a person is established in the cloud. Information, which often occurs when the user-uploaded spectral information fails to match and the substance to be detected cannot be detected.
发明内容Summary of the invention
本申请实施例的一个目的是提供一种新的物质检测处理方法、装置和检测设备,能帮助数据库维护人员更新和丰富物质检测数据库,从而提高待检测物质的检测成功率。An object of the embodiments of the present application is to provide a new substance detection processing method, apparatus, and detection apparatus, which can help database maintenance personnel update and enrich the substance detection database, thereby improving the detection success rate of the substance to be detected.
第一方面,本申请实施例提供了一种物质检测处理方法,所述处理方法应用于检测设备,所述方法包括:In a first aspect, an embodiment of the present application provides a substance detection processing method, where the processing method is applied to a detection device, and the method includes:
获取待检测物质的光谱信息;Obtaining spectral information of the substance to be detected;
将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息;And matching the spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known;
如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果 为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。If the spectral information of the substance to be detected matches the matching result of the known substance detection database If not, the pre-established unknown substance detection database stores the spectral information, and the spectral information is not recognized by the known substance detection database.
第二方面,本申请实施例还提供了一种物质检测处理装置,所述处理装置应用于检测设备,所述装置包括:In a second aspect, the embodiment of the present application further provides a substance detecting processing device, where the processing device is applied to a detecting device, and the device includes:
光谱信息获取模块,用于获取待检测物质的光谱信息;a spectral information acquiring module, configured to acquire spectral information of the substance to be detected;
光谱信息匹配模块,用于将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息;a spectral information matching module, configured to match spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known;
第一数据库更新模块,用于如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。a first database update module, configured to: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is no, the pre-established unknown substance detection database stores the spectral information, and the The spectral information is not recorded by the known substance detection database.
第三方面,本申请实施例还提供了一种检测设备,包括:In a third aspect, the embodiment of the present application further provides a detecting device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described above.
本申请实施例提供的物质检测处理方法、装置和检测设备,在所述待检测物质的光谱信息不匹配所述已知物质检测数据库,即所述待检测物质未被检测设备识别时,使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的信息。这样数据库维护人员通过查看未知物质检测数据库中未被识别的光谱信息的相关内容,可以获知当前用户使用过程中,有哪些物质的光谱信息需要添加。方便数据库维护人员跟踪当前使用状况,及时对数据库进行更新和丰富,进而提高待检测物质的检测成功率。The material detecting processing method, device and detecting device provided by the embodiment of the present application, when the spectral information of the substance to be detected does not match the known substance detecting database, that is, the substance to be detected is not recognized by the detecting device, The established unknown substance detection database stores the spectral information, and the information that the spectral information is not recognized by the known substance detection database. In this way, the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。 The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1a是本申请处理方法和装置的应用场景示意图;1a is a schematic diagram of an application scenario of a processing method and apparatus of the present application;
图1b是本申请处理方法和装置的应用场景示意图;1b is a schematic diagram of an application scenario of a processing method and apparatus of the present application;
图2是本申请处理方法的一个实施例的流程图;2 is a flow chart of one embodiment of a processing method of the present application;
图3a是本申请处理方法的一个实施例中部分步骤的流程图;Figure 3a is a flow chart showing some of the steps in one embodiment of the processing method of the present application;
图3b是本申请处理方法的一个实施例中部分步骤的流程图;Figure 3b is a flow chart of some steps in one embodiment of the processing method of the present application;
图4是本申请处理装置的一个实施例的结构示意图;4 is a schematic structural view of an embodiment of a processing apparatus of the present application;
图5是本申请处理装置的一个实施例的结构示意图;Figure 5 is a schematic structural view of an embodiment of a processing apparatus of the present application;
图6是本申请处理装置的一个实施例的结构示意图;6 is a schematic structural view of an embodiment of a processing apparatus of the present application;
图7是本申请处理装置的一个实施例的结构示意图;以及Figure 7 is a schematic structural view of an embodiment of a processing apparatus of the present application;
图8是本申请实施例提供的检测设备的硬件结构示意图。FIG. 8 is a schematic structural diagram of hardware of a detecting device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请实施例提供的物质检测处理方法和装置,适用于图1a和图1b所示的应用场景。在图1a所示的应用场景中,包括待检测物质10、检测终端21和检测设备20,其中,检测终端21用于获得待检测物质10的光谱信息,然后将待检测物质10的光谱信息发送给检测设备20。检测设备20用于对待检测物质10的光谱信息进行识别获得待检测物质10的检测结果,并将检测结果发送给检测终端21,以使用户能够知晓待检测物质10的物质名称。检测终端21与检测设备20之间可以通过网络30互相通信,其中,网络30可以是例如家庭或公司的局域网,或一个特定网络等。检测终端21和检测设备20具有至少一个网络接口,与网络30建立通信连接。检测设备20可以是与检测终端10通过网络相连的云端服务器或者其他服务器。The substance detection processing method and apparatus provided by the embodiments of the present application are applicable to the application scenarios shown in FIG. 1a and FIG. 1b. 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, wherein the detection terminal 21 is used to obtain the spectral information of the substance to be detected 10, and then the spectral information of the substance 10 to be detected is transmitted. The detection device 20 is given. The detecting device 20 identifies the spectral information of the substance to be detected 10 to obtain a detection result of the substance to be detected 10, and transmits the detection result to the detecting terminal 21 to enable the user to know the substance name of the substance 10 to be detected. The detecting terminal 21 and the detecting device 20 can communicate with each other through the network 30, wherein the network 30 can be, for example, a home or company local area network, or a specific network or the like. The detecting terminal 21 and the detecting device 20 have at least one network interface to establish a communication connection with the network 30. The detecting device 20 may be a cloud server or other server connected to the detecting terminal 10 via a network.
如图1b所示,检测设备20也可以同时集成获取光谱信息和光谱信息识别的功能,即由检测设备20单独完成从待检测物质10获取待检测物质10的光谱信息,并通过该光谱信息获取待检测物质的物质名称。 As shown in FIG. 1b, the detecting device 20 can also integrate the functions of acquiring spectral information and spectral information identification, that is, the detecting device 20 separately obtains the spectral information of the substance to be detected 10 from the substance to be detected 10, and obtains the spectral information through the spectral information. The substance name of the substance to be tested.
检测设备20预先建立已知物质检测数据库和未知物质检测数据库,已知物质检测数据库存储有已知物质的光谱信息,未知物质检测数据库用于存储物质名称未知的光谱信息。检测设备20获取或者从检测终端21获取待检测物质10的光谱信息后,将该光谱信息在已知物质检测数据库中进行匹配,如果匹配成功,则返回或者向检测终端21返回检测结果,即待检测物质10的物质名称。如果匹配不成功,则使所述未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的信息。方便数据库维护人员通过查看未知物质检测数据库跟踪当前使用状况,及时对数据库进行更新和丰富,进而提高待检测物质的检测成功率。The detecting device 20 pre-establishes a known substance detecting database storing spectral information of a known substance, and an unknown substance detecting database for storing spectral information of which the substance name is unknown. After the detection device 20 acquires or acquires the spectral information of the substance to be detected 10 from the detection terminal 21, the spectral information is matched in the known substance detection database, and if the matching is successful, the detection result is returned or returned to the detection terminal 21, that is, The substance name of the substance 10 is detected. If the match is unsuccessful, the unknown substance detection database is stored with the spectral information, and the spectral information is not recognized by the known substance detection database. It is convenient for the database maintenance personnel to track the current usage status by checking the unknown substance detection database, and update and enrich the database in time, thereby improving the detection success rate of the substance to be detected.
需要说明的是,在实际应用过程中,该应用场景还可以包括更多的待检测物质10、检测设备20以及检测终端21。It should be noted that, in the actual application process, the application scenario may further include more substances to be detected 10, the detecting device 20, and the detecting terminal 21.
本申请实施例提供了一种物质检测处理方法,所述物质检测处理方法可由图1a或图1b中的检测设备20执行,如图2所示,所述物质检测处理方法包括:The embodiment of the present application provides a substance detection processing method, which may be performed by the detecting device 20 in FIG. 1a or 1b. As shown in FIG. 2, the substance detecting processing method includes:
101:获取待检测物质的光谱信息;101: Obtain spectral information of the substance to be detected;
其中,所述光谱信息可以为拉曼光谱、红外光谱等,所述拉曼光谱可以通过拉曼光谱组件获得,所述红外光谱可以通过红外光谱组件获得。所述拉曼光谱组件和红外光谱组件等可以设置在检测设备20内部,由检测设备20直接获得光谱信息。拉曼光谱组件和红外光谱组件等还可以设置在检测终端21内部,由检测终端21获得光谱信息,然后再将光谱信息通过网络30发送给检测设备20。Wherein, the spectral information may be a Raman spectrum, an infrared spectrum or the like, and the Raman spectrum may be obtained by a Raman spectroscopy component, and the infrared spectroscopy may be obtained by an infrared spectroscopy component. The Raman spectroscopy component and the infrared spectroscopy component or the like may be disposed inside the detecting device 20, and the spectral information is directly obtained by the detecting device 20. A Raman spectroscopy component, an infrared spectroscopy component, and the like may also be disposed inside the detecting terminal 21, the spectral information is obtained by the detecting terminal 21, and then the spectral information is transmitted to the detecting device 20 through the network 30.
102:将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息。102: Matching spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known.
已知物质检测数据库中存储有大量物质名称已知的光谱信息,将待检测物质的光谱信息与已知物质检测数据库中的光谱信息进行逐一比对,如果已知物质检测数据库中存在与待检测物质的光谱信息配对的光谱信息,则待检测物质的光谱信息匹配已知物质检测数据库,即该待检测物质被识别,可以由检测设备20返回检测结果。如果已知物质检测数据库中不存在与待检测物质的光谱信息配对的光谱信息,则待检测物质的光谱信息不匹配已知物质检测数据库,即该待检测物质未被识别。 The known substance detection database stores a large number of spectral information with known substance names, and compares the spectral information of the substance to be detected with the spectral information in the known substance detection database one by one, if the known substance detection database exists and is to be detected. The spectral information of the spectral information of the substance is matched, and the spectral information of the substance to be detected matches the known substance detection database, that is, the substance to be detected is identified, and the detection result can be returned by the detecting device 20. If the spectral information paired 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, that is, the substance to be detected is not recognized.
103:如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。103: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is negative, storing the spectral information in a pre-established unknown substance detection database, and the spectral information is not described The records identified by the substance detection database are known.
可以预先建立未知物质检测数据库,用于存储未被识别出的光谱信息,当所述待检测物质的光谱信息不匹配已知物质检测数据库,即待检测物质未被检测设备20识别时,在未知物质检测数据库中存储未被识别出的待检测物质的光谱信息,以及该光谱信息未被识别出的相关信息。以使数据库维护人员可以通过查看未知物质检测数据库知晓当前有哪些光谱信息未被识别出的情况,以据此更新和丰富数据库。The unknown substance detection database may be pre-established for storing unidentified spectral information. 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 recognized by the detecting device 20, it is unknown. The substance detection database stores spectral information of the undetected substance to be detected, and related information that the spectral information is not recognized. In order to enable the database maintenance personnel to know which spectral information is currently not recognized by checking the unknown substance detection database, to update and enrich the database accordingly.
具体的,在所述方法的某些实施例中,在未知物质检测数据库中存储未被识别的光谱信息,可以先将所述光谱信息在未知物质检测数据库中进行匹配。如果所述光谱信息不匹配未知物质检测数据库,说明该光谱信息是初次未被识别,则在未知物质检测数据库中加入该光谱信息,以及所述光谱信息的未识别次数初始值(例如未识别次数初始值置为1),还可以给所述光谱信息分配数据身份标识(数据ID)。在实际应用中,可以将该光谱信息以以下数据结构的形式在未知物质检测数据库中进行存储。In particular, in some embodiments of the method, unrecognized spectral information is stored in an unknown substance detection database, which may be first matched in an unknown substance detection database. If the spectral information does not match the unknown substance detection database, indicating that the spectral information is not recognized for the first time, the spectral information is added to the unknown substance detection database, and the initial value of the unrecognized number of the spectral information (for example, the number of unrecognized times) The initial value is set to 1), and the data information can also be assigned a data identification (data ID). In practical applications, the spectral information can be stored in an unknown substance detection database in the form of the following data structure.
Figure PCTCN2017112947-appb-000001
Figure PCTCN2017112947-appb-000001
如果所述光谱信息匹配未知物质检测数据库,说明未知物质检测数据库中已经存储有该光谱信息的数据结构,该光谱信息之前已经由其他用户进行过检测且检测不成功,则直接增加已经存在的数据结构中的未识别次数,例如将未识别次数加1。If the spectral information matches the unknown substance detection database, indicating that the data structure of the spectral information is already stored in the unknown substance detection database, and the spectral information has been previously detected by other users and the detection is unsuccessful, the existing data is directly added. The number of unrecognized times in the structure, for example, increases the number of unrecognized ones.
可选的,针对同一用户未识别次数只计算一次,即如果该用户之前已经针对该光谱信息进行过一次检测,则不再增加该光谱信息的未识别次数。可以在未知物质检测数据库中以以下数据结构的形式来存储光谱信息相关的各项信息: Optionally, the number of unrecognized times for the same user is only calculated once, that is, if the user has previously performed the detection for the spectral information, the unrecognized number of the spectral information is no longer increased. The information related to the spectral information can be stored in the unknown substance detection database in the form of the following data structure:
Figure PCTCN2017112947-appb-000002
Figure PCTCN2017112947-appb-000002
上述未识别用户数组用于存储检测该光谱信息的用户的身份标识,还可以存储用户检测该光谱信息的检测记录。当用户检测的光谱信息未被已知物质检测数据库识别时,将所述光谱信息匹配未知物质检测数据库。如果所述光谱信息不匹配所述未知物质检测数据库,则在未知物质检测数据库中建立上述数据结构的数据,存入该光谱信息,为所述光谱信息分配数据ID,设置未识别次数的初始值(例如1),在未识别用户数组中加入该用户的身份标识。如果所述光谱信息匹配所述未知物质检测数据库,则先判断该用户的身份标识是否在该光谱信息对应的未识别用户数组中存在,如果存在,说明该用户之前已经检测过该光谱信息,则未识别次数不增加,如果不存在,则未识别次数增加(例如加1)。The unidentified user array is used to store the identity of the user who detects the spectral information, and may also store a detection record in which the user detects the spectral information. When the spectral information detected by the user is not recognized by the known substance detection database, the spectral information is matched to the unknown substance detection database. If the spectral information does not match the unknown substance detection database, the data of the data structure is established in the unknown substance detection database, the spectrum information is stored, the data ID is assigned to the spectrum information, and the initial value of the unrecognized number is set. (For example, 1), the identity of the user is added to the unrecognized user array. If the spectral information matches the unknown substance detection database, it is first determined whether the identity of the user exists in an unidentified user array corresponding to the spectral information, and if yes, indicating that the user has previously detected the spectral information, The number of unrecognized times does not increase, and if not, the number of unrecognized increases (for example, 1 is added).
本申请实施例在所述待检测物质的光谱信息不匹配所述已知物质检测数据库,即所述待检测物质未被检测设备识别时,使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的信息。这样数据库维护人员通过查看未知物质检测数据库中未被识别的光谱信息的相关内容,可以获知当前用户使用过程中,有哪些物质的光谱信息需要添加。方便数据库维护人员跟踪当前使用状况,及时对数据库进行更新和丰富,进而提高待检测物质的检测成功率。 In the embodiment of the present application, 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 recognized by the detecting device, the pre-established unknown substance detecting database stores the spectral information. And information that the spectral information is not recognized by the known substance detection database. In this way, the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
可选的,检测设备20还可以接收用户上传的未被识别的光谱信息对应的物质名称。例如,当用户的待检测物质的光谱信息未被识别时,如果该用户知道该待检测物质的名称,可以主动输入该光谱信息的物质名称。其中,该物质名称可以是用户直接输入到检测设备20中的,也可以是用户输入到检测终端21,由检测终端21通过网络30上传至检测设备20中的。检测设备20会根据接收的物质名称的可信度来判断是否将该光谱信息及其接收的物质名称加入到已知物质检测数据库中。这样可以自动实现已知物质检测数据库的丰富和更新,高效可靠的提升数据库的可检测物质范围,大幅降低维护成本。Optionally, the detecting device 20 may further receive a substance name corresponding to the unrecognized spectral information uploaded by the user. For example, when the spectral information of the substance to be detected of the user is not recognized, if the user knows the name of the substance to be detected, the substance name of the spectral information may be actively input. The substance name may be directly input to the detecting device 20 by the user, or may be input to the detecting terminal 21 by the user, and uploaded to the detecting device 20 by the detecting terminal 21 through the network 30. The detecting device 20 determines whether the spectral information and the substance name it receives are added to the known substance detecting database based on the reliability of the received substance name. This can automatically realize the enrichment and update of the known substance detection database, efficiently and reliably improve the range of detectable substances in the database, and greatly reduce maintenance costs.
其中,检测设备20判断接收的物质名称的可信度可以根据上传物质名称的用户的信用值。例如,在所述方法的某些实施例中,如图3a所示,所述方法还包括:The detecting device 20 determines that the credibility of the received substance name may be based on the credit value of the user who uploaded the substance name. For example, in some embodiments of the method, as shown in FIG. 3a, the method further includes:
104a:接收用户上传的未匹配已知物质检测数据库的光谱信息的物质名称。104a: Receive a substance name of a user-uploaded spectral information that does not match the known substance detection database.
105a:获取所述用户的信用值,如果所述信用值大于或者等于预设信用阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。105a: Acquire a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance corresponding to the spectral information name.
当检测设备20接收到某一用户上传的未识别光谱信息的物质名称后,可以获取该用户的信用值,如果其信用值较高大于或等于预设信用阀值,则认为该用户上传的物质名称可信度高,可以将该物质名称确定为该光谱信息的物质名称,则将该光谱信息以及用户上传的物质名称加入已知物质检测数据库中,进一步的还可以同时在未知物质检测数据库中删除该光谱信息。When the detecting device 20 receives the substance name of the unidentified spectrum information uploaded by a certain user, the credit value of the user may be obtained, and if the credit value is higher than or equal to the preset credit threshold, the user uploads the substance. The name is highly credible, and the substance name can be determined as the substance name of the spectral information, and the spectral information and the name of the substance uploaded by the user are added to the known substance detection database, and further can be simultaneously in the unknown substance detection database. Delete the spectral information.
检测设备20还可以根据对同一光谱信息上传相同物质名称的用户数量来判断被上传的物质名称的可信度。例如,在所述方法的某些实施例中,所述方法还包括:The detecting device 20 can also determine the credibility of the uploaded substance name based on the number of users who upload the same substance name for the same spectral information. For example, in some embodiments of the method, the method further includes:
增加所述光谱信息的上传次数。Increase the number of uploads of the spectral information.
如果所述上传次数大于或者等于预设次数阀值,获取对所述光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于预设数量阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。If the number of uploads is greater than or equal to a preset number of thresholds, obtaining a number of users uploading the same substance name to the spectral information, and if the number of users is greater than or equal to a preset number threshold, detecting the known substance The spectral information is added to the database, and the substance name corresponding to the spectral information.
当检测设备20接收到某一用户上传的未识别光谱信息的物质名称后,增加该光谱信息的上传次数(上传次数初始值可以设置为0),并对该物质名称和上 传用户进行记录,如果针对该光谱信息的上传次数大于或者等于预设次数阀值,且针对该光谱信息上传相同物质名称的用户数量较大大于或者等于预设数量阀值,则认为该物质名称的可信度较高,可以将该物质名称确定为该光谱信息的物质名称,将该光谱信息及其对应的物质名称加入已知物质检测数据库中,进一步的还可以同时在未知物质检测数据库中删除该光谱信息。When the detecting device 20 receives the substance name of the unidentified spectral information uploaded by a certain user, the number of uploading of the spectral information is increased (the initial value of the uploading number may be set to 0), and the substance name and the upper The user records, if the number of uploads for the spectral information is greater than or equal to the preset number of thresholds, and the number of users uploading the same substance name for the spectral information is greater than or equal to the preset number threshold, the substance name is considered The credibility is high, and the substance name can be determined as the substance name of the spectral information, and the spectral information and its corresponding substance name are added to the known substance detection database, and further can be simultaneously in the unknown substance detection database. Delete the spectral information.
在实际应用中,可以单独使用判断上传用户信用值的方法来判断物质名称的可信度,如果用户的信用值小于预设信用阀值,则不做任何操作。或者单独使用判断上传相同物质名称的用户数量的方法来判断物质名称的可信度,如果用户数量小于预设用户数量阀值,则不做任何操作。也可以将二者相结合,例如先获取上传用户的信用值,如果信用值大于或者等于预设信用阀值,则将光谱信息和对应的物质名称加入已知物质检测数据库。如果信用值小于预设信用阀值,且针对所述光谱信息的上传次数大于或者等于预设次数阀值,则进一步获取针对该光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于用户数量阀值,则将该光谱信息和对应的物质名称加入已知物质检测数据库。如果所述用户数量小于用户数量阀值,则不做任何操作。即在该实施例中,如图3b所示,所述方法除了101-103之外,还包括:In practical applications, the method of judging the credit value of the uploaded user may be used alone to determine the credibility of the substance name. If the credit value of the user is less than the preset credit threshold, no operation is performed. Alternatively, the method of judging the number of users uploading the same substance name may be used to determine the credibility of the substance name. If the number of users is less than the preset user number threshold, no operation is performed. It is also possible to combine the two, for example, to obtain the credit value of the uploading user first, and if the credit value is greater than or equal to the preset credit threshold, the spectral information and the corresponding substance name are added to the known substance detection database. If the credit value is less than the preset credit threshold, and the number of uploads for the spectral information is greater than or equal to the preset number of thresholds, further obtaining the number of users uploading the same substance name for the spectral information, if the number of users is greater than or Equal to the user number threshold, the spectral information and the corresponding substance name are added to the known substance detection database. If the number of users is less than the threshold of the number of users, no action is taken. That is, in this embodiment, as shown in FIG. 3b, the method includes, in addition to 101-103, a method:
104b:接收用户上传的未匹配已知物质检测数据库的光谱信息的物质名称。104b: Receive a substance name of a user-uploaded spectral information that does not match the known substance detection database.
105b:获取所述用户的信用值,如果所述信用值大于或者等于预设信用阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。105b: Acquire a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance corresponding to the spectral information name.
106b:增加所述光谱信息的上传次数。106b: Increase the number of uploads of the spectral information.
107b:如果所述用户的信用值小于预设信用阀值,且所述上传次数大于或者等于预设次数阀值,获取对所述光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于预设数量阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。107b: If the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than Or equal to the preset number of thresholds, the spectral information is added to the known substance detection database, and the substance name corresponding to the spectral information.
具体的,在实际应用中,可以将未知物质检测数据库中光谱信息的数据结构增加上传次数以记录对光谱信息上传物质名称的次数,还可以进一步增加上传物质名称的用户的信息,例如,采用如下数据结构:Specifically, in practical applications, the data structure of the spectral information in the unknown substance detection database may be increased by the number of uploads to record the number of times the substance name is uploaded to the spectral information, and the information of the user who uploads the substance name may be further increased, for example, as follows data structure:
Figure PCTCN2017112947-appb-000003
Figure PCTCN2017112947-appb-000003
Figure PCTCN2017112947-appb-000004
Figure PCTCN2017112947-appb-000004
其中,可以在该数据库建立时为上传次数分配初始值(例如0),上传物质名称用户数组用于存储对所述光谱信息上传物质名称的用户的身份标识和其上传的物质名称。当用户上传针对所述光谱信息的物质名称时,将该用户的身份标识在未识别用户数组中删除,加入上传物质名称用户数组。Wherein, an initial value (for example, 0) may be allocated for the number of uploads when the database is established, and an uploading substance name user array is used to store the identity of the user who uploaded the substance name to the spectral information and the substance name uploaded by the user. When the user uploads the substance name for the spectral information, the user's identity is deleted in the unrecognized user array, and the uploaded substance name user array is added.
可选的,针对同一用户上传次数只计算一次,即如果该用户之前已经针对该光谱信息上传过物质名称,则不再增加该光谱信息的上传次数。可以先判断该用户的身份标识是否在该光谱信息对应的上传物质名称用户数组中存在,如果存在,说明该用户之前已经针对该光谱信息上传过物质名称,则上传次数不增加,如果不存在,则上传次数增加(例如加1)。Optionally, the number of uploads for the same user is only calculated once, that is, if the user has previously uploaded the substance name for the spectrum information, the number of uploads of the spectrum information is no longer increased. It may be first determined whether the identity of the user exists in the user name array of the uploaded substance name corresponding to the spectral information. If it exists, it indicates that the user has previously uploaded the substance name for the spectral information, and the uploading number does not increase, if not, Then the number of uploads is increased (for example, by 1).
当光谱信息的物质名称最终确认后,还可以向检测所述光谱信息的用户中 未上传所述物质名称以及上传物质名称错误的用户通知所述光谱信息的物质名称;以及奖励上传物质名称正确的用户。具体的,可以根据上述未识别用户数组和上传物质名称用户数组来执行上述操作,将最终确认的物质名称发送给全部未识别用户数组中的用户,即检测所述光谱信息的用户中未上传所述物质名称的用户。将最终确认的物质名称逐一比对上传物质名称用户数组中记录的与各个用户对应的物质名称,如果两者一致,则其对应的用户为上传物质名称正确的用户,如果不一致,则其为上传物质名称错误的用户,进而可以将正确的物质名称发送给上传物质名称错误的用户,向上传物质名称正确的用户给予奖励,例如给予物质奖励和/或增加该用户的信用值。这样可以提升用户体验,以及鼓励用户上传光谱信息的物质名称,进而为数据库的丰富和更新提供帮助。When the substance name of the spectral information is finally confirmed, it can also be used by the user who detects the spectral information. The user who did not upload the substance name and the name of the uploaded substance notified the substance name of the spectral information; and the user who rewarded the name of the uploaded substance. Specifically, the foregoing operation may be performed according to the unidentified user array and the uploaded substance name user array, and the final confirmed substance name is sent to all users in the unrecognized user array, that is, the user who detects the spectral information is not uploaded. The user of the substance name. The name of the substance to be confirmed is compared with the name of the substance corresponding to each user recorded in the user name array of the substance name. If the two are consistent, the corresponding user is the user with the correct name of the uploaded substance. If they are inconsistent, they are uploaded. The user with the wrong substance name can then send the correct substance name to the user who uploaded the wrong substance name, and reward the user who uploaded the substance with the correct name, such as giving a material reward and/or increasing the credit value of the user. This enhances the user experience and encourages users to upload material names for spectral information to help enrich and update the database.
相应的,本申请实施例还提供了一种物质检测处理装置,所述处理装置用于图1a或者图1b所示的检测设备,如图4所示,所述处理装置200包括:Correspondingly, the embodiment of the present application further provides a substance detecting and processing device, which is used in the detecting device shown in FIG. 1a or 1b. As shown in FIG. 4, the processing device 200 includes:
光谱信息获取模块201,用于获取待检测物质的光谱信息;The spectral information acquiring module 201 is configured to acquire spectral information of the substance to be detected;
光谱信息匹配模块202,用于将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息;The spectral information matching module 202 is configured to match the spectral information of the substance to be detected in a known substance detection database, where the known substance detection database stores at least two pieces of spectral information whose substance names are known;
第一数据库更新模块203,用于如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。The first database update module 203 is configured to: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is no, the pre-established unknown substance detection database stores the spectral information, and the The spectral information is not recorded by the known substance detection database.
本申请实施例在所述待检测物质的光谱信息不匹配所述已知物质检测数据库,即所述待检测物质未被检测设备识别时,使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的信息。这样数据库维护人员通过查看未知物质检测数据库中未被识别的光谱信息的相关内容,可以获知当前用户使用过程中,有哪些物质的光谱信息需要添加。方便数据库维护人员跟踪当前使用状况,及时对数据库进行更新和丰富,进而提高待检测物质的检测成功率。In the embodiment of the present application, 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 recognized by the detecting device, the pre-established unknown substance detecting database stores the spectral information. And information that the spectral information is not recognized by the known substance detection database. In this way, the database maintenance personnel can find out the spectral information of the substances in the current user's use process by adding the relevant content of the unidentified spectral information in the unknown substance detection database. It is convenient for database maintenance personnel to track the current usage status, update and enrich the database in time, and improve the detection success rate of the substance to be detected.
可选的,在所述装置的某些实施例中,如图5所示,所述第一数据库更新模块203包括第一数据库更新子模块2031,用于:Optionally, in some embodiments of the apparatus, as shown in FIG. 5, the first database update module 203 includes a first database update submodule 2031, configured to:
将所述待检测物质的光谱信息在所述未知物质检测数据库中进行匹配,如 果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为否,则在所述未知物质检测数据库中加入所述光谱信息,以及所述光谱信息的未识别次数初始值;Matching spectral information of the substance to be detected in the unknown substance detection database, such as If the matching information of the spectral information of the substance to be detected matches the unknown substance detection database is negative, adding the spectral information to the unknown substance detection database, and an initial value of the unrecognized number of the spectral information;
如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为是,则增加所述光谱信息的未识别次数。If the matching result of the spectral information of the substance to be detected matches the unknown substance detecting database is YES, the unrecognized number of times of the spectral information is increased.
可选的,在所述装置的某些实施例中,如图6所示,所述装置200还包括第二数据库更新模块204,用于:Optionally, in some embodiments of the apparatus, as shown in FIG. 6, the apparatus 200 further includes a second database update module 204, configured to:
接收用户上传的未匹配已知物质检测数据库的光谱信息的物质名称;Receiving a name of the substance uploaded by the user that does not match the spectral information of the known substance detection database;
获取所述用户的信用值,如果所述信用值大于或者等于预设信用阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。Obtaining a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance name corresponding to the spectral information.
可选的,在所述装置的某些实施例中,所述第二数据库更新模块204还用于:Optionally, in some embodiments of the apparatus, the second database update module 204 is further configured to:
增加所述光谱信息的上传次数;Increasing the number of uploads of the spectral information;
如果所述用户的信用值小于预设信用阀值,且所述上传次数大于或者等于预设次数阀值,获取对所述光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于预设数量阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。If the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than or equal to The preset number of thresholds is added to the known substance detection database, and the substance name corresponding to the spectral information.
可选的,在所述装置的某些实施例中,请参照图7,所述装置200还包括:Optionally, in some embodiments of the device, referring to FIG. 7, the device 200 further includes:
回复模块205,用于向检测所述光谱信息的用户中未上传所述物质名称以及上传物质名称错误的用户通知所述光谱信息的物质名称;The replying module 205 is configured to notify the user who does not upload the substance name and the name of the uploaded substance in the user who detects the spectral information, the substance name of the spectral information;
奖励模块206,用于奖励上传物质名称正确的用户。The reward module 206 is configured to reward a user who uploads the correct name of the substance.
可选的,在所述装置的某些实施例中,请参照图7,所述装置200还包括:Optionally, in some embodiments of the device, referring to FIG. 7, the device 200 further includes:
存储模块207,用于:The storage module 207 is configured to:
在所述未知物质检测数据库中存储与所述光谱信息关联的未识别用户数组和上传物质名称用户数组,所述未识别用户数组用于存储检测所述光谱信息的的用户的身份标识,所述上传物质名称用户数组用于存储对所述光谱信息上传物质名称的用户的身份标识和所述物质名称;Storing an unidentified user array associated with the spectral information and an uploading substance name user array in the unknown substance detection database, the unrecognized user array storing an identity of a user detecting the spectral information, Uploading a substance name user array for storing an identity of the user who uploaded the substance name for the spectral information and the substance name;
当用户检测的光谱信息匹配所述已知物质检测数据库的匹配结果为否时,将所述用户的身份标识加入所述光谱的未识别用户数组,当所述用户上传针对 所述光谱信息的物质名称时,将所述用户的身份标识在所述未识别用户数组中删除,加入所述上传物质名称用户数组。When the matching information of the spectral information detected by the user matches the known substance detection database is no, the identity of the user is added to the unrecognized user array of the spectrum, when the user uploads When the material name of the spectral information is deleted, the identity of the user is deleted in the unidentified user array, and the uploaded substance name user array is added.
可选的,在所述装置的某些实施例中,所述第一数据库更新子模块203具体用于:Optionally, in some embodiments of the apparatus, the first database update submodule 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 number of unrecognized times of the spectral information;
所述第二数据库更新模块204具体用于:The second database update module 204 is specifically configured to:
如果上传所述物质名称的用户的身份标识不存在于所述上传物质名称用户数组中,则增加所述光谱信息的上传次数。If the identity of the user who uploaded the substance name does not exist in the upload substance name user array, the number of times the spectral information is uploaded is increased.
需要说明的是,上述处理装置可执行本申请实施例所提供的处理方法,具备执行方法相应的功能模块和有益效果。未在处理装置实施例中详尽描述的技术细节,可参见本申请实施例所提供的处理方法。It should be noted that the foregoing processing apparatus can perform the processing method provided by the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in the embodiment of the processing apparatus, reference may be made to the processing method provided by the embodiments of the present application.
图8是本申请实施例提供的检测设备20的硬件结构示意图,如图8所示,该检测设备20包括:FIG. 8 is a schematic diagram showing the hardware structure of the detecting device 20 according to the embodiment of the present application. As shown in FIG. 8, the detecting device 20 includes:
一个或多个处理器22以及存储器23,图8中以一个处理器22为例。One or more processors 22 and memory 23, one processor 22 is exemplified in FIG.
处理器22和存储器23可以通过总线或者其他方式连接,图8中以通过总线连接为例。The processor 22 and the memory 23 can be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器23作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的处理方法对应的程序指令/模块(例如,附图4所示的光谱信息获取模块201、光谱信息匹配模块202和第一数据库更新模块203)。处理器22通过运行存储在存储器23中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例的处理方法。The memory 23 is used as a non-volatile computer readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the processing methods in the embodiments of the present application. The module (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 and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 23, that is, the processing method of the above-described method embodiments.
存储器23可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据处理装置的使用所创建的数据等。此外,存储器23可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器23可选包括相对于处理器22远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。 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 required for at least one function; the storage data area may store data created according to usage of the processing device, and the like. Further, the memory 23 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 23 can optionally include memory remotely located relative to processor 22, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器23中,当被所述一个或者多个处理器22执行时,执行上述任意方法实施例中的处理方法,例如,执行以上描述的图2中的方法步骤101至步骤103,图3a中的方法步骤104a至步骤105a,图3b中的方法步骤104b至步骤107b;实现图4中的模块201-203、图5中模块201-203、子模块2031,图6中模块201-204,图7中模块201-207的功能。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 above method embodiments, for example, performing the above described FIG. Method step 101 to step 103, method step 104a to step 105a in FIG. 3a, method step 104b to step 107b in FIG. 3b; module 201-203 in FIG. 4, module 201-203 in FIG. 5, submodule 2031 in FIG. The functions of modules 201-204 in Fig. 6, and modules 201-207 in Fig. 7.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the 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 embodiments of the present application.
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图8中的一个处理器22,可使得上述一个或多个处理器可执行上述任意方法实施例中的处理方法,例如,执行以上描述的图2中的方法步骤101至步骤103,图3a中的方法步骤104a至步骤105a,图3b中的方法步骤104b至步骤107b;实现图4中的模块201-203、图5中模块201-203、子模块2031,图6中模块201-204,图7中模块201-207的功能。The embodiment of the present application provides a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, such as in FIG. a processor 22, which may cause the one or more processors to perform the processing method in any of the above method embodiments, for example, to perform the method steps 101 to 103 in FIG. 2 described above, the method steps in FIG. 3a 104a to step 105a, method step 104b to step 107b in Fig. 3b; implement module 201-203 in Fig. 4, module 201-203 in Fig. 5, submodule 2031, module 201-204 in Fig. 6, module in Fig. 7 201-207 features.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的 许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; in the idea of the present application, the technical features in the above embodiments or different embodiments may also be combined. The steps may be performed in any order and there are different aspects of the present application as described above Many other variations are not provided in the details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the technical solutions described in the foregoing embodiments can still be carried out. Modifications, or equivalents to some of the technical features, and the modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (17)

  1. 一种物质检测处理方法,所述处理方法应用于检测设备,其特征在于,所述方法包括:A substance detection processing method, the processing method being applied to a detection device, wherein the method comprises:
    获取待检测物质的光谱信息;Obtaining spectral information of the substance to be detected;
    将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息;And matching the spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known;
    如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。If the matching information of the spectral information of the substance to be detected matches the known substance detection database is negative, the pre-established unknown substance detection database stores the spectral information, and the spectral information is not known. A record identified by the substance detection database.
  2. 根据权利要求1所述的方法,其特征在于,所述使所述未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录,包括:The method according to claim 1, wherein said storing said unknown substance detection database with said spectral information, and said spectral information is not recognized by said known substance detection database, comprising:
    将所述待检测物质的光谱信息在所述未知物质检测数据库中进行匹配,如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为否,则在所述未知物质检测数据库中加入所述光谱信息,以及所述光谱信息的未识别次数初始值;And matching the spectral information of the substance to be detected in the unknown substance detection database, and if the matching result of the spectral information of the substance to be detected matches the unknown substance detection database is negative, the unknown substance detection database is Adding the spectral information, and an initial value of the unrecognized number of the spectral information;
    如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为是,则增加所述光谱信息的未识别次数。If the matching result of the spectral information of the substance to be detected matches the unknown substance detecting database is YES, the unrecognized number of times of the spectral information is increased.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    接收用户上传的未匹配已知物质检测数据库的光谱信息的物质名称;Receiving a name of the substance uploaded by the user that does not match the spectral information of the known substance detection database;
    获取所述用户的信用值,如果所述信用值大于或者等于预设信用阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。Obtaining a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance name corresponding to the spectral information.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    增加所述光谱信息的上传次数;Increasing the number of uploads of the spectral information;
    如果所述用户的信用值小于预设信用阀值,且所述上传次数大于或者等于预设次数阀值,获取对所述光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于预设数量阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。 If the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than or equal to The preset number of thresholds is added to the known substance detection database, and the substance name corresponding to the spectral information.
  5. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    向检测所述光谱信息的用户中未上传所述物质名称以及上传物质名称错误的用户通知所述光谱信息的物质名称;Notifying the user who has not uploaded the substance name and the name of the uploaded substance to the user who detected the spectral information, the substance name of the spectral information;
    奖励上传物质名称正确的用户。Reward the user who uploaded the substance name correctly.
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:The method according to claim 4 or 5, wherein the method further comprises:
    在所述未知物质检测数据库中存储与所述光谱信息关联的未识别用户数组和上传物质名称用户数组,所述未识别用户数组用于存储检测所述光谱信息的的用户的身份标识,所述上传物质名称用户数组用于存储对所述光谱信息上传物质名称的用户的身份标识和所述物质名称;Storing an unidentified user array associated with the spectral information and an uploading substance name user array in the unknown substance detection database, the unrecognized user array storing an identity of a user detecting the spectral information, Uploading a substance name user array for storing an identity of the user who uploaded the substance name for the spectral information and the substance name;
    当用户检测的光谱信息匹配所述已知物质检测数据库的匹配结果为否时,将所述用户的身份标识加入所述光谱信息的未识别用户数组,当所述用户上传针对所述光谱信息的物质名称时,将所述用户的身份标识在所述未识别用户数组中删除,加入所述上传物质名称用户数组。When the matching information of the spectral information detected by the user matches the known substance detection database is negative, adding the identity of the user to the unidentified user array of the spectral information, when the user uploads the information for the spectral information In the case of the substance name, the identity of the user is deleted in the unidentified user array, and the uploading substance name user array is added.
  7. 根据权利要求6所述的方法,其特征在于,所述如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为是,则增加所述光谱信息的未识别次数,包括:The method according to claim 6, wherein if the matching result of the spectral information of the substance to be detected matches the unknown substance detection database is YES, increasing the number of unrecognized 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 number of unrecognized times of the spectral information;
    所述增加所述光谱信息的上传次数,包括:The increasing the number of uploads of the spectral information includes:
    如果上传所述物质名称的用户的身份标识不存在于所述上传物质名称用户数组中,则增加所述光谱信息的上传次数。If the identity of the user who uploaded the substance name does not exist in the upload substance name user array, the number of times the spectral information is uploaded is increased.
  8. 一种物质检测处理装置,所述处理装置应用于检测设备,其特征在于,所述装置包括:A substance detecting and processing device, wherein the processing device is applied to a detecting device, wherein the device comprises:
    光谱信息获取模块,用于获取待检测物质的光谱信息;a spectral information acquiring module, configured to acquire spectral information of the substance to be detected;
    光谱信息匹配模块,用于将所述待检测物质的光谱信息在已知物质检测数据库中进行匹配,所述已知物质检测数据库中存储有物质名称已知的至少两个光谱信息;a spectral information matching module, configured to match spectral information of the substance to be detected in a known substance detection database, wherein the known substance detection database stores at least two pieces of spectral information whose substance names are known;
    第一数据库更新模块,用于如果所述待检测物质的光谱信息匹配所述已知物质检测数据库的匹配结果为否,则使预先建立的未知物质检测数据库存储有所述光谱信息,以及所述光谱信息未被所述已知物质检测数据库识别的记录。 a first database update module, configured to: if the matching result of the spectral information of the substance to be detected matches the known substance detection database is no, the pre-established unknown substance detection database stores the spectral information, and the The spectral information is not recorded by the known substance detection database.
  9. 根据权利要求8所述的装置,其特征在于,所述第一数据库更新模块包括第一数据库更新子模块,用于:The apparatus according to claim 8, wherein the first database update module comprises a first database update submodule for:
    将所述待检测物质的光谱信息在所述未知物质检测数据库中进行匹配,如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为否,则在所述未知物质检测数据库中加入所述光谱信息,以及所述光谱信息的未识别次数初始值;And matching the spectral information of the substance to be detected in the unknown substance detection database, and if the matching result of the spectral information of the substance to be detected matches the unknown substance detection database is negative, the unknown substance detection database is Adding the spectral information, and an initial value of the unrecognized number of the spectral information;
    如果所述待检测物质的光谱信息匹配所述未知物质检测数据库的匹配结果为是,则增加所述光谱信息的未识别次数。If the matching result of the spectral information of the substance to be detected matches the unknown substance detecting database is YES, the unrecognized number of times of the spectral information is increased.
  10. 根据权利要求8或9所述的装置,其特征在于,所述装置还包括第二数据库更新模块,用于:The device according to claim 8 or 9, wherein the device further comprises a second database update module, configured to:
    接收用户上传的未匹配已知物质检测数据库的光谱信息的物质名称;Receiving a name of the substance uploaded by the user that does not match the spectral information of the known substance detection database;
    获取所述用户的信用值,如果所述信用值大于或者等于预设信用阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。Obtaining a credit value of the user, if the credit value is greater than or equal to a preset credit threshold, adding the spectral information to the known substance detection database, and the substance name corresponding to the spectral information.
  11. 根据权利要求10所述的装置,其特征在于,所述第二数据库更新模块还用于:The apparatus according to claim 10, wherein the second database update module is further configured to:
    增加所述光谱信息的上传次数;Increasing the number of uploads of the spectral information;
    如果所述用户的信用值小于预设信用阀值,且所述上传次数大于或者等于预设次数阀值,获取对所述光谱信息上传相同物质名称的用户数量,如果所述用户数量大于或者等于预设数量阀值,则在所述已知物质检测数据库中加入所述光谱信息,以及所述光谱信息对应的所述物质名称。If the credit value of the user is less than a preset credit threshold, and the number of uploads is greater than or equal to a preset number threshold, obtain the number of users uploading the same substance name to the spectrum information, if the number of users is greater than or equal to The preset number of thresholds is added to the known substance detection database, and the substance name corresponding to the spectral information.
  12. 根据权利要求10或11所述的装置,其特征在于,所述装置还包括:The device according to claim 10 or 11, wherein the device further comprises:
    回复模块,用于向检测所述光谱信息的用户中未上传所述物质名称以及上传物质名称错误的用户通知所述光谱信息的物质名称;a reply module, configured to notify a user who does not upload the substance name and the name of the uploaded substance in the user who detects the spectral information, the substance name of the spectral information;
    奖励模块,用于奖励上传物质名称正确的用户。A reward module for rewarding users who have the correct name for the uploaded substance.
  13. 根据权利要求11或12所述的装置,其特征在于,所述装置还包括存储模块,用于:The device according to claim 11 or 12, wherein the device further comprises a storage module, configured to:
    在所述未知物质检测数据库中存储与所述光谱信息关联的未识别用户数组和上传物质名称用户数组,所述未识别用户数组用于存储检测所述光谱信息的的用户的身份标识,所述上传物质名称用户数组用于存储对所述光谱信息上传 物质名称的用户的身份标识和所述物质名称;Storing an unidentified user array associated with the spectral information and an uploading substance name user array in the unknown substance detection database, the unrecognized user array storing an identity of a user detecting the spectral information, Uploading a substance name user array for storing the spectral information upload The identity of the user of the substance name and the name of the substance;
    当用户检测的光谱信息匹配所述已知物质检测数据库的匹配结果为否时,将所述用户的身份标识加入所述光谱的未识别用户数组,当所述用户上传针对所述光谱信息的物质名称时,将所述用户的身份标识在所述未识别用户数组中删除,加入所述上传物质名称用户数组。When the spectral information detected by the user matches the matching result of the known substance detection database is negative, the identity of the user is added to the unidentified user array of the spectrum, and when the user uploads the substance for the spectral information When the name is deleted, the identity of the user is deleted in the unidentified user array, and the uploading substance name user array is added.
  14. 根据权利要求13所述的装置,其特征在于,所述第一数据库更新子模块具体用于:The apparatus according to claim 13, wherein the first database update submodule is specifically configured to:
    如果检测所述光谱信息的用户的身份标识不存在于所述未识别用户数组中,则增加所述光谱信息的未识别次数;If the identity of the user detecting the spectral information does not exist in the unidentified user array, increasing the number of unrecognized times of the spectral information;
    所述第二数据库更新模块具体用于:The second database update module is specifically configured to:
    如果上传所述物质名称的用户的身份标识不存在于所述上传物质名称用户数组中,则增加所述光谱信息的上传次数。If the identity of the user who uploaded the substance name does not exist in the upload substance name user array, the number of times the spectral information is uploaded is increased.
  15. 一种检测设备,其特征在于,包括:A detecting device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of any of claims 1-7 method.
  16. 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被检测设备执行时,使所述检测设备执行执行权利要求1-7任一项所述的方法。A non-transitory computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions that, when executed by a detecting device, cause the detecting device to perform execution The method of any of claims 1-7.
  17. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被检测设备执行时,使所述检测设备执行权利要求1-7任一项所述的方法。 A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a detection device The detection device is caused to perform the method of any of claims 1-7.
PCT/CN2017/112947 2017-11-24 2017-11-24 Substance detection processing method, device and detection apparatus WO2019100346A1 (en)

Priority Applications (2)

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
CN201780003278.6A CN108369603B (en) 2017-11-24 2017-11-24 Substance detection processing method, substance detection processing device and detection equipment

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 (1)

Publication Number Publication Date
WO2019100346A1 true WO2019100346A1 (en) 2019-05-31

Family

ID=63011263

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077326A (en) * 2019-12-20 2020-04-28 中译语通文娱科技(青岛)有限公司 Detection technology based on AI technology pre-perception capability

Families Citing this family (5)

* 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
CN113358594B (en) * 2020-06-30 2023-07-28 北京领主科技有限公司 Material component analysis system, method, device and medium based on spectrum detection

Citations (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
WO2008138996A1 (en) * 2007-05-16 2008-11-20 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.
CN103093273A (en) * 2012-12-30 2013-05-08 信帧电子技术(北京)有限公司 Video people counting method based on body weight recognition
CN103439266A (en) * 2013-08-26 2013-12-11 广东省珠宝玉石及贵金属检测中心 Identification and analysis system for jewelry jade and rock minerals

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821991B (en) * 2005-02-18 2010-04-28 上海赢思软件技术有限公司 Knowledge question-and-answer quick processing system based on artificial intelligence
US7444198B2 (en) * 2006-12-15 2008-10-28 Applied Materials, Inc. Determining physical property of substrate
CN101093509B (en) * 2007-07-18 2010-06-16 中国科学院计算技术研究所 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

Patent Citations (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
WO2008138996A1 (en) * 2007-05-16 2008-11-20 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.
CN103093273A (en) * 2012-12-30 2013-05-08 信帧电子技术(北京)有限公司 Video people counting method based on body weight recognition
CN103439266A (en) * 2013-08-26 2013-12-11 广东省珠宝玉石及贵金属检测中心 Identification and analysis system for jewelry jade and rock minerals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077326A (en) * 2019-12-20 2020-04-28 中译语通文娱科技(青岛)有限公司 Detection technology based on AI technology pre-perception capability

Also Published As

Publication number Publication date
CN108369603A (en) 2018-08-03
CN108369603B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2019100346A1 (en) Substance detection processing method, device and detection apparatus
US10380333B1 (en) Multi-factor authentication for determining whether a user is authorized to take an examination
US11381556B2 (en) Method and device for information interaction and association between human biological feature data and account
US11093772B2 (en) Liveness detection
EP3561708B1 (en) Method and device for classifying uniform resource locators based on content in corresponding websites
CN105991590B (en) A kind of method, system, client and server for verifying user identity
CN103607413B (en) Method and device for detecting website backdoor program
WO2020134524A1 (en) Attendance management system and method, and electronic device
US9667613B1 (en) Detecting mobile device emulation
CN108154031B (en) Method, device, storage medium and electronic device for identifying disguised application
CN110149319B (en) APT organization tracking method and device, storage medium and electronic device
WO2019028852A1 (en) Method and device for inspecting object under security inspection, and electronic device
KR102023749B1 (en) Open platform system for ox management
CN104376022B (en) Data processing method and device
WO2017197942A1 (en) Virus database acquisition method and device, equipment, server and system
CN110020161B (en) Data processing method, log processing method and terminal
WO2017054307A1 (en) Recognition method and apparatus for user information
CN110807117A (en) User relationship prediction method and device and computer readable storage medium
CN107786529B (en) Website detection method, device and system
CN108804501B (en) Method and device for detecting effective information
CN111385272A (en) Weak password detection method and device
CN110619211A (en) Malicious software identification method, system and related device based on dynamic characteristics
CN106911634B (en) Login method and device
US20160315886A1 (en) Network information push method, apparatus and system based on instant messaging
CN108038233B (en) Method and device for collecting articles, electronic equipment and storage medium

Legal Events

Date Code Title Description
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 02.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17932802

Country of ref document: EP

Kind code of ref document: A1