CN118501378A - Automatic standard sample checking method and system for online monitoring of water pollution sources - Google Patents
Automatic standard sample checking method and system for online monitoring of water pollution sources Download PDFInfo
- Publication number
- CN118501378A CN118501378A CN202410527662.8A CN202410527662A CN118501378A CN 118501378 A CN118501378 A CN 118501378A CN 202410527662 A CN202410527662 A CN 202410527662A CN 118501378 A CN118501378 A CN 118501378A
- Authority
- CN
- China
- Prior art keywords
- standard sample
- time
- sample checking
- next day
- checking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012544 monitoring process Methods 0.000 title claims abstract description 32
- 238000003911 water pollution Methods 0.000 title claims abstract description 30
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 29
- 238000012795 verification Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 9
- 230000014509 gene expression Effects 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 10
- 239000000243 solution Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000007613 environmental effect Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000007689 inspection Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 239000002351 wastewater Substances 0.000 description 3
- 230000003203 everyday effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 238000003908 quality control method Methods 0.000 description 2
- 239000012086 standard solution Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000003153 chemical reaction reagent Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
- Y02A20/20—Controlling water pollution; Waste water treatment
Landscapes
- Automatic Analysis And Handling Materials Therefor (AREA)
Abstract
The application discloses an automatic standard sample checking method and system for online monitoring of a water pollution source, comprising the following steps: acquiring automatic calibration time, and judging whether an automatic calibration plan exists in the next day or not to obtain a first judgment result; generating random next day standard sample checking time according to the first judging result and the last standard sample checking time; when the next day standard sample checking time is reached, judging whether to issue a standard sample checking instruction or not, and obtaining a second judging result; and according to the second judging result, issuing the standard sample checking instruction to the automatic water quality analyzer, and executing standard sample checking. The method and the device for checking the standard sample by generating the standard sample checking instruction issued by the time whole point with strong randomness to the water quality automatic analyzer are beneficial to effectively reducing the risk of the enterprise for stealing and arranging in the checking period on the premise of not influencing the normal operation of the water quality automatic analyzer and meeting the standard requirement.
Description
Technical Field
The application relates to the technical field of computers, in particular to an automatic standard sample checking method and system for online monitoring of a water pollution source.
Background
The water pollution source on-line monitoring system is a system formed by software and hardware facilities for realizing the functions of wastewater flow monitoring, wastewater sample acquisition, wastewater sample analysis, analysis data statistics, uploading and the like, and the automatic standard sample checking is that the water pollution source on-line monitoring instrument automatically measures standard solution and automatically judges the accuracy of a measurement result. For standardizing the operation technical requirements of the water pollution source on-line monitoring system, the related regulations set the standard of the automatic standard sample checking period. In the actual implementation process, automatic standard sample checking is usually carried out by setting a fixed time whole point every day, the period is generally one hour, and during the period, the meter cannot carry out water sample testing and is in danger of air theft.
Disclosure of Invention
The embodiment of the application mainly aims to provide an automatic standard sample checking method and system for online monitoring of a water pollution source, and aims to generate the standard sample checking time with high effectiveness and good randomness so as to prevent theft and arrangement.
In order to achieve the above object, an aspect of the embodiments of the present application provides an automatic standard sample checking method for online monitoring of a water pollution source, the method comprising:
acquiring automatic calibration time, and judging whether an automatic calibration plan exists in the next day or not to obtain a first judgment result;
Generating random next day standard sample checking time according to the first judging result and the last standard sample checking time;
when the next day standard sample checking time is reached, judging whether to issue a standard sample checking instruction or not, and obtaining a second judging result;
and according to the second judging result, issuing the standard sample checking instruction to the automatic water quality analyzer, and executing standard sample checking.
In some embodiments, the obtaining the auto-calibration time, determining whether there is an auto-calibration plan on the next day, and obtaining the first determination result includes:
acquiring automatic calibration time configured in the environment-friendly data acquisition instrument;
or acquiring the automatic calibration time configured in the automatic water quality analyzer;
and judging whether an automatic calibration plan exists in the next day according to the automatic calibration time, and obtaining a first judgment result.
In some embodiments, the generating a random next day standard sample checking time according to the first determination result and the last standard sample checking time includes:
when there is no auto-calibration plan the next day:
randomly taking an integer from 0 point to 24 points on the natural day to obtain candidate standard sample checking time;
comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
And when the time difference is smaller than or equal to a preset time threshold, returning to the step of executing the random integer taking between 0 point and 24 points on the natural day to obtain the candidate standard sample checking time, and taking the candidate standard sample checking time as the next day standard sample checking time until the time difference is larger than the time threshold.
In some embodiments, the generating a random next day standard sample checking time according to the first determination result and the last standard sample checking time includes:
When the automatic calibration plan exists in the next day and the calibration starting time is not 22 points or 23 points, determining the whole point after the calibration completion time as the next day standard sample checking time;
When an automatic calibration plan exists in the next day and the calibration starting time is 22 points or 23 points, randomly taking an integer from 0 point to 21 points in the natural day to obtain candidate standard sample checking time;
comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
When the time difference is smaller than or equal to a preset time threshold, returning to execute the step of randomly taking an integer between 0 point and 21 points on the natural day to obtain candidate standard sample checking time, and taking the candidate standard sample checking time as the next day standard sample checking time until the time difference is larger than the time threshold;
and determining the whole point after the calibration completion time as the third day standard sample checking time.
In some embodiments, the step of randomly taking an integer to obtain a candidate standard verification time includes:
generating a first sequence of integers by a recursive formula;
performing integer division on the first integer sequence to obtain a random number sequence;
Randomly selecting the random number sequence through a rand function to obtain candidate standard sample checking time;
the expression of the recursive formula is:
z[k]=(az[k-1]+c)modη
wherein z [k] is the first integer sequence; η, a and c are all preset non-integers; k is an ordinal number.
In some embodiments, when the time for checking the next day standard sample is reached, determining whether to issue a standard sample checking instruction, to obtain a second determination result, including:
When the time and date of the last standard sample check are the same day, configuring the second judging result to cancel the standard sample check;
And when the last standard sample checking time is the previous day, configuring the second judging result as a issuing standard sample checking instruction.
In some embodiments, the method further comprises:
And collecting a standard sample checking result, and uploading the standard sample checking result to a monitoring center platform.
To achieve the above object, another aspect of the embodiments of the present application provides an automatic standard sample checking system for online monitoring of a water pollution source, the system comprising:
The first module is used for acquiring automatic calibration time and judging whether an automatic calibration plan exists in the next day or not to obtain a first judgment result;
The second module is used for generating random next day standard sample checking time according to the first judging result and the last standard sample checking time;
The third module is used for judging whether to issue a standard sample checking instruction when the next day standard sample checking time is reached, so as to obtain a second judging result;
and the fourth module is used for issuing the standard sample checking instruction to the automatic water quality analyzer according to the second judging result and executing standard sample checking.
To achieve the above object, another aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor implements the method described above when executing the computer program.
To achieve the above object, another aspect of the embodiments of the present application proposes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method described above.
The embodiment of the application at least comprises the following beneficial effects: the application provides an automatic standard sample checking method and system for online monitoring of a water pollution source, wherein the scheme is beneficial to effectively reducing the risk of stealing and arranging an enterprise in a checking period on the premise of not influencing the normal operation of the automatic water quality analyzer and meeting the standard requirement by generating a standard sample checking instruction issued to the automatic water quality analyzer at a time whole point with strong randomness.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate and do not limit the application.
FIG. 1 is a step diagram of an automatic standard sample checking method for online monitoring of a water pollution source, which is provided by an embodiment of the application;
FIG. 2 is a schematic illustration of an automated verification device interaction provided by an embodiment of the present application;
FIG. 3 is a detailed flowchart of a method for checking a standard sample according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an automatic standard sample checking system for online monitoring of a water pollution source according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the application, but are merely examples of apparatuses and methods consistent with aspects of embodiments of the application as detailed in the accompanying claims.
Although functional block diagrams are depicted in system diagrams, logical orders of magnitude are depicted in flowchart form, in some cases, the steps shown or described may be performed in a different order than the block diagrams in the system. The terms first/S100, second/S200, and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
It is to be understood that the terms "first," "second," and the like, as used herein, may be used to describe various concepts, but are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present application. The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
The terms "at least one", "a plurality", "each", "any" and the like as used herein, at least one includes one, two or more, a plurality includes two or more, each means each of the corresponding plurality, and any one means any of the plurality.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
Before describing embodiments of the present application in detail, some of the terms and expressions that are referred to in the embodiments of the present application will be described first, and the terms and expressions that are referred to in the embodiments of the present application are applicable to the following explanation.
Automatic standard sample checking: the water pollution source on-line monitoring instrument automatically measures standard solution and automatically judges the accuracy of a measurement result.
In the actual implementation of online monitoring of water pollution sources, automatic standard sample checking is usually performed by setting a fixed time integral point every day, and during this period, the meter cannot perform water sample testing. If a pollution discharge enterprise grasps the period of automatic standard sample checking, the risk of illegal discharge of the pollution discharge enterprise exists.
In view of the above, the embodiment of the application provides a method and a system for checking a standard sample for online monitoring of a water pollution source, which generate a time whole point with strong randomness through an upper computer and issue a standard sample checking instruction to a water quality automatic analyzer for checking the standard sample, thereby being beneficial to effectively reducing the risk of the enterprise for stealing arrangement in a checking period on the premise of not influencing the normal operation of the water quality automatic analyzer and meeting the standard requirement.
The embodiment of the application provides an automatic standard sample checking method for online monitoring of a water pollution source, relates to the technical field of computers, and can be applied to the field of online monitoring of the pollution source. The automatic standard sample checking method for online monitoring of the water pollution source provided by the embodiment of the application can be applied to a terminal, a server and software running in the terminal or the server. In some embodiments, the terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, and the like; the server side can be configured as an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can be configured as a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligence platforms, and the server can also be a node server in a blockchain network; the software may be an application of an automatic standard sample checking method for realizing on-line monitoring of a water pollution source, etc., but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Fig. 1 is an optional step diagram of an automatic standard sample checking method for online monitoring of a water pollution source according to an embodiment of the present application, and the method in fig. 1 may include, but is not limited to, steps S100 to S400.
Step S100, obtaining automatic calibration time, judging whether an automatic calibration plan exists in the next day, and obtaining a first judgment result.
And step 200, generating random next day standard sample checking time according to the first judging result and the last standard sample checking time.
And step S300, judging whether to issue a standard sample checking instruction when the next day standard sample checking time is reached, and obtaining a second judging result.
And step 400, issuing the standard sample checking instruction to the automatic water quality analyzer according to the second judging result, and executing standard sample checking.
The steps S100 to S400 shown in the embodiment of the application send the standard sample checking instruction to the automatic water quality analyzer for standard sample checking by generating the time whole point with strong randomness, thereby being beneficial to effectively reducing the risk of the enterprise for stealing and arranging in the checking period on the premise of not influencing the normal operation of the automatic water quality analyzer and meeting the standard requirement.
In some embodiments, step S100 may include, but is not limited to, steps S110-S130:
step S110, obtaining automatic calibration time configured in an environment-friendly data acquisition instrument;
step S120, or acquiring automatic calibration time configured in the automatic water quality analyzer;
step S130, judging whether an automatic calibration plan exists in the next day according to the automatic calibration time, and obtaining a first judgment result.
In some embodiments, when there is no auto-calibration plan the next day, step S200 may include, but is not limited to including steps S210-S230:
step S210, randomly taking an integer from 0 point to 24 points on the natural day to obtain candidate standard sample checking time;
Step S220, comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
And step S230, when the time difference is smaller than or equal to a preset time threshold, returning to the step S210 until the time difference is larger than the time threshold, and taking the candidate standard sample checking time as the next day standard sample checking time.
In some embodiments, step S200 may further include the following steps S240-S280:
step S240, when the automatic calibration plan exists in the next day and the calibration starting time is not 22 points or 23 points, determining the whole point after the calibration completion time as the next day standard sample checking time;
step S250, when an automatic calibration plan exists in the next day and the calibration starting time is 22 points or 23 points, randomly taking an integer from 0 point to 21 points in the natural day to obtain candidate standard sample checking time;
Step S260, comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
Step S270, when the time difference is smaller than or equal to a preset time threshold, returning to execute the step of randomly taking an integer from 0 point to 21 points of the natural day when the automatic calibration time of the next day does not exist, and obtaining a candidate standard sample checking time until the time difference is larger than the time threshold, wherein the candidate standard sample checking time is taken as the next day standard sample checking time;
and step S280, determining the whole point after the calibration completion time as the third day standard sample checking time.
In the specific step of step S200 in some embodiments, the step of randomly taking an integer to obtain the candidate standard sample checking time may include the following steps 1 to 4:
1. generating a first sequence of integers by a recursive formula;
2. performing integer division on the first integer sequence to obtain a random number sequence;
3. randomly selecting the random number sequence through a rand function to obtain candidate standard sample checking time;
4. The expression of the recursive formula is:
z[k]=(az[k-1]+c)modη
wherein z [k] is the first integer sequence; η, a and c are all preset non-integers; k is ordinal number, k=0, 1,2, ….
In some embodiments, step S300 may include the following steps S310-S200:
Step S310, when the date of the last standard sample checking time is the same day, configuring the second judging result to cancel the standard sample checking;
Step S320, when the previous standard sample checking time is the previous day, configuring the second determination result as a issuing standard sample checking instruction.
In addition, in some embodiments, the embodiment of the present application may further include step S500: and collecting a standard sample checking result, and uploading the standard sample checking result to a monitoring center platform.
The following describes and describes the scheme of the embodiment of the application in detail by combining with the specific automatic standard sample checking scene application example of the online monitoring of the water pollution source:
The embodiment of the application provides an automatic standard sample checking method for online monitoring of a water pollution source, which can be applied to automatic standard sample checking for online monitoring of the water pollution source so as to effectively prevent enterprises from stealing and arranging in a checking period.
Referring to fig. 2 and 3, fig. 2 is a schematic diagram illustrating an interaction of an automatic standard sample checking device, and fig. 3 is a detailed flow chart illustrating a standard sample checking method according to an embodiment of the present application. The automatic calibration time comprises two parameters of the date and time of calibration and the calibration interval, and can be obtained by the environment-friendly data acquisition instrument in different modes according to actual application scenes:
① The automatic calibration time is configured on the environmental protection data acquisition instrument and can be directly acquired;
② The automatic calibration time is configured on the automatic water quality analyzer and can be obtained by reading corresponding parameter information in a protocol of the automatic water quality analyzer.
According to the calibration start time and the calibration interval of the acquired automatic calibration time of the next day, the calibration end time can be calculated and used for determining the standard sample checking time later. Further, according to the acquired automatic calibration time of the next day and the last standard sample checking time, generating random standard sample checking time of the next day. Illustratively, the generation of the next day standard verification time may be three cases (4 hours for example as the time threshold):
(1) When the automatic calibration plan does not exist in the next day, randomly taking an integer between 0-24 points on the natural day by a computer code program on the environmental protection data acquisition instrument to obtain candidate standard sample checking time, judging the time difference between the candidate standard sample checking time and the last standard sample checking time, randomly taking the integer again between 0-24 points on the natural day when the time difference is less than or equal to 4 hours, updating the candidate standard sample checking time until the time difference of the standard sample checking is more than 4 hours, and taking the candidate standard sample checking time as the next day standard sample checking time.
(2) When an automatic calibration plan exists on the next day and the calibration start time is not 22 or 23 points, the time point after the completion of the calibration is fixed as the next day standard sample check time when the next day standard sample check time is generated.
(3) When an automatic calibration plan exists on the next day and the calibration starts at 22 or 23 points, the standard sample check time on the next day is generated as usual (i.e., generated by the first case but taken by an integer from 0 to 21 points), and when the third day standard sample check time is generated, it is fixed to the whole point after the calibration completion time (i.e., the third day 0 or 1 point). Meanwhile, randomly taking integers between 0-21 points on the natural day by a computer code program on the environmental protection data acquisition instrument to obtain candidate standard sample checking time, judging the time difference between the candidate standard sample checking time and the last standard sample checking time, randomly taking integers again between 0-21 points on the natural day when the time difference is less than or equal to 4 hours, updating the candidate standard sample checking time until the time difference of the standard sample checking is more than 4 hours, and taking the candidate standard sample checking time as the next day standard sample checking time.
In the above case, the random integer taking method is as follows:
Given the non-integers η, a and c, for any integer z [0], a sequence of integers z [k] is obtained by a recursive formula, called the first integer sequence, the expression of the recursive formula of this embodiment is:
z[k]=(az[k-1]+c)modη
The modulo symbol mod indicates that z [k] is the remainder of az [k-1] +c divided by η. Then dividing z [k] by η to obtain a sequence of random numbers:
The rand () function in ANSI C can be chosen to be used with its parameters set to a=1103515245, c=12345, η=2 31.
After obtaining the random number sequence, according to the value of the random seed, the value of the corresponding position of the random number sequence is taken out as the current output random number. The value of the random seed is different from the last time, and is the time stamp difference between the current execution time and the computer chip production time, and the unit is seconds.
The checking time of the standard sample in the next day is generated between 23:30 and 23:33 of the previous day by the environment-friendly data acquisition instrument software system, so that the standard sample checking work is ensured to be normally carried out. For example, the tomorrow's standard check time is generated at 23:30-23:33 of the evening today.
When the planned next day automatic standard sample checking time is reached, judging whether to issue a command by the environmental protection data acquisition instrument, and reading and judging the last standard sample checking time of the automatic water quality analysis by the environmental protection data acquisition instrument: when the last standard sample checking time is the previous day, issuing a standard sample checking instruction to the automatic water quality analyzer, and automatically executing checking work by the automatic water quality analyzer after receiving the standard sample checking instruction; when the last standard sample checking time is the same day, the standard sample checking instruction is canceled, and the standard sample checking time generation of the next day is not affected.
After receiving the issued standard sample checking instruction, the automatic water quality analyzer executes the standard sample checking instruction to perform standard sample checking work.
When the automatic water quality analyzer checks to obtain a standard sample checking result, the standard sample checking result is returned to the environmental protection data acquisition instrument, and the environmental protection data acquisition instrument uploads the standard sample checking result to the monitoring center platform.
In summary, the embodiment of the application has at least the following advantages:
1. The method and the device have the advantages that the upper computer generates a time whole point with strong randomness and issues the standard sample checking instruction to the water quality automatic analyzer for standard sample checking, so that the risk of the enterprise for stealing and arranging in the checking period is effectively reduced on the premise that the normal operation of the water quality automatic analyzer is not affected and the standard requirement is met.
2. The time interval between the candidate standard sample checking time and the last standard sample checking time is calculated and judged, so that the generated standard sample checking time meets the standard requirement, the excessively short time interval between the two standard sample checking times is avoided, and the resource waste is avoided.
3. By judging the automatic calibration time, the generated standard sample checking time is not overlapped with the automatic calibration time, and the related standard requirement is met. The standard sample is checked after the calibration, the calibration can be verified at the first time, the standard sample is checked twice on the same day which can be avoided, the measurement accuracy of the instrument can be improved, and the times of measuring the standard liquid, the usage amount of the reagent and the discharge amount of the waste liquid can be reduced.
4. Whether an instruction is issued or not is judged by the environment-friendly data acquisition instrument, and a special standard sample checking scene can be considered. For example, if a city prescribes "a quality control inspection instrument is started when standard exceeding data occurs", besides the prescribed automatic standard sample inspection per day, a quality control inspection link required by the standard exceeding exists, so that a phenomenon that the standard exceeding is repeated per day is possible, and unnecessary inspection times are reduced as far as possible on the premise of meeting the standard requirement. Moreover, there may be cases where the verification is not passed, for example, the verification is not passed, calibration and re-verification are performed, and the process is circulated until the verification is passed or the duration reaches 6 hours, and if the process is performed across natural days, the standard sample verification on the second day is not required to be repeated.
Referring to fig. 4, the embodiment of the present application further provides an automatic standard sample checking system 100 for online monitoring of a water pollution source, which can implement the above-mentioned automatic standard sample checking method for online monitoring of a water pollution source, and the system includes:
a first module 101, configured to obtain an automatic calibration time, determine whether an automatic calibration plan exists the next day, and obtain a first determination result;
a second module 102, configured to generate a random next day standard sample checking time according to the first determination result and a last standard sample checking time;
A third module 103, configured to determine whether to issue a standard sample checking instruction when the next day standard sample checking time is reached, so as to obtain a second determination result;
And a fourth module 104, configured to issue the standard sample checking instruction to the automatic water quality analyzer according to the second determination result, and perform standard sample checking.
It can be understood that the content in the above method embodiment is applicable to the system embodiment, and the functions specifically implemented by the system embodiment are the same as those of the above method embodiment, and the achieved beneficial effects are the same as those of the above method embodiment.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the automatic standard sample checking method for the online monitoring of the water pollution source when executing the computer program. The electronic equipment can be any intelligent terminal including a tablet personal computer, a vehicle-mounted computer and the like.
It can be understood that the content in the above method embodiment is applicable to the embodiment of the present apparatus, and the specific functions implemented by the embodiment of the present apparatus are the same as those of the embodiment of the above method, and the achieved beneficial effects are the same as those of the embodiment of the above method.
Referring to fig. 5, fig. 5 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
The processor 201 may be implemented by a general purpose CPU (Central Processing Unit ), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solution provided by the embodiments of the present application;
The Memory 202 may be implemented in the form of a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a random access Memory (Random Access Memory, RAM). The memory 202 may store an operating system and other application programs, and when the technical solution provided in the embodiments of the present disclosure is implemented by software or firmware, relevant program codes are stored in the memory 202, and the processor 201 invokes an automatic standard sample checking method for performing online monitoring of a water pollution source according to the embodiments of the present disclosure;
an input/output interface 203 for implementing information input and output;
The communication interface 204 is configured to implement communication interaction between the device and other devices, and may implement communication in a wired manner (e.g. USB, network cable, etc.), or may implement communication in a wireless manner (e.g. mobile network, WIFI, bluetooth, etc.);
a bus 205 for transferring information between various components of the device (e.g., processor 201, memory 202, input/output interface 203, and communication interface 204);
wherein the processor 201, the memory 202, the input/output interface 203 and the communication interface 204 are communicatively coupled to each other within the device via a bus 205.
The embodiment of the application also provides a computer readable storage medium which stores a computer program, and the computer program realizes the automatic standard sample checking method for online monitoring of the water pollution source when being executed by a processor.
It can be understood that the content of the above method embodiment is applicable to the present storage medium embodiment, and the functions of the present storage medium embodiment are the same as those of the above method embodiment, and the achieved beneficial effects are the same as those of the above method embodiment.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by persons skilled in the art that the embodiments of the application are not limited by the illustrations, and that more or fewer steps than those shown may be included, or certain steps may be combined, or different steps may be included.
The system embodiments described above are merely illustrative, in that the units illustrated as separate components may or may not be physically separate, i.e., may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, e.g., the division of the above elements is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not thereby limiting the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.
Claims (10)
1. An automatic standard sample checking method for online monitoring of a water pollution source is characterized by comprising the following steps:
Acquiring automatic calibration time, and judging whether an automatic calibration plan exists in the next day or not to obtain a judging result;
generating random next day standard sample checking time according to the judging result and the last standard sample checking time;
when the next day standard sample checking time is reached, judging whether to issue a standard sample checking instruction or not, and obtaining a second judging result;
and according to the second judging result, issuing the standard sample checking instruction to the automatic water quality analyzer, and executing standard sample checking.
2. The method of claim 1, wherein the obtaining the auto-calibration time, determining whether the auto-calibration plan exists the next day, and obtaining the first determination result, comprises:
acquiring automatic calibration time configured in the environment-friendly data acquisition instrument;
or acquiring the automatic calibration time configured in the automatic water quality analyzer;
and judging whether an automatic calibration plan exists in the next day according to the automatic calibration time, and obtaining a first judgment result.
3. The method of claim 1, wherein generating a random next day standard sample verification time based on the first determination and a last standard sample verification time comprises:
when there is no auto-calibration plan the next day:
randomly taking an integer from 0 point to 24 points on the natural day to obtain candidate standard sample checking time;
comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
And when the time difference is smaller than or equal to a preset time threshold, returning to the step of executing the random integer taking between 0 point and 24 points on the natural day to obtain the candidate standard sample checking time, and taking the candidate standard sample checking time as the next day standard sample checking time until the time difference is larger than the time threshold.
4. The method of claim 1, wherein generating a random next day standard sample verification time based on the first determination and a last standard sample verification time comprises:
When the automatic calibration plan exists in the next day and the calibration starting time is not 22 points or 23 points, determining the whole point after the calibration completion time as the next day standard sample checking time;
When an automatic calibration plan exists in the next day and the calibration starting time is 22 points or 23 points, randomly taking an integer from 0 point to 21 points in the natural day to obtain candidate standard sample checking time;
comparing the candidate standard sample checking time with the last standard sample checking time to obtain a time difference;
When the time difference is smaller than or equal to a preset time threshold, returning to execute the step of randomly taking an integer between 0 point and 21 points on the natural day to obtain candidate standard sample checking time, and taking the candidate standard sample checking time as the next day standard sample checking time until the time difference is larger than the time threshold;
and determining the whole point after the calibration completion time as the third day standard sample checking time.
5. The method of claim 3 or 4, wherein the step of randomly taking an integer to obtain a candidate standard verification time comprises:
generating a first sequence of integers by a recursive formula;
performing integer division on the first integer sequence to obtain a random number sequence;
Randomly selecting the random number sequence through a rand function to obtain candidate standard sample checking time;
the expression of the recursive formula is:
z[k]=(az[k-1]+c)modη
wherein z [k] is the first integer sequence; η, a and c are all preset non-integers; k is an ordinal number.
6. The method according to claim 1, wherein when the next day standard sample checking time is reached, determining whether to issue a standard sample checking instruction, to obtain a second determination result, includes:
When the time and date of the last standard sample check are the same day, configuring the second judging result to cancel the standard sample check;
And when the last standard sample checking time is the previous day, configuring the second judging result as a issuing standard sample checking instruction.
7. The method according to claim 1, wherein the method further comprises:
And collecting a standard sample checking result, and uploading the standard sample checking result to a monitoring center platform.
8. An automatic standard sample checking system for online monitoring of a water pollution source, comprising:
The first module is used for acquiring automatic calibration time and judging whether an automatic calibration plan exists in the next day or not to obtain a first judgment result;
The second module is used for generating random next day standard sample checking time according to the first judging result and the last standard sample checking time;
The third module is used for judging whether to issue a standard sample checking instruction when the next day standard sample checking time is reached, so as to obtain a second judging result;
and the fourth module is used for issuing the standard sample checking instruction to the automatic water quality analyzer according to the second judging result and executing standard sample checking.
9. An electronic device comprising a processor and a memory;
The memory is used for storing programs;
the processor executing the program implements the method of any one of claims 1 to 7.
10. A computer storage medium in which a processor executable program is stored, characterized in that the processor executable program is for implementing the method according to any one of claims 1 to 7 when being executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410527662.8A CN118501378A (en) | 2024-04-29 | 2024-04-29 | Automatic standard sample checking method and system for online monitoring of water pollution sources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410527662.8A CN118501378A (en) | 2024-04-29 | 2024-04-29 | Automatic standard sample checking method and system for online monitoring of water pollution sources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118501378A true CN118501378A (en) | 2024-08-16 |
Family
ID=92232019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410527662.8A Pending CN118501378A (en) | 2024-04-29 | 2024-04-29 | Automatic standard sample checking method and system for online monitoring of water pollution sources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118501378A (en) |
-
2024
- 2024-04-29 CN CN202410527662.8A patent/CN118501378A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108829597B (en) | Software public testing method and device, computer device and readable storage medium | |
CN109309596B (en) | Pressure testing method and device and server | |
CN105357204B (en) | Method and device for generating terminal identification information | |
CN110007921B (en) | Code publishing method and device | |
CN109376534B (en) | Method and apparatus for detecting applications | |
CN114095567B (en) | Data access request processing method and device, computer equipment and medium | |
CN113485931B (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN111400170A (en) | Data permission testing method and device | |
CN114338102A (en) | Security detection method and device, electronic equipment and storage medium | |
CN110209582A (en) | The statistical method and device of code coverage, electronic equipment, storage medium | |
CN112422369B (en) | Method and device for determining offline time, storage medium and electronic device | |
CN104253737A (en) | Method and apparatus for measuring social channel propagation effect | |
CN112561690A (en) | Method, system, equipment and storage medium for testing credit card staging service interface | |
CN112052070A (en) | Application containerization evaluation method and device, electronic equipment and storage medium | |
CN118501378A (en) | Automatic standard sample checking method and system for online monitoring of water pollution sources | |
CN115119197B (en) | Wireless network risk analysis method, device, equipment and medium based on big data | |
CN110874310A (en) | Terminal behavior monitoring method and device, electronic equipment and storage medium | |
CN115408034A (en) | Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium | |
CN111143644B (en) | Identification method and device of Internet of things equipment | |
CN113806231A (en) | Code coverage rate analysis method, device, equipment and medium | |
CN108269004B (en) | Product life analysis method and terminal equipment | |
CN113760315A (en) | Method and device for testing system | |
CN111695012A (en) | Method and device for acquiring internet surfing information, electronic equipment and computer storage medium | |
CN109286659A (en) | A kind of games method for pushing, device, terminal and computer storage medium | |
CN113672483B (en) | Device log storage method and device, electronic device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |