CN117390488A - Gas identification method and device, electronic equipment and storage medium - Google Patents

Gas identification method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117390488A
CN117390488A CN202311330652.7A CN202311330652A CN117390488A CN 117390488 A CN117390488 A CN 117390488A CN 202311330652 A CN202311330652 A CN 202311330652A CN 117390488 A CN117390488 A CN 117390488A
Authority
CN
China
Prior art keywords
signal
gas
time period
tag
determining
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
CN202311330652.7A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311330652.7A priority Critical patent/CN117390488A/en
Publication of CN117390488A publication Critical patent/CN117390488A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/20Identification of molecular entities, parts thereof or of chemical compositions
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/70Machine learning, data mining or chemometrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Biology (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Computing Systems (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The application provides a gas identification method, a device, electronic equipment and a storage medium, which relate to the technical field of gas identification. The signal tag comprises categories, frequencies and numbers of signal waves in a standard electric signal set. The embodiment of the application is used in the gas identification process.

Description

Gas identification method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of gas identification technologies, and in particular, to a gas identification method, a device, an electronic apparatus, and a storage medium.
Background
In life-line management, it is an important ring for monitoring gases. Such as monitoring for toxic and harmful gases in a confined space. The gas condition in the relevant environment can be mastered by constructors in advance through accurate detection, and construction safety is guaranteed.
Therefore, how to accurately identify the gas types in the environment is a problem to be solved.
Disclosure of Invention
The application provides a gas identification method, a gas identification device, electronic equipment and a storage medium, which can accurately identify the type of gas in the environment.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a gas identification method comprising:
determining a standard electric signal set of a preset time period; determining a signal tag corresponding to a preset time period according to the standard electric signal set; the signal tag comprises the category, frequency and quantity of each signal wave in the standard electric signal set; and determining the gas category corresponding to the standard electric signal set based on the signal label.
The gas identification method provided by the application can be used for firstly determining the standard electric signal set in a preset time period, then determining the signal label corresponding to the preset time period according to the standard electric signal set, and finally determining the gas category corresponding to the standard electric signal set based on the signal label. By the method, the gas types contained in the environment can be accurately identified.
Optionally, determining the standard electrical signal set for the preset time period includes:
receiving a first electric signal set sent by sensing equipment; the first electric signal set is obtained after the sensing equipment converts the gas signal in a preset time period; and extracting the characteristics of each signal wave in the first electric signal set to obtain a standard electric signal set.
Optionally, determining the signal tag corresponding to the preset time period includes:
determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain a plurality of signal waves; the signal label sets the corresponding relation between the name of the signal wave and the waveform; and obtaining the signal tag based on the frequency and the number of various signal waves in a preset time period.
Optionally, the preset time period includes a first time period and a second time period; obtaining a signal tag based on the frequency and the number of various signal waves in a preset time period, including:
obtaining a first signal tag based on the frequency and the number of various signal waves in the first time period;
obtaining a second signal tag based on the frequency and the number of the various signal waves in the second time period;
and obtaining the signal tag according to the first signal tag and the second signal tag.
Optionally, determining the gas category corresponding to the standard electric signal set based on the signal tag includes:
matching the preset signal mapping set with the frequency and the number of various signal waves in the signal tag to obtain a gas category corresponding to the standard electric signal set; the signal mapping set stores the correspondence between the names of the gases and the types, frequencies and numbers of the signal waves.
Optionally, after determining the gas category corresponding to the standard electrical signal set based on the signal tag, the method further includes:
determining the gas content of each gas;
determining the gas concentration of the target gas according to the gas content of the target gas; the target gas includes at least one gas.
In a second aspect, the present application provides a gas identification device comprising:
a first determining unit, configured to determine a standard electric signal set in a preset time period; the standard electric signal set comprises a plurality of signal waves; the second determining unit is used for determining a signal tag corresponding to a preset time period according to the standard electric signal set; the signal tag comprises the category, frequency and quantity of each signal wave in the standard electric signal set; and the processing unit is used for determining the gas category corresponding to the standard electric signal set based on the signal label.
Optionally, the first determining unit is specifically configured to:
receiving a first electric signal set sent by sensing equipment; the first electric signal set is obtained after the sensing equipment converts the gas signal in a preset time period; and extracting the characteristics of each signal wave in the first electric signal set to obtain a standard electric signal set.
Optionally, the second determining unit is specifically configured to:
determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain a plurality of signal waves; the signal label sets the corresponding relation between the name of the signal wave and the waveform; and obtaining the signal tag based on the frequency and the number of various signal waves in a preset time period.
Optionally, the preset time period includes a first time period and a second time period; the second determining unit is specifically configured to:
obtaining a first signal tag based on the frequency and the number of various signal waves in the first time period; obtaining a second signal tag based on the frequency and the number of the various signal waves in the second time period; and obtaining the signal tag according to the first signal tag and the second signal tag.
Optionally, the processing unit is specifically configured to:
matching the preset signal mapping set with the frequency and the number of various signal waves in the signal tag to obtain a gas category corresponding to the standard electric signal set; the signal mapping set stores the correspondence between the names of the gases and the types, frequencies and numbers of the signal waves.
Optionally, the apparatus further comprises a concentration determination unit, specifically configured to:
determining the gas content of each gas; determining the gas concentration of the target gas according to the gas content of the target gas; the target gas includes at least one gas.
In a third aspect, the present application provides an electronic device, the apparatus comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the alternative gas identification methods of the first aspect described above.
In a fourth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when executed by a server, enable the server to perform any one of the alternative gas identification methods of the first aspect described above.
Drawings
Fig. 1 is a schematic diagram of a network architecture of a gas identification method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a gas identification method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a gas identification system according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a gas identification device according to an embodiment of the present application;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following describes in detail a gas identification method, a device, an electronic apparatus, and a storage medium provided in embodiments of the present application with reference to the accompanying drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Along with the development and progress of science and technology, the urban life line safety engineering is continuously pushed and built, so that the urban life line safety engineering can be updated through a digital means, and water supply, water discharge, fuel gas, heat, bridges, pipe galleries and the like of the urban life line safety engineering can be monitored in real time, problems can be found and solved as soon as possible, and the guarantee capability of the urban life line safety engineering is greatly improved.
In life-line management, it is an important ring for monitoring gases. Such as monitoring for toxic and harmful gases in a confined space. The accurate gas detection can lead constructors to master the gas condition in the related environment in advance, and ensure the construction safety.
Therefore, how to accurately identify the gas types in the environment is a problem to be solved.
In order to solve the technical problems, the method, the device, the electronic equipment and the storage medium for gas identification provided by the application can be used for determining a standard electric signal set in a preset time period, determining a signal tag corresponding to the preset time period according to the standard electric signal set, and determining a gas category corresponding to the standard electric signal set based on the signal tag. By the method, the gas types contained in the environment can be accurately identified.
Fig. 1 is a schematic network architecture diagram of a gas identification method according to an embodiment of the present application, and as shown in fig. 1, the network architecture diagram may include a sensing device 101 and a terminal device 102.
In the embodiment of the present application, the sensing device 101 may be a gas sensor or an electrochemical sensor, and the kind of the sensing device 101 is not specifically limited in the embodiment of the present application. In some embodiments, the sensing device 101 may be 1 (for example, one gas sensor) as shown in fig. 1, or may include a plurality of sensing devices (for example, one gas sensor and one electrochemical sensor), and the number of sensing devices 101 is not specifically limited in the embodiments of the present application. The following description will take the example in which the number of sensing devices 101 is 1.
In some embodiments, the terminal device 102 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, a wireless terminal, and a laptop portable computer. In one embodiment, the terminal device 102 has a communication function, and is capable of accessing a wired network or a wireless network. The terminal device 102 may refer broadly to one of a plurality of terminals, with the embodiments of the present application being illustrated only by the terminal device 102. Those skilled in the art will appreciate that the number of terminal devices described above may be greater or lesser.
In this embodiment of the present application, the sensing device 101 may be disposed in a space to be detected or an environment to be detected, and the sensing device 101 may collect the gases in the environment within a preset period of time and obtain an electrical signal set corresponding to each gas, that is, a first electrical signal set. The sensing device 101 may send the first electrical signal set to the terminal device 102 through a network, where the terminal device 102 may determine a standard electrical signal set for a preset time period, then determine a signal tag corresponding to the preset time period according to the standard electrical signal set, and finally determine a gas category corresponding to the standard electrical signal set based on the signal tag.
Fig. 2 is a flow chart of a gas identification method according to an embodiment of the present application, where the method is applied to the terminal device 102 shown in fig. 1, and as shown in fig. 2, the method includes:
step S201, determining a standard electrical signal set for a preset period of time.
Wherein the standard electrical signal set contains a plurality of signal waves.
In an alternative embodiment, reference may be made to steps a-B below in determining the set of standard electrical signals for a preset period of time.
Step A: a first set of electrical signals transmitted by a sensing device is received.
The first electric signal set is obtained after the sensing equipment converts the gas signal in the preset time period.
Specifically, the sensing device may collect the gas in the current environment in a preset time period to obtain a mixed gas, then convert a gas signal of the mixed gas into an electrical signal to obtain a first electrical signal set, and send the first electrical signal set to the terminal device.
In this embodiment of the present application, the preset time period may be set according to actual situations, for example, the preset time period may be 1 minute (for example, 10:00:00-10:01:00), or may be 30 seconds (for example, 10:00:00-10:00:30), which is not specifically limited in this embodiment of the present application.
In the embodiment of the present application, the sensing device may be a gas sensor or an electrochemical sensor, and the embodiment of the present application does not specifically limit the sensing device.
In the embodiment of the present application, the sensing device and the terminal device may interact in a wired manner, or may interact data in a wireless manner, and the interaction manner of the sensing device and the terminal device is not specifically limited in the embodiment of the present application.
And (B) step (B): and extracting the characteristics of each signal wave in the first electric signal set to obtain a standard electric signal set.
Specifically, after receiving the first electric signal set sent by the sensing device, the terminal device may perform feature extraction on each signal wave in the first electric signal set to obtain a standard electric signal set.
In an alternative embodiment, feature extraction may include amplification, filtering, calibration, and key feature extraction. The amplification means that the characteristics of each signal wave are processed in a method. The filtering means filtering the edge features included in each signal wave after the amplification processing. The calibration means that the error value in each signal wave after the filtering process is subjected to the calibration process. The key feature extraction means that key features such as wave crests, wave shapes and the like of the signal waves are extracted from the signal waves after the calibration processing.
Through the mode, the characteristics of each signal wave contained in the first electric signal set can be extracted to obtain the standard electric signal set, so that the characteristics of each signal wave in the standard electric signal set can be more quickly and accurately determined, the types of each signal wave can be further quickly distinguished, and the gas recognition efficiency is improved.
Step S202, determining a signal tag corresponding to a preset time period according to the standard electric signal set.
The signal tag comprises categories, frequencies and numbers of signal waves in a standard electric signal set.
In an alternative embodiment, when determining the signal tag corresponding to the preset time period, determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain multiple signal waves; and then obtaining the signal tag based on the frequency and the number of various signal waves in a preset time period.
The signal labels are stored with the correspondence between the names of the signal waves and the waveforms.
Specifically, after the standard electric signal set is obtained in step S201, the waveforms of the signal waves included in the standard electric signal set may be matched with the waveforms stored in the signal tag set, so as to obtain the types of the signal waves in the standard electric signal set. And then determining signal labels corresponding to the preset time period according to the time, sequence and frequency (including frequency and sequence) of various signal waves in the standard electric signal set.
Illustratively, in one embodiment, the standard electrical signal set is assumed to include 10 signal waves, signal wave 1, signal wave 2, signal wave 3, signal wave 4, signal wave 5, signal wave 6, signal wave 7, signal wave 8, signal wave 9, and signal wave 10, respectively. After the waveforms of 10 signal waves contained in the standard electric signal set are matched with the waveforms stored in the signal tag set, it is determined that the signal wave 1, the signal wave 2 and the signal wave 3 belong to the class A signal wave, the signal wave 4, the signal wave 5, the signal wave 6 and the signal wave 7 belong to the class B signal wave, and the signal wave 8, the signal wave 9 and the signal wave 10 belong to the class C signal wave, namely the standard electric signal set contains three signal waves.
After the categories of the signal waves in the standard electric signal set are determined in the mode, the signal labels corresponding to the preset time period can be determined according to the time, sequence and frequency of occurrence of various signal waves.
In an alternative embodiment, the preset time period may include a first time period and a second time period. Accordingly, in the process of obtaining the signal tag based on the frequency and the number of various signal waves in the preset time period, a first signal tag can be obtained based on the frequency and the number of various signal waves in the first time period; obtaining a second signal tag based on the frequency and the number of the various signal waves in the second time period; and finally, obtaining the signal tag according to the first signal tag and the second signal tag.
Specifically, after the standard electrical signal set corresponding to the first time period and the standard electrical signal set corresponding to the second time period are obtained in step S201, the waveforms of the signal waves included in the standard electrical signal set corresponding to the first time period may be matched with the waveforms stored in the signal tag set to obtain the category of each signal wave in the first time period, and then the signal tag corresponding to the first time period, that is, the first signal tag, is determined according to the occurrence time, sequence and frequency of each signal wave in the first time period. And matching the waveforms of the signal waves contained in the standard electric signal set corresponding to the second time period with the waveforms stored in the signal tag set to obtain the categories of the signal waves in the second time period, and determining the signal tags corresponding to the second time period, namely the second signal tags according to the occurrence time, sequence and frequency of the signal waves in the second time period.
By the method, the first signal tag and the second signal tag are obtained, and fusion processing can be carried out on the first signal tag and the second signal tag to obtain the signal tag.
In the embodiment of the application, the first time period may be 10:00:00-10:01:00, and correspondingly, the second time period may be 10:01:00-10:02:00; the first time period may also be 10:00:00-10:00:30, and correspondingly, the second time period may be 10:01:00-10:01:30. The first time period and the second time period are not specifically limited in this embodiment.
In the embodiment of the present application, the preset time period may further include more or less time periods, for example, a third time period, a fourth time period, and the like, which is not specifically limited in the embodiment of the present application.
In an alternative embodiment, when the preset time period includes multiple time periods, the signal tags corresponding to the time periods may also be fused by a preset algorithm (for example, a binary tree algorithm, etc.), so as to obtain the signal tags.
Step S203, determining the gas category corresponding to the standard electric signal set based on the signal tag.
In an alternative embodiment, when determining the gas type corresponding to the standard electric signal set, the preset signal mapping set may be matched with the frequency and the number of various signal waves in the signal tag, so as to obtain the gas type corresponding to the standard electric signal set.
The signal mapping set stores the correspondence between the names of the gases and the types, frequencies and numbers of the signal waves.
Specifically, after determining the signal tag in step S202, the frequency and the number of various signal waves in the signal tag may be matched with the frequency and the number of various signal waves included in the signal mapping set, so as to obtain a gas category corresponding to the standard electric signal set, that is, determine the gas category in the current environment.
Through the mode, the gas types contained in the current environment can be accurately identified through the mapping set and the tag set, the gas identification efficiency is improved, constructors are helped to master the gas conditions in the related environments, and the construction safety is guaranteed.
In an alternative embodiment, after determining the gas category corresponding to the standard electrical signal set, the gas content of each gas may also be determined, and then the gas concentration of the target gas may be determined according to the gas content of the target gas.
Wherein the target gas comprises at least one gas.
Specifically, when the target gas species contains one gas, the gas concentration of the target gas can be determined according to the following formula one.
Wherein P is p Represents the gas concentration of the gas p (target gas), A p The gas content of the gas p is represented, and the content of the mixed gas is represented by a.
When the target gas species contains a plurality of gases, the gas concentration of the target gas can be determined according to the following formula two.
Wherein, I represents gas 1 gas 2....and gas p (target gas) gas concentration, A is that 1 Representing the gas content of gas 1, A 2 Representing the gas content of gas 2, A p The gas content of the gas p is represented, and the content of the mixed gas is represented by a.
In an alternative embodiment, after determining the gas category corresponding to the standard electric signal set, the gas concentration of each gas may be determined according to the gas content of each gas, and the gas category with the largest gas concentration may be determined.
Specifically, the gas concentration of each gas may be sequentially determined according to the above formula one, and then the gas type having the largest gas concentration may be determined according to the following formula three.
P max =max(P 1, P 2, P 3, ...P n ) (equation three)
Fig. 3 is a schematic structural diagram of a gas identification system according to an embodiment of the present application, as shown in fig. 3, where the system includes: a gas attachment module 301, a gas identification module 302, a gas data processing module 303, and a self-inventory module 304.
The gas adhesion module 301 may collect the gas in the current environment by an automatic collection or manual collection manner, so as to meet the requirements of periodic collection and field collection. After the gas attachment module 301 collects the gas signal, the gas signal may be converted into an electrical signal, to obtain a first electrical signal set, and the first electrical signal set is sent to the gas identification module 302.
The gas identification module 302 may perform feature extraction on each signal wave in the first electrical signal set to obtain a standard electrical signal set, then determine a signal tag corresponding to a preset time period according to the standard electrical signal set, and finally determine a gas category corresponding to the standard electrical signal set based on the signal tag.
The gas data processing module 303 may determine the concentration of each gas based on the content of each gas. The gas data processing module 303 may also store standard values of toxic gas in different scenes, and send out an alarm when the difference between the gas concentration of the toxic gas in the current environment and the standard value in the corresponding scene is greater than a preset concentration threshold.
The self-inventory module 304 includes a set of signal instances, a set of signal maps, and a set of signal tags. The signal instance sets store names of various gases, the signal mapping sets store corresponding relations between the names of the gases and the types, the frequencies and the number of the signal waves, and the signal label sets store corresponding relations between the names of the signal waves and the waveforms. The self-inventory module 304 may also update and optimize the data in the signal instance set, the signal map set, and the signal tag set based on the gas identification results of each time.
Fig. 4 is a schematic structural diagram of a gas identification device according to an embodiment of the present application, as shown in fig. 4, where the device includes:
a first determining unit 401, configured to determine a standard electric signal set for a preset period of time; the standard electrical signal set contains a plurality of signal waves.
A second determining unit 402, configured to determine a signal tag corresponding to a preset time period according to the standard electric signal set; the signal tag contains the category, frequency and number of individual signal waves in the standard electrical signal set.
The processing unit 403 is configured to determine a gas category corresponding to the standard electrical signal set based on the signal tag.
Optionally, the first determining unit 401 is specifically configured to:
receiving a first electric signal set sent by sensing equipment; the first electric signal set is obtained after the sensing equipment converts the gas signal in a preset time period; and extracting the characteristics of each signal wave in the first electric signal set to obtain a standard electric signal set.
Optionally, the second determining unit 402 is specifically configured to:
determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain a plurality of signal waves; the signal label sets the corresponding relation between the name of the signal wave and the waveform; and obtaining the signal tag based on the frequency and the number of various signal waves in a preset time period.
Optionally, the preset time period includes a first time period and a second time period; the second determining unit 402 is specifically configured to:
obtaining a first signal tag based on the frequency and the number of various signal waves in the first time period; obtaining a second signal tag based on the frequency and the number of the various signal waves in the second time period; and obtaining the signal tag according to the first signal tag and the second signal tag.
Optionally, the processing unit 403 is specifically configured to:
matching the preset signal mapping set with the frequency and the number of various signal waves in the signal tag to obtain a gas category corresponding to the standard electric signal set; the signal mapping set stores the correspondence between the names of the gases and the types, frequencies and numbers of the signal waves.
Optionally, the apparatus further comprises a concentration determination unit, specifically configured to:
determining the gas content of each gas; determining the gas concentration of the target gas according to the gas content of the target gas; the target gas includes at least one gas.
Fig. 5 shows a schematic block diagram of an example electronic device 500 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 5, the electronic device 500 includes a computing unit 501 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access Memory (Random Access Memory, RAM) 503. In the random access memory 503, various programs and data required for the operation of the electronic device 500 may also be stored. The computing unit 501, ROM502, and RAM503 are connected to each other by a bus 504. An input/output interface 505 is also connected to the bus 504.
The various components in the electronic device 500 are connected to an Input/Output (I/O) interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 1007 such as various types of displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a central processing unit, a graphics processing unit (Graphics Processing Unit, GPU), various dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, various computing units running machine learning model algorithms, digital signal processors, and any suitable processors, controllers, microcontrollers, and the like. The computing unit 501 performs the respective methods and processes described above, such as a data matching method. For example, in one embodiment, the data matching method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 508. In an embodiment, part or all of the computer program may be loaded and/or installed onto the electronic device 500 via the ROM502 and/or the communication unit 509. When a computer program is loaded into RAM503 and executed by computing unit 501, one or more steps of the data matching method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the data matching method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products (Application Specific Standard Parts, ASSP), system On Chip (SOC), complex programmable logic devices (Complex Programmable Logic Device, CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disc read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device for displaying information to a user, for example, a Cathode Ray Tube (CRT) or a liquid crystal display (Liquid Crystal Display, LCD) monitor; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions of the present application are achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (12)

1. A method of gas identification, the method comprising:
determining a standard electric signal set of a preset time period; the standard electric signal set comprises a plurality of signal waves;
determining a signal tag corresponding to the preset time period according to the standard electric signal set; the signal tag comprises the category, the frequency and the number of each signal wave in the standard electric signal set;
and determining the gas category corresponding to the standard electric signal set based on the signal label.
2. The method of claim 1, wherein determining the set of standard electrical signals for the preset time period comprises:
receiving a first electric signal set sent by sensing equipment; the first electric signal set is obtained after the sensing equipment converts the gas signal in the preset time period;
and extracting the characteristics of each signal wave in the first electric signal set to obtain the standard electric signal set.
3. The method of claim 1, wherein the determining the signal tag corresponding to the preset time period comprises:
determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain a plurality of signal waves; the signal labels are stored with the corresponding relation between the names and waveforms of the signal waves in a centralized manner;
and obtaining the signal tag based on the frequency and the number of various signal waves in the preset time period.
4. A method according to claim 3, wherein the preset time period comprises a first time period and a second time period;
the obtaining the signal tag based on the frequency and the number of various signal waves in the preset time period includes:
obtaining a first signal tag based on the frequency and the number of various signal waves in the first time period;
obtaining a second signal tag based on the frequency and the number of various signal waves in the second time period;
and obtaining the signal tag according to the first signal tag and the second signal tag.
5. The method of any one of claims 1-4, wherein the determining a gas category corresponding to the set of standard electrical signals based on the signal tags comprises:
matching a preset signal mapping set with the frequency and the number of various signal waves in the signal tag to obtain a gas category corresponding to a standard electric signal set; the signal mapping set stores the correspondence between the names of the gases and the types, frequencies and numbers of the signal waves.
6. The method of claim 1, wherein after determining the gas category corresponding to the set of standard electrical signals based on the signal tags, the method further comprises:
determining the gas content of each gas;
determining the gas concentration of the target gas according to the gas content of the target gas; the target gas includes at least one gas.
7. A gas identification device, the device comprising:
a first determining unit, configured to determine a standard electric signal set in a preset time period; the standard electric signal set comprises a plurality of signal waves;
the second determining unit is used for determining a signal tag corresponding to the preset time period according to the standard electric signal set; the signal tag comprises the category, the frequency and the number of each signal wave in the standard electric signal set;
and the processing unit is used for determining the gas category corresponding to the standard electric signal set based on the signal label.
8. The apparatus according to claim 7, wherein the first determining unit is specifically configured to:
receiving a first electric signal set sent by sensing equipment; the first electric signal set is obtained after the sensing equipment converts the gas signal in the preset time period;
and extracting the characteristics of each signal wave in the first electric signal set to obtain the standard electric signal set.
9. The apparatus according to claim 7, wherein the second determining unit is specifically configured to:
determining the category of each signal wave in the standard electric signal set through a preset signal tag set to obtain a plurality of signal waves; the signal labels are stored with the corresponding relation between the names and waveforms of the signal waves in a centralized manner;
and obtaining the signal tag based on the frequency and the number of various signal waves in the preset time period.
10. The apparatus of claim 9, wherein the preset time period comprises a first time period and a second time period; the second determining unit is specifically configured to:
obtaining a first signal tag based on the frequency and the number of various signal waves in the first time period;
obtaining a second signal tag based on the frequency and the number of various signal waves in the second time period;
and obtaining the signal tag according to the first signal tag and the second signal tag.
11. An electronic device, the electronic device comprising:
a processor;
a memory configured to store the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the gas identification method of any of claims 1-6.
12. A computer readable storage medium having instructions stored thereon, which, when executed by an electronic device, cause the electronic device to perform the gas identification method of any of claims 1-6.
CN202311330652.7A 2023-10-13 2023-10-13 Gas identification method and device, electronic equipment and storage medium Pending CN117390488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311330652.7A CN117390488A (en) 2023-10-13 2023-10-13 Gas identification method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311330652.7A CN117390488A (en) 2023-10-13 2023-10-13 Gas identification method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117390488A true CN117390488A (en) 2024-01-12

Family

ID=89471408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311330652.7A Pending CN117390488A (en) 2023-10-13 2023-10-13 Gas identification method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117390488A (en)

Similar Documents

Publication Publication Date Title
CN113360580B (en) Abnormal event detection method, device, equipment and medium based on knowledge graph
CN112784732A (en) Method, device, equipment and medium for recognizing ground object type change and training model
CN114494776A (en) Model training method, device, equipment and storage medium
CN115359308A (en) Model training method, apparatus, device, storage medium, and program for identifying difficult cases
CN113904943B (en) Account detection method and device, electronic equipment and storage medium
CN112767935B (en) Awakening index monitoring method and device and electronic equipment
CN113704058B (en) Service model monitoring method and device and electronic equipment
CN116578925B (en) Behavior prediction method, device and storage medium based on feature images
CN115048352B (en) Log field extraction method, device, equipment and storage medium
CN115641360A (en) Battery detection method and device based on artificial intelligence and electronic equipment
CN117390488A (en) Gas identification method and device, electronic equipment and storage medium
CN115470798A (en) Training method of intention recognition model, intention recognition method, device and equipment
CN113051911B (en) Method, apparatus, device, medium and program product for extracting sensitive words
CN114399660A (en) Fault type determination method and device, electronic equipment and storage medium
CN113963186A (en) Training method of target detection model, target detection method and related device
CN113704314A (en) Data analysis method and device, electronic equipment and storage medium
CN114090601A (en) Data screening method, device, equipment and storage medium
CN113850072A (en) Text emotion analysis method, emotion analysis model training method, device, equipment and medium
CN115294536B (en) Violation detection method, device, equipment and storage medium based on artificial intelligence
CN115964549B (en) Community mining method, device, equipment and storage medium
CN116186549B (en) Model training method, device, equipment and medium
CN116701552B (en) Case administration organization determination method and device and electronic equipment
CN114036412A (en) Failure prediction method, device, equipment and medium for long-tail POI
CN115482436A (en) Training method and device for image screening model and image screening method
CN115391517A (en) Method and apparatus for determining device status

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