CN110596020A - Substance detection method and device, storage medium, and communication terminal - Google Patents

Substance detection method and device, storage medium, and communication terminal Download PDF

Info

Publication number
CN110596020A
CN110596020A CN201910818747.0A CN201910818747A CN110596020A CN 110596020 A CN110596020 A CN 110596020A CN 201910818747 A CN201910818747 A CN 201910818747A CN 110596020 A CN110596020 A CN 110596020A
Authority
CN
China
Prior art keywords
target
substance
spectrum data
detection
terminal equipment
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.)
Pending
Application number
CN201910818747.0A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910818747.0A priority Critical patent/CN110596020A/en
Publication of CN110596020A publication Critical patent/CN110596020A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/27Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands using photo-electric detection ; circuits for computing concentration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Abstract

The present disclosure relates to the field of data processing technologies, and in particular, to a substance detection method, a substance detection device, a computer-readable medium, and a communication terminal. The substance detection method includes: activating a detection component in response to receiving a substance detection instruction sent by the terminal equipment; detecting a target substance through the detection assembly to generate target spectrum data corresponding to the target substance; and sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result. This openly can realize the application in daily life through removing the front end, can directly carry out other processings to material information through the testing result simultaneously, need not artifical input material information, can avoid the easy wrong problem that appears that manual input caused.

Description

