[go: up one dir, main page]

CN110208335B - Liquid overproof early warning method and device, computer equipment and storage medium - Google Patents

Liquid overproof early warning method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110208335B
CN110208335B CN201910469949.9A CN201910469949A CN110208335B CN 110208335 B CN110208335 B CN 110208335B CN 201910469949 A CN201910469949 A CN 201910469949A CN 110208335 B CN110208335 B CN 110208335B
Authority
CN
China
Prior art keywords
liquid
amount
data
data sequence
alarm
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.)
Active
Application number
CN201910469949.9A
Other languages
Chinese (zh)
Other versions
CN110208335A (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.)
Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Original Assignee
Shenzhen Shuliantianxia Intelligent 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 Shenzhen Shuliantianxia Intelligent Technology Co Ltd filed Critical Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Priority to CN201910469949.9A priority Critical patent/CN110208335B/en
Publication of CN110208335A publication Critical patent/CN110208335A/en
Application granted granted Critical
Publication of CN110208335B publication Critical patent/CN110208335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/22Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance
    • G01N27/223Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance for determining moisture content, e.g. humidity
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Immunology (AREA)
  • Mathematical Physics (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Electrochemistry (AREA)
  • Fuzzy Systems (AREA)
  • Analytical Chemistry (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

The application relates to a liquid cumulant superstandard early warning method, a liquid cumulant superstandard early warning device, computer equipment and a storage medium. The method comprises the following steps: acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid; preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data; determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence; and alarming according to the liquid increase times and the liquid accumulation amount. The method can greatly improve the accuracy and the intelligent degree of the liquid over-standard alarm.

Description

Liquid overproof early warning method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of data processing, in particular to a liquid overproof early warning method, a liquid overproof early warning device, computer equipment and a storage medium.
Background
With the development of science and technology, people have higher and higher requirements on life quality and life convenience. In order to relieve the burden of people in the care of paralyzed old people or infants, paper diapers have been increasingly accepted and widely used. In order to improve the use efficiency of the paper diaper, people often need to replace the paper diaper when the urine volume of the paper diaper is large.
Generally, a humidity sensor is provided in a diaper, and the amount of urine in the diaper is determined based on a humidity value sensed by the humidity sensor. When the humidity value in the paper diaper exceeds a certain limit, the characteristic that the urine volume in the paper diaper is large or tends to be saturated is carried out, and at the moment, an alarm can be given out to prompt that the paper diaper needs to be replaced.
However, in the conventional method for early warning the urine volume according to the humidity value in the diaper, the early warning of the real urine volume is not accurate because the humidity value is easily affected by the position of the humidity sensor and the urine gathering position.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for warning excess of liquid accumulation, which can improve the accuracy of liquid excess warning.
In a first aspect, an embodiment of the present application provides a method for warning that a liquid cumulant exceeds standard, where the method includes:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence;
and alarming according to the liquid increase times and the liquid accumulation amount.
In a second aspect, an embodiment of the present application provides a method for warning that a liquid cumulant exceeds standard, including:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data at a plurality of time moments, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data; and determining the liquid increase times according to the available liquid data sequence.
In a third aspect, an embodiment of the present application provides a device for warning that a liquid cumulant exceeds standard, where the device includes:
the acquisition module is used for acquiring liquid data sequences of a plurality of time intervals; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
the preprocessing module is used for preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and summing a plurality of data;
and the processing module is used for determining the liquid increasing times and the liquid gathering amount according to the available liquid data sequence and giving an alarm according to the liquid increasing times and the liquid gathering amount.
In a fourth aspect, an embodiment of the present application provides a device for warning that an accumulated amount of liquid exceeds a standard, where the device includes:
the acquisition module is used for acquiring liquid data sequences of a plurality of time intervals; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
the preprocessing module is used for preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
and the processing module is used for determining the liquid increasing times according to the available liquid data sequence and giving an alarm according to the liquid increasing times.
In a fifth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence;
and alarming according to the liquid increasing times and the liquid gathering amount.
In a sixth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operation of screening and counting a plurality of data;
determining the liquid increase times according to the available liquid data sequence;
and alarming according to the increasing times of the liquid.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence;
and alarming according to the liquid increase times and the liquid accumulation amount.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
determining the liquid increase times according to the available liquid data sequence;
and alarming according to the increasing times of the liquid.
According to the liquid accumulative amount over-standard early warning method, the liquid accumulative amount over-standard early warning device, the liquid data sequence of each time interval is a set of liquid data of multiple moments, the liquid data are used for representing the amount of liquid, the preprocessing comprises the operation of screening and counting the multiple data, therefore, the detection device obtains the liquid data sequences of the multiple time intervals, the preprocessing operation of screening and counting the liquid data of the multiple moments in each liquid data sequence is carried out, multiple available liquid data sequences capable of representing the liquid accumulative amount in the adjacent time intervals are obtained, then the change trend of the liquid accumulative amount is analyzed according to the available liquid data sequences, and therefore the liquid increase times and the liquid accumulative amount are determined. And finally, the detection equipment gives an alarm under the condition that the liquid accumulation exceeds the standard according to the liquid increase times and the liquid accumulation. The method avoids the problem of inaccurate early warning caused by the influence of the position of the humidity sensor and the liquid accumulation position in the traditional method for detecting the liquid accumulation by adopting the humidity sensor, analyzes the change trend of the liquid accumulation through the liquid increase times and the liquid accumulation amount, and gives an alarm for the condition that the liquid accumulation amount exceeds the standard, and the determined liquid accumulation amount is more matched with the actual liquid accumulation condition, so the alarm accuracy is greatly improved, and the intelligence degree is greatly improved.
Drawings
FIG. 1 is a diagram of the internal structure of a computer device in one embodiment;
FIG. 2 is a schematic flow chart of a method for warning excessive cumulative liquid level according to an embodiment;
FIG. 2a is a schematic diagram of a urine volume detection circuit provided in one embodiment;
FIG. 2b is a graph of ADC measurements corresponding to urine volume collected over a period of time;
FIG. 2c is a graph showing accumulated ADC values representing urine output according to one embodiment;
FIG. 3 is a schematic flow chart illustrating a method for warning excessive cumulative liquid level according to another embodiment;
FIG. 4 is a flow chart illustrating a method for warning excessive cumulative liquid level according to another embodiment;
FIG. 4a is a graph of a sequence of initial ADC measurements for 0ml, 100ml, 150ml and 200ml of liquid;
FIG. 4b is a graph of a sequence of ADC values for 0ml, 100ml, 150ml and 200ml of liquid;
FIG. 4c is a graph of ADC accumulations corresponding to 0ml, 100ml, 150ml, and 200ml in one embodiment;
FIG. 5 is a flow chart illustrating a method for warning excessive cumulative liquid level according to another embodiment;
FIG. 6 is a flow chart illustrating a method for warning excessive cumulative liquid level according to still another embodiment;
fig. 7 is a schematic structural diagram of a liquid accumulation superstandard warning device according to an embodiment;
fig. 8 is a schematic structural diagram of a liquid accumulation excessive warning device according to still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The liquid cumulant superstandard early warning method provided by the embodiment of the application can be applied to computer equipment shown in figure 1. The computer device may be a detection device comprising a processor, a memory, a network interface, a database, a display screen and an input means connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the liquid data sequence in the following embodiments, and the specific description of the liquid data sequence refers to the specific description in the following embodiments. The network interface of the computer device may be used to communicate with other devices outside over a network connection. Optionally, the computer device may be a server, a desktop, a personal digital assistant, other terminal devices such as a tablet computer, a mobile phone, and the like, or a cloud or a remote server, and the specific form of the computer device is not limited in the embodiment of the present application. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like. Of course, the input device and the display screen may not belong to a part of the computer device, and may be external devices of the computer device. Optionally, the detection device may also be disposed on an object to be warned, for example, a body of a diaper, which is not limited in this application.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The following describes the technical solution of the present application and how to solve the above technical problems in detail by using specific embodiments. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that the executing subject of the following method embodiments may be a liquid accumulation amount superstandard warning apparatus, and the apparatus may be implemented as a part or all of the detection device by software, hardware, or a combination of software and hardware. The following method embodiments are described taking the implementation subject as an example of the detection device.
Fig. 2 is a schematic flow chart of a method for warning excessive cumulative liquid level according to an embodiment. The embodiment relates to a specific process that the detection equipment carries out early warning when the liquid accumulation amount exceeds the standard according to a liquid data sequence. As shown in fig. 2, the method includes:
s11, acquiring liquid data sequences of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data at a plurality of time instants, and the liquid data is used for representing the quantity of liquid.
Specifically, the detection device can read a liquid data sequence stored in advance for a plurality of time intervals, and can also measure the liquid amount in an object needing early warning, and then perform data processing to obtain the liquid data sequence for the plurality of time intervals. The liquid data sequences of the plurality of time periods are arranged according to a time sequence, each liquid data sequence comprises a plurality of liquid data arranged according to the time sequence, and the liquid data can represent the amount of liquid at different moments in the corresponding time period.
Taking the measurement of the urine volume of a diaper as an example, how the measuring device obtains the liquid data sequence in a plurality of time periods is exemplified. The two graphite lines can be arranged at the bottom of the paper diaper, and because the graphite lines can generate ionization in liquid, capacitive reactance is formed between the two graphite lines after electric charges generated by ionization are accumulated, and then the capacitive reactance is connected with a urine volume detection circuit through a contact, so that a measured value of urine is detected. FIG. 2a is a schematic diagram of a urine volume detecting circuit provided in an embodiment, as shown in FIG. 2a, the urine volume detecting circuit can be disposed on a detecting device, when the detecting device is clamped on a diaper, the contacts J3 and J4 contact the graphite wire 1, and the signal detected by CHECK _1 is low; when the paper diaper is not clamped by the detection device, the graphite wires are not connected with J3 and J4, and the CHECK _1 is detected to be at a high level, so that whether the paper diaper is clamped by the detection device can be distinguished by the fact that the CHECK _1 is at a high level or a low level. J1 and J2 contacted by the graphite wire 2 are two connected contacts; the high-molecular water-absorbing material on the paper diaper is arranged between the graphite line 1 and the graphite line 2, and when urine is produced, capacitive reactance can be produced between the graphite line 1 and the graphite line 2 which are used as two stages. The size of the capacitive reactance can be judged according to the charging and discharging of the capacitor and the conduction condition of the N-channel field effect transistor, and meanwhile, a measured value corresponding to the capacitive reactance is output so as to feed back the urine volume. The measured value may be output from the CHECK _ AD in fig. 2a, the output measured value is an Analog-to-Digital Converter (ADC) measured value corresponding to the capacitive reactance affected by the urine volume at the current time, and the ADC measured values are arranged and divided in time sequence to obtain a liquid data sequence of a plurality of time periods. Optionally, the specific duration of each time period is not limited in this embodiment, and may be ten minutes, twenty minutes, or other duration.
S12, preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing includes operations of screening and counting a plurality of data.
Specifically, the detection device preprocesses the liquid data at multiple time instants in the liquid data sequence corresponding to each time interval, where the preprocessing may include screening and counting the liquid data at each time instant, for example, deleting at least one of the extreme data, summing, or averaging, so as to obtain an available liquid data sequence corresponding to multiple time intervals. Each liquid data in the available liquid data sequence can represent the aggregation amount of the liquid aggregated by the object to be warned in the corresponding time period.
Taking the detection device for detecting the urine amount in the diaper as an example, the pretreatment may further include the following steps: in a period detected by the detection device, a plurality of ADC measurement values corresponding to the urine volume at each time may be obtained, and the plurality of ADC measurement values are a plurality of values continuously collected at a small collection interval. As can be seen in fig. 2b, fig. 2b is a graph of ADC measurements for urine volume collected over a period of time. For example, if a time interval is 75 seconds, each time is set to an interval of 5 seconds, 40 ADC measurement values may be continuously acquired in 0.1 second at each time, and then the 40 ADC measurement values may be filtered, and the maximum value and the minimum value may be deleted to obtain an ADC value representing urine volume at each time; or deleting a plurality of values before and after the 40 ADC measurement values, for example, selecting 10 th to 30 th values from the 40 ADC measurement values, deleting other values, and then averaging the selected values to obtain an ADC value corresponding to the urine volume at each time; or one of the 40 ADC measurement values may be selected as the ADC value at the corresponding time. And then, accumulating the ADC value at each moment according to a preset time interval by the detection equipment to obtain an ADC accumulated value with a certain time interval. For example, the detection device may select 75 seconds as a period of time, with 5 seconds intervals at each time. Therefore, the detection device may acquire the ADC values at 15 times (5 seconds, 10 seconds, 15 seconds.. 75 seconds) within a time period of 0 second to 75 seconds, perform accumulation and summation to obtain an ADC accumulated value corresponding to the time of 75 seconds, and then accumulate the ADC values at 15 times within the time period of 5 seconds to 80 seconds by the same method to obtain an ADC accumulated value corresponding to the time of 80 seconds. The detection device in turn can obtain the accumulated values of the ADC at 15 moments spaced by 5 seconds. These ADC accumulations at 5 second intervals can reflect the trend of the accumulation of urine in diapers.
And S13, determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence.
Specifically, the detection device determines the number of times of liquid increase according to the available liquid data sequence, and when a sharp drop occurs in the available liquid data sequence, it is determined that one liquid increase occurs. For example, if the accumulated value of ADC decreases by 2000 within 10-15 time points, it is considered that one urination action occurs. Alternatively, the above-mentioned available liquid data sequence may be expressed in the form of a curve, and the number of times of the increase of the liquid is occurred is determined according to the gradient of the curve. As shown in fig. 2c, when the vertical axis between time 7 and time 13 on the horizontal axis in fig. 2c, that is, the ADC accumulated value, decreases by about 8000, it is determined that one-time urination behavior occurs between time 7 and time 13. Each of the liquid data in the above-mentioned available liquid data series may correspond to a liquid aggregation amount, which can characterize how much of the liquid aggregation amount is. For example, a liquid aggregation level of 0ml may be characterized by an ADC accumulation value of 72000 in the liquid data sequence, and a liquid aggregation level of 200ml may be characterized by an ADC accumulation value of 68000 in the liquid data sequence.
And S14, alarming according to the liquid increasing times and the liquid gathering amount.
Specifically, the detection device may alarm according to the number of times the liquid is increased and the amount of liquid collected. Alternatively, the detection device may determine that the current liquid accumulation amount exceeds the predetermined alarm accumulation amount threshold and alarm when the liquid increase number exceeds the predetermined alarm number threshold and the liquid accumulation amount exceeds the predetermined alarm accumulation amount threshold. For example, when the number of urination exceeds the preset alarm number threshold value three times and the urine accumulation exceeds the alarm accumulation threshold value 72000, that is, it is determined that the urine exceeds 200ml, the liquid accumulation exceeds the standard, and then the detection device can give an alarm. Optionally, the detecting device may further determine in advance whether the liquid accumulation amount is increased, that is, the liquid accumulation amount at the next time is greater than the liquid accumulation amount at the previous time, and determine the liquid increase times again when the liquid accumulation amount is increased, and when the liquid increase times exceeds a preset alarm time threshold, determine that the liquid accumulation amount exceeds a standard, and alarm. The present embodiment does not limit the specific manner of the detection device alarming according to the number of times of increasing the liquid and the amount of collected liquid, and may alarm when the cumulative amount of liquid exceeds the threshold, which can be determined according to the number of times of increasing the liquid and the amount of collected liquid.
In this embodiment, the liquid data sequence of each time interval is a set of liquid data at multiple times, and the liquid data is used to characterize the amount of liquid, and the preprocessing includes operations of screening and counting the multiple data, so that the detection device obtains the liquid data sequences of the multiple time intervals, and performs preprocessing operations of screening and counting the liquid data at the multiple times in each liquid data sequence, so as to obtain multiple available liquid data sequences capable of characterizing the liquid aggregation amount in the time intervals at adjacent times, and then analyzes the change trend of the liquid aggregation amount according to the available liquid data sequences, thereby determining the liquid increase times and the liquid aggregation amount. And finally, the detection equipment gives an alarm under the condition that the liquid accumulation exceeds the standard according to the liquid increase times and the liquid accumulation. The method avoids the problem of inaccurate early warning caused by the influence of the position of the humidity sensor and the liquid accumulation position in the traditional method for detecting the liquid accumulation by adopting the humidity sensor, analyzes the change trend of the liquid accumulation through the liquid increase times and the liquid accumulation amount, and gives an alarm for the condition that the liquid accumulation amount exceeds the standard, and the determined liquid accumulation amount is more matched with the actual liquid accumulation condition, so the alarm accuracy is greatly improved, and the intelligence degree is greatly improved.
Optionally, one possible implementation manner of S14 in the foregoing embodiment may also be as shown in fig. 3, where the implementation manner includes:
s141, judging whether the liquid aggregation amount is increased or not.
Specifically, the detection device may determine whether the liquid accumulation amount increases according to a variation trend of the liquid accumulation amount, which may be to determine whether the liquid accumulation amount corresponding to one time is larger or smaller than the liquid accumulation amount at the previous time; or a plurality of consecutive times, each time being larger or smaller than the amount of liquid accumulated at the previous time. If the liquid aggregation amount at one moment is larger than that at the previous moment; or, if the liquid aggregation amount at each of a plurality of consecutive times is larger than the liquid aggregation amount at the previous time, determining that the liquid aggregation amount is increased; otherwise, it is determined that the liquid aggregation amount is not increased.
And S142A, if the liquid accumulation amount is increased, alarming according to the liquid increase times.
S142B, if the liquid aggregation amount is not increased, continuing to execute the step of acquiring the liquid data sequence of the plurality of periods.
Specifically, if the amount of liquid accumulation described above increases, the detection device may determine whether to alarm or not, depending on whether or not the liquid increase number exceeds the alarm number threshold. For example, the alarm may be given when the liquid increase number exceeds an alarm number threshold, and the alarm may not be given when the liquid increase number does not exceed the number threshold. If the liquid accumulation amount is not increased, the detection device continues to perform the step of S11, and the detailed description of S11 can be referred to the above embodiment, and will not be repeated herein.
In the embodiment, the detection equipment judges whether the liquid accumulation amount is increased or not, and alarms according to the liquid increase times under the condition that the liquid accumulation amount is increased, so that whether the liquid accumulation amount exceeds the standard or not can be determined according to the liquid increase times, and whether the alarm is performed or not can be further determined; meanwhile, the step of obtaining the liquid data sequence of a plurality of time intervals can be continuously executed under the condition that the liquid aggregation amount is not increased until the liquid aggregation amount is determined to be increased, and the alarm is continuously carried out according to the liquid increase times, so that the liquid variation is monitored, and the alarm is more accurately and timely carried out.
Optionally, one possible implementation manner of the "alarm according to the number of times of increasing the liquid" in S142A may further include: judging whether the liquid increasing times is larger than or equal to a preset alarm time threshold value or not, and if the liquid increasing times is larger than or equal to the alarm time threshold value, giving an alarm; and if the liquid increase times are smaller than the alarm time threshold value, alarming according to the liquid accumulation amount. Specifically, the detection device gives an alarm according to the size relationship between the liquid increase times and the alarm time threshold, firstly, whether the liquid increase times is greater than or equal to the alarm time threshold is judged, and if the liquid increase times is greater than or equal to the alarm time threshold, the liquid accumulation is determined to be over-standard, so that the alarm is given; if the liquid increase times is smaller than the alarm time threshold value, the alarm is continuously carried out according to the liquid aggregation amount, so that whether the alarm is carried out can be determined according to the liquid aggregation amount even if the liquid increase times is smaller than the alarm time threshold value, and if the single liquid increment is large, the alarm result is more matched with the actual liquid increment condition, so that the alarm is more accurate and effective, and the intelligent degree is higher.
Optionally, on the basis of the foregoing embodiment, one possible implementation manner of "alarm according to the liquid aggregation amount" may further include: judging whether the liquid aggregation amount is larger than or equal to a preset alarm aggregation amount threshold value or not; if the liquid aggregation amount is larger than or equal to the alarm aggregation amount threshold value, continuing to execute the step of acquiring the liquid data sequence of a plurality of time periods; and if the liquid aggregation amount is smaller than the alarm aggregation amount threshold value, alarming according to the stability of the liquid aggregation amount. Specifically, the detection device may alarm based on a magnitude relationship between the liquid accumulation amount and an alarm accumulation amount threshold. First, the detection device determines whether the liquid accumulation amount is greater than or equal to the alarm accumulation amount threshold. If the accumulated amount of liquid is greater than or equal to the alarm accumulated amount threshold, it is determined that the accumulated amount of liquid does not exceed the threshold, and the detection apparatus may further continue to perform the step of S11 described above. Wherein the liquid accumulation is stable, i.e. the liquid accumulation varies within a certain range, alternatively it may be that at several consecutive moments the fluctuation of the liquid accumulation is within a fixed range of values, e.g. the amount of variation of the liquid accumulation is not more than 2000 in a time of 20 seconds. If the liquid accumulation amount is smaller than the alarm accumulation amount threshold value, the detection device can determine that the liquid accumulation amount exceeds the standard, and then the detection device can further determine the stability of the liquid accumulation amount and give an alarm according to the stability of the liquid accumulation amount. In the implementation mode, the detection equipment judges whether the liquid accumulation amount is larger than or equal to the preset alarm accumulation amount threshold value or not, and alarms according to the stability of the liquid accumulation amount when the liquid accumulation amount is larger than or equal to the alarm accumulation amount threshold value, so that the alarm is realized by combining the stability of the liquid accumulation amount, the condition of false alarm generated under the condition that the liquid accumulation amount is not matched with the actual liquid accumulation amount due to unstable liquid accumulation amount is avoided, and the alarm accuracy is further improved. And when the liquid aggregation amount is smaller than the alarm aggregation amount threshold value, continuing to execute the step of acquiring the liquid data sequence of a plurality of time intervals until the liquid aggregation amount is larger than or equal to the alarm aggregation amount threshold value, and then alarming according to the stability of the liquid aggregation amount, so that the monitoring of the liquid aggregation amount is realized, and more accurate and timely alarming is realized.
Alternatively, on the basis of the above embodiment, one possible implementation manner of the "alarm according to the stability of the liquid aggregation amount" may include: judging whether the liquid aggregation amount is stable or not; if the liquid aggregation amount is stable, alarming; and if the liquid accumulation amount is unstable, continuing to execute the step of acquiring the liquid data sequence of a plurality of time intervals. Specifically, the detection device can determine whether the liquid accumulation amount is in a stable state according to a variation tendency of the liquid accumulation amount. If the liquid accumulation amount is stable and the liquid accumulation amount exceeds the preset alarm accumulation amount threshold value, the liquid accumulation amount can be determined to exceed the standard, so that an alarm is given; if the liquid accumulation amount is not stable, the step of S11 is continuously executed until the liquid accumulation amount is determined to be stable, and then an alarm is given. This implementation mode can report to the police when liquid gathering volume steadily surpasss liquid gathering volume to and do not report to the police when liquid gathering volume does not steadily surpass liquid gathering volume, and it can avoid the condition of wrong report police because liquid gathering volume is unstable leads to, has further improved the accuracy of reporting to the police.
Alternatively, one possible implementation manner of the above embodiment of "judging whether the liquid aggregation amount is stable" may include: acquiring the variable quantity of the liquid aggregation amount within a preset time; if the variation of the liquid aggregation amount is larger than or equal to a preset floating amount threshold value within the preset time length, determining that the liquid aggregation amount is unstable; and if the variation of the liquid aggregation amount in the preset time is smaller than the floating amount threshold value, determining that the liquid aggregation amount is stable. Specifically, the detection device can judge whether the variation of the liquid aggregation amount is larger than or equal to a preset floating amount threshold value by acquiring the variation of the liquid aggregation amount within a preset time period, and if so, the liquid aggregation amount is determined to be unstable; if not, determining that the liquid aggregation amount is stable. For example, within a preset time period of 60 seconds, 5 seconds are spaced between every two moments, the liquid aggregation amount can be the sum of 15 consecutive moments, and when the liquid aggregation amount obtained within the preset time period of 60 seconds at every moment is distributed between 66000 and 68000, the variation of the liquid aggregation amount does not exceed the 2000 floating amount threshold, so that the detection device can determine that the liquid aggregation amount is stable; if the liquid accumulation amount obtained in this 60 second period is distributed between 65000 and 68000 at each time point, the liquid accumulation amount has a variation of 3000, and this floating amount threshold of 2000 has been exceeded, so that the detection apparatus can determine that the liquid accumulation amount is unstable. In the implementation mode, the detection equipment can determine the stability of the liquid accumulation amount according to the quantitative standard according to whether the change condition of the liquid accumulation amount within a preset time exceeds a preset floating amount threshold value or not, and then the alarm for the exceeding of the liquid accumulation amount is more accurate and timely.
Optionally, on the basis of the above embodiment, a process of determining the alarm aggregation amount threshold may be further included. As shown in fig. 4, before the determining whether the liquid aggregation amount is greater than or equal to a preset alarm aggregation amount threshold, the method includes:
s21, acquiring a plurality of groups of initial test liquid data sequences; the initial test fluid data series includes fluid measurements at a plurality of times corresponding to different classes of known fluid amounts.
Specifically, the detection equipment is connected with two graphite wires through a liquid detection circuit, and a plurality of groups of initial test liquid data sequences are obtained through direct measurement. A schematic diagram of the liquid detection circuit is also shown in fig. 2 a. The plurality of sets of initial test fluid data sequences include fluid measurements at a plurality of times corresponding to different classes of known fluid amounts, the plurality of initial test fluid data sequences corresponding to each class. The method specifically comprises the following steps: different liquid amounts are respectively added on the object to be pre-warned, and then a plurality of initial test liquid data sequences corresponding to the different liquid amounts are respectively collected. Wherein the plurality of liquid data in each initial measured liquid data sequence are arranged in chronological order. For example, firstly, liquid is not added to an object to be pre-warned, that is, the liquid increase is 0ml, and a plurality of groups of initial measured liquid data sequences corresponding to 0ml are obtained through measurement; then adding 100ml of liquid, and measuring to obtain a plurality of groups of initial measured liquid data sequences corresponding to 100 ml; the same method can obtain initial measured liquid data sequences corresponding to 150ml of liquid and 200ml of liquid, and the plurality of sets of initial measured liquid data sequences are graphically displayed as shown in fig. 4a, wherein curve 1, curve 2, curve 3 and curve 4 in fig. 4a represent the initial measured liquid data sequences corresponding to 0ml of liquid, 100ml of liquid, 150ml of liquid and 200ml of liquid, respectively. Of course, the specific amount and kind of the liquid can be adjusted according to the requirement, and the description is only given as an example.
And S22, processing the plurality of initial test liquid data in each group of initial test liquid data sequence to obtain an available liquid mean value data sequence corresponding to each known liquid amount.
Specifically, the detection device may process the initial test liquid data at each time in the initial test liquid data sequence, where it should be noted that the initial test liquid data at each time may include a plurality of ADC test values, and the plurality of ADC test values may be detected by the urine volume detection circuit. The processing of the initial test liquid data at each time by the detection device may include: and screening or counting the plurality of corresponding ADC measured values at each moment, for example, calculating an average value, or calculating an average value of other data after deleting the terminal data, wherein the average value is used as the available liquid average value data corresponding to each moment, and the available liquid average value data corresponding to each moment are arranged according to a time sequence to obtain an available liquid average value data sequence corresponding to each moment. And the available liquid mean value data in the available liquid mean value data sequence is only one available liquid mean value data at each moment, and the available liquid mean value data can represent the quantity of the liquid at the corresponding moment.
Optionally, one possible implementation manner of this step S22 may further include: screening a plurality of initial test liquid data in each group of initial test liquid data sequences to obtain a plurality of groups of available test liquid data sequences; carrying out operation of solving a sequence mean value on a plurality of groups of available test liquid data sequences corresponding to each known liquid amount to obtain a liquid mean value data sequence corresponding to each characterized known liquid amount; and screening partial liquid mean value data from the liquid mean value data sequence corresponding to each known liquid amount to obtain a usable liquid mean value data sequence corresponding to each known liquid amount. Specifically, the detection device may delete the smallest part of the data in each set of initial test liquid data sequences, for example, delete the smallest five-time initial test liquid data, and obtain the available test liquid data sequence with the smallest value removed. It should be noted that, the available test liquid data corresponding to each time is a plurality of time-continuous data, and the plurality of data corresponding to each time are processed, for example, the maximum value and the minimum value are deleted, or a part of intermediate values are taken and then averaged, so that the sequence average is solved, and a plurality of liquid average data sequences corresponding to each known liquid amount are obtained. Then, the detection device further performs screening on a plurality of liquid mean value data sequences corresponding to each known liquid amount according to the reasonability of the data, for example, deleting the sequence of the maximum value and the sequence of the minimum value, or deleting the sequences at two ends of time, so as to select an available liquid mean value data sequence corresponding to each known liquid amount.
A detailed description is given here, by way of a specific example, of a sequence of available liquid mean data corresponding to each of the known liquid amounts obtained by processing a plurality of initial test liquid data in each of the initial test liquid data sequences. The process of preprocessing, which can be seen in the embodiment described in fig. 2, includes: in the case of adding 100ml of liquid to the subject to be tested, the detection device may detect a plurality of ADC measurements for each time during a period of time, for example, 40 ADC measurements at every 5 seconds, and a period of 75 seconds. The 40 ADC measurements at each time are continuously acquired values, and the acquisition interval is small, for example, 40 ADC measurements can be continuously acquired within 0.1 second. Within 75 seconds of a period, every 5 seconds, the acquired 40 ADC measurement values at each time may be used as each group of initial test liquid data sequences, as shown in curve 2 in fig. 4a, and then the detection device may screen the 40 ADC measurement values at each time, which may be the largest value and the smallest value, to obtain the ADC value corresponding to the liquid representing each time; alternatively, a plurality of values before and after the 40 ADC measurement values may be deleted, for example, 10 th to 30 th values are selected from the 40 ADC measurement values, other values are deleted, and then the selected values are averaged, as shown by a curve 2' in fig. 4b, which is a curve expressed by a data sequence of ADC values corresponding to the liquid amount at each time; or one of the 40 ADC measurements may also be selected as the ADC value for the corresponding time instant. Curves 1 ', 3 ' and 4 ' in fig. 4b are curves expressed as data sequences of ADC values for liquid amounts of 0ml, 150ml and 200ml, respectively. And then, accumulating the ADC value at each moment according to a preset time interval by the detection equipment to obtain an ADC accumulated value with a certain time interval. For example, the detection device may select 75 seconds as a period of time, with 5 seconds intervals at each time. Therefore, the detection device can acquire the ADC values at the 15 times in the period of 0 second to 75 seconds, and perform the accumulated summation to obtain the ADC accumulated value corresponding to the 75 seconds. Similarly, the detection device may further accumulate ADC values at 15 times within a period of 5 seconds to 80 seconds to obtain an ADC accumulated value corresponding to the time of 80 seconds. According to the method, the detection device can sequentially obtain the ADC accumulated values at 15 moments at intervals of 5 seconds to form a usable liquid mean value data sequence corresponding to 100ml of known liquid. Using the same method, data sequences for available measured liquids corresponding to 0ml, 100ml, 150ml and 200ml liquids were obtained, as shown in fig. 4 c. The four points 0ml, 100ml, 150ml and 200ml in fig. 4c represent the ADC accumulation values for these four liquid quantities, respectively.
In the implementation mode, a plurality of initial test liquid data in each group of initial test liquid data sequences are screened by the detection equipment to obtain a plurality of groups of available test liquid data sequences, so that unreasonable extreme data are deleted, and the data effectiveness is higher; and then carrying out operation of solving the sequence mean value on a plurality of groups of available test liquid data sequences corresponding to each known liquid amount to obtain a liquid mean value data sequence corresponding to each characterized known liquid amount, and screening partial liquid mean value data from the liquid mean value data sequence corresponding to each known liquid amount, thereby further deleting unreasonable data and obtaining an available liquid mean value data sequence corresponding to each known liquid amount. By adopting the method to process the initial liquid data sequence, unreasonable data can be removed, so that the data validity is higher, the determined liquid increase times and liquid accumulation amount are more accurate, and the accuracy of liquid accumulation amount over-standard early warning is further improved.
And S23, determining the alarm aggregation amount threshold according to the available liquid mean value data sequence corresponding to each known liquid amount.
Specifically, the detection device counts the available liquid mean value data sequence corresponding to each known liquid amount according to a certain time period to obtain a test liquid aggregation value corresponding to each known liquid amount. Then, the detection device can determine an alarm aggregation amount threshold value which needs to be alarmed according to the corresponding relation between the liquid amount and the test liquid aggregation value. For example, the corresponding relationship between the liquid amount and the test liquid accumulation value can be as shown in fig. 4c, when an alarm needs to be given to the liquid with the liquid amount of more than 200ml, an available test liquid accumulation value 68200 corresponding to the liquid amount of 200ml is set as the alarm accumulation threshold. Alternatively, other amounts of liquid, such as a corresponding available test liquid aggregate value 69300 of 150 milliliters, may also be used as the alarm aggregate amount threshold. Alternatively, the four liquid amounts in fig. 4c are only an example, and other liquid amounts may also be used, for example, 180 ml, 250 ml, and the like, and the embodiment of the present application is not limited in particular. Then, when 200ml is set as an alarm threshold, when the test liquid accumulation value is smaller than an alarm accumulation threshold 68200, determining that the liquid accumulation exceeds the standard and giving an alarm; on the contrary, when the test liquid accumulation value is larger than or equal to the alarm accumulation threshold 68200, the liquid accumulation is determined not to exceed the standard, and no alarm is given.
In the embodiment shown in fig. 4, the detection device obtains a plurality of sets of initial test liquid data sequences, and because the initial test liquid data sequences include liquid measurement values at a plurality of times corresponding to different types of known liquid amounts, the detection device can process a plurality of initial test liquid data in each set of initial test liquid data sequences, so as to obtain an available liquid mean value data sequence corresponding to each known liquid amount, and then determine an aggregation amount threshold corresponding to each known liquid amount according to the available liquid mean value data sequence corresponding to each known liquid amount, so as to determine an alarm aggregation amount threshold, implement quantitative judgment and alarm on liquid accumulation, and further make alarm on liquid exceeding more accurate.
Optionally, on the basis of the foregoing embodiment, the manner of alarming by the detection device may include: and an alarm indicator lamp is adopted for alarming or an alarm signal is sent to the user terminal. When an alarm is required, the detection equipment controls the indicator light to be turned on or the indicator light to flash, or the indicator light is changed into a red light; and sending an alarm signal to the user terminal, wherein the alarm signal can be an alarm dialog box popped up on an application program interface corresponding to the user terminal or alarm prompt information is displayed. Optionally, the sending of the alarm signal to the user terminal by the detection device may be through a mobile communication network, or through bluetooth or WIFI, and the embodiment is not limited. In the embodiment, the detection equipment adopts the alarm indicator lamp to give an alarm, so that an alarm signal can be visualized, and a user can be reminded that the accumulated liquid amount exceeds the standard more timely and obviously; the detection device sends an alarm signal to the user terminal, so that the situation that the liquid exceeds the standard and cannot be processed in time due to the fact that the user is not on site is avoided, the accumulated situation of the liquid in the object can be mastered timely and accurately under the situation that the user is not on site conveniently, and the accumulated situation can be processed as soon as possible, so that the application scene of the method is more flexible and rich.
For clarity of presentation, the embodiments of the present application are described in detail herein with reference to a specific example. As shown in fig. 5, includes:
s31, acquiring a plurality of groups of initial test liquid data sequences; the initial test fluid data series includes fluid measurements at a plurality of times corresponding to different classes of known fluid amounts.
And S32, screening a plurality of initial test liquid data in each group of initial test liquid data sequences to obtain a plurality of groups of available test liquid data sequences.
And S33, carrying out operation of solving a sequence mean value on a plurality of groups of available test liquid data sequences corresponding to each known liquid amount to obtain a liquid mean value data sequence corresponding to each characterized known liquid amount.
S34, screening partial liquid mean value data from the liquid mean value data sequence corresponding to each known liquid amount to obtain an available liquid mean value data sequence corresponding to each known liquid amount.
And S35, determining the alarm aggregation amount threshold according to the available liquid mean value data sequence corresponding to each known liquid amount.
S36, acquiring liquid data sequences of a plurality of time periods; the liquid data sequence of each time interval is a collection of liquid data at a plurality of time instants, and the liquid data is used for representing the quantity of the liquid.
S37, preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
and S38, determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence.
S39, judging whether the liquid aggregation amount is increased or not; if so, go to S310, otherwise, go to S36.
S310, judging whether the liquid increasing times are larger than or equal to a preset alarm time threshold value or not; if so, go to S311A, otherwise, go to S311B.
S311A, alarming; the manner of alarming may include: and an alarm indicator lamp is adopted for alarming or an alarm signal is sent to the user terminal.
S311B, judging whether the liquid aggregation amount is larger than or equal to a preset alarm aggregation amount threshold value or not; if yes, executing S306; if not, go to S312.
And S312, acquiring the variation of the liquid aggregation amount within a preset time.
S313A, if the variation of the liquid aggregation amount in the preset time is larger than or equal to the preset floating amount threshold value, determining that the liquid aggregation amount is unstable. And then S36 is executed.
S313B, if the variation of the liquid aggregation amount in the preset time is smaller than the floating amount threshold, determining that the liquid aggregation amount is stable. Then S311A is executed.
For detailed description and beneficial effects of the steps in this embodiment, reference may be made to the foregoing embodiments, which are not described herein again.
Fig. 6 is a schematic flow chart of a method for warning excessive cumulative liquid level according to an embodiment. The embodiment relates to a specific process that the detection device carries out early warning through a liquid data sequence of a plurality of periods. As shown in fig. 6, the method includes:
s41, acquiring liquid data sequences of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data at a plurality of time instants, and the liquid data is used for representing the quantity of liquid.
S42, preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operation of screening and counting a plurality of data.
And S43, determining the liquid increasing times according to the available liquid data sequence.
Specifically, the detailed description of the detection device performing the above S41 and S43 may refer to the description in the above embodiments, and will not be repeated here.
And S44, alarming according to the liquid increase times.
Specifically, the detection device can alarm when the liquid increase times exceed a preset alarm time threshold value and the liquid cumulant exceeds the standard. For example, the cumulative amount of urine is considered to be excessive when 3 times of urination are common, and at the moment, the preset alarm time threshold is 3. When the number of times of urination detected by the detection equipment arranged on the diaper is 2, the number is smaller than a preset alarm number threshold value 3, and no alarm is given at the moment; when the number of times of urination detected by the detection device mounted on the diaper is 3 or 4, which is greater than or equal to the alarm number threshold 3, an alarm is given.
In this embodiment, the liquid data sequence of each time interval is a set of liquid data at multiple times, and the liquid data is used to characterize the amount of liquid, and the preprocessing includes operations of screening and counting the multiple data, so that the detection device obtains the liquid data sequences of the multiple time intervals, and performs preprocessing operations of screening and counting the liquid data at the multiple times in each liquid data sequence, to obtain multiple available liquid data sequences capable of characterizing the liquid aggregation amount in the time intervals at adjacent times, and then analyzes the variation trend of the liquid aggregation amount according to the available liquid data sequences, thereby determining the liquid increase times. And finally, the detection equipment gives an alarm under the condition that the accumulative amount of the liquid exceeds the standard according to the liquid increase times. The method avoids the problem of inaccurate early warning caused by the influence of the position of the humidity sensor and the liquid accumulation position in the traditional method for detecting the liquid accumulation by adopting the humidity sensor, determines whether the liquid accumulation exceeds the standard or not by increasing the liquid times, and gives an alarm for the condition that the liquid accumulation exceeds the standard, and the determined liquid accumulation is more matched with the actual liquid accumulation condition, so that the alarm accuracy is greatly improved, and the intelligence degree is greatly improved.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a liquid accumulation amount superstandard warning apparatus, characterized by comprising:
an obtaining module 100, configured to obtain a liquid data sequence of multiple time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
a preprocessing module 200, configured to preprocess the liquid data at multiple times in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and summing a plurality of data;
and the processing module 300 is configured to determine the liquid increase times and the liquid aggregation amount according to the available liquid data sequence, and alarm according to the liquid increase times and the liquid aggregation amount.
In one embodiment, the processing module 300 may be specifically configured to determine whether the liquid accumulation amount is increased; if the liquid accumulation amount is increased, alarming according to the liquid increase times; if the liquid aggregation amount is not increased, the step of acquiring the liquid data sequences of a plurality of time intervals is continuously executed.
In an embodiment, the processing module 300 may be specifically configured to determine whether the liquid increase time is greater than or equal to a preset alarm time threshold; if the liquid increase times are larger than or equal to the alarm time threshold value, alarming; and if the liquid increase times are smaller than the alarm time threshold value, alarming according to the liquid aggregation amount.
In an embodiment, the processing module 300 may be specifically configured to determine whether the liquid aggregation amount is greater than or equal to a preset alarm aggregation amount threshold; if the liquid aggregation amount is larger than or equal to the alarm aggregation amount threshold value, continuing to execute the step of acquiring the liquid data sequence of a plurality of time periods; and if the liquid aggregation amount is smaller than the alarm aggregation amount threshold value, alarming according to the stability of the liquid aggregation amount.
In one embodiment, the processing module 300 may be specifically configured to determine whether the liquid aggregation amount is stable; if the liquid aggregation amount is stable, alarming; and if the liquid accumulation amount is unstable, continuing to execute the step of acquiring the liquid data sequence of a plurality of time intervals.
In an embodiment, the processing module 300 may be specifically configured to obtain a variation of the liquid aggregation amount within a preset time period; if the variation of the liquid aggregation amount in the preset time is larger than or equal to a preset floating amount threshold value, determining that the liquid aggregation amount is unstable; and if the variation of the liquid aggregation amount in the preset time is smaller than the floating amount threshold value, determining that the liquid aggregation amount is stable.
In one embodiment, the processing module 300 may be further configured to obtain a plurality of sets of initial test fluid data sequences; the initial test liquid data sequence comprises liquid measurement values at a plurality of times corresponding to different classes of known liquid amounts; processing a plurality of initial test liquid data in each group of initial test liquid data sequence to obtain an available liquid mean value data sequence corresponding to each known liquid amount; and determining the alarm aggregation amount threshold according to the available liquid mean value data sequence corresponding to each known liquid amount.
In an embodiment, the processing module 300 may be specifically configured to screen a plurality of initial test liquid data in each set of initial test liquid data sequences to obtain a plurality of sets of available test liquid data sequences; carrying out operation of solving a sequence mean value on a plurality of groups of available test liquid data sequences corresponding to each known liquid amount to obtain a liquid mean value data sequence corresponding to each characterized known liquid amount; screening partial liquid mean value data from the liquid mean value data sequence corresponding to each known liquid amount to obtain an available liquid mean value data sequence corresponding to each known liquid amount.
In one embodiment, the manner of alarming may include: and an alarm indicator lamp is adopted for alarming or an alarm signal is sent to the user terminal.
In one embodiment, as shown in fig. 8, there is provided a liquid accumulation amount superstandard warning apparatus, including:
an obtaining module 400, configured to obtain a liquid data sequence of multiple time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid;
a preprocessing module 500, configured to preprocess the liquid data at multiple times in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
and the processing module 600 is configured to determine the liquid increase times according to the available liquid data sequence, and alarm according to the liquid increase times.
The specific limitation of the device for warning excessive liquid accumulation can be referred to the above limitation of the method for warning excessive liquid accumulation, and is not described herein again. All or part of the modules in the liquid accumulative content over-standard early warning device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment, a computer device is provided, comprising a memory in which a computer program is stored and a processor, which when executing the computer program performs the steps of any of the above method embodiments. The following steps can be specifically realized: acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid; preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data; determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence; and alarming according to the liquid increase times and the liquid accumulation amount.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid; preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data; determining the liquid increase times according to the available liquid data sequence; and alarming according to the increasing times of the liquid.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of any of the above-mentioned method embodiments. The following steps can be specifically realized: acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid; preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data; determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence; and alarming according to the liquid increase times and the liquid accumulation amount.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data of a plurality of time instants, and the liquid data is used for representing the quantity of liquid; preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operation of screening and counting a plurality of data; determining the liquid increase times according to the available liquid data sequence; and alarming according to the increasing times of the liquid.
It should be clear that, in the embodiment of the present application, the process of executing the computer program by the processor is consistent with the execution process of each step in the method described above, and specific reference may be made to the description above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A liquid cumulant superstandard early warning method is characterized by comprising the following steps:
acquiring a liquid data sequence of a plurality of time periods; the liquid data sequence of each time interval is a set of liquid data at a plurality of time moments, and the liquid data is used for representing the quantity of liquid;
preprocessing the liquid data at a plurality of moments in each liquid data sequence to obtain a plurality of available liquid data sequences; the preprocessing comprises the operations of screening and counting a plurality of data;
determining the liquid increasing times and the liquid aggregation amount according to the available liquid data sequence;
judging whether the liquid aggregation amount is increased or not;
if the liquid accumulation amount is increased, judging whether the liquid increase times are larger than or equal to a preset alarm time threshold value or not;
if the liquid increase times are larger than or equal to the alarm time threshold value, alarming;
if the liquid increase times are smaller than the alarm time threshold value, acquiring a plurality of groups of initial test liquid data sequences; the initial test liquid data sequence comprises liquid measurement values at a plurality of moments corresponding to different types of known liquid quantities;
processing a plurality of initial test liquid data in each group of initial test liquid data sequence to obtain an available liquid mean value data sequence corresponding to each known liquid amount;
determining the alarm aggregation amount threshold according to the available liquid mean value data sequence corresponding to each known liquid amount;
judging whether the liquid aggregation amount is larger than or equal to a preset alarm aggregation amount threshold value or not;
if the liquid aggregation amount is larger than or equal to the alarm aggregation amount threshold value, continuing to execute the step of acquiring the liquid data sequences of a plurality of time periods;
if the liquid aggregation amount is smaller than the alarm aggregation amount threshold value, alarming according to the stability of the liquid aggregation amount;
if the liquid aggregation amount is not increased, the step of acquiring the liquid data sequences of a plurality of time intervals is continuously executed.
2. The method of claim 1, wherein said alerting based on the stability of said accumulated amount of liquid comprises:
judging whether the liquid aggregation amount is stable or not;
if the liquid aggregation amount is stable, alarming;
and if the liquid accumulation amount is unstable, continuing to execute the step of acquiring the liquid data sequence of a plurality of time intervals.
3. The method of claim 2, wherein said determining whether the liquid accumulation is stable comprises:
acquiring the variable quantity of the liquid aggregation amount within a preset time;
if the variation of the liquid aggregation amount in the preset time is larger than or equal to a preset floating amount threshold value, determining that the liquid aggregation amount is unstable;
and if the variation of the liquid aggregation amount in the preset time is smaller than the floating amount threshold value, determining that the liquid aggregation amount is stable.
4. The method of claim 1, wherein processing the plurality of initial test liquid data in each set of initial test liquid data sequences to obtain a usable liquid mean data sequence for each of the known liquid amounts comprises:
screening a plurality of initial test liquid data in each group of initial test liquid data sequences to obtain a plurality of groups of available test liquid data sequences;
carrying out operation of solving a sequence mean value on a plurality of groups of available test liquid data sequences corresponding to each known liquid amount to obtain a liquid mean value data sequence corresponding to each characterized known liquid amount;
and screening partial liquid mean value data from the liquid mean value data sequence corresponding to each known liquid amount to obtain a usable liquid mean value data sequence corresponding to each known liquid amount.
5. The method of claim 1, wherein the alerting comprises: and an alarm indicator lamp is adopted for alarming or an alarm signal is sent to the user terminal.
6. A liquid cumulant superstandard early warning device, characterized in that the device includes:
the acquisition module is used for acquiring liquid data sequences of a plurality of time intervals; the liquid data sequence of each time interval is a set of liquid data at a plurality of time moments, and the liquid data is used for representing the quantity of liquid;
the preprocessing module is used for preprocessing the liquid data at multiple moments in each liquid data sequence to obtain multiple available liquid data sequences; the preprocessing comprises the operations of screening and summing a plurality of data;
the processing module is used for determining the liquid increasing times and the liquid gathering quantity according to the available liquid data sequence and judging whether the liquid gathering quantity is increased or not; if the liquid aggregation amount is increased, judging whether the liquid increase times are larger than or equal to a preset alarm time threshold value or not; if the liquid increase times are larger than or equal to the alarm time threshold value, alarming; if the liquid increase times are smaller than the alarm time threshold value, acquiring a plurality of groups of initial test liquid data sequences; the initial test liquid data sequence comprises liquid measurement values at a plurality of times corresponding to different classes of known liquid amounts; processing a plurality of initial test liquid data in each group of initial test liquid data sequence to obtain an available liquid mean value data sequence corresponding to each known liquid amount; determining the alarm aggregation amount threshold according to the available liquid mean value data sequence corresponding to each known liquid amount; judging whether the liquid aggregation amount is larger than or equal to a preset alarm aggregation amount threshold value or not; if the liquid aggregation amount is larger than or equal to the alarm aggregation amount threshold value, continuing to execute the step of acquiring the liquid data sequence of a plurality of time periods; if the liquid aggregation amount is smaller than the alarm aggregation amount threshold value, alarming according to the stability of the liquid aggregation amount; if the liquid aggregation amount is not increased, the step of acquiring the liquid data sequences of a plurality of time intervals is continuously executed.
7. The device of claim 6, wherein the processing module is specifically configured to determine whether the liquid accumulation is stable; if the liquid aggregation amount is stable, alarming is carried out; and if the liquid aggregation amount is unstable, respectively executing corresponding operations by using the acquisition module, the pretreatment module and the processing module.
8. The device according to claim 7, wherein the processing module is specifically configured to obtain a variation of the liquid accumulation amount within a preset time period; if the variation of the liquid aggregation amount in the preset time is larger than or equal to a preset floating amount threshold value, determining that the liquid aggregation amount is unstable; and if the variation of the liquid aggregation amount in the preset time is smaller than the floating amount threshold value, determining that the liquid aggregation amount is stable.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910469949.9A 2019-05-31 2019-05-31 Liquid overproof early warning method and device, computer equipment and storage medium Active CN110208335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910469949.9A CN110208335B (en) 2019-05-31 2019-05-31 Liquid overproof early warning method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910469949.9A CN110208335B (en) 2019-05-31 2019-05-31 Liquid overproof early warning method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110208335A CN110208335A (en) 2019-09-06
CN110208335B true CN110208335B (en) 2022-08-30

Family

ID=67789952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910469949.9A Active CN110208335B (en) 2019-05-31 2019-05-31 Liquid overproof early warning method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110208335B (en)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155353A (en) * 1982-03-11 1983-09-16 Nikkiso Co Ltd Apparatus for continuously measuring electrolyte in urine
US7642396B2 (en) * 2005-08-31 2010-01-05 Kimberly-Clark Worldwide, Inc. Method and device for detecting the presence of multiple insults in an absorbent article
AU2011384251B2 (en) * 2011-12-23 2015-07-16 Essity Hygiene And Health Aktiebolag Method for detecting a liquid discharge to an absorbent article
US20140266735A1 (en) * 2013-03-14 2014-09-18 Nicolas A. Riggio Wireless diaper alarm system
CN105125348B (en) * 2014-06-05 2022-10-14 北京大学 A kind of intelligent urine wet alarm method and system
CN104224448A (en) * 2014-08-17 2014-12-24 深圳市爱杰特医药科技有限公司 Diaper monitoring detection strip, diaper monitor and early warning monitoring diaper
US20160120455A1 (en) * 2014-11-04 2016-05-05 Stichting Imec Nederland Method for monitoring incontinence
CN105662670B (en) * 2016-01-11 2018-04-27 广东小天才科技有限公司 Method, device, equipment and system for detecting whether breast feeding is sufficient
CN105699448B (en) * 2016-01-14 2018-02-06 京东方科技集团股份有限公司 A kind of urine detection method and urine detector
JP6716336B2 (en) * 2016-05-17 2020-07-01 花王株式会社 Urination dynamic analysis device
CN107255654B (en) * 2017-05-26 2021-04-13 李涛 Method and device for detecting liquid of paper diaper
CN110621265B (en) * 2017-05-30 2021-10-08 花王株式会社 Care Plan Advice Device
CN207215745U (en) * 2017-10-17 2018-04-10 湖南科技学院 A kind of diaper urine detector
CN109303645A (en) * 2018-11-07 2019-02-05 何泽熹 A kind of intelligent diaper of the multiple prompting function of band
CN109700602B (en) * 2019-01-31 2024-04-12 深圳和而泰智能家电控制器有限公司 Paper diaper sensor and urine detection method

Also Published As

Publication number Publication date
CN110208335A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
JP5993030B2 (en) Method for detecting liquid discharge to an absorbent article
KR102543921B1 (en) Method for estimating battery life for a mobile device based on relaxation voltages
JP2017521670A (en) Weighing scale diagnosis method
CN109060899B (en) Method, device and equipment for compensating measurement result of electrochemical sensor
US10573936B2 (en) Remaining battery life prediction device and battery pack
CN114064497B (en) Application testing method, device, computer equipment and storage medium
CN116027202A (en) Battery health evaluation method, device, computer equipment and storage medium
CN110208335B (en) Liquid overproof early warning method and device, computer equipment and storage medium
CN110364240A (en) Health data monitoring method, device, computer equipment and storage medium
CN119828032B (en) A method and device for detecting the health status of a battery
CN114781174A (en) Method, device and electronic device for predicting residual fatigue life of mechanical components
CN111179670B (en) Method and device for quantifying physical and electrical experiment result, terminal and storage medium
CN119833142A (en) Pressure distribution monitoring-based pressure sore risk early warning system, method and device
CN114112169A (en) Pressure detection circuit and blood analysis device
JPH11183418A (en) Gas measurement device
CN111735540A (en) A temperature measurement processing method, system and storage medium based on cloud storage
CN118067270A (en) Battery motherboard fault detection method, device, computer equipment and storage medium
CN116413611B (en) Self-discharge detection method, detection device and detection system thereof
EP4121758B1 (en) Information processor for diagnosing the state of a humidity sensor
CN119438911B (en) Method, system, equipment and medium for monitoring and early warning of battery self-discharge abnormality
CN112782642A (en) Voltage qualified rate recording method and device of double-core intelligent electric meter
CN116183877B (en) A power plant oil product full life cycle management system, method, device and storage medium based on oil quality degradation analysis
RU2592261C2 (en) Systems and methods of determining charge state
CN117906788A (en) Temperature calibration method and device for ammeter and electronic equipment
CN117017218A (en) Method, device, medium and terminal for intelligently detecting erection data

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
TA01 Transfer of patent application right

Effective date of registration: 20200409

Address after: 1706, Fangda building, No. 011, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen shuliantianxia Intelligent Technology Co.,Ltd.

Address before: 518051 Shenzhen Nanshan High-tech South District, Shenzhen City, Guangdong Province, No. 6 South Science and Technology 10 Road, Shenzhen Institute of Space Science and Technology Innovation Building, Block D, 10th Floor, 1003

Applicant before: SHENZHEN H & T HOME ONLINE NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant