WO2019036849A1 - 一种物质检测方法及其装置、检测终端 - Google Patents

一种物质检测方法及其装置、检测终端 Download PDF

Info

Publication number
WO2019036849A1
WO2019036849A1 PCT/CN2017/098321 CN2017098321W WO2019036849A1 WO 2019036849 A1 WO2019036849 A1 WO 2019036849A1 CN 2017098321 W CN2017098321 W CN 2017098321W WO 2019036849 A1 WO2019036849 A1 WO 2019036849A1
Authority
WO
WIPO (PCT)
Prior art keywords
substance detection
detection result
cloud
substance
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/098321
Other languages
English (en)
French (fr)
Inventor
骆磊
黄晓庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cloudminds Shenzhen Robotics Systems Co Ltd
Original Assignee
Cloudminds Shenzhen Robotics Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cloudminds Shenzhen Robotics Systems Co Ltd filed Critical Cloudminds Shenzhen Robotics Systems Co Ltd
Priority to CN201780003263.XA priority Critical patent/CN108401440A/zh
Priority to PCT/CN2017/098321 priority patent/WO2019036849A1/zh
Publication of WO2019036849A1 publication Critical patent/WO2019036849A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the field of substance detection technology, and in particular, to a substance detection method and device thereof, and a detection terminal.
  • Detection equipment based on the principle of spectral analysis is an advantageous tool for determining the chemical composition of a substance. It can realize rapid measurement and qualitative quantitative analysis of chemical composition of substances by infrared transmission or molecular scattering principle.
  • the existing method for analyzing a sample by using the above-mentioned detection device based on the principle of spectral analysis can realize real-time detection of the chemical composition of the sample, and the analysis process is: firstly, the sample data is obtained, and then The sample data information is matched with the information in the database to determine the chemical composition of the substance corresponding to the sample data.
  • the existing technical solutions for comparing sample data include: the detection device itself has a database, the database of the detection device is used to determine the substance reflected by the sample data, and the sample data is uploaded to the cloud platform, and the sample data is determined by using the database of the cloud platform.
  • the two ways of reflecting the substance include: the detection device itself has a database, the database of the detection device is used to determine the substance reflected by the sample data, and the sample data is uploaded to the cloud platform, and the sample data is determined by using the database of the cloud platform.
  • the two ways of reflecting the substance include: the detection device itself has a database, the database of the detection device is used to determine the substance reflected by the sample data, and the sample data is uploaded to the cloud platform, and the sample data is determined by using the database of the cloud platform.
  • the inventors have found that, on the one hand, limited by the computing power of the detecting device, the detecting device takes a long time in the process of comparing the sample data; on the other hand, limited by the network condition, the cloud platform There may be cases where the sample data cannot be received or the result of the sample data is returned; the above two conditions cause the operator to be unable to know in time what the test sample is.
  • the embodiment of the present application mainly solves the problem that the local computing speed is slow when the detecting device in the related art compares the detection results.
  • a technical solution adopted by the embodiment of the present application is to provide a cloud material detecting method.
  • the method comprises: acquiring substance detection data; performing local detection according to the substance detection data, calculating and obtaining a local substance detection result, and transmitting the substance detection data to the cloud platform while calculating and obtaining the local substance detection result, so that The cloud platform performs cloud computing according to the substance detection data to obtain a cloud substance detection result; and according to the receiving condition of the cloud substance detection result, the local substance detection result or the cloud substance detection result is selected and displayed.
  • the substance detecting device comprises: an obtaining module, configured to acquire substance detecting data; a local module, configured to perform local detecting according to the substance detecting data, calculate and obtain a local substance detecting result, and simultaneously calculate and obtain a local substance detecting result; Transmitting the substance detection data to the cloud platform, so that the cloud platform is inspected according to the substance
  • the measurement data is subjected to cloud computing to obtain a cloud material detection result; and the first display module is configured to select to display the local substance detection result or the cloud substance detection result according to the receiving condition of the cloud substance detection result.
  • a detecting terminal including: a spectrum analyzer; a communication module; at least one processor; and a memory; the spectrum analyzer, the a communication module and the memory are respectively communicatively coupled to the at least one processor; wherein the memory stores an instruction program executable by the at least one processor, the instruction program being executed by the at least one processor, Having the at least one processor perform the substance detection method as described above based on the spectrum analyzer and the communication module.
  • another technical solution adopted by the embodiment of the present application is to provide a computer program product, the computer program product comprising: a non-transitory computer readable storage medium and embedded in the nonvolatile Computer program instructions of a computer readable storage medium; the computer program instructions comprising instructions for causing a processor to perform a substance detection method as described above.
  • the substance detecting method performs the calculation of the substance detecting data acquired by the detecting terminal at the detecting terminal and the cloud platform.
  • the cloud platform can return the cloud material detection result to the detection terminal in a short time.
  • the detection terminal will not be able to send the substance detection data to the cloud platform in time or the detection terminal can not receive the cloud result returned by the cloud platform in time, and the local substance detection result detected by the detection terminal can be detected. Display.
  • the above substance detection method can ensure that the detection terminal can obtain the detection result in time, and the reliability of the substance detection data is ensured.
  • FIG. 1 is a schematic structural diagram of a detection system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of hardware of a detection terminal provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a hardware structure of a robot according to an embodiment of the present application.
  • FIG. 4 is a functional block diagram of a substance detecting device provided by an embodiment of the present application.
  • FIG. 5 is a functional block diagram of the local module of Figure 4.
  • FIG. 6 is a functional block diagram of a substance detecting device according to another embodiment of the present application.
  • FIG. 7 is a schematic flow chart of a substance detecting method provided by an embodiment of the present application.
  • FIG. 8 is a schematic flow chart of a substance detecting method according to another embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a detection system 100 according to an embodiment of the present disclosure.
  • the detection system 100 includes: a detection terminal 10 , a cloud platform 20 , and a network 30 .
  • the detecting terminal 10 is any suitable terminal having the material information detecting capability and the data processing capability, and can detect and process the substance information; the detecting terminal 10 has at least one communication module for establishing a communication connection with the network 20; of course, the detecting terminal 10 has at least one local storage device, and the local storage device stores a local spectral database containing spectral information of various substances and mixtures for detecting the detection substance obtained after the terminal 10 detects and processes the substance. The spectral information is compared and matched in a local spectral database to match information such as the corresponding substance name. In other embodiments, some devices may also be added or removed on the detecting terminal 10 according to actual conditions, for example, an additional operator interaction device may be added.
  • the cloud platform 20 is configured to receive the substance information related data sent by the terminal 10 through the network 30, and match the corresponding substance name and the like in the cloud platform large database according to the substance information data.
  • the cloud platform 20 is an electronic computing platform built in the "cloud” and capable of providing various types of services (such as data management and logical operations).
  • the cloud platform 20 can be built based on one or more servers or electronic computing devices.
  • the server can also connect to one or more databases, invoke relevant data or program instructions, and provide hardware support for one or more services in the cloud.
  • Network 30 may be any suitable wired or wireless network, such as the Internet, a local area network, or a wired cable, to enable a communication connection between two devices, such as detection terminal 10 and cloud platform 20.
  • the cloud platform 20 can establish a communication connection with one or more different detection terminals 10 through the network 30, upload or deliver data/instructions, so that the detection terminal 10 transmits the substance information related data and the detection result of the received substance information based on the network 30.
  • the detection system 100 shown in FIG. 1 includes one detection terminal 10 and one cloud platform 20. However, those skilled in the art can understand that, in some embodiments, any other number of detection terminals 10 or cloud platforms may also be included.
  • the plurality of detecting terminals 10 may form a task group based on the cloud platform to jointly assist in detecting the substance information to obtain a substance detecting result.
  • the detection system 100 further includes a background control and remote assistance platform, and the background control and remote assistance platform is used to implement task guidance and assistance for the plurality of detection terminals 10 based on the network 20 to complete the detection of the substance information. Substance test results.
  • FIG. 2 is a schematic diagram of the hardware structure of the detecting terminal 10 according to the embodiment of the present application.
  • the detecting terminal 10 includes: at least one processor 11, a memory 12, The communication module 13 and the spectrum analyzer 14. In some embodiments, it may also include an input device and an output device.
  • the processor 11, the memory 12, the communication module 13, and the spectrum analyzer 14 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the communication module 13 is used to establish a network connection to implement data transmission, for example, uploading data stored in the memory 12 to the cloud platform 30 through the network 20.
  • the communication module 13 can include a wired network interface, a wifi module, a GPRS communication module, and the like for accessing a corresponding network.
  • the spectrum analyzer 14 is configured to perform detection of a specific substance for transmitting the detected substance information to the processor 11 for processing.
  • the spectrum analyzer in this embodiment may be a Raman spectrum analyzer.
  • the Raman spectrum analyzer is provided with a fiber Raman probe, and the laser light source is focused into the fiber through the microscope, and reaches the probe portion contacting the sample through the fiber. After the sample is applied, a measurable Raman scattering signal is generated, which is collected by a fiber Raman probe, and a Raman spectrum is obtained by passing the fiber signal to the detector.
  • Raman spectroscopy can also be obtained in other embodiments using direct coupling techniques. According to the obtained Raman spectrum, various substances reflected by the spectrum can be further determined, and the specific determination method is: comparing the characteristic peak in the spectral information with the spectrum in the Raman spectrum database to determine the corresponding information of the spectral information. Substance.
  • the substance information can also be detected by other analyzers, and is not limited to the Raman spectrometer listed in the examples of the present application.
  • the processor 11 can perform the steps of FIGS. 7 and 8 in the method embodiment described below based on the communication module 13 and the spectrum analyzer 14.
  • the operations performed by the processor 11 may be stored in the memory 12 in the form of program instructions/modules that are used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile
  • the computer executable program and the module such as the program instructions/modules corresponding to the substance detecting method in the embodiment of the present application (for example, the modules in FIGS. 4 to 6).
  • the processor 11 executes various functional applications and data processing of the server by running nonvolatile software programs, instructions, and modules stored in the memory 12, and realizes the following by connecting the obtained data to the network 30 through the communication module. Method for detecting a substance in the method embodiment.
  • the memory 12 may include a storage program area and an 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 the use of the substance detecting device, and the like,
  • the storage area further stores a spectral database, wherein the spectral database contains spectral information of various substances and mixtures, and after the spectral analyzer performs the detection of the substance information, the processor 11 obtains the corresponding information of the substance information and the spectrum. The spectra in the database are compared and matched to obtain the substance detection results.
  • the memory 12 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.
  • memory 12 can optionally include memory remotely located relative to processor 11 that can be connected to the data forwarding 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 12, and when executed by the one or more processors 11, perform the substance detection method in any of the above method embodiments.
  • the detecting terminal 10 in the embodiment of the present application may exist in any suitable form, and performs the steps shown in FIG. 7 and FIG. 8 described below; the modules and units described in FIG. 4 to FIG. 6 may also be implemented.
  • the above detection terminal includes, but is not limited to, a terminal having substance information detection and having a network communication function.
  • the detecting terminal 10 may also add or reduce some hardware modules according to actual conditions.
  • the detecting terminal is a freely movable robot
  • FIG. 3 A schematic diagram of the hardware structure of a robot.
  • the robot 40 differs from the detecting terminal 10 in the above embodiment in that it includes a motion module 45 in addition to at least one processor 41, a memory 42, a communication module 43, and a spectrum analyzer 44. .
  • motion module 45 herein may refer to a hardware module that is used to adjust the position of the robot to move the robot in a particular direction.
  • the processor 41 drives the robot 40 to move in a specific area by sending a driving command to the motion module 45, for example, to perform material detection on a certain explosion site, and the robot 40 can be in a specific area of the explosion site. Move to achieve substance detection of the source of the explosion. Further, when the robot 40 moves to a specific position, the processor 41 sends a drive command to the spectrum analyzer 44 to drive the spectrum analyzer 44 to detect surrounding substance information, and the processor 41 applies the obtained substance information to the next step. In order to finally obtain the detection result of the substance information, for example, the substance name, structural formula or molecular quality corresponding to the substance information.
  • An embodiment of the present application provides a computer program product, including a computing program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer,
  • the computer executes the operator information recording method in any of the above method embodiments, for example, performs the respective steps shown in FIGS. 7 and 8 described below; and the functions of the respective modules and units described in FIGS. 4 to 6 can also be implemented. .
  • the substance detecting apparatus 400 includes: an obtaining module 41, a local module 42 and a first display. Module 43.
  • the obtaining module 41 is a function module for detecting the terminal 10 to acquire the substance detection data, and the substance detection data is detected by a specific analyzer (for example, the Raman spectrum analyzer listed above), and the substance detection data is used to represent different substances.
  • Material property, the property of the substance By using, for example, the substance name, the molecular structure of the substance, and the molecular mass of the substance, the at least one parameter of the different substance can be determined based on the different substance detection data.
  • the specific analyzer on the detection terminal 10 can be used for substance detection, and the substance detection data obtained by the biochemical substance can be transmitted to the acquisition module 41.
  • the obtaining module 41 obtains the substance detection data related to the substance information from the specific analyzer, and the substance detection data can be applied to other functional modules.
  • the local module 42 calculates the substance detection data acquired by the acquisition module 41 on the detection terminal 10.
  • the local substance detection result referred to herein is the detection result obtained by the detection terminal 10 independently completing the substance detection.
  • the local module 42 performs a process of calculating according to the substance detection data, that is, a process of calling the database of the detection terminal 10, and comparing and matching the Raman spectrum corresponding to the substance detection data with the database stored by the detection terminal 10.
  • the local module 42 is further configured to obtain a local substance detection result, where the detection result includes at least one substance parameter corresponding to the substance detection data for characterizing the substance characteristic, for example, the detection result corresponding to the substance detection data includes: a substance name, such as KNO 3 (potassium nitrate), alcohol (C 2 H 5 OH) and molecular mass of the substance, such as KNO 3 (101.1), C 2 H 5 OH (46) two material parameters.
  • a substance name such as KNO 3 (potassium nitrate), alcohol (C 2 H 5 OH)
  • molecular mass of the substance such as KNO 3 (101.1), C 2 H 5 OH (46) two material parameters.
  • the local module 42 sends the substance detection data to the cloud platform 20 while calculating and obtaining the local substance detection result, so that the cloud platform 20 performs the cloud calculation according to the substance detection data to obtain the cloud substance detection result;
  • the cloud material detection result is that the detection terminal 10 relies on the cloud platform 20 to complete the detection result obtained by the substance detection.
  • the local module 42 sends the substance detection data to the cloud platform, depending on the network connection status of the detection terminal 10, there are two substance detection data transmission results, and one is that the detection terminal 10 has a good network connection.
  • the local module 42 successfully sends the substance detection data to the cloud platform 20; the other is to detect that the terminal network connection fails, and the local module 42 cannot send the substance detection data from the cloud platform 20, that is, the local module 42 is used to send the substance to the cloud platform. Detecting the data does not mean that the cloud platform 20 will be able to obtain the substance detection data.
  • the cloud platform 20 When the cloud platform 20 acquires the substance detection data sent by the detection terminal 10, the cloud platform 20 can calculate the corresponding cloud substance detection result according to the substance detection data.
  • the detection terminal 10 has a relatively limited computing power, and the computing speed is relatively slow compared to the powerful computing power of the cloud platform 20.
  • the same substance detection data is different in the time required for the detection terminal 10 to calculate the local substance detection result and the cloud substance detection result obtained based on the calculation by the cloud platform 20.
  • the time required to obtain the cloud material detection result (generally about 1 second) is less than the time required to obtain the local substance detection result (generally about 10 seconds or more).
  • the first display module 43 is configured to select to display a local substance detection result or a cloud substance detection result according to the reception condition of the cloud substance detection result.
  • the receiving condition of the cloud material detecting result includes the detection terminal 10 receiving the cloud substance detecting result sent by the cloud platform 20 and the detecting terminal 10 not receiving the cloud substance detecting result sent by the cloud platform 20.
  • the cloud terminal detection result sent by the detection terminal 10 without receiving the cloud platform 20 may be caused by the following two situations: one is when the local module 42 sends the substance detection data to the cloud platform 20, because the network connection fails, the cloud The platform 20 does not receive the substance detection data from the detection terminal 10, and naturally cannot obtain the cloud substance detection result according to the substance detection data, that is, the cloud platform 20 cannot send the cloud substance detection result to the detection terminal 10; the other is, the cloud platform 20 receiving the substance detection data from the detection terminal 10, and calculating the cloud substance detection result.
  • the cloud platform 20 sends the cloud substance detection result to the detection terminal 10 the detection terminal 10 does not receive the cloud platform because the network connection fails. 20 cloud material detection results sent.
  • the local substance detection result does not need to be obtained based on the network 30, the local substance detection result can still be obtained in the case where the detection terminal 10 fails the network connection.
  • the first display module 43 receives the cloud material detection result sent from the cloud platform 20, the cloud material detection result is displayed. In the case where the detection terminal 10 fails to connect to the network, the first display module 43 receives the local substance detection result from the detection terminal 10, and displays the local substance detection result.
  • the advantage of this arrangement is that the detecting terminal 10 can obtain the detection result in time.
  • the detection terminal 10 selects to display the cloud substance detection result, and when the network connection fails, the detection terminal 10 selects to display the local substance. Test results.
  • the substance detecting device provided by the embodiment of the present application simultaneously calculates the substance detecting data acquired by the terminal at the detecting terminal and the cloud platform.
  • the cloud platform can return the cloud material detection result to the detection terminal in a short time.
  • the detection terminal will not be able to send the substance detection data to the cloud platform in time or the detection terminal can not receive the returning cloud material detection result of the cloud platform in time, and the local substance detected by the detection terminal can be detected.
  • the test results are displayed.
  • the above substance detecting device can ensure that the detecting terminal can obtain the detection result in time.
  • the local module 42 includes a judging unit 421, a cloud display unit 422, and a local display unit 423.
  • the determining unit 421 is configured to determine, in the process of calculating the local substance detection result, whether the cloud substance detection result returned by the cloud platform is received.
  • the cloud display unit 422 is configured to stop calculating the local substance detection result and display the cloud substance detection result if the cloud substance detection result returned by the cloud platform is received.
  • the cloud display unit 422 Can be used to stop calculating local substance test results and display cloud material test results.
  • the local display unit 423 is configured to display the local substance detection result and the local substance detection result confidence when the local substance detection result is obtained if the cloud substance detection result returned by the cloud platform is not received.
  • the "confirmation of the result of the local substance test” is a criterion for determining the correct rate of the local substance test result obtained by the local calculation.
  • the detecting terminal 10 In the process of comparing and matching according to the material information, the detecting terminal 10 is limited by the small limitation of the local database, and the types of substances involved in the local database are incomplete, and some material information is difficult to match the appropriate material structure and substance in the local database. Names, etc., which make the local material test results obtained by local calculations inaccurate.
  • the local display unit 423 simultaneously displays the confidence of the local substance detection result when displaying the local substance detection result to help the operator determine whether the local substance detection result is desirable.
  • the same substance detection data may be different in the calculation of the local substance detection result by the detection terminal 10 and the cloud substance detection result obtained by calculation based on the cloud platform 20. Moreover, because the cloud platform has a huge database, the cloud material detection results are more accurate than the local substance detection results.
  • the substance detecting device 400 further includes: a local determining module 44, a first cloud sending module 45, and a detecting result determining module 46. And a second display module 47.
  • the local determining module 44 is configured to determine whether the certainty of the local substance detection result is greater than a preset threshold.
  • the preset threshold can be set by the technician according to the actual situation, and provides a qualitative judgment standard to determine whether the local substance detection result satisfies the degree of certainty, and can ensure the reliability of the local substance detection result to a large extent.
  • the reliability of the local substance detection result can be ensured; and when the certainty of the local substance detection result is less than the preset threshold, the local substance detection result is unreliable and needs to be re-passed.
  • Other ways to detect are possible.
  • the local substance detection result when the certainty of the local substance detection result is less than the preset threshold, the local substance detection result is considered to be low in confidence.
  • the low confidence in the results of the local substance detection may be due to the fact that the spectral data in the local database of the detection terminal is too small, so that the detection of the substance in the local database is not included; or because the detection terminal is interfering with clutter and noise during the process, and
  • the detection terminal 10 has limited algorithmic ability. In the detection process, the noise filtering is incomplete or the performance of the buckle base algorithm is limited, so that the spectral difference between the detection spectrum and the substance in the database is too large, and the detection substance is clearly in the database, but the degree of certainty is indeed low. .
  • the first cloud sending module 45 is configured to: if the certainty of the local substance detection result is less than a preset threshold, send the substance detection data to the cloud platform at a preset frequency, so that the cloud platform performs cloud computing according to the substance detection data to obtain the cloud material. Test results.
  • the "substance detection data is transmitted to the cloud platform at a preset frequency" is required because the detection terminal 10 cannot predict when a smooth network connection can be established in the case where the network connection fails. Therefore, the substance detection data needs to be sent to the cloud platform at a preset frequency to ensure that the cloud platform 20 can receive the substance detection data from the detection terminal 10 in time when the network connection is smooth.
  • the detection terminal can obtain the cloud substance detection result in time.
  • the detection result judging module 46 is configured to determine whether the cloud material detection result is consistent with the local substance detection result when receiving the cloud substance detection result returned by the cloud platform according to the substance detection data.
  • the local substance test result does not match the local substance test result, the local substance test result is not reliable.
  • the results of the cloud material test are consistent with the results of the local substance test, indicating that although the confidence of the local substance test results is low, the results of the cloud material test results verify that the local substance test results are low, but the results are correct.
  • the second display module 47 is configured to display a cloud material detection result if the cloud substance detection result does not match the local substance detection result.
  • the second display module 47 is configured to display the cloud substance detection result, thereby ensuring the reliability of the detection result.
  • the substance detecting device 400 further includes a generating module 48 and a third display module 49.
  • the generating module 48 is configured to generate prompt information, which is used to prompt the operator that the cloud material detection result does not match the local substance detection result.
  • the prompt information may be used to prompt the operator to confirm that the local substance detection result is not up to the standard, and the prompt information may include: the certainty of the local substance detection result, the detection method and the like, and the information related to the local substance detection result.
  • the prompt information may further include: a next solution that can be performed when the degree of certainty is not up to standard, for example, prompting the operator to perform the detection of the substance detection data to the cloud again after the network is smooth.
  • the third display module 49 is configured to display prompt information.
  • the substance detecting apparatus 400 further includes: an updating module 410 and a second cloud sending module 411.
  • the update module 410 is configured to update the preset frequency if the cloud platform detection result returned by the cloud platform according to the substance detection data is not received within the preset duration.
  • the update module may specifically select an adjustment direction of the preset frequency according to different policy orientations.
  • the update module can specifically lower the preset frequency and update it to a smaller preset frequency.
  • the update module can specifically increase the preset frequency and update it to a higher preset frequency.
  • the specific value of the preset frequency updated by the update module may be set according to actual conditions, for example, the preset frequency is set to 2s of 10s or higher.
  • the second cloud sending module 411 further sends the substance detection data to the cloud platform at the updated preset frequency.
  • the substance detecting device performs the calculation of the substance detecting data acquired by the detecting terminal at the detecting terminal and the cloud platform.
  • the cloud platform can return the detection result to the terminal in a short time.
  • the detection terminal may not be able to timely send the substance detection data to the cloud platform or the detection terminal cannot receive the return result of the cloud platform in time. At this time, the local substance detection result may be displayed.
  • the above-mentioned substance detecting device solves the problem that the detection speed of the terminal detecting device is small, and on the other hand, the terminal can obtain the detection result in time, thereby ensuring the accuracy and reliability of the substance detecting data.
  • the substance detection data is detected by a specific analyzer (such as the Raman spectroscopy listed above), and the substance detection data is used to characterize the material properties of different substances, such as the substance name, the molecular structure of the substance, and Substance parameters such as the molecular mass of a substance indicate that at least one parameter of a different substance can be determined based on different substance detection data.
  • a specific analyzer such as the Raman spectroscopy listed above
  • the specific analyzer on the detection terminal 10 can be used for substance detection to obtain substance detection data related to biochemical substances.
  • the local substance detection result referred to herein is the detection result obtained by the detection terminal 10 independently completing the substance detection.
  • the process in which the detecting terminal 10 performs local calculation based on the substance detection data that is, the process of calling the database of the detecting terminal 10, compares and matches the spectrum corresponding to the substance detecting data with the database stored in the detecting terminal 10.
  • the detection result includes at least one substance parameter corresponding to the substance detection data for characterizing the substance property, for example, the detection result corresponding to the detection data of a substance includes: a substance name such as KNO 3 (potassium nitrate), alcohol (C 2 H 5 OH) and molecular mass of the substance, such as KNO 3 (101.1), C 2 H 5 OH (46) two material parameters.
  • a substance name such as KNO 3 (potassium nitrate), alcohol (C 2 H 5 OH)
  • molecular mass of the substance such as KNO 3 (101.1), C 2 H 5 OH (46) two material parameters.
  • the result of the cloud material detection referred to herein is that the detection terminal 10 relies on the cloud platform 20 to perform the detection result obtained by the substance detection. It should be noted that when the detection terminal sends the substance detection data to the cloud platform, depending on the network connection status of the detection terminal 10, there are two substance detection data transmission results, and one is that the detection terminal 10 has a good network connection, and the local module 42 The material detection data is successfully sent to the cloud platform 20; the other is to detect that the terminal network connection fails, and the detection terminal cannot send the substance detection data from the cloud platform 20,
  • the detection terminal sends the substance detection data to the cloud platform, it does not mean that the cloud platform 20 can obtain the substance detection data, that is, the substance detection data side substance detection data and the cloud platform receiving substance detection data are independent of each other, and have no causal connection.
  • the cloud platform 20 When the cloud platform 20 acquires the substance detection data sent by the detection terminal 10, the cloud platform 20 can calculate the corresponding cloud substance detection result according to the substance detection data.
  • the detection terminal 10 has a relatively limited computing power, and the computing speed is relatively slow compared to the powerful computing power of the cloud platform 20.
  • the same substance detection data is different in the time required for the detection terminal 10 to calculate the local substance detection result and the cloud substance detection result obtained based on the calculation by the cloud platform 20.
  • the time required to obtain the cloud material detection result (generally about 1 second) is less than the time required to obtain the local substance detection result (generally about 10 seconds or more).
  • the local substance detection result or the cloud substance detection result is selected and displayed.
  • the receiving condition of the cloud material detecting result includes the detection terminal 10 receiving the cloud substance detecting result sent by the cloud platform 20 and the detecting terminal 10 not receiving the cloud substance detecting result sent by the cloud platform 20.
  • the cloud terminal detection result sent by the detection terminal 10 without receiving the cloud platform 20 may be caused by the following two situations: one is when the local module 42 sends the substance detection data to the cloud platform 20, because the network connection fails, the cloud The platform 20 does not receive the substance detection data from the detection terminal 10, and naturally cannot obtain the cloud substance detection result according to the substance detection data, that is, the cloud platform 20 cannot send the cloud substance detection result to the detection terminal 10; the other is, the cloud platform 20 receiving the substance detection data from the detection terminal 10, and calculating the cloud substance detection result.
  • the cloud platform 20 sends the cloud substance detection result to the detection terminal 10 the detection terminal 10 does not receive the cloud platform because the network connection fails. 20 cloud material detection results sent.
  • the local substance detection result does not need to be obtained based on the network 30, the local substance detection result can still be obtained in the case where the detection terminal 10 fails the network connection.
  • the cloud substance detection knot is displayed. fruit.
  • the detection terminal 10 fails to connect to the network, the local substance detection result from the detection terminal 10 is received, and the local substance detection result is displayed.
  • the advantage of this arrangement is that the detecting terminal 10 can obtain the detection result in time.
  • the detection terminal 10 selects to display the cloud substance detection result, and when the network connection fails, the detection terminal 10 selects to display the local substance. Test results.
  • the substance detecting method performs the calculation of the substance detecting data acquired by the detecting terminal at the detecting terminal and the cloud platform.
  • the cloud platform can return the cloud material detection result to the detection terminal in a short time.
  • the detection terminal will not be able to send the substance detection data to the cloud platform in time or the detection terminal can not receive the returning cloud material detection result of the cloud platform in time, and the local substance detected by the detection terminal can be detected.
  • the test results are displayed.
  • the above substance detection method can ensure that the detection terminal can obtain the detection result in time.
  • the embodiment of the present application further provides a substance detecting method as shown in FIG. The explanation of the steps in the same applies in this embodiment.
  • the method for detecting the substance includes:
  • step 83 In the process of calculating the local substance detection result, determine whether the cloud substance detection result returned by the cloud platform is received. If step 84 is performed, go to step 85.
  • the detection terminal 10 When the detection terminal 10 receives the cloud material detection result, it indicates that the detection terminal 10 has received the returned detection result in time, and in order to avoid the loss caused by the detection terminal 10 continuing the local calculation, the local substance detection result may be stopped and the cloud may be displayed. Substance test results.
  • the "confirmation of local substance test results” is a criterion for determining the correct rate of local substance test results obtained by local calculation.
  • the accuracy of the test results is higher.
  • the detecting terminal 10 is limited by the small limitation of the local database, the spectrum involved in the local database is incomplete, and some material information is difficult to match the appropriate material structure and substance name in the local database. Etc. This makes the local material test results obtained by local calculations inaccurate.
  • the confidence of the local substance test result is also displayed to help the operator determine whether the local substance test result is desirable.
  • the substance detection data is sent to the cloud platform at a preset frequency, so that the cloud platform performs cloud computing according to the substance detection data, and obtains the cloud substance detection result.
  • the preset threshold can be set by the technician according to the actual situation, and provides a qualitative judgment standard to determine whether the local substance detection result satisfies the degree of certainty, and can ensure the reliability of the local substance detection result to a large extent.
  • the reliability of the local substance detection result can be ensured; and when the certainty of the local substance detection result is less than the preset threshold, the local substance detection result is unreliable and needs to be re-passed.
  • Other ways to detect are possible.
  • the local substance detection result when the certainty of the local substance detection result is less than the preset threshold, the local substance detection result is considered to be low in confidence.
  • the low confidence in the results of the local substance detection may be due to the fact that the spectral data in the local database of the detection terminal is too small, so that the detection of the substance in the local database is not included; or because the detection terminal is interfering with clutter and noise during the process, and
  • the detection terminal 10 has limited algorithmic ability. In the detection process, the noise filtering is incomplete or the performance of the buckle base algorithm is limited, so that the spectral difference between the detection spectrum and the substance in the database is too large, and the detection substance is clearly in the database, but the degree of certainty is indeed low. .
  • the "substance detection data is transmitted to the cloud platform at a preset frequency" is required because the detection terminal 10 cannot predict when a smooth network connection can be established in the case where the network connection fails. Therefore, the substance detection data needs to be sent to the cloud platform at a preset frequency to ensure that the cloud platform 20 can receive the substance detection data from the detection terminal 10 in time when the network connection is smooth.
  • the detecting terminal 10 can obtain the cloud substance detecting result in time.
  • step 87 Determine whether the cloud material detection result from the cloud platform is received within the preset time period. If yes, go to step 88. If not, go to step 811.
  • step 88 Determine whether the cloud material detection result is consistent with the local substance detection result. If yes, go to step 89. If they do not match, go to step 810.
  • the local substance test result does not match the local substance test result, the local substance test result is not reliable.
  • the results of the cloud material test are consistent with the results of the local substance test, indicating that although the confidence of the local substance test results is low, the results of the cloud material test results verify that the local substance test results are low, but the results are correct.
  • the cloud substance detection result does not match the local substance detection result, and the local substance detection result of the detection terminal is low, the cloud substance detection result is displayed, so that the reliability of the detection result can be ensured.
  • the update module may specifically select an adjustment direction of the preset frequency according to different policy orientations.
  • the update module can specifically lower the preset frequency and update it to a smaller preset frequency.
  • the update module can specifically increase the preset frequency and update it to a higher preset frequency.
  • the specific value of the preset frequency updated by the update module may be set according to actual conditions, for example, the preset frequency is set to 2s of 10s or higher.
  • the substance detecting method provided by the embodiment of the present application calculates the substance detecting data acquired by the terminal at the same time in the detecting terminal and the cloud platform.
  • the cloud platform can return the detection result to the terminal in a short time.
  • the detection terminal may not be able to timely send the substance detection data to the cloud platform or the detection terminal cannot receive the return result of the cloud platform in time. At this time, the local substance detection result may be displayed.
  • the above-mentioned substance detection method solves the problem that the detection speed of the terminal detection device is small, and on the other hand, the terminal can obtain the detection result in time, thereby ensuring the accuracy and reliability of the substance detection data.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions executed by one or more processors, such as in FIG. 2 a processor 11 for causing the one or more processors to perform the substance detecting method in any of the above method embodiments, for example, performing the steps shown in FIG. 7 and FIG. 8 described above; 4 to the functions of the various modules and units described in FIG.
  • the substance detecting method and the substance detecting device provided in the above embodiments are based on the same inventive concept. Therefore, the steps of the specific embodiments may be performed by the corresponding function modules, and the specific functions of the function modules may also have corresponding method steps in the substance detection method, and details are not described herein again.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, as part of the unit display. It may or may not be a physical unit, that is, it may be located in one place, or it may 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

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Immunology (AREA)
  • Chemical & Material Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

