CN114611545A - Window function-based gas terminal use detection method, system, equipment and medium - Google Patents

Window function-based gas terminal use detection method, system, equipment and medium Download PDF

Info

Publication number
CN114611545A
CN114611545A CN202210120420.8A CN202210120420A CN114611545A CN 114611545 A CN114611545 A CN 114611545A CN 202210120420 A CN202210120420 A CN 202210120420A CN 114611545 A CN114611545 A CN 114611545A
Authority
CN
China
Prior art keywords
signal
gas
window function
ternary
shaped
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.)
Granted
Application number
CN202210120420.8A
Other languages
Chinese (zh)
Other versions
CN114611545B (en
Inventor
彭德光
孙健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Zhaoguang Technology Co ltd
Original Assignee
Chongqing Zhaoguang Technology 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 Chongqing Zhaoguang Technology Co ltd filed Critical Chongqing Zhaoguang Technology Co ltd
Priority to CN202210120420.8A priority Critical patent/CN114611545B/en
Publication of CN114611545A publication Critical patent/CN114611545A/en
Application granted granted Critical
Publication of CN114611545B publication Critical patent/CN114611545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L11/00Measuring steady or quasi-steady pressure of a fluid or a fluent solid material by means not provided for in group G01L7/00 or G01L9/00
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The invention provides a method, a system, equipment and a medium for detecting the use of a gas terminal based on a window function, which comprise the following steps: acquiring pressure signals of each gas terminal pipeline, and converting the pressure signals into ternary signals after discrete processing; intercepting the ternary signal through a window function for accumulation, and judging the form of the ternary signal according to an accumulation result, wherein the form of the ternary signal comprises the following steps: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped; judging the on-off condition of the gas of the corresponding gas terminal user according to the three-value signal form; the invention can accurately detect the gas switch condition of the user terminal and ensure the use safety.

Description

Window function-based gas terminal use detection method, system, equipment and medium
Technical Field
The invention relates to the field of energy safety detection, in particular to a method, a system, equipment and a medium for detecting the use of a gas terminal based on a window function.
Background
The gas used by the end gas user generally reaches the gas appliance through a gas public gate station, a distribution pipe network, a pressure regulator and an indoor gas pipeline. In the use process of gas, potential safety hazards are easily caused due to negligence of users and the like, the existing method is difficult to accurately obtain the switching condition of a gas appliance at a user end, and how to ensure the use safety of the gas becomes a current big problem.
Disclosure of Invention
In view of the problems in the prior art, the invention provides a method, a system, equipment and a medium for detecting the use of a gas terminal based on a window function, and mainly solves the problems that the use condition of a gas appliance is lack of effective detection and potential safety hazards exist.
In order to achieve the above and other objects, the present invention adopts the following technical solutions.
A gas terminal use detection method based on a window function comprises the following steps:
acquiring pressure signals of each gas terminal pipeline, and converting the pressure signals into ternary signals after discrete processing;
intercepting the three-value signal through a window function to accumulate, and judging the three-value signal form according to an accumulation result, wherein the three-value signal form comprises the following steps: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped;
and judging the on-off condition of the gas of the corresponding gas terminal user according to the three-value signal form.
Optionally, the converting the pressure signal into a three-value signal after discrete processing includes:
sampling the pressure signal at a preset time interval, and performing discrete differential operation on the sampled signal to obtain a discrete differential signal sequence;
and converting the discrete signal sequence into a corresponding three-value signal through a conversion function.
Optionally, the transfer function is represented as:
Figure BDA0003496485590000011
Figure BDA0003496485590000021
wherein dp (k) represents the discrete differential signal sequence, D is user switch gas-fuel pneumaticThe shortest time, h, is the discrete interval sampling time, th+,th-Threshold parameters of +1 and-1 respectively.
Optionally, intercepting the ternary signal through a window function for accumulation, and determining the form of the ternary signal according to an accumulation result, including:
dividing signal states according to the three-value signal forms, comparing the accumulated value of the three-value signals in the window function length range with preset conversion threshold values among all the signal forms, judging that the three-value signal states change if the accumulated value meets the corresponding conversion threshold values, and determining the three-value signal forms according to the signal states before and after the change.
Optionally, the signal state comprises: steady state, up, down, and secondary steady state.
Optionally, the formula for accumulating the three-valued signals is as follows:
q(k)=-λq(k-1)+d(k)/L
wherein λ is a preset constant coefficient, and L is the length of the window function.
Optionally, judging the on-off condition of the gas corresponding to the gas end user according to the three-value signal form includes:
if the three-value signal is in a V-shaped form, indicating that the gas on interval time of a single user is greater than the pressure recovery time, and recording that the user starts the gas once;
if the three-value signal form is an inverted V shape, indicating that the gas shut interval time of a single user is greater than the pressure recovery time, and recording that the user shuts off the natural gas once;
if the form of the ternary signal is a descending ladder type, the gas starting interval time among multiple users is smaller than the pressure recovery time, and each ladder records that the user starts the natural gas once;
if the form of the ternary signal is in a rising step type, the gas closing interval time among multiple users is smaller than the pressure recovery time, and the user closes the natural gas once in each step.
A window function based gas terminal usage detection system, comprising:
the signal dispersion module is used for acquiring pressure signals of each gas terminal pipeline through the ternary signals, and converting the pressure signals into the ternary signals after the pressure signals are subjected to dispersion processing;
the form recognition module is used for intercepting the ternary signal through a window function to accumulate, and judging the form of the ternary signal according to an accumulation result, wherein the form of the ternary signal comprises the following steps: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped;
and the on-off counting module is used for judging the on-off condition of the gas corresponding to the gas terminal user according to the three-value signal form.
An apparatus, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the window function based gas terminal usage detection method.
A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the window function-based gas terminal usage detection method.
As described above, the method, system, device and medium for detecting gas terminal usage based on window function according to the present invention have the following advantages.
Utilize the switch action to pipeline pressure's influence, change pressure variation signal into ternary signal and carry out the state switching analysis, can in time know the on-off condition at each gas terminal, the early warning in time of being convenient for, the guarantee security.
Drawings
Fig. 1 is a schematic flow chart of a gas terminal usage detection method based on a window function according to an embodiment of the present invention.
Fig. 2 is a block diagram of a gas terminal usage detection system based on a window function according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus according to another embodiment of the present invention.
FIG. 5 is a diagram of a V-shaped signal according to an embodiment of the present invention.
FIG. 6 is a diagram of an inverted V-shaped signal according to an embodiment of the present invention.
FIG. 7 is a falling signal pattern diagram according to an embodiment of the present invention.
FIG. 8 is a diagram of an embodiment of a rising signal pattern.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In the use process of the natural gas, even if a pipeline is provided with a design and control device for maintaining pressure, the pressure of the pipeline close to a user end still can be slightly fluctuated when a user switches on and off the natural gas.
Referring to fig. 1, the present invention provides a method for detecting a gas terminal usage based on a window function, including the steps of:
step S01, acquiring pressure signals of each gas terminal pipeline, and converting the pressure signals into ternary signals after discrete processing;
step S02, intercepting the ternary signal by a window function for accumulation, and determining a form of the ternary signal according to an accumulation result, wherein the form of the ternary signal includes: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped;
and step S03, judging the on-off condition of the gas corresponding to the gas end user according to the three-value signal form.
The method for detecting the use of the gas terminal based on the window function according to the present invention will be described in detail with reference to the following embodiments.
In step S01, a pressure signal of each gas terminal line is acquired, and the pressure signal is converted into a three-value signal after being subjected to discrete processing.
In one embodiment, the discrete processing of the pressure signal to convert the pressure signal into a three-value signal includes:
sampling the pressure signal at a preset time interval, and performing discrete differential operation on the sampled signal to obtain a discrete differential signal sequence;
and converting the discrete signal sequence into a corresponding three-value signal through a conversion function.
Specifically, a pressure sensor can be arranged near a gas terminal pipeline of a user, for example, the pressure sensor can be arranged at the rear end of a pressure regulator or a pressure regulating box of a natural gas system, and the pressure sensor can adopt a medium-high pressure input source to detect a pipeline pressure change signal caused by the action of a user switch so as to ensure the accuracy of detecting a weak pressure change signal.
Before discrete differential operation is carried out on the pressure signal detected by the pressure sensor, noise of the pressure sensor, such as pressure vibration brought by the front end of the sensor and pressure vibration caused by pipeline gas flow, and other irrelevant signal components can be filtered.
The signal morphology of the pressure signal is divided into four cases:
the first condition is as follows: the user uses the pressure signal sporadically, the on-interval time of the user is longer than the recovery time of the pressure, and the pressure signal presents tiny v-shaped characteristics.
Case two: the user uses the pressure signal sporadically, the off interval time of the user is longer than the recovery time of the pressure, and the pressure signal presents a tiny inverted V-shaped characteristic.
Case three: the open interval time between the multiple users is smaller than the recovery time of the pressure, and the pressure signal presents a descending type step signal.
Case four: the off interval time between multiple users is less than the recovery time of the pressure, and the pressure signal presents a rising type step signal.
Discretizing the pressure signal after filtering other components, and then performing discrete differential operation.
Converting the discrete differential signal into a ternary signal of +1, 0 and-1 by using a method for determining a shortest time constraint fusion threshold operated by a user, and assuming that the sequence of the discrete differential signal is p (k) epsilon N+D is the shortest time of user's switch action, h is discrete interval sampling time th+,th-Threshold parameters of decision +1 and-1, respectively, the tri-valued signal transfer function is:
Figure BDA0003496485590000051
Figure BDA0003496485590000052
in step S02, the ternary signal is intercepted by a window function and accumulated, and the form of the ternary signal is determined according to the accumulated result, wherein the form of the ternary signal includes: v-shape, inverted V-shape, ascending step shape, and descending step shape.
In one embodiment, intercepting the three-valued signal by a window function for accumulation, and determining the form of the three-valued signal according to the accumulation result includes:
dividing signal states according to the three-value signal forms, comparing the accumulated value of the three-value signals in the window function length range with preset conversion threshold values among all the signal forms, judging that the three-value signal states change if the accumulated value meets the corresponding conversion threshold values, and determining the three-value signal forms according to the signal states before and after the change.
Specifically, when identifying the V-shaped signal form, the V-shaped signal form is shown in fig. 5.
Determining signal morphology using a finite state machine method based on signal characteristics
Accumulating d (k) in the interpretation time window to obtain an iterative value, and calculating an iterative formula if L is the length of the time window and lambda is a set integer attenuation factor
q(k)=-λq(k-1)+d(k)/L
The setting of lambda and the above design rely on experience, which is beneficial to filtering the wrong state interpretation condition.
Three states are provided, steady state, up going, down going, conversion threshold value T are separatelys,Tu,TdThe state transition table is as follows:
Figure BDA0003496485590000053
when the state reaches the 'up-stream', a v-shaped signal is interpreted. Wherein X represents a no state change.
For case two, the signal morphology is as shown in fig. 6.
Accumulating d (k) in the interpretation time window to calculate:
q(k)=-λq(k-1)+d(k)/L
the state transition table has three states, namely, steady state, uplink and downlink states, wherein the transition threshold values are Ts, Tu and Td respectively, and comprises the following steps:
Figure BDA0003496485590000061
when the state reaches 'down', an inverted-character shape of the signal is judged. Wherein X represents a no state change.
For case three, the falling signal form is shown in fig. 7.
And d (k) performing accumulated iterative calculation in the interpretation time window, namely calculating:
q(k)=-λq(k-1)+d(k)/L
there are three states: the switching thresholds of the steady state, the secondary steady state, the downlink, the uplink and the conversion are respectively Ts1,Ts2,Td,TuThe state transition table is as follows:
Figure BDA0003496485590000062
the downward staircase shape is noted once when the state reaches the "secondary steady state" or "up going".
In case four, the rising signal pattern is as shown in fig. 8.
D (k) is accumulated in an interpretation time window for iterative value recording, namely q (k) ═ q (k) + d (H) is calculated, three states are provided, namely a steady state, an uplink state, a secondary steady state and a downlink state, and the conversion threshold is T respectivelys,Tu,Ts2,TdThe state transition table is as follows:
Figure BDA0003496485590000063
Figure BDA0003496485590000071
the ascending stair shape is remembered once when the state reaches "secondary steady state" or "down".
In step S03, the on/off state of the gas corresponding to the gas end user is determined according to the three-value signal form.
Specifically, in practical application, the four situations aiming at the signal form are respectively taken as independent interpretation modules to be identified simultaneously, when one v-shaped signal is identified, and once the v-shaped signal is recorded, it is indicated that a sporadic user opens the gas once; when a signal with an inverted V shape is recognized, recording once that a sporadic user closes the gas once; when a descending step signal is recognized, recording the gas of the user once in the day, counting once in one step, and counting for a plurality of times in a plurality of steps; when a rising step signal is recognized, the user is counted once when the gas is closed, one step is counted once, and a plurality of steps are counted for a plurality of times.
Referring to fig. 2, the present embodiment provides a gas terminal usage detection system based on a window function, which is used to execute the gas terminal usage detection method based on the window function in the foregoing method embodiments. Since the technical principle of the system embodiment is similar to that of the method embodiment, repeated description of the same technical details is omitted.
In one embodiment, a gas terminal usage detection system based on a window function includes: the signal dispersion module 10 is used for acquiring pressure signals of each gas terminal pipeline by using ternary signals, and converting the pressure signals into ternary signals after dispersion processing; a form recognition module 11, configured to intercept the ternary signal through a window function for accumulation, and determine a form of the ternary signal according to an accumulation result, where the form of the ternary signal includes: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped; and the on-off counting module 12 is used for judging the on-off condition of the gas corresponding to the gas terminal user according to the three-value signal form.
An embodiment of the present application further provides an apparatus, which may include: one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of fig. 1. In practical applications, the device may be used as a terminal device, and may also be used as a server, where examples of the terminal device may include: the mobile terminal includes a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop, a vehicle-mounted computer, a desktop computer, a set-top box, an intelligent television, a wearable device, and the like.
The embodiment of the present application also provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a device, the device may execute instructions (instructions) included in the window function-based gas terminal usage detection method in fig. 1 according to the embodiment of the present application.
Fig. 3 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application. As shown, the terminal device may include: an input device 1100, a first processor 1101, an output device 1102, a first memory 1103, and at least one communication bus 1104. The communication bus 1104 is used to implement communication connections between the elements. The first memory 1103 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and the first memory 1103 may store various programs for performing various processing functions and implementing the method steps of the present embodiment.
Alternatively, the first processor 1101 may be, for example, a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and the processor 1101 is coupled to the input device 1100 and the output device 1102 through a wired or wireless connection.
Optionally, the input device 1100 may include a variety of input devices, such as at least one of a user-oriented user interface, a device-oriented device interface, a software programmable interface, a camera, and a sensor. Optionally, the device interface facing the device may be a wired interface used for data transmission between devices, and may also be a hardware insertion interface (for example, a USB interface, a serial port, or the like) used for data transmission between devices; optionally, the user-facing user interface may be, for example, a user-facing control key, a voice input device for receiving voice input, and a touch sensing device (e.g., a touch screen with a touch sensing function, a touch pad, etc.) for receiving user touch input; optionally, the programmable interface of the software may be, for example, an entry for a user to edit or modify a program, such as an input pin interface or an input interface of a chip; the output devices 1102 may include output devices such as a display, audio, and the like.
In this embodiment, the processor of the terminal device includes a module for executing each module of the speech recognition apparatus in each device, and specific functions and technical effects may be obtained by referring to the above embodiments, which are not described herein again.
Fig. 4 is a schematic hardware structure diagram of a terminal device according to another embodiment of the present application. Fig. 4 is a specific embodiment of fig. 3 in an implementation process. As shown, the terminal device of the present embodiment may include a second processor 1201 and a second memory 1202.
The second processor 1201 executes the computer program code stored in the second memory 1202 to implement the method described in fig. 1 in the above embodiment.
The second memory 1202 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, such as messages, pictures, videos, and so forth. The second memory 1202 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, the first processor 1201 is provided in the processing assembly 1200. The terminal device may further include: communication components 1203, power components 1204, multimedia components 1205, audio components 1206, input/output interfaces 1207, and/or sensor components 1208. The specific components included in the terminal device are set according to actual requirements, which is not limited in this embodiment.
The processing component 1200 generally controls the overall operation of the terminal device. The processing assembly 1200 may include one or more second processors 1201 to execute instructions to perform all or part of the steps of the method illustrated in fig. 1 described above. Further, the processing component 1200 can include one or more modules that facilitate interaction between the processing component 1200 and other components. For example, the processing component 1200 can include a multimedia module to facilitate interaction between the multimedia component 1205 and the processing component 1200.
The power supply component 1204 provides power to the various components of the terminal device. The power components 1204 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia components 1205 include a display screen that provides an output interface between the terminal device and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 1206 is configured to output and/or input speech signals. For example, the audio component 1206 includes a Microphone (MIC) configured to receive external voice signals when the terminal device is in an operational mode, such as a voice recognition mode. The received speech signal may further be stored in the second memory 1202 or transmitted via the communication component 1203. In some embodiments, audio component 1206 also includes a speaker for outputting voice signals.
The input/output interface 1207 provides an interface between the processing component 1200 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
The sensor component 1208 includes one or more sensors for providing various aspects of status assessment for the terminal device. For example, the sensor component 1208 may detect an open/closed state of the terminal device, relative positioning of the components, presence or absence of user contact with the terminal device. The sensor assembly 1208 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact, including detecting the distance between the user and the terminal device. In some embodiments, the sensor assembly 1208 may also include a camera or the like.
The communication component 1203 is configured to facilitate communications between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the terminal device may include a SIM card slot therein for inserting a SIM card therein, so that the terminal device may log onto a GPRS network to establish communication with the server via the internet.
As can be seen from the above, the communication component 1203, the audio component 1206, the input/output interface 1207 and the sensor component 1208 in the embodiment of fig. 4 may be implemented as the input device in the embodiment of fig. 3.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A gas terminal use detection method based on a window function is characterized by comprising the following steps:
acquiring pressure signals of each gas terminal pipeline, and converting the pressure signals into ternary signals after discrete processing;
intercepting the ternary signal through a window function for accumulation, and judging the form of the ternary signal according to an accumulation result, wherein the form of the ternary signal comprises the following steps: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped;
and judging the on-off condition of the gas of the corresponding gas terminal user according to the three-value signal form.
2. The window function-based gas terminal usage detection method according to claim 1, wherein the discrete processing of the pressure signal and the conversion into a three-valued signal comprises:
sampling the pressure signal at a preset time interval, and performing discrete differential operation on the sampled signal to obtain a discrete differential signal sequence;
and converting the discrete signal sequence into a corresponding three-value signal through a conversion function.
3. The window function-based gas terminal usage detecting method according to claim 2, wherein the transfer function is expressed as:
Figure FDA0003496485580000011
Figure FDA0003496485580000012
wherein dp (k) represents the discrete differential signal sequence, D is the shortest time for the user to switch on or off the gas, h is the discrete interval sampling time, th+,th-Threshold parameters of +1 and-1, respectively.
4. The method for detecting the use of a gas terminal based on a window function according to claim 1, wherein the intercepting and accumulating of the ternary signal by the window function, and the determining of the form of the ternary signal according to the accumulation result comprise:
dividing signal states according to the three-value signal forms, comparing the accumulated value of the three-value signals in the window function length range with preset conversion threshold values among all the signal forms, judging that the three-value signal states change if the accumulated value meets the corresponding conversion threshold values, and determining the three-value signal forms according to the signal states before and after the change.
5. The window function-based gas terminal usage detection method of claim 1, wherein the signal state includes: steady state, up, down, and secondary steady state.
6. The method for detecting the use of a gas terminal based on a window function as claimed in claim 1, wherein the formula for accumulating the three-valued signals is as follows:
q(k)=-λq(k-1)+d(k)/L
wherein λ is a preset constant coefficient, and L is the length of the window function.
7. The method for detecting the use of a gas terminal based on a window function according to claim 1, wherein the step of judging the on/off state of the gas corresponding to the gas terminal user according to the three-value signal form comprises the steps of:
if the three-value signal form is V-shaped, the gas on interval time of a single user is larger than the pressure recovery time, and the user is recorded to start the natural gas once;
if the three-value signal form is an inverted V shape, indicating that the gas shut interval time of a single user is greater than the pressure recovery time, and recording that the user shuts off the natural gas once;
if the form of the ternary signal is a descending ladder type, the gas starting interval time among multiple users is smaller than the pressure recovery time, and each ladder records that the user starts the natural gas once;
if the form of the ternary signal is in a rising step type, the gas closing interval time among multiple users is smaller than the pressure recovery time, and the user closes the natural gas once in each step.
8. A gas terminal usage detection system based on a window function, comprising:
the signal dispersion module is used for acquiring pressure signals of each gas terminal pipeline through ternary signals, and converting the pressure signals into ternary signals after dispersion processing;
the form recognition module is used for intercepting the ternary signal through a window function to accumulate, and judging the form of the ternary signal according to an accumulation result, wherein the form of the ternary signal comprises the following steps: v-shaped, inverted V-shaped, ascending step-shaped, and descending step-shaped;
and the on-off counting module is used for judging the on-off condition of the gas corresponding to the gas terminal user according to the three-value signal form.
9. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-7.
10. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the method of any of claims 1-7.
CN202210120420.8A 2022-02-07 2022-02-07 Method, system, equipment and medium for detecting gas terminal use based on window function Active CN114611545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210120420.8A CN114611545B (en) 2022-02-07 2022-02-07 Method, system, equipment and medium for detecting gas terminal use based on window function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210120420.8A CN114611545B (en) 2022-02-07 2022-02-07 Method, system, equipment and medium for detecting gas terminal use based on window function

Publications (2)

Publication Number Publication Date
CN114611545A true CN114611545A (en) 2022-06-10
CN114611545B CN114611545B (en) 2024-06-21

Family

ID=81858329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210120420.8A Active CN114611545B (en) 2022-02-07 2022-02-07 Method, system, equipment and medium for detecting gas terminal use based on window function

Country Status (1)

Country Link
CN (1) CN114611545B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001296160A (en) * 2000-04-13 2001-10-26 Yazaki Corp Gas meter
KR200396981Y1 (en) * 2005-07-07 2005-09-28 제이비엔텍 (주) Multi-purpose digital pressure measuring and recording apparatus
JP2012177488A (en) * 2011-02-25 2012-09-13 Yazaki Corp Gas appliance determination system, and gas appliance determination method
CN103413415A (en) * 2013-08-06 2013-11-27 孔祥吉 Management system of fuel gas use state within network-based management area
CN105737212A (en) * 2014-12-12 2016-07-06 青岛海尔洗碗机有限公司 Intelligent gas stove monitoring system
CN109632210A (en) * 2018-12-21 2019-04-16 广州燃气集团有限公司 Gas pipe pressure detection system and method
CN110913360A (en) * 2019-11-26 2020-03-24 珠海歌林能源科技有限公司 Kitchen energy efficiency and gas equipment data acquisition system
US20200342730A1 (en) * 2018-12-11 2020-10-29 Chengdu Homesafe Technology Co,, Ltd. Active kitchen safety monitoring system and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001296160A (en) * 2000-04-13 2001-10-26 Yazaki Corp Gas meter
KR200396981Y1 (en) * 2005-07-07 2005-09-28 제이비엔텍 (주) Multi-purpose digital pressure measuring and recording apparatus
JP2012177488A (en) * 2011-02-25 2012-09-13 Yazaki Corp Gas appliance determination system, and gas appliance determination method
CN103413415A (en) * 2013-08-06 2013-11-27 孔祥吉 Management system of fuel gas use state within network-based management area
CN105737212A (en) * 2014-12-12 2016-07-06 青岛海尔洗碗机有限公司 Intelligent gas stove monitoring system
US20200342730A1 (en) * 2018-12-11 2020-10-29 Chengdu Homesafe Technology Co,, Ltd. Active kitchen safety monitoring system and control method thereof
CN109632210A (en) * 2018-12-21 2019-04-16 广州燃气集团有限公司 Gas pipe pressure detection system and method
CN110913360A (en) * 2019-11-26 2020-03-24 珠海歌林能源科技有限公司 Kitchen energy efficiency and gas equipment data acquisition system

Also Published As

Publication number Publication date
CN114611545B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN105511931A (en) Function triggering method and device as well as electronic equipment
CN107003783B (en) A kind of key detecting method and device
CN109493852A (en) A kind of evaluating method and device of speech recognition
CN101303621A (en) Mobile terminal and method and device for unlocking
CN112420069A (en) Voice processing method, device, machine readable medium and equipment
CN111898495B (en) Dynamic threshold management method, system, device and medium
CN107402625B (en) Touch screen scanning method and device, terminal and computer readable storage medium
CN103246449A (en) Mobile terminal and screen unlocking method of same
CN112163642A (en) Wind control rule obtaining method, device, medium and equipment
CN106791120A (en) Mobile terminal puts out the control method and device of screen
CN103139395A (en) Mobile terminal and control method thereof
CN105681553A (en) Handheld terminal and method for preventing misoperation
CN106775367A (en) The operating method and device of terminal touch-control
CN109903751B (en) Keyword confirmation method and device
CN107025041A (en) Fingerprint input method and terminal
WO2021213263A1 (en) Call window control method and apparatus, mobile terminal, and readable storage medium
CN112084658B (en) Target temperature detection method, system, equipment and medium
CN114611545A (en) Window function-based gas terminal use detection method, system, equipment and medium
CN106933684A (en) A kind of control method of broadcast recipients, device and mobile terminal
CN104573448A (en) Voice-operated unlocking method and device
CN104076923A (en) Terminal
CN111491292A (en) Internet access mode adjusting method and device, storage medium and mobile terminal
CN106092130B (en) Step-recording method, device and the mobile terminal of pedometer
CN108170360B (en) Control method of gesture function and mobile terminal
CN109858320A (en) Fingerprint input method and relevant device

Legal Events

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