Substance detection method and device, storage medium, and communication terminal
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a substance detection method, a substance detection device, a computer-readable medium, and a communication terminal.
Background
With the continuous development of society, researchers are exploring nature more and more deeply, and more substances are discovered by the researchers. To this end, researchers have invented devices such as X-ray diffractometers and raman spectrometers to detect information about substances.
In fact, information about substances is not only relevant to research, but also to people's lives. For example, in the garbage classification scenario, it is often difficult for people to distinguish what garbage the target material is, so that the material can be classified according to the information of the material by detecting the information of the material. However, the related devices for detecting substance information, such as X-ray diffractometers and raman spectrometers, cannot be used in daily life.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a substance detection method, a substance detection device, a computer-readable medium, and a communication terminal, thereby providing a substance detection method capable of detecting substance information that can be used in daily life.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a substance detection method applied to a mobile front end that establishes a matching connection with a terminal device, the method including:
activating a detection component in response to receiving a substance detection instruction sent by the terminal equipment;
detecting a target substance through the detection assembly to generate target spectrum data corresponding to the target substance;
and sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result.
According to a second aspect of the present disclosure, there is provided a substance detection apparatus applied to a mobile front end for establishing a matching connection with a terminal device, the apparatus comprising:
the activation module is used for responding to a received substance detection instruction sent by the terminal equipment and activating a detection module;
the detection module is used for detecting a target substance to generate target spectrum data corresponding to the target substance;
and the communication module is used for sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result.
According to a third aspect of the present disclosure, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the substance detection method described above.
According to a fourth aspect of the present disclosure, there is provided a wireless communication terminal comprising:
one or more processors;
a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the substance detection method described above.
According to the substance detection method provided by one embodiment of the disclosure, a detection component can be activated when a substance detection instruction sent by the terminal device is received; detecting a target substance through the detection assembly to generate target spectrum data corresponding to the target substance; and finally, sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result and realize the purpose of detecting the target substance. On one hand, the target substance can be detected through interaction between the mobile front end and the terminal device, so that the application in daily life can be realized through the mobile front end; on the other hand, the target spectrum can be analyzed through the terminal device to obtain the detection result, so that other processing can be directly performed on the substance information through the detection result, the substance information does not need to be manually input, and the problem that errors are easy to occur due to manual input can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 schematically illustrates a flow chart of a method of substance detection in an exemplary embodiment of the disclosure;
FIG. 2 schematically illustrates a flow chart of a method for detecting a target substance by the substance detection assembly to generate target spectral data corresponding to the target substance in an exemplary embodiment of the disclosure;
FIG. 3 illustrates a mobile front end and a terminal device to which a substance detection method is applied in an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates a communication diagram of a mobile front end and a terminal device for application of a substance detection method in an exemplary embodiment of the disclosure;
FIG. 5 schematically illustrates a process of detecting a target substance by a detection assembly in an exemplary embodiment of the disclosure;
FIG. 6 schematically illustrates a schematic composition diagram of a substance detection device in an exemplary embodiment of the present disclosure;
FIG. 7 schematically illustrates a component schematic of a detection module in an exemplary embodiment of the disclosure;
FIG. 8 schematically illustrates a schematic composition diagram of another detection module in an exemplary embodiment of the disclosure;
FIG. 9 schematically illustrates a schematic composition diagram of another detection module in an exemplary embodiment of the disclosure;
fig. 10 schematically shows a structural diagram of a computer system of a wireless communication device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Although an X-ray diffractometer and a raman spectrometer in the related art can detect information of a substance, the X-ray diffractometer and the raman spectrometer cannot be applied to daily life because the X-ray diffractometer and the raman spectrometer generally have the disadvantages of large size, high cost, inconvenience in carrying and incapability of autonomous analysis, and cannot directly output the detected substance information, and further perform other applications according to the output substance information.
In view of the above-mentioned drawbacks and disadvantages of the prior art, the exemplary embodiment provides a substance detection method, which can be applied to a mobile front end that establishes a matching connection with a terminal device. Referring to fig. 1, the above-described substance detection method may include the steps of:
s110, responding to a received substance detection instruction sent by the terminal equipment, and activating a detection component;
s120, detecting a target substance through the detection assembly to generate target spectrum data corresponding to the target substance;
s130, the target spectrum data are sent to the terminal equipment, so that the terminal equipment analyzes the target spectrum data, and a detection result is obtained.
On one hand, the substance detection method provided by the present exemplary embodiment can realize the detection of the target substance through the interaction between the mobile front end and the terminal device, and therefore, the application in daily life can be realized through the mobile front end; on the other hand, the target spectrum can be analyzed through the terminal device to obtain the detection result, so that other processing can be directly performed on the substance information through the detection result, the substance information does not need to be manually input, and the problem that errors are easy to occur due to manual input can be avoided.
The respective steps of the substance detection method in the present exemplary embodiment will be described in more detail below with reference to the drawings and examples.
In this example embodiment, the terminal device 310 may be a mobile terminal device such as a mobile phone 311, a tablet computer 312, or the like; the mobile front end 320 may be a touch pen (shown in fig. 3), a bluetooth headset, or other devices that can establish a matching connection with a mobile terminal, have a small volume, and are convenient to carry and move; the mobile front end and the terminal device may be connected in a wireless manner such as wifi or bluetooth (see fig. 4), or may be connected in a wired manner to detect the target substance 330. In addition, the mobile front end may be connected with the terminal device in other manners, for example, the mobile front end may be fixed in the terminal device; for another example, the mobile front end may be disposed in the terminal device, and the mobile front end and the terminal device are moved relatively by the user to take the mobile front end out of the terminal device.
Referring to fig. 1, in step S110, a detection component is activated in response to receiving a substance detection instruction sent by the terminal device.
In this exemplary embodiment, the mobile front end may receive a substance detection instruction sent by a terminal device that establishes a matching connection, and after receiving the substance detection instruction, activate a detection component in the mobile front end, so that the detection component performs substance detection.
In step S120, a target substance is detected by the detection component to generate target spectrum data corresponding to the target substance.
In this exemplary embodiment, after the detection component is activated, substance detection on the target substance may be started, specifically, the detection component detects the target substance to generate target spectrum data corresponding to the target substance, and as shown in fig. 2, the method may include the following steps S210 to S220:
step S210, emitting visible light through the detection component to enable the visible light to irradiate the target substance.
In this exemplary embodiment, the detecting assembly may include a light source assembly for emitting visible light when the detecting assembly is activated. When detecting a target substance, visible light emitted from a light source unit is required to be irradiated on the target substance.
Further, the detecting assembly may further include a light-focusing assembly, and before the light source assembly emits visible light, the method further includes: and converging the visible light to control the light intensity of the visible light. Through the control of the light intensity of the visible light, the visible light emitted by the light source component can adapt to the surrounding environment, and the normal substance detection can be ensured.
Step S220, receiving, by the detection assembly, reflected light obtained by reflecting the visible light by the target substance, and generating target spectrum data according to the reflected light.
In this exemplary embodiment, the detection assembly further includes a spectrum sensor assembly, and the reflected light is irradiated onto the photodetector therein through the multi-channel optical filter of the spectrum sensor assembly to generate a series of channel data with the spectral information of the target substance, so as to obtain the target spectral data of the target substance.
Specifically, when the detection assembly includes a light source assembly 510, a light condensing assembly 520, and a spectrum sensor assembly 530, the detection process of the detection assembly is as shown in fig. 5, after visible light is emitted from the light source assembly, the intensity of the visible light is adjusted by the light condensing assembly, then the visible light is irradiated onto a target substance to form reflected light, and finally the reflected light is analyzed by the spectrum sensor assembly to obtain target spectrum data.
Continuing to refer to fig. 1, in step S130, the target spectrum data is sent to the terminal device, so that the terminal device analyzes the target spectrum data to obtain a detection result.
In this example embodiment, the target spectrum data may be sent to the terminal device through matching connection between the mobile front end and the terminal device, so that the terminal device analyzes the target spectrum data to obtain a detection result. The detection result may be information on the composition of the target substance, information on the content of each component, or information on the color of the target substance. The detection result is obtained by analyzing the terminal equipment, so that the detection result can be directly further processed through the terminal equipment, and the problems of input error or inaccurate input and the like caused by manual input are avoided.
In this example embodiment, analyzing the target spectral data may include: and comparing the target spectrum data with preset spectrum data in a preset library to determine the components of the target substance.
In this exemplary embodiment, the preset library includes preset spectral data and a preset component mapping relationship. The target spectrum data is compared with the preset spectrum data, the preset spectrum data contained in the target spectrum data can be determined, the preset components corresponding to the target spectrum data are further determined according to the mapping relation between the preset spectrum data and the preset components, and then the components of the target substance are determined. Whether harmful components exist in the target substance can be accurately judged by determining the components of the target substance, so that the harm to a user caused by contacting or eating the harmful components is avoided; meanwhile, the target substance can be classified according to the components of the target substance, so that the user can classify the substance conveniently.
Further, after determining the composition of the target substance, the method further comprises: and calculating the content of each component according to the spectral intensity corresponding to each component in the target spectral data.
Specifically, the content of each component may be calculated according to the spectral intensity corresponding to each component in the target spectral data. The content of each component in the target substance is calculated, so that the content of toxic or harmful components in the substance can be effectively determined by a user in daily life, and further, the harm of the user caused by eating or contacting excessive harmful substances is avoided.
In this exemplary embodiment, the analyzing the target spectrum data may further include: and dividing color channels of the target spectrum data according to a preset rule, and performing linear operation in each color channel respectively to obtain color information of the target substance.
Specifically, the target spectrum data may be subjected to channel division according to a preset R, G, B channel or a color channel of another color space, and the target spectrum data in a single channel is subjected to linear calculation to obtain color information corresponding to the channel. For example, the target spectrum data in the preset wavelength range is determined as the target spectrum data of the R channel, and the target spectrum data in the R channel is integrated to obtain the color value corresponding to the R channel; and obtaining G, B channel color values in the same way, and further obtaining the color information of the target substance. Through the color information who obtains the target material, can help the more accurate colour of judging the target material of user, help the user to draw on electronic equipment and color, copy etc. in-process accuracy and judge the required colour of using.
Furthermore, before transmitting the target spectral data to the terminal device, the method further comprises: and correcting the target spectrum data according to a preset correction coefficient.
Specifically, due to the slight difference of the spectrum sensor assemblies in the detection assembly in the production process, the target spectrum data needs to be corrected according to preset correction coefficients corresponding to different spectrum sensor assemblies to obtain corrected target spectrum data, and then the target spectrum data is analyzed. The preset correction coefficient may be a sensing parameter corresponding to the spectrum sensor component, or may be another reference for correcting the target spectrum data, which is not limited in this disclosure.
It is to be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to an exemplary embodiment of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 6, in an embodiment of the present example, there is also provided a substance detecting apparatus 600, which can be applied to a mobile front end for establishing a matching connection with a terminal device, the substance detecting apparatus including: an activation module 610, a detection module 620, and a communication module 630. Wherein:
the activation module 610 may be configured to activate a detection module in response to receiving a substance detection instruction sent by the terminal device.
The detection module 620 may be configured to detect a target substance to generate target spectral data corresponding to the target substance.
The communication module 630 may be configured to send the target spectrum data to the terminal device, so that the terminal device analyzes the target spectrum data to obtain a detection result.
In an example of the present disclosure, as shown in fig. 7, the detecting module 620 may include: a light source unit 621 and a spectrum sensor unit 622. Wherein the content of the first and second substances,
the light source unit may be configured to emit visible light so that the visible light is irradiated to the target substance.
The spectrum sensor unit may be configured to receive reflected light obtained by reflecting the visible light by the target substance, and generate target spectrum data according to the reflected light
In an example of the present disclosure, referring to fig. 8, the detecting module 620 may further include: and a light condensing unit 623. The light condensing unit 623 may be configured to condense the visible light to control the intensity of the visible light.
In an example of the present disclosure, as shown in fig. 9, the detecting module 620 may further include: a correction unit 624. The correction unit 624 may be configured to correct the target spectrum data according to a preset correction coefficient.
Correspondingly, a corresponding analyzing module 640 (not shown in the figure) is arranged on the terminal device.
In an example of the present disclosure, the analysis module 640 may be configured to compare the target spectrum data with preset spectrum data in a preset library to determine a composition of the target substance; and the preset library comprises a mapping relation between the preset spectrum data and preset components.
In an example of the present disclosure, the analysis module 640 may be further configured to calculate a content of each of the components according to a spectral intensity corresponding to each of the components in the target spectral data.
In an example of the present disclosure, the analysis module 640 may be further configured to perform color channel division on the target spectrum data according to a preset rule, and perform linear operation in each color channel respectively to obtain color information of the target substance.
The specific details of each module in the substance detection method have been described in detail in the corresponding substance detection mobile terminal, and therefore are not described herein again.
It should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Fig. 10 illustrates a schematic block diagram of a computer system suitable for use in implementing a wireless communication device of an embodiment of the present invention.
It should be noted that the computer system 1000 of the electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiment of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An Input/Output (I/O) interface 1005 is also connected to the bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN (Local area network) card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to an embodiment of the present invention, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. When the computer program is executed by a Central Processing Unit (CPU)1001, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiment of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 1-2.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A substance detection method is applied to a mobile front end which establishes matching connection with a terminal device, and the method comprises the following steps:
activating a detection component in response to receiving a substance detection instruction sent by the terminal equipment;
detecting a target substance through the detection assembly to generate target spectrum data corresponding to the target substance;
and sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result.
2. The method of claim 1, wherein the detecting a target substance by the substance detection assembly to generate target spectral data corresponding to the target substance comprises:
emitting visible light through the detection assembly so that the visible light irradiates the target substance;
and receiving reflected light obtained by reflecting the visible light by the target substance through the detection assembly, and generating target spectrum data according to the reflected light.
3. The method of claim 2, wherein prior to said emitting visible light, the method further comprises:
and converging the visible light to control the light intensity of the visible light.
4. The method of claim 1, wherein prior to transmitting the target spectral data to the terminal device, the method further comprises:
and correcting the target spectrum data according to a preset correction coefficient.
5. The method of claim 1, wherein the analyzing the target spectral data comprises:
comparing the target spectrum data with preset spectrum data in a preset library to determine the components of the target substance; and the preset library comprises a mapping relation between the preset spectrum data and preset components.
6. The method of claim 5, wherein after the determining the composition of the target substance, the method further comprises:
and calculating the content of each component according to the spectral intensity corresponding to each component in the target spectral data.
7. The method of claim 1, wherein the analyzing the target spectral data comprises:
and dividing color channels of the target spectrum data according to a preset rule, and performing linear operation in each color channel respectively to obtain color information of the target substance.
8. A substance sensing device for use in a mobile front-end for establishing a mating connection with a terminal device, the device comprising:
the activation module is used for responding to a received substance detection instruction sent by the terminal equipment and activating a detection module;
the detection module is used for detecting a target substance to generate target spectrum data corresponding to the target substance;
and the communication module is used for sending the target spectrum data to the terminal equipment so that the terminal equipment analyzes the target spectrum data to obtain a detection result.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for substance detection according to any one of claims 1 to 7.
10. A communication terminal, comprising:
one or more processors;
a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a substance detection method as claimed in any one of claims 1 to 7.
CN201910818747.0A 2019-08-30 2019-08-30 Substance detection method and device, storage medium, and communication terminal Pending CN110596020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910818747.0A CN110596020A (en) 2019-08-30 2019-08-30 Substance detection method and device, storage medium, and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910818747.0A CN110596020A (en) 2019-08-30 2019-08-30 Substance detection method and device, storage medium, and communication terminal