一种物质检测方法及其装置、检测终端,物质检测方法包括:获取物质检测数据;根据物质检测数据进行本地检测,计算并获得本地物质检测结果,同时向云端平台(20)发送物质检测数据,以使云端平台(20)根据物质检测数据进行云端计算,获得云端物质检测结果;根据云端物质检测结果的接收情况,选择显示本地物质检测结果或者云端物质检测结果。物质检测方法,将检测终端(10)获取的物质检测数据同时在检测终端(10)和云端平台(20)进行计算。在网络(30)连接良好的情况下,云端平台(20)在较短时间内即可返回云端物质检测结果给检测终端(10)。而在没有网络(30)覆盖的情况下,可将检测终端(10)检测的本地物质检测结果进行显示。物质检测方法可以确保检测终端(10)能够及时获得检测结果。

Description

一种物质检测方法及其装置、检测终端 技术领域
本申请涉及物质检测技术领域,特别是涉及一种物质检测方法及其装置、检测终端。
背景技术
基于光谱分析原理的检测设备是用于测定物质化学成分组成的有利工具。其通过红外透射方式或者分子散射原理等,实现物质化学成分的快速测定和定性定量分析。现有的利用上述基于光谱分析原理的检测设备(如光谱分析仪)对检测样品进行分析的方法可以实现对样品的物质化学成分的实时检测,其分析过程为:首先检测获得样品数据,然后将样品数据信息与数据库中的信息进行匹配,确定该样品数据所对应的物质化学成分。
现有的将样品数据进行比对的技术方案包括:检测设备自身带有数据库,利用检测设备的数据库确定样品数据所反映的物质和将样品数据上传至云端平台,利用云端平台的数据库确定样品数据所反映的物质两种方式。
发明人发现:一方面,受限于检测设备的运算能力,使得检测设备在对将样品数据进行比对的过程中,耗时较长;另一方面,受限于网络条件的限制,云端平台可能会出现无法接收样品数据或返回样品数据的结果的情况;上述两种情况导致操作人员不能及时知晓检测样品是什么。
发明内容
本申请实施例主要解决相关技术中的检测设备在对检测结果进行比对分析的时候,本地运算速度较慢的问题。
为解决上述技术问题,本申请实施例采用的一个技术方案是:提供一种云端物质检测方法。该方法包括:获取物质检测数据;根据所述物质检测数据进行本地检测,计算并获得本地物质检测结果,在计算并获得本地物质检测结果的同时,向云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检测数据进行云端计算,获得云端物质检测结果;根据所述云端物质检测结果的接收情况,选择显示所述本地物质检测结果或者所述云端物质检测结果。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种物质检测装置。所述物质检测装置包括:获取模块,用于获取物质检测数据;本地模块,用于根据所述物质检测数据进行本地检测,计算并获得本地物质检测结果,在计算并获得本地物质检测结果的同时,向云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检 测数据进行云端计算,获得云端物质检测结果;第一显示模块,用于根据所述云端物质检测结果的接收情况,选择显示所述本地物质检测结果或者所述云端物质检测结果。
为解决上述技术问题,本申请实施例采用的又一个技术方案是:提供一种检测终端,包括:光谱分析仪;通信模块;至少一个处理器;以及,存储器;所述光谱分析仪、所述通信模块和所述存储器分别与所述至少一个处理器通信连接;其中,所述存储器存储有可被所述至少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器基于所述光谱分析仪和所述通信模块执行如上所述的物质检测方法。
为解决上述技术问题,本申请实施例采用的又一个技术方案是:提供一种计算机程序产品,所述计算机程序产品包括:非易失性计算机可读存储介质以及内嵌于所述非易失性计算机可读存储介质的计算机程序指令;所述计算机程序指令包括用以使处理器执行如上所述的物质检测方法的指令。
本申请实施例提供的物质检测方法将检测终端获取的物质检测数据同时在检测终端和云端平台进行计算。在网络连接良好的情况下,借助云端强大的计算能力,云端平台在较短时间内即可返回云端物质检测结果给检测终端。而在没有网络覆盖或者信号不稳定的情况,检测终端会无法把物质检测数据及时发送至云端平台或者检测终端无法及时接收云端平台的返回的云端结果时,可将检测终端检测的本地物质检测结果进行显示。上述物质检测方法可以确保检测终端能够及时获得检测结果,保证了物质检测数据的可靠性。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本申请实施例提供的一种检测系统的结构示意图;
图2是本申请实施例提供的检测终端的硬件结构示意图;
图3是本申请实施例提供的一种机器人的硬件结构示意图;
图4是本申请实施例提供的一种物质检测装置的功能框图;
图5是图4中本地模块的功能框图;
图6是本申请另一实施例提供的一种物质检测装置的功能框图;
图7是本申请实施例提供的一种物质检测方法的流程示意图;
图8是本申请另一实施例提供的一种物质检测方法的流程示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
请参阅图1,图1是本申请实施例提供的一种检测系统100的结构示意图,如图1所示,该检测系统100包括:检测终端10、云端平台20和网络30。
检测终端10是任何合适的具有物质信息检测能力和数据处理能力的终端,可以对物质信息进行检测和处理;检测终端10至少具有一个通信模块,用于与网络20建立通信连接;当然,检测终端10同时具有至少一个本地存储装置,本地存储装置存储有本地光谱数据库,该光谱数据库包含有各种物质和混合物的谱图信息,用于检测终端10对物质进行检测和处理后将得到的检测物质的光谱信息在本地光谱数据库中进行比对和匹配,以匹配出对应的物质名称等信息。在另一些实施例中,还可以根据实际情况,在检测终端10上增加或减少一些设备,例如可以添加额外的操作人员交互设备。
云端平台20用以接收检测终端10通过网络30发送的物质信息相关数据,并根据该物质信息数据在云端平台大数据库中匹配出对应的物质名称等信息。云端平台20是一个建立在“云端”,可以提供各类型服务(如数据管理、逻辑运算)的电子运算平台。云端平台20可以基于一个或者多个服务器或者电子计算设备建立。服务器还可以连接至一个或者多个数据库,调用相关的数据或者程序指令,为云端的一种或者多种服务提供硬件支持。
网络30可以是任何合适的,用以实现两个设备(如检测终端10与云端平台20)之间通信连接的有线或者无线网络,例如因特网、局域网或者有线线缆。云端平台20可以通过网络30与一个或者多个不同的检测终端10建立通信连接,上传或者下发数据/指令,以使检测终端10基于网络30发送物质信息相关数据以及接收物质信息的检测结果。
图1中所示的检测系统100中包含了1个检测终端10以及1个云端平台20。但本领域技术人员可以理解的是,在一些实施例中,还可以包括其他任意数量的检测终端10或者云端平台。多个检测终端10可以基于云端平台形成任务组,以共同协助完成物质信息的检测,得到物质检测结果。
在一些实施例中,检测系统100还包括后台管控与远程协助平台,后台管控与远程协助平台用于基于网络20实现对多个检测终端10的任务指导和协助,以完成物质信息的检测,得到物质检测结果。
请参阅图2,图2是本申请实施例提供的检测终端10的硬件结构示意图,如图2所示,检测终端10包括:至少一个处理器11、存储器12、 通信模块13以及光谱分析仪14。在一些实施例中,其还可以包括:输入装置和输出装置。
处理器11、存储器12、通信模块13和光谱分析仪14可以通过总线或者其他方式连接,图2中以通过总线连接为例。
通信模块13用于建立网络连接,以实现数据的传输,例如将存储器12中存储的数据通过网络20上传至云端平台30。该通信模块13可以包括有线网络接口、wifi模块、GPRS通信模块等用于接入对应网络的硬件设备。
光谱分析仪14用于完成对特定物质的检测,用以将检测得到的物质信息传输至处理器11进行处理。在本实施例中的光谱分析仪可以为拉曼光谱分析仪。
利用拉曼光谱分析方法测量物质信息相关数据的其中一种方式为:拉曼光谱分析仪上设置有光纤拉曼探头,激光光源经过显微镜的聚焦进入光纤,经光纤到达与样品接触的探头部分,与样品作用后产生可测量的拉曼散射信号,再经过光纤拉曼探头收集,通过光纤信号传入检测器得到拉曼光谱。在其他实施方式中还可以利用直接耦合技术得到拉曼光谱。根据得到的拉曼光谱可进一步确定该光谱所反映的各种物质,具体的确定方法为:将该光谱信息中的特征峰与拉曼光谱数据库中的光谱做比对,确定该光谱信息所对应的物质。
在其他实施例中,还可以通过其他分析仪检测得到物质信息,而不限于本申请实施例所列举的拉曼光谱仪。
处理器11可以基于通信模块13和光谱分析仪14执行下述方法实施例中图7和图8的步骤。
处理器11所执行的操作可以以程序指令/模块的方式存储在存储器12中,存储器12作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的物质检测方法对应的程序指令/模块(例如,附图4至图6中的模块)。处理器11通过运行存储在存储器12中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,并且将获得的数据通过通信模块与网络30的连接实现下述方法实施例中的物质检测方法。
其中,存储器12可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据物质检测装置的使用所创建的数据等,其中存储区还存储有光谱数据库,光谱数据库内包含有各种物质和混合物的光谱信息,用于在光谱分析仪进行检测得到物质信息之后,处理器11将获得的物质信息对应的光谱与在光谱数据库内的光谱进行比对和匹配获得物质检测结果。
此外,存储器12可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器12可选包括相对于处理器11远程设置的存储器,这些远程存储器可以通过网络连接至数据转发装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个模块存储在所述存储器12中,当被所述一个或者多个处理器11执行时,执行上述任意方法实施例中的物质检测方法。
本申请实施例中的检测终端10可以以任何合适的形式存在,在执行下述描述的图7和图8所示的各个步骤;也可实现附图4至图6所述的各个模块和单元的功能时,上述检测终端包括但不限于:具有物质信息检测和具有网络通信功能的终端。
在一些实施例中,检测终端10还可以根据实际情况添加或者减省一些硬件模块,例如,当上述检测终端为能够自由行动的机器人时,请参阅图3,图3是本申请实施例提供的一种机器人的硬件结构示意图。如图3所示,该机器人40与上述实施例中的检测终端10的区别在于,除了包括:至少一个处理器41、存储器42、通信模块43以及光谱分析仪44之外,还包括运动模块45。
在具体实施例中,这里的运动模块45可以指用来调节机器人的位置,从而使机器人在沿特定方向进行移动的硬件模块。
具体的,处理器41通过向运动模块45发送驱动命令,以驱动机器人40在某一特定区域进行移动,例如,需要对某一爆炸场地进行物质检测,则机器人40可以在该爆炸场地的特定区域进行移动以实现爆炸源的物质检测。进一步的,在机器人40移动到特定位置时,处理器41向光谱分析仪44发送驱动命令,以驱动光谱分析仪44检测周围的物质信息,处理器41将获得的物质信息应用于下一步骤中,以最终获得物质信息的检测结果,例如,物质信息对应的物质名称,结构式或者分子质量等。
本申请实施例提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意方法实施例中的操作人员信息记录方法,例如,执行以下描述的图7和图8所示的各个步骤;也可实现附图4至图6所述的各个模块和单元的功能。
图4是本申请实施例提供的,用以执行下述物质检测方法的物质检测装置400的功能框图,如图4所示,物质检测装置400包括:获取模块41、本地模块42和第一显示模块43。
其中,获取模块41是检测终端10获取物质检测数据的功能模块,该物质检测数据由特定的分析仪(例如上述列举的拉曼光谱分析仪)检测得到,物质检测数据用来表征不同的物质的物质特性,该物质特性可 以用,例如物质名称、物质分子结构和物质的分子质量等物质参数表示,根据不同的物质检测数据,可以确定不同物质的至少一个参数。
例如,现需要对某个爆炸场地进行生化物质的联合检测与地图标定,则可以利用检测终端10上特定的分析仪进行物质检测,并将生化物质得到的物质检测数据,传输至获取模块41。
获取模块41从特定分析仪上获取得到物质信息相关的物质检测数据,可以将该物质检测数据应用于其他功能模块中。
本地模块42将获取模块41获取到的物质检测数据在检测终端10上进行计算。此处所指的本地物质检测结果即为,检测终端10独立完成物质检测所获得的检测结果。其中,本地模块42在根据物质检测数据进行计算的过程,即是调用检测终端10的数据库,将物质检测数据对应的拉曼光谱与检测终端10存储的数据库进行比对和匹配的过程。
本地模块42还用于获取本地物质检测结果,该检测结果包含物质检测数据相对应的至少一个用于表征物质特性的物质参数,例如,某一物质检测数据对应的检测结果包括:物质名称,如KNO3(硝酸钾)、酒精(C2H5OH)和物质分子质量,如KNO3(101.1)、C2H5OH(46)两项物质参数。
进一步的,本地模块42在计算并获得本地物质检测结果的同时,向云端平台20发送物质检测数据,以使云端平台20根据该物质检测数据进行云端计算,获得云端物质检测结果;此处所指的云端物质检测结果即为,检测终端10依赖云端平台20完成物质检测获得的检测结果。
此处需要说明的是,本地模块42在向云端平台发送物质检测数据时,依赖于检测终端10的网络连接状况,对应有两种物质检测数据发送结果,一种为检测终端10网络连接良好,本地模块42成功将物质检测数据发送至云端平台20;另一种为检测终端网络连接失败,本地模块42无法将物质检测数据发送自云端平台20,即:本地模块42用于向云端平台发送物质检测数据,并不代表云端平台20一定能获得该物质检测数据。
当云端平台20获取到检测终端10发送的物质检测数据时,云端平台20可以根据该物质检测数据计算得出对应的云端物质检测结果。
同样需要说明的是,检测终端10由于运算能力有限,计算速度相对云端平台20强大的计算能力,会相对较慢。同样的物质检测数据在检测终端10进行计算获得本地物质检测结果和基于云端平台20进行计算获得的云端物质检测结果需要的时间不同。并且得到云端物质检测结果需要的时间(一般约为1秒)少于得到本地物质检测结果需要的时间(一般约为10秒以上)。
第一显示模块43,用于根据云端物质检测结果的接收情况,选择显示本地物质检测结果或者云端物质检测结果。
此处云端物质检测结果的接收情况,包括检测终端10接收到云端平台20发送的云端物质检测结果和检测终端10没有接收到云端平台20发送的云端物质检测结果两种情况。
需要说明的是,检测终端10没有接收到云端平台20发送的云端物质检测结果可能由于以下两种情况导致:一种是本地模块42向云端平台20发送物质检测数据时,由于网络连接失败,云端平台20没有接收到来自于检测终端10的物质检测数据,自然不能根据物质检测数据得到云端物质检测结果,即:云端平台20无法向检测终端10发送云端物质检测结果;另一种是,云端平台20接收到来自于检测终端10的物质检测数据,并计算得出云端物质检测结果,在云端平台20向检测终端10发送云端物质检测结果时,由于网络连接失败,检测终端10没有接收到云端平台20发送的云端物质检测结果。
由于本地物质检测结果不需要基于网络30获得,因此,在检测终端10网络连接失败的情况下,仍然可以获得本地物质检测结果。当第一显示模块43接收到来自云端平台20发送的云端物质检测结果时,则显示云端物质检测结果。在检测终端10网络连接失败的情况下,第一显示模块43接收来自检测终端10的本地物质检测结果,则显示本地物质检测结果。
这样设置的好处是,检测终端10能够及时获得检测结果。在网络连接良好时,由于获得云端物质检测结果所需的时间小于获得本地物质检测结果所需要的时间,检测终端10选择显示云端物质检测结果,在网络连接失败时,检测终端10选择显示本地物质检测结果。
本申请实施例提供的物质检测装置将检测终端获取的物质检测数据同时在检测终端和云端平台进行计算。在网络连接良好的情况下,借助云端强大的计算能力,云端平台在较短时间内即可返回云端物质检测结果给检测终端。而在没有网络覆盖或者信号不稳定的情况,检测终端会无法把物质检测数据及时发送至云端平台或者检测终端无法及时接收云端平台的返回的云端物质检测结果时,可将检测终端检测的本地物质检测结果进行显示。上述物质检测装置可以确保检测终端能够及时获得检测结果。
由于云端计算快于本地计算,在检测终端10接收到云端平台20发送的云端物质检测结果时,检测终端10正在进行本地计算,为了减少本地计算不必要的损耗,在一些实施例中,如图5所示,本地模块42包括:判断单元421、云端显示单元422和本地显示单元423。
判断单元421,用于在计算本地物质检测结果的过程中,判断是否接收到云端平台返回的云端物质检测结果。
云端显示单元422,用于若接收到云端平台返回的云端物质检测结果,则停止计算本地物质检测结果,并显示云端物质检测结果。
在检测终端10接收到云端显示单元422返回的云端物质检测结果时,表明检测终端10已经及时接收到返回的检测结果,为了避免检测终端10继续进行本地计算而带来的损耗,云端显示单元422可用于停止计算本地物质检测结果并显示云端物质检测结果。
本地显示单元423,用于若未接收到云端平台返回的云端物质检测结果,则在获得本地物质检测结果时,显示本地物质检测结果和本地物质检测结果的确信度。
此处“本地物质检测结果的确信度”是通过本地计算获得的本地物质检测结果的正确率的一种判断标准,确信度越高,即认为本地物质检测结果正确率越高。
在根据物质信息进行比对和匹配的过程中,检测终端10受限于本地数据库小的限制,本地数据库中涉及的物质种类不全,一些物质信息在本地数据库中难以匹配出合适的物质结构、物质名称等,这就使得进行本地计算得出的本地物质检测结果不准确。本地显示单元423,在显示本地物质检测结果时,同时显示本地物质检测结果的确信度,以帮助操作人员确定该本地物质检测结果是否可取。
同样的物质检测数据在检测终端10进行计算获得本地物质检测结果和基于云端平台20进行计算获得的云端物质检测结果可能不同。并且,由于云端平台具有庞大的数据库,因此云端物质检测结果相比于本地物质检测结果更准确。为了让检测终端10获取的检测结果更加准确、可靠,在一些实施例中,如图6所示,物质检测装置400还包括:本地判断模块44、第一云端发送模块45、检测结果判断模块46和第二显示模块47。
本地判断模块44,用于判断本地物质检测结果的确信度是否大于预设阈值。
该预设阈值可以由技术人员,根据实际情况自行设置,其提供了一个定性的判断标准,确定本地物质检测结果是否满足确信度,能够较大程度的保证本地物质检测结果的可靠性。
在本地物质检测结果的确信度大于预设阈值时,可以保证本地物质检测结果的可靠性;而在本地物质检测结果的确信度小于预设阈值时,表明本地物质检测结果不可靠,需要重新通过其他方式进行检测。
其中,本地物质检测结果的确信度小于预设阈值时,可认为本地物质检测结果确信度低。本地物质检测结果的确信度低可能是由于检测终端的本地数据库内的光谱数据过少导致本地数据库中没有包含检测的物质;又或者是因为检测终端在进行时有杂波、噪声的干扰,且检测终端10的算法能力有限,在检测过程中噪声滤除不彻底或者扣基底算法能力有限导致检测光谱与数据库中该物质的光谱差异过大大,数据库中明明有该检测物质,但确信度确低。
第一云端发送模块45,用于若本地物质检测结果的确信度小于预设阈值,则以预设频率向云端平台发送物质检测数据,以使云端平台根据物质检测数据进行云端计算,获得云端物质检测结果。
此处,需要“以预设频率向云端平台发送物质检测数据”,是因为检测终端10在网络连接失败的情况下,无法预知何时才能建立顺畅的网络连接。因此,需要以预设频率向云端平台发送物质检测数据,以保证在网络连接顺畅时,云端平台20能够及时接收到来自检测终端10的物质检测数据。
这样,检测终端能够及时获得云端物质检测结果。
检测结果判断模块46,用于当接收到云端平台根据物质检测数据返回的云端物质检测结果时,判断云端物质检测结果是否与本地物质检测结果相符合。
若云端物质检测结果与本地物质检测结果不相符,则说明本地物质检测结果不可靠。云端物质检测结果与本地物质检测结果相符合,则说明虽然本地物质检测结果的确信度低,但经云端物质检测结果的验证,本地物质检测结果虽然确信度低,但是结果正确。
第二显示模块47,用于若云端物质检测结果与本地物质检测结果不相符,则显示云端物质检测结果。
若云端物质检测结果与本地物质检测结果不相符,检测终端的本地物质检测结果确信度低,则第二显示模块47用于显示云端物质检测结果,这样可以保证检测结果的可靠性。
在一些实施例中,如图6所示,物质检测装置400还包括:生成模块48和第三显示模块49。
生成模块48,用于生成提示信息,该提示信息用以提示操作人员云端物质检测结果与本地物质检测结果不相符。
该提示信息可以用于提示操作人员之前的本地物质检测结果确信度未达到标准,具体该提示信息可以包括:本地物质检测结果的确信度,检测方式等与此次本地物质检测结果相关的信息。该提示信息还可以包括:对于确信度未达到标准时,可以进行的下一步解决方案,例如:提示操作人员,待网络顺畅后会再次向云端发生物质检测数据,进行检测。
第三显示模块49,用于显示提示信息。
在一些实施例中,如图6所示,物质检测装置400还包括:更新模块410和第二云端发送模块411。
更新模块410,用于在预设时长内,若未接收到云端平台根据物质检测数据返回的云端物质检测结果,则更新该预设频率。
当在未接收到云端平台的检测结果时,表明此时云端平台和检测终端之间的数据通信存在异常,暂时无法建立通信连接。因此,该更新模块具体可以根据不同的策略取向来选择预设频率的调整方向。
例如,在希望降低功耗时,该更新模块具体可以降低预设频率,将其更新为一个更小的预设频率。而在希望更快的获取到云端平台的物质检测数据时,该更新模块具体可以提高预设频率,将其更新为一个更高的预设频率。该更新模块更新的预设频率的具体值可以根据实际情况进行设置,例如将预设频率设置为10s或者更高的2s。
第二云端发送模块411则进一步则以更新后的预设频率向云端平台发送物质检测数据。
本申请实施例提供的物质检测装置,将检测终端获取的物质检测数据同时在检测终端和云端平台进行计算。在网络顺畅的情况下,借助云端平台强大的计算能力与庞大的数据库,云端平台在较短时间内即可返回检测结果给终端。而在没有网络覆盖或者信号不稳定的情况,检测终端会由于无法把物质检测数据及时发送至云端平台或者检测终端无法及时接收云端平台的返回结果,此时,可将本地物质检测结果进行显示。
进一步的,在显示本地物质检测结果时,会有确信度等相关信息供参考,以保证操作人员及时知晓本地物质检测结果的可靠性,并且,当本地物质检测结果不可靠时,可以待网络顺畅之后,进一步获得来自云端平台的云端物质检测结果,以取代不可靠的本地物质检测结果。上述物质检测装置,一方面,解决了终端检测设备检测速度慢数据库小的问题;另一方面,终端能够及时获得检测结果,保证了物质检测数据的准确、可靠。
本申请实施例提供的一种物质检测方法700的方法流程示意图。如图7所示,该方法包括:
71、获取物质检测数据。
该物质检测数据由特定的分析仪(例如上述列举的拉曼光谱分析仪)检测得到,物质检测数据用来表征不同的物质的物质特性,该物质特性可以用,例如物质名称、物质分子结构和物质的分子质量等物质参数表示,根据不同的物质检测数据,可以确定不同物质的至少一个参数。
例如,现需要对某个爆炸场地进行生化物质的联合检测与地图标定,则可以利用检测终端10上特定的分析仪进行物质检测,获得生化物质相关的物质检测数据。
72、根据物质检测数据进行本地检测,计算并获得本地物质检测结果,在计算并获得本地物质检测结果的同时,向云端平台发送物质检测数据,以使云端平台根据物质检测数据进行云端计算,获得云端物质检测结果。
此处所指的本地物质检测结果即为,检测终端10独立完成物质检测所获得的检测结果。其中,检测终端10在根据物质检测数据进行本地计算的过程,即是调用检测终端10的数据库,将物质检测数据对应的光谱与检测终端10存储的数据库进行比对和匹配的过程。
该检测结果包含物质检测数据相对应的至少一个用于表征物质特性的物质参数,例如,某一物质检测数据对应的检测结果包括:物质名称,如KNO3(硝酸钾)、酒精(C2H5OH)和物质分子质量,如KNO3(101.1)、C2H5OH(46)两项物质参数。
此处所指的云端物质检测结果即为,检测终端10依赖云端平台20完成物质检测获得的检测结果。需要说明的是,检测终端在向云端平台发送物质检测数据时,依赖于检测终端10的网络连接状况,对应有两种物质检测数据发送结果,一种为检测终端10网络连接良好,本地模块42成功将物质检测数据发送至云端平台20;另一种为检测终端网络连接失败,检测终端无法将物质检测数据发送自云端平台20,
检测终端在向云端平台发送物质检测数据时,并不代表云端平台20一定能获得该物质检测数据,即:物质检测数据方物质检测数据和云端平台接收物质检测数据相互独立,不具有因果联系。
当云端平台20获取到检测终端10发送的物质检测数据时,云端平台20可以根据该物质检测数据计算得出对应的云端物质检测结果。
同样需要说明的是,检测终端10由于运算能力有限,计算速度相对云端平台20强大的计算能力,会相对较慢。同样的物质检测数据在检测终端10进行计算获得本地物质检测结果和基于云端平台20进行计算获得的云端物质检测结果需要的时间不同。并且得到云端物质检测结果需要的时间(一般约为1秒)少于得到本地物质检测结果需要的时间(一般约为10秒以上)。
73、根据云端物质检测结果的接收情况,选择显示本地物质检测结果或者云端物质检测结果。
此处云端物质检测结果的接收情况,包括检测终端10接收到云端平台20发送的云端物质检测结果和检测终端10没有接收到云端平台20发送的云端物质检测结果两种情况。
需要说明的是,检测终端10没有接收到云端平台20发送的云端物质检测结果可能由于以下两种情况导致:一种是本地模块42向云端平台20发送物质检测数据时,由于网络连接失败,云端平台20没有接收到来自于检测终端10的物质检测数据,自然不能根据物质检测数据得到云端物质检测结果,即:云端平台20无法向检测终端10发送云端物质检测结果;另一种是,云端平台20接收到来自于检测终端10的物质检测数据,并计算得出云端物质检测结果,在云端平台20向检测终端10发送云端物质检测结果时,由于网络连接失败,检测终端10没有接收到云端平台20发送的云端物质检测结果。
由于本地物质检测结果不需要基于网络30获得,因此,在检测终端10网络连接失败的情况下,仍然可以获得本地物质检测结果。当接收到来自云端平台20发送的云端物质检测结果时,则显示云端物质检测结 果。在检测终端10网络连接失败的情况下,会接收到来自检测终端10的本地物质检测结果,则显示本地物质检测结果。
这样设置的好处是,检测终端10能够及时获得检测结果。在网络连接良好时,由于获得云端物质检测结果所需的时间小于获得本地物质检测结果所需要的时间,检测终端10选择显示云端物质检测结果,在网络连接失败时,检测终端10选择显示本地物质检测结果。
本申请实施例提供的物质检测方法将检测终端获取的物质检测数据同时在检测终端和云端平台进行计算。在网络连接良好的情况下,借助云端强大的计算能力,云端平台在较短时间内即可返回云端物质检测结果给检测终端。而在没有网络覆盖或者信号不稳定的情况,检测终端会无法把物质检测数据及时发送至云端平台或者检测终端无法及时接收云端平台的返回的云端物质检测结果时,可将检测终端检测的本地物质检测结果进行显示。上述物质检测方法可以确保检测终端能够及时获得检测结果。
一方面,由于云端计算快于本地计算,在检测终端10接收到云端平台20发送的云端物质检测结果时,检测终端10正在进行本地计算,这样使得增加了本地计算不必要的计算成本,另一方面,在网络连接失败的情况下,获得的本地物质检测结果不一定准确,因此,为了使上述问题得到解决,本申请实施例还提供一种如图8所示的物质检测方法,上述实施例中对个步骤的解释,在本实施例中同样适用,请参阅图8,该物质检测方法包括:
81、获取物质检测数据。
82、根据物质检测数据进行本地检测,计算并获得本地物质检测结果,在计算并获得本地物质检测结果的同时,向云端平台发送物质检测数据,以使云端平台根据物质检测数据进行云端计算,获得云端物质检测结果;
83、在计算所述本地物质检测结果的过程中,判断是否接收到所述云端平台返回的所述云端物质检测结果,若是执行步骤84,若否执行步骤85。
84、停止计算本地物质检测结果,并显示云端物质检测结果。
在检测终端10接收到云端物质检测结果时,表明检测终端10已经及时接收到返回的检测结果,为了避免检测终端10继续进行本地计算而带来的损耗,可以停止计算本地物质检测结果并显示云端物质检测结果。
85、在获得本地物质检测结果时,显示本地物质检测结果和本地物质检测结果的确信度。
此处“本地物质检测结果的确信度”是通过本地计算获得的本地物质检测结果的正确率的一种判断标准,确信度越高,即认为本地物质检 测结果正确率越高。在根据物质信息进行比对和匹配的过程中,检测终端10受限于本地数据库小的限制,本地数据库中涉及的光谱不全,一些物质信息在本地数据库中难以匹配出合适的物质结构、物质名称等,这就使得进行本地计算得出的本地物质检测结果不准确。在显示本地物质检测结果时,同时显示本地物质检测结果的确信度,以帮助操作人员确定该本地物质检测结果是否可取。
86、在本地物质检测结果的确信度小于预设阈值时,以预设频率向云端平台发送物质检测数据,以使云端平台根据物质检测数据进行云端计算,获得云端物质检测结果。
该预设阈值可以由技术人员,根据实际情况自行设置,其提供了一个定性的判断标准,确定本地物质检测结果是否满足确信度,能够较大程度的保证本地物质检测结果的可靠性。
在本地物质检测结果的确信度大于预设阈值时,可以保证本地物质检测结果的可靠性;而在本地物质检测结果的确信度小于预设阈值时,表明本地物质检测结果不可靠,需要重新通过其他方式进行检测。
其中,本地物质检测结果的确信度小于预设阈值时,可认为本地物质检测结果确信度低。本地物质检测结果的确信度低可能是由于检测终端的本地数据库内的光谱数据过少导致本地数据库中没有包含检测的物质;又或者是因为检测终端在进行时有杂波、噪声的干扰,且检测终端10的算法能力有限,在检测过程中噪声滤除不彻底或者扣基底算法能力有限导致检测光谱与数据库中该物质的光谱差异过大大,数据库中明明有该检测物质,但确信度确低。
此处,需要“以预设频率向云端平台发送物质检测数据”,是因为检测终端10在网络连接失败的情况下,无法预知何时才能建立顺畅的网络连接。因此,需要以预设频率向云端平台发送物质检测数据,以保证在网络连接顺畅时,云端平台20能够及时接收到来自检测终端10的物质检测数据。
这样,检测终端10能够及时获得云端物质检测结果。
87、判断在预设时长内是否接收到来自云端平台的云端物质检测结果。若接收到,执行步骤88,若未接收到,执行步骤811。
88、判断云端物质检测结果是否与本地物质检测结果相符合,若相符合,执行步骤89,若不相符合,执行步骤810。
若云端物质检测结果与本地物质检测结果不相符,则说明本地物质检测结果不可靠。云端物质检测结果与本地物质检测结果相符合,则说明虽然本地物质检测结果的确信度低,但经云端物质检测结果的验证,本地物质检测结果虽然确信度低,但是结果正确。
89、提示操作人员,本地物质检测结果正确。
810、显示云端物质检测结果。
若云端物质检测结果与本地物质检测结果不相符,检测终端的本地物质检测结果确信度低,则显示云端物质检测结果,这样可以保证检测结果的可靠性。
811、更新预设频率,以更新后的预设频率向云端平台发送物质检测数据。
当在未接收到云端平台的检测结果时,表明此时云端平台和检测终端之间的数据通信存在异常,暂时无法建立通信连接。因此,该更新模块具体可以根据不同的策略取向来选择预设频率的调整方向。
例如,在希望降低功耗时,该更新模块具体可以降低预设频率,将其更新为一个更小的预设频率。而在希望更快的获取到云端平台的物质检测数据时,该更新模块具体可以提高预设频率,将其更新为一个更高的预设频率。该更新模块更新的预设频率的具体值可以根据实际情况进行设置,例如将预设频率设置为10s或者更高的2s。
本申请实施例提供的物质检测方法,将检测终端获取的物质检测数据同时在检测终端和云端平台进行计算。在网络顺畅的情况下,借助云端平台强大的计算能力与庞大的数据库,云端平台在较短时间内即可返回检测结果给终端。而在没有网络覆盖或者信号不稳定的情况,检测终端会由于无法把物质检测数据及时发送至云端平台或者检测终端无法及时接收云端平台的返回结果,此时,可将本地物质检测结果进行显示。
进一步的,在显示本地物质检测结果时,会有确信度等相关信息供参考,以保证操作人员及时知晓本地物质检测结果的可靠性,并且,当本地物质检测结果不可靠时,可以待网络顺畅之后,进一步获得来自云端平台的云端物质检测结果,以取代不可靠的本地物质检测结果。上述物质检测方法,一方面,解决了终端检测设备检测速度慢数据库小的问题;另一方面,终端能够及时获得检测结果,保证了物质检测数据的准确、可靠。
本申请实施例还提供一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图2中的一个处理器11,可使得上述一个或多个处理器可执行上述任意方法实施例中的物质检测方法,例如,执行上述描述的图7和图8所示的各个步骤;也可实现附图4至图6所述的各个模块和单元的功能。
应当说明的是,上述实施例中提供的物质检测方法和物质检测装置均是基于相同的发明构思。因此,物质检测方法中各个具体实施例的步骤均可以由对应的功能模块所执行,功能模块中具体的功能也可以在所述物质检测方法中具有对应的方法步骤,在此不再赘述。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件 可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (12)

  1. 一种物质检测方法,其特征在于,包括:
    获取物质检测数据;
    根据所述物质检测数据进行本地检测,计算并获得本地物质检测结果;
    在计算并获得本地物质检测结果的同时,向云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检测数据进行云端计算,获得云端物质检测结果;
    根据所述云端物质检测结果的接收情况,选择显示所述本地物质检测结果或者所述云端物质检测结果。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述云端物质检测结果的接收情况,选择显示所述本地物质检测结果或者所述云端物质检测结果,具体包括:
    在计算所述本地物质检测结果的过程中,判断是否接收到所述云端平台返回的所述云端物质检测结果;
    若是,则停止计算所述本地物质检测结果,并显示所述云端物质检测结果;
    若否,则在获得本地物质检测结果时,显示所述本地物质检测结果和所述本地物质检测结果的确信度。
  3. 根据权利要求2所述的方法,其特征在于,在显示所述本地物质检测结果和所述本地物质检测结果的确信度之后,所述方法还包括:
    判断所述本地物质检测结果的确信度是否大于预设阈值;
    若所述本地物质检测结果的确信度小于所述预设阈值,则
    以预设频率向所述云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检测数据进行云端计算,获得所述云端物质检测结果;
    当接收到所述云端平台根据所述物质检测数据返回的所述云端物质检测结果时,判断所述云端物质检测结果是否与所述本地物质检测结果相符合;
    若不相符,则显示所述云端物质检测结果。
  4. 根据权利要求3所述的方法,其特征在于,若云端物质检测结果与所述本地物质检测结果不相符,所述方法还包括:
    生成提示信息,所述提示信息用以提示操作人员所述云端物质检测结果与所述本地物质检测结果不相符;
    显示所述提示信息。
  5. 根据权利要求3或4所述的方法,其特征在于,在以预设频率向所述云端平台发送所述物质检测数据,的步骤之后,在接收到所述云端平台根据所述物质检测数据返回的所述云端物质检测结果的步骤之前,
    所述方法还包括:
    在预设时长内,若未接收到所述云端平台根据所述物质检测数据返回的所述云端物质检测结果,更新所述预设频率;
    以更新后的预设频率向所述云端平台发送所述物质检测数据。
  6. 一种物质检测装置,其特征在于,包括:
    获取模块,用于获取物质检测数据;
    本地模块,用于根据所述物质检测数据进行本地检测,计算并获得本地物质检测结果,在计算并获得本地物质检测结果的同时,向云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检测数据进行云端计算,获得云端物质检测结果;
    第一显示模块,用于根据所述云端物质检测结果的接收情况,选择显示所述本地物质检测结果或者所述云端物质检测结果。
  7. 根据权利要求6所述的物质检测装置,其特征在于,
    所述本地模块包括,
    判断单元,用于在计算所述本地物质检测结果的过程中,判断是否接收到所述云端平台返回的所述云端物质检测结果;
    云端显示单元,用于若接收到所述云端平台返回的所述云端物质检测结果,则停止计算所述本地物质检测结果,并显示所述云端物质检测结果;
    本地显示单元,用于若未接收到云端平台返回的所述云端物质检测结果,则在获得本地物质检测结果时,显示所述本地物质检测结果和所述本地物质检测结果的确信度。
  8. 根据权利要求7所述的物质检测装置,其特征在于,还包括:
    本地判断模块,用于判断所述本地物质检测结果的确信度是否大于预设阈值;
    第一云端发送模块,用于若所述本地物质检测结果的确信度小于所述预设阈值,则以预设频率向所述云端平台发送所述物质检测数据,以使所述云端平台根据所述物质检测数据进行云端计算,获得所述云端物质检测结果;
    检测结果判断模块,用于当接收到所述云端平台根据所述物质检测数据返回的所述云端物质检测结果时,判断所述云端物质检测结果是否与所述本地物质检测结果相符合;
    第二显示模块,用于若所述云端物质检测结果与所述本地物质检测结果不相符,则显示所述云端物质检测结果。
  9. 根据权利要求8所述的物质检测装置,其特征在于,还包括:
    生成模块,用于生成提示信息,所述提示信息用以提示操作人员所述云端物质检测结果与所述本地物质检测结果不相符;
    第三显示模块,用于显示所述提示信息。
  10. 根据权利要求8或9所述的物质检测装置,其特征在于,还包括:
    更新模块,用于在预设时长内,若未接收到所述云端平台根据所述物质检测数据返回的所述云端物质检测结果,更新所述预设频率;
    第二云端发送模块,用于以更新后的预设频率向所述云端平台发送所述物质检测数据。
  11. 一种检测终端,其特征在于,包括:
    光谱分析仪;
    通信模块;
    至少一个处理器;
    以及,存储器;
    所述光谱分析仪、所述通信模块和所述存储器分别与所述至少一个处理器通信连接;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器基于所述光谱分析仪和所述通信模块执行如权利要求1至5任一项所述的物质检测方法。
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:非易失性计算机可读存储介质以及内嵌于所述非易失性计算机可读存储介质的计算机程序指令;所述计算机程序指令包括用以使处理器执行如权利要求1至5任一项所述的物质检测方法的指令。
PCT/CN2017/098321 2017-08-21 2017-08-21 一种物质检测方法及其装置、检测终端 Ceased WO2019036849A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780003263.XA CN108401440A (zh) 2017-08-21 2017-08-21 一种物质检测方法及其装置、检测终端
PCT/CN2017/098321 WO2019036849A1 (zh) 2017-08-21 2017-08-21 一种物质检测方法及其装置、检测终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098321 WO2019036849A1 (zh) 2017-08-21 2017-08-21 一种物质检测方法及其装置、检测终端

Publications (1)

Publication Number Publication Date
WO2019036849A1 true WO2019036849A1 (zh) 2019-02-28

Family

ID=63095117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098321 Ceased WO2019036849A1 (zh) 2017-08-21 2017-08-21 一种物质检测方法及其装置、检测终端

Country Status (2)

Country Link
CN (1) CN108401440A (zh)
WO (1) WO2019036849A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110793957A (zh) * 2019-11-27 2020-02-14 拱北海关技术中心 一种基于云平台技术的分布式海关现场查验拉曼光谱系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376597A (zh) * 2018-09-17 2019-02-22 深圳达闼科技控股有限公司 一种检测信息获取方法及相关装置
CN109916989B (zh) * 2019-04-01 2021-12-10 山东博戎伝创信息科技有限公司 一种基于人工智能的有机物检测方法、装置及系统
CN111191638B (zh) * 2020-02-28 2025-01-21 深圳市前海用电物联网科技有限公司 一种因果模型的人脸信息与体温信息检测方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2441220C2 (ru) * 2010-04-29 2012-01-27 Игорь Геннадьевич Васюкевич Способ дистанционного обнаружения тонкодисперсных аэрозолей токсичных веществ в местах их хранения и уничтожения при возникновении нештатных ситуаций с помощью пассивных инфракрасных спектрометров
CN103440867A (zh) * 2013-08-02 2013-12-11 安徽科大讯飞信息科技股份有限公司 语音识别方法及系统
CN105136742A (zh) * 2015-08-21 2015-12-09 董海萍 基于云端光谱数据库的微型光谱仪及光谱检测方法
US20160122794A1 (en) * 2014-10-30 2016-05-05 Sightline Innovation Inc. System, method and apparatus for pathogen detection

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182251A (zh) * 2014-08-12 2014-12-03 小米科技有限责任公司 农作物特征检测方法、装置及终端
CN105092483A (zh) * 2015-08-05 2015-11-25 深圳市恒特瑞电子有限公司 一种微型光谱仪检测食品安全的方法
CN105891146A (zh) * 2016-03-29 2016-08-24 电子科技大学 用于光谱检测的智能终端及其检测方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2441220C2 (ru) * 2010-04-29 2012-01-27 Игорь Геннадьевич Васюкевич Способ дистанционного обнаружения тонкодисперсных аэрозолей токсичных веществ в местах их хранения и уничтожения при возникновении нештатных ситуаций с помощью пассивных инфракрасных спектрометров
CN103440867A (zh) * 2013-08-02 2013-12-11 安徽科大讯飞信息科技股份有限公司 语音识别方法及系统
US20160122794A1 (en) * 2014-10-30 2016-05-05 Sightline Innovation Inc. System, method and apparatus for pathogen detection
CN105136742A (zh) * 2015-08-21 2015-12-09 董海萍 基于云端光谱数据库的微型光谱仪及光谱检测方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110793957A (zh) * 2019-11-27 2020-02-14 拱北海关技术中心 一种基于云平台技术的分布式海关现场查验拉曼光谱系统

Also Published As

Publication number Publication date
CN108401440A (zh) 2018-08-14

Similar Documents

Publication Publication Date Title
US10725095B2 (en) Maintenance management systems and methods
WO2019036849A1 (zh) 一种物质检测方法及其装置、检测终端
US20180157573A1 (en) Response-time baselining and performance testing capability within a software product
JP7181595B2 (ja) 検査システム、異常特定方法
CA2958484C (en) SYSTEMS AND METHODS FOR INCREASING THE EFFICIENCY AND ACCURACY OF A WALK TEST IN A FIRE ALARM SYSTEM
CN112903120B (zh) 批量检测红外温度传感器的检测系统及其检测方法
WO2023273561A1 (zh) 一种测试方法、装置、电子设备及存储介质
US10571446B2 (en) Data quality control using a correlated sensor group
CN108292254A (zh) 用于验证设备的操作的技术
US9170924B2 (en) Ecosystem certification of a partner product
KR20220035063A (ko) 데이터 수집 제어 방법, 장치, 전자 기기 및 매체
CN113552562A (zh) 一种超声波雷达自动标定系统及其方法
KR20220039591A (ko) 마진 테스트 데이터 태그 지정 및 예측 예상 마진
CN115098293A (zh) 物联网终端设备用的自动测试系统
KR101712377B1 (ko) 수질측정키트의 이미지 처리 기법을 이용한 양식장 자동화 수질분석 및 원격 감시시스템
CN117294833B (zh) 摄像头芯片的测试方法及相关设备
CN111062920B (zh) 用于生成半导体检测报告的方法及装置
US20150370687A1 (en) Unit test generation
CN114564381A (zh) 一种物联网设备整机产测方法
CN112860503A (zh) 用于智能终端生产组装的测试方法及系统
KR20180093594A (ko) 광 반사도를 이용하여 토양함수율을 측정하는 방법 및 휴대용 분광계
TWI769764B (zh) 建築物檢測電腦輔助系統、方法與使用者設備
CN110851309B (zh) 一种集成验证系统及方法
CN112533233B (zh) 一种基于用户交互的无线网络探测方法、装置和系统
CN116244318A (zh) 一种设备巡检方法、装置及电子设备和存储介质

Legal Events

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

Ref document number: 17922100

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17922100

Country of ref document: EP

Kind code of ref document: A1