Publications (1)

Publication Number Publication Date
CN110596020A true CN110596020A (en) 2019-12-20

Family

ID=68856665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910818747.0A Pending CN110596020A (en) 2019-08-30 2019-08-30 Substance detection method and device, storage medium, and communication terminal

Country Status (1)

Country Link
CN (1) CN110596020A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464700A (en) * 2020-04-07 2020-07-28 吉林求是光谱数据科技有限公司 Novel smart phone with imaging spectrum detection function and spectrum detection method thereof
CN111598410A (en) * 2020-04-24 2020-08-28 Oppo(重庆)智能科技有限公司 Product spot check method and device, computer readable medium and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182251A (en) * 2014-08-12 2014-12-03 小米科技有限责任公司 Crop characteristic detecting method, device and terminal
CN104406916A (en) * 2014-11-04 2015-03-11 百度在线网络技术(北京)有限公司 Method and apparatus for detecting food
CN105973837A (en) * 2016-05-13 2016-09-28 深圳市比特原子科技有限公司 Detecting method and detecting system of organic matter
CN106461461A (en) * 2014-01-03 2017-02-22 威利食品有限公司 Spectrometry systems, methods, and applications
CN106501190A (en) * 2016-12-23 2017-03-15 成都光数云联科技有限公司 A kind of mobile terminal and the analysis system based on mobile terminal
CN106814042A (en) * 2017-01-23 2017-06-09 清华大学 Spectra collection and analysis system and its control method
CN108064341A (en) * 2017-06-12 2018-05-22 深圳前海达闼云端智能科技有限公司 Substance component detection method, substance component detection device and detection equipment
CN109142279A (en) * 2018-06-29 2019-01-04 努比亚技术有限公司 A kind of spectral method of detection, mobile terminal and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106461461A (en) * 2014-01-03 2017-02-22 威利食品有限公司 Spectrometry systems, methods, and applications
CN104182251A (en) * 2014-08-12 2014-12-03 小米科技有限责任公司 Crop characteristic detecting method, device and terminal
CN104406916A (en) * 2014-11-04 2015-03-11 百度在线网络技术(北京)有限公司 Method and apparatus for detecting food
CN105973837A (en) * 2016-05-13 2016-09-28 深圳市比特原子科技有限公司 Detecting method and detecting system of organic matter
CN106501190A (en) * 2016-12-23 2017-03-15 成都光数云联科技有限公司 A kind of mobile terminal and the analysis system based on mobile terminal
CN106814042A (en) * 2017-01-23 2017-06-09 清华大学 Spectra collection and analysis system and its control method
CN108064341A (en) * 2017-06-12 2018-05-22 深圳前海达闼云端智能科技有限公司 Substance component detection method, substance component detection device and detection equipment
CN109142279A (en) * 2018-06-29 2019-01-04 努比亚技术有限公司 A kind of spectral method of detection, mobile terminal and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464700A (en) * 2020-04-07 2020-07-28 吉林求是光谱数据科技有限公司 Novel smart phone with imaging spectrum detection function and spectrum detection method thereof
CN111598410A (en) * 2020-04-24 2020-08-28 Oppo(重庆)智能科技有限公司 Product spot check method and device, computer readable medium and terminal equipment
CN111598410B (en) * 2020-04-24 2023-09-29 Oppo(重庆)智能科技有限公司 Product spot inspection method and device, computer readable medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN110082319B (en) Calibration data correction method and electronic device thereof
US11333611B2 (en) Measurements and calibration utilizing colorimetric sensors
US11506593B2 (en) Methods and systems for classifying fluorescent flow cytometer data
US20170059409A1 (en) Apparatus and method for measuring reference spectrum for sample analysis, and apparatus and method for analyzing sample
CN110596020A (en) Substance detection method and device, storage medium, and communication terminal
Hanes et al. Globular clusters as extragalactic distance indicators-Maximum-likelihood methods
EP4147029A1 (en) Methods and systems for characterizing spillover spreading in flow cytometer data
WO2020094013A1 (en) Targeted metabolomic automatic quantitative analysis method and device, and electronic device
CN111126851A (en) Quality control method, system, server and storage medium
CN109580549B (en) Method and device for calculating and calibrating material content
CN111402220B (en) Method and device for acquiring information
US20220104736A1 (en) Method of determining a concentration of an analyte in a bodily fluid and mobile device configured for determining a concentration of an analyte in a bodily fluid
CN108140122B (en) Mixture detection method and device
CN110716859A (en) Method for automatically pushing test cases for modified codes and related device
CN110084298B (en) Method and device for detecting image similarity
CN111125015B (en) Method, apparatus, terminal and medium for dump file classification
KR20150078076A (en) smart device-based simple point-of-care colorimetric diagnosis without reference and method.
CN113445099A (en) Bath solution analysis method and device and computer readable storage medium
KR20170014622A (en) Apparatus and method for repeatability verification of spectroscope, apparatus for spectrum data analysis
RU2812204C2 (en) Method of determining analyte concentration in physiological fluid and mobile device configured to determine analyte concentration in physiological fluid
CN112912712A (en) Method for measuring absorbance difference of sample, sample analyzer and storage medium
KR102523166B1 (en) Color sensor array including plurality of color sensros, electronic device including color sensor array, and operation method for obtaining result information by reducing effects between the plurality of color sensors
Esteves Ferreira et al. Illumination compensation algorithm for colorimetric detection of microfluidic paper-based devices with a smartphone
CN114441512B (en) Vaginal secretion detector, dry chemical detection device and dry chemical detection method
CN110780021A (en) Method and device for determining standard substance, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication