CN110987742B - Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment - Google Patents

Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment Download PDF

Info

Publication number
CN110987742B
CN110987742B CN201911174896.4A CN201911174896A CN110987742B CN 110987742 B CN110987742 B CN 110987742B CN 201911174896 A CN201911174896 A CN 201911174896A CN 110987742 B CN110987742 B CN 110987742B
Authority
CN
China
Prior art keywords
control device
target control
target
time slice
information
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
CN201911174896.4A
Other languages
Chinese (zh)
Other versions
CN110987742A (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.)
Guangxi Guiwu Jinan Refrigeration And Air Conditioning Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201911174896.4A priority Critical patent/CN110987742B/en
Publication of CN110987742A publication Critical patent/CN110987742A/en
Application granted granted Critical
Publication of CN110987742B publication Critical patent/CN110987742B/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
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F1/00Treatment of water, waste water, or sewage
    • C02F1/008Control or steering systems not provided for elsewhere in subclass C02F
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/18Water
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • G01N2015/0687Investigating concentration of particle suspensions in solutions, e.g. non volatile residue

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Immunology (AREA)
  • General Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • Software Systems (AREA)
  • Analytical Chemistry (AREA)
  • Automation & Control Theory (AREA)
  • Dispersion Chemistry (AREA)
  • Organic Chemistry (AREA)
  • Water Supply & Treatment (AREA)
  • Environmental & Geological Engineering (AREA)
  • Hydrology & Water Resources (AREA)
  • General Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The method can switch the detection equipment from the current control equipment side to the target control equipment side based on the current time slice thread when the storage space of the current control equipment side is saturated, the switching is performed based on the current time slice thread, the first target control equipment can acquire the current time slice thread in real time based on an information transfer communication channel, and continuously acquire signals acquired by the detection equipment on the basis of the current time slice thread, so that the signals acquired by the detection equipment can be transferred to the target control equipment side in a synchronous and complete time slice thread form when the detection equipment is switched from the current control equipment side to the target control equipment side, missing detection of signals generated by switching the control equipment under the condition that the detection equipment continuously works is avoided, and the detection accuracy of a sewage control detection method is ensured.

Description

Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment
Technical Field
The application relates to the technical field of sewage treatment, in particular to a method, a device and computer equipment for controlling and detecting the content of suspended matters in sewage treatment.
Background
Along with the development of society, the trend of city centralization and centralization is more and more obvious, and meanwhile, the sewage generated by the production and the life of cities seriously influences the cleanness of the cities and the health of people, so that the sewage of the cities needs to be effectively treated.
The sewage treatment is an effective process method for various economic, reasonable, scientific and industrial waste water of urban domestic sewage. Sewage treatment is widely applied to various fields such as buildings, agriculture, traffic, energy, petrifaction, environmental protection, urban landscape, medical treatment, catering and the like.
Common sewage treatment methods can be classified into various categories, for example, physical methods, chemical methods, physicochemical methods, and biological methods. The treated sewage can be discharged only when the treated sewage is detected, namely the contents of various indexes in the sewage reach the standard, so that the control and detection of the contents of the indexes in the sewage are very necessary in the sewage treatment process. However, the detection accuracy of the common control detection method for sewage is low, and the phenomenon of missed detection is easy to occur.
Disclosure of Invention
The specification provides a control detection method, a control detection device and computer equipment for suspended matter content in sewage treatment, and aims to solve or partially solve the technical problems that an existing control detection method for sewage is low in detection accuracy and prone to detection omission.
In order to solve the technical problem, the embodiment of the specification discloses a method for controlling and detecting the content of suspended matters in sewage treatment, which is applied to current control equipment, and comprises the following steps:
when a detection device is switched from the current control device side to a target control device side, determining a time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side and a first target control device for recording the current time slice thread of the signal acquisition protocol in the detection device at the target control device side;
when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and the streaming data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device in the central processing unit of the target control device side is an overload state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device;
acquiring a first verification identifier allocated to a current time slice thread of a signal acquisition protocol in the detection equipment by the first target control equipment, sending the first verification identifier to a time slice thread management unit in central control equipment, and acquiring a second verification identifier allocated to the first target control equipment from the time slice thread management unit;
and sending the second verification identifier to the first target control device, so that an information transfer communication channel is established between the first target control device and the time slice thread management unit, wherein the information transfer communication channel is used for transmitting the current time slice thread of the signal acquisition protocol in the detection device.
In an optional manner, before the detecting device is switched from the current control device side to the target control device side, the method further includes:
receiving nonlinear signals which are collected by the detection equipment from sewage to be detected and used for representing the content of suspended matters in the sewage to be detected according to a set time interval, and caching the nonlinear signals in a stacking mode;
extracting first characteristic information of each buffered nonlinear signal;
converting the signal amplitude and the moment of each cached nonlinear signal into target data in a set format; wherein the set format is a binary format;
processing all target data obtained by conversion based on a preset matching stack, and determining local data of each target data in all the target data in the processing process based on the preset matching stack; extracting second characteristic information corresponding to each local data;
integrating the cached first characteristic information of each nonlinear signal and the cached second characteristic information corresponding to the local data of the target data corresponding to each nonlinear signal to obtain a speed-up permission list;
if the cached first characteristic information of each nonlinear signal is downlink characteristic information, matching the cached first characteristic information of each nonlinear signal with the speed-up permission list, and setting a label for the successfully matched first characteristic information according to an index identifier corresponding to the speed-up permission list;
in a data link layer of the matching stack, comparing a label of first feature information which is successfully matched with an index identifier of the speed-up permission list, and modifying the first feature information which is compared with the index identifier of the speed-up permission list and successfully matched with the speed-up permission list to obtain third feature information;
storing the third characteristic information, deleting the nonlinear signals cached corresponding to each piece of stored third characteristic information, and adding one to a set count value; the set time interval is inversely related to the rate of increase of the set count value.
In an optional manner, before the detecting device is switched from the current control device side to the target control device side, the method further includes:
determining an acquisition identifier corresponding to the target characteristic information included in the stored third characteristic information; acquiring a plurality of target feature vectors of target feature information and an aggregation component corresponding to each target feature vector from the stored third feature information according to the acquisition identifier;
respectively compressing the aggregation components of the target characteristic information to obtain a plurality of compressed packets; respectively marking a corresponding trace back offset for each compressed packet, and generating a compressed packet carrying the trace back offset; storing each compressed packet carrying the tracing offset into a tracing unit corresponding to a tracing database;
when a target nonlinear signal corresponding to target feature information of the stored third feature information in a set time period needs to be restored, searching each dimension expansion data of the target feature information corresponding to each aggregation component contained in the set time period based on information stored in the tracing database aiming at the target feature information of the stored third feature information;
and obtaining a target nonlinear signal corresponding to the target characteristic information of the stored third characteristic information in the set time period according to each dimension extending data of the target characteristic information in the set time period.
In an optional manner, the method further comprises:
acquiring a modification instruction for modifying the set time interval;
and modifying the set time interval according to the modification instruction.
In an alternative form, the causing of the first target control device to establish an information transfer communication channel with the time slice thread management unit includes:
causing the first target control device to send a communication request to the time slice thread management unit;
obtaining communication request authentication information from the first target control device; the communication request verification information is sent to the first target control device by the time slice thread management unit on a communication record detection resource corresponding to at least one communication request, the communication request verification information corresponding to different communication record detection resources is subjected to interleaving coding by adopting different scrambling code vectors, and the scrambling code vectors are obtained by the time slice thread management unit according to the communication request;
according to the communication request verification information, the first target control device is enabled to send an information transfer communication channel establishment request to the time slice thread management unit, wherein the information transfer communication channel establishment request is used for indicating at least one piece of association detection information of the communication request verification information;
obtaining feedback information from the first target control device; wherein the feedback information corresponds to the association detection information of the at least one piece of communication request verification information, and the feedback information is sent to the first target control device by the time slice thread management unit according to the information transfer communication channel establishment request;
determining verification coordinate values respectively corresponding to the communication request, the communication request verification information, the information transfer communication channel establishment request, the association detection information and the feedback information from a preset relational database; the verification coordinate value is a two-dimensional coordinate, the abscissa of the verification coordinate value represents the moment, and the ordinate of the verification coordinate value represents the amplitude;
fitting all the verification coordinate values obtained by determination to obtain a verification curve; judging whether the first target control device and the time slice thread management unit meet a time linearity condition or not according to the verification curve; and when the first target control equipment and the time slice thread management unit meet a time linearity condition, enabling the first target control equipment and the time slice thread management unit to establish an information transfer communication channel.
In an alternative mode, the determining whether the first target control device and the time slice thread management unit satisfy a time linearity condition according to the verification curve includes:
judging whether at least two target coordinate values exist in all the verification coordinate values; wherein the abscissa of the at least two target coordinate values is the same and the ordinate is different;
if so, judging that the first target control equipment and the time slice thread management unit do not meet a time linear condition;
otherwise, the first target control device and the time slice thread management unit are judged to meet a time linearity condition.
In an optional manner, the method further comprises:
judging whether the acceleration exceeds a set threshold value or not;
and if the speed increase exceeds the set threshold, stopping storing the third characteristic information and deleting the cached nonlinear signal.
The embodiment of the specification discloses a control detection device of suspended solid content in sewage treatment, is applied to current control equipment, the device includes:
the device comprises a determining module, a first target control device and a second target control device, wherein the determining module is used for determining the time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side and the first target control device is used for recording the current time slice thread of the signal acquisition protocol in the detection device at the target control device side when the detection device is switched from the current control device side to a target control device side;
when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and stream data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an unarmed state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the plurality of target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device;
a verification identifier obtaining module, configured to obtain a first verification identifier that is allocated by the first target control device to a current time slice thread of a signal acquisition protocol in the detection device, send the first verification identifier to a time slice thread management unit in a central control device, and obtain a second verification identifier that is allocated to the first target control device from the time slice thread management unit;
and the information transfer communication channel establishing module is used for sending the second verification identifier to the first target control device so as to establish an information transfer communication channel between the first target control device and the time slice thread management unit, wherein the information transfer communication channel is used for transmitting the current time slice thread of the signal acquisition protocol in the detection device.
The present specification discloses a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above method.
The embodiment of the specification discloses a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the method.
Through one or more technical schemes of this description, this description has following beneficial effect or advantage:
the method, the apparatus, and the computer device for controlling and detecting the content of suspended matter in sewage processing disclosed in the embodiments of the present specification can determine a time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in a detection device on a target control device side and a first target control device on the target control device side for recording the current time slice thread when the detection device is switched from the current control device side to the target control device side, further determine the first target control device according to whether the time slice thread occupation state is an overload state, then determine a second verification identifier based on the obtained first verification identifier, enable the first target control device to establish an information transfer communication channel based on the second verification identifier and a time slice thread management unit, and thus, when a storage space of the control device on the current control device side is saturated, switch the detection device from the current control device side to the target control device side based on the current time slice thread, and switch the first target control device based on the current time slice thread, thereby ensuring that the detection device can continuously switch a detection signal acquisition on the current time slice thread, and thus ensuring the detection accuracy of the detection device.
The above description is only an outline of the technical means of the present specification, and the embodiments of the present specification are described below in order to make the technical means of the present specification more clearly understood, and to make the above and other objects, features, and advantages of the present specification more clearly understood.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the specification. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flow chart illustrating a method for controlling and detecting the content of suspended matters in sewage treatment according to an embodiment of the present disclosure.
Fig. 2 shows a functional block diagram of a device for controlling and detecting the content of suspended matters in sewage treatment according to an embodiment of the present disclosure.
FIG. 3 illustrates a schematic diagram of a computer device, according to one embodiment of the present description.
An icon:
20-a device for controlling and detecting the content of suspended matters in sewage treatment; 21-a determination module; 22-a verification identity obtaining module; 23-an information transfer communication channel establishment module; 24-a throughput module; 25-a reduction module; modification module 26.
30-a computer device; 300-a bus; 301-a receiver; 302-a processor; 303-a transmitter; 304-a memory; 305-bus interface.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The inventor has found through investigation and analysis that, because the detection of the content of suspended matters in sewage treatment needs to be continuously detected in real time, and in order to ensure the real-time performance of the detection result, the detection device and the control device for processing the signals acquired by the detection device are usually arranged nearby, but the storage space of the control device is limited, when the storage space of the original control device for storing the information corresponding to the signals acquired by the detection device is saturated, the original control device needs to be replaced by a new control device, but the common method for replacing the original control device does not consider the consistency of time slice threads among the detection device, the original control device and the new control device, and the detection of the content of suspended matters in sewage treatment by the detection device is continuous, which results in that the synchronization of the time slice threads among the detection device, the original control device and the new control device cannot be realized in the replacement process, thereby the missed detection of the signals occurs when the control device is switched, and the detection accuracy is seriously affected.
The above prior art solutions have shortcomings which are the results of practical and careful study of the inventor, and therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present invention to the above problems should be the contribution of the inventor to the present invention in the course of the present invention.
In view of this, the embodiments of the present specification provide a method, an apparatus, and a computer device for controlling and detecting the content of suspended matters in sewage treatment, so as to solve or partially solve the technical problems that the existing control and detection method for sewage has low detection accuracy and is prone to detection omission.
In order to solve the technical problems, an embodiment of the present specification provides a method, an apparatus and a computer device for controlling and detecting the content of suspended solids in sewage treatment, which have the following general ideas:
when a detection device is switched from the current control device side to a target control device side, determining a time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side and a first target control device used for recording the current time slice thread of the signal acquisition protocol in the detection device at the target control device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and the streaming data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an unarmed state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the plurality of target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device; acquiring a first verification identifier allocated to a current time slice thread of a signal acquisition protocol in the detection equipment by the first target control equipment, sending the first verification identifier to a time slice thread management unit in central control equipment, and acquiring a second verification identifier allocated to the first target control equipment from the time slice thread management unit; and sending the second verification identifier to the first target control device so as to establish an information transfer communication channel between the first target control device and the time slice thread management unit, wherein the information transfer communication channel is used for transmitting a current time slice thread of a signal acquisition protocol in the detection device.
Therefore, when the storage space of the control equipment on the current control equipment side is saturated, the detection equipment can be switched to the target control equipment side from the current control equipment side based on the current time slice thread, and the switching is performed based on the current time slice thread, so that the first target control equipment can acquire the current time slice thread in real time based on the information transfer communication channel and continuously acquire the signals acquired by the detection equipment on the basis of the current time slice thread, the signals acquired by the detection equipment can be transferred to the target control equipment side in a synchronous and complete time slice thread form when the detection equipment is switched to the target control equipment side from the current control equipment side, the missing detection of signals generated by switching the control equipment under the condition that the detection equipment continuously works is avoided, and the detection accuracy of the control detection method for sewage is ensured.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
As an alternative embodiment, please refer to fig. 1, which is a flowchart of a method for controlling and detecting a content of suspended matters in sewage treatment provided in an embodiment of the present disclosure, the method is applied to a current control device, wherein the current control device is communicatively connected to a detection device and at least one target control device on a target control device side, and the method may include the following steps:
s21, when the detection equipment is switched from the current control equipment side to the target control equipment side, determining the time slice thread occupation state of the central processing unit of the current time slice thread of the signal acquisition protocol in the detection equipment at the target control equipment side and first target control equipment which is used for recording the current time slice thread of the signal acquisition protocol in the detection equipment at the target control equipment side.
S22, acquiring a first verification identifier distributed by the first target control device for a current time slice thread of a signal acquisition protocol in the detection device, sending the first verification identifier to a time slice thread management unit in the central control device, and acquiring a second verification identifier distributed for the first target control device from the time slice thread management unit.
And S23, sending the second verification identifier to the first target control device so as to establish an information transfer communication channel between the first target control device and the time slice thread management unit, wherein the information transfer communication channel is used for transmitting the current time slice thread of the signal acquisition protocol in the detection device.
In S21, when a time slice thread occupancy state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side is an overload state, the first target control device is at least one target control device to which stream data of the current time slice thread is transferred at the target device side. When the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device in the central processing unit of the target control device side is the non-overload state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the plurality of target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device.
Through S21-S23, when the storage space of the control device on the current control device side is saturated, the detection device can be switched from the current control device side to the target control device side based on the current time slice thread, and because the switching is performed based on the current time slice thread, the first target control device can acquire the current time slice thread in real time based on the information transfer communication channel and continuously acquire the signals acquired by the detection device on the basis of the current time slice thread, so that the signals acquired by the detection device can be transferred to the target control device side in a synchronous and complete time slice thread form when the detection device is switched from the current control device side to the target control device side, the missing detection of signals generated by switching the control device under the condition that the detection device continuously works is avoided, and the detection accuracy of the control detection method for sewage is ensured.
In addition, after acquiring the current time slice thread of the signal acquisition protocol in the detection device, the first target control device may acquire a corresponding acquisition signal from the current control device based on the current time slice thread, thereby implementing synchronous and continuous uninterrupted transfer of the acquisition signal.
In specific implementation, the detection device is disposed in the sewage to be treated, the current control device receives a nonlinear signal sent by the detection device and used for representing the content of suspended matters in the sewage to be treated, and due to more parameter indexes of the nonlinear signal, if the nonlinear signal is directly treated, the treatment delay may be caused: when the processing of the current nonlinear signal is not completed, if the detection device transmits the subsequent nonlinear signal, the nonlinear signal is likely to be blocked, thereby causing a problem of missing detection, and for this reason, in S21, before the detection device is switched from the current control device side to the target control device side, the following may be further included:
and S241, receiving nonlinear signals which are collected by the detection equipment from the sewage to be detected and used for representing the content of suspended matters in the sewage to be detected according to a set time interval, and caching the nonlinear signals in a stacking mode.
S242, extracting the first characteristic information of each of the buffered nonlinear signals.
S243, converting the signal amplitude and time of each buffered nonlinear signal into target data in a set format.
Wherein the set format is a binary format.
And S244, processing all the target data obtained by conversion based on a preset matching stack, determining local data of each target data in all the target data in the processing process based on the preset matching stack, and extracting second characteristic information corresponding to each local data.
And S245, integrating the cached first characteristic information of each nonlinear signal and the cached second characteristic information corresponding to the local data of the target data corresponding to each nonlinear signal to obtain an acceleration authority list.
S246, if the cached first feature information of each nonlinear signal is the downlink feature information, matching the cached first feature information of each nonlinear signal with the speed-up permission list, and setting a tag for the successfully matched first feature information according to the index identifier corresponding to the speed-up permission list.
And S247, in a data link layer of the matching stack, comparing the label of the first feature information successfully matched with the index identifier of the speed-up permission list, and modifying the first feature information which is compared with the index identifier of the speed-up permission list and successfully matched with the speed-up permission list to obtain third feature information.
S248, the third feature information is stored, the non-linear signal buffered corresponding to each stored third feature information is deleted, and the set count value is incremented by one.
In S248, the set time interval and the rate increase of the set count value are inversely correlated.
Through S241-S248, a plurality of nonlinear signals can be buffered, the first characteristic information of each buffered nonlinear signal is processed, the first characteristic information of each buffered nonlinear signal and the second characteristic information corresponding to the local data of the target data corresponding to each cached nonlinear signal are integrated to obtain an acceleration permission list, the first characteristic information is matched and compared based on the acceleration permission list, so that the first characteristic information meeting the condition is modified into third characteristic information, the third characteristic information is stored, the third characteristic information not only can represent the nonlinear signal corresponding to the first characteristic information, but also occupies a small storage space, so that the processing path of the nonlinear signal is effectively shortened, the processing load of the current control device is reduced, more third characteristic information can be stored on the premise of the limited storage space of the current control device, the storage efficiency is improved, in addition, since the set time interval is a count value positively correlated to the set caching, when the set count value represents a larger linear count value, the linear count value representing a larger linear count value can be stored, the linear signal processing efficiency is improved, and the non-linear signal processing efficiency can be maximized.
On the basis of S241-S248, the following contents are included:
s2491, determines whether or not the acceleration rate exceeds a set threshold.
And S2492, if the acceleration rate exceeds the set threshold, stopping storing the third characteristic information and deleting the cached nonlinear signal.
In a specific implementation, the set threshold may be set according to the throughput of the current control device, and is not limited herein.
In specific implementation, if the speed increase exceeds a set threshold, it is characterized that an abnormal condition occurs in the throughput process of the current control device, and if the storage of the third feature information and the deletion of the cached nonlinear signal are not suspended at this time, the third feature information stored in the current control device and the deleted nonlinear signal may be misplaced and confused, so that the subsequent throughput process is affected, and as time goes on, the number of the misplaced and confused third feature information and nonlinear signal will increase more and more, so that the maintenance cost of the later maintenance is increased. Through S2491-S2492, the storage of the third characteristic information and the deletion of the cached nonlinear signal can be stopped in time when the handling process of the current control device is abnormal, on one hand, the omission of signal acquisition can be avoided, and on the other hand, the subsequent maintenance cost can be effectively reduced.
On the basis of S241-S248, the third characteristic information is "compressed" for storage, so that the storage efficiency of the current control device can be improved, on this basis, if a complete (partial) nonlinear signal corresponding to the third characteristic information needs to be obtained, the third characteristic information needs to be restored, and for this reason, before the detection device is switched from the current control device side to the target control device side, the embodiments of the present specification may further include the following:
and S251, determining an acquisition identifier corresponding to the target feature information included in the stored third feature information, and acquiring a plurality of target feature vectors of the target feature information and an aggregation component corresponding to each target feature vector from the stored third feature information according to the acquisition identifier.
S252, respectively compressing the aggregation components of the target characteristic information to obtain a plurality of compressed packets; respectively marking the corresponding trace back offset for each compressed packet, and generating a compressed packet carrying the trace back offset; and storing each compressed packet carrying the tracing offset into a corresponding tracing unit of a tracing database.
And S253, when the target nonlinear signal corresponding to the target characteristic information of the stored third characteristic information in the set time period needs to be restored, searching each dimension expansion data of the target characteristic information corresponding to each aggregation component contained in the set time period based on the information stored in the tracing database aiming at the target characteristic information of the stored third characteristic information.
And S254, according to each dimension extending data of the target characteristic information in the set time period, obtaining the target nonlinear signal corresponding to the target characteristic information of the stored third characteristic information in the set time period.
Through S251-S254, the compressed packet carrying the trace back offset can be obtained according to the multiple target feature vectors of the target feature information and the aggregation component corresponding to each target feature vector, and the compressed packet carrying the trace back offset is stored in the trace back unit corresponding to the trace back database, when the target feature information in the set time period needs to be restored, each extended dimension data of the target feature information corresponding to each aggregation component included in the set time period can be searched based on the information stored in the trace back database for the target feature information of the stored third feature information, and the target nonlinear signal corresponding to the target feature information in the set time period can be determined according to each extended dimension data, so that the trace back of the target nonlinear signal of the target feature information can be realized, and the complete restoration of the target feature information stored in a 'compressed' form is ensured, and since a complete nonlinear signal does not need to be stored, the operation efficiency of the current control device is improved.
On the basis of S251-S254, the following contents can be included:
s255, a modification instruction for modifying the set period is acquired.
And S256, modifying the set time interval according to the modification instruction.
Through S255-S256, the set time period can be flexibly modified, so that the target nonlinear signal can be flexibly traced, and the flexibility of restoring the target nonlinear signal is improved.
In S23, an information transfer communication channel is established between the first target control device and the time slice thread management unit, which specifically includes the following contents:
s231, the first target control device is caused to transmit a communication request to the slice thread management unit.
S232, communication request authentication information is acquired from the first target control device.
S233, according to the communication request authentication information, causes the first target control apparatus to transmit an information transfer communication channel establishment request to the slot thread management unit.
And S234, acquiring feedback information from the first target control device.
And S235, determining verification coordinate values respectively corresponding to the communication request, the communication request verification information, the information transfer communication channel establishment request, the association detection information and the feedback information from a preset relational database.
S236, fitting all the verification coordinate values obtained by determination to obtain a verification curve; judging whether the first target control equipment and the time slice thread management unit meet a time linear condition or not according to the verification curve; and when the first target control device and the time slice thread management unit meet the time linearity condition, enabling an information transfer communication channel to be established between the first target control device and the time slice thread management unit.
In S232, the communication request verification information is sent to the first target control device by the time slice thread management unit on the communication record detection resource corresponding to the at least one communication request, the communication request verification information corresponding to different communication record detection resources is interleaved and encoded by using different scrambling code vectors, and the scrambling code vectors are obtained by the time slice thread management unit according to the communication request.
In S233, the information transfer communication channel establishment request is for association detection information indicating at least one communication request authentication information.
In S234, the feedback information corresponds to the association detection information of the at least one communication request authentication information, and the feedback information is sent to the first target control device by the time slice thread management unit according to the information transfer communication channel establishment request.
In S235, the verification coordinate value is a two-dimensional coordinate, the abscissa of the verification coordinate value represents the time, and the ordinate of the verification coordinate value represents the amplitude.
Through S231-S236, since the communication request authentication information is sent by the slice thread management unit to the first target control device on the communication record detection resource corresponding to the at least one communication request, the communication request authentication information corresponding to different communication record detection resources is interleaved and encoded by using different scrambling code vectors, the scrambling code vectors are obtained by the slice thread management unit according to the communication request, and the information transfer communication channel establishment request is used for indicating the association detection information of the at least one communication request authentication information, the feedback information corresponds to the association detection information of the at least one communication request authentication information, and the feedback information is sent by the slice thread management unit to the first target control device according to the information transfer communication channel establishment request, the communication security between the first target control device and the slice thread management unit can be ensured by the interleaving and encoding method, and the speed of establishing the information transfer communication channel is increased on the premise of ensuring the communication security.
In S236, according to the verification curve, it is determined whether the first target control device and the time slice thread management unit satisfy a time linearity condition, which specifically includes the following:
s2361, judge whether there are at least two target coordinate values in all verification coordinate values.
Wherein the abscissa of the coordinate value of at least two targets is the same and the ordinate is different.
S2362, if there are at least two target coordinate values, it is determined that the first target control device and the time slice thread management unit do not satisfy the time linearity condition.
S2363, if there are not at least two target coordinate values, it is determined that the first target control device and the time slice thread management unit satisfy the time linearity condition.
Through S2361-S2363, the reliability of the established information transfer communication channel and the consistency of the time slice thread can be ensured, and the mismatching of signal acquisition and time caused by the advance or delay of the signal acquisition time can be avoided, so that the detection accuracy is ensured, and the omission is avoided.
Based on the same inventive concept as the previous embodiment, as shown in fig. 2, the embodiment of this specification further provides a device 20 for controlling and detecting the content of suspended solids in sewage treatment, including:
a determining module 21, configured to determine, when a detection device is switched from the current control device side to a target control device side, a time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side, and a first target control device at the target control device side, where the first target control device is used to record the current time slice thread of the signal acquisition protocol in the detection device;
when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and stream data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an unarmed state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the plurality of target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device;
a verification identifier obtaining module 22, configured to obtain a first verification identifier that is allocated by the first target control device to a current time slice thread of a signal acquisition protocol in the detection device, send the first verification identifier to a time slice thread management unit in a central control device, and obtain a second verification identifier that is allocated to the first target control device from the time slice thread management unit;
an information transfer communication channel establishing module 23, configured to send the second verification identifier to the first target control device, so as to establish an information transfer communication channel between the first target control device and the time slice thread management unit, where the information transfer communication channel is used to transmit a current time slice thread of a signal acquisition protocol in the detection device.
In an alternative mode, the device 20 for controlling and detecting the content of suspended substances in sewage treatment further comprises a handling module 24 for:
receiving nonlinear signals which are collected by the detection equipment from sewage to be detected and used for representing the content of suspended matters in the sewage to be detected according to a set time interval, and caching the nonlinear signals in a stacking mode;
extracting first characteristic information of each buffered nonlinear signal;
converting the signal amplitude and the moment of each cached nonlinear signal into target data in a set format; wherein the set format is a binary format;
processing all target data obtained by conversion based on a preset matching stack, and determining local data of each target data in all the target data in the processing process based on the preset matching stack; extracting second characteristic information corresponding to each local data;
integrating the cached first characteristic information of each nonlinear signal and the cached second characteristic information corresponding to the local data of the target data corresponding to each nonlinear signal to obtain a speed-up permission list;
if the cached first characteristic information of each nonlinear signal is downlink characteristic information, matching the cached first characteristic information of each nonlinear signal with the speed-up permission list, and setting a label for the successfully matched first characteristic information according to an index identifier corresponding to the speed-up permission list;
in a data link layer of the matching stack, comparing a label of first feature information which is successfully matched with an index identifier of the speed-up permission list, and modifying the first feature information which is compared with the index identifier of the speed-up permission list and is successfully matched with the speed-up permission list to obtain third feature information;
storing the third characteristic information, deleting the nonlinear signals cached corresponding to each piece of stored third characteristic information, and adding one to a set count value; the set time interval is negatively correlated with the speed increase of the set count value.
In an alternative mode, the device 20 for controlling and detecting the content of suspended matters in sewage treatment further comprises a reduction module 25, configured to:
determining an acquisition identifier corresponding to the target characteristic information included in the stored third characteristic information; acquiring a plurality of target feature vectors of target feature information and an aggregation component corresponding to each target feature vector from the stored third feature information according to the acquisition identifier;
respectively compressing the aggregation components of the target characteristic information to obtain a plurality of compressed packets; marking a corresponding trace back offset for each compressed packet respectively, and generating a compressed packet carrying the trace back offset; storing each compressed packet carrying the tracing offset into a tracing unit corresponding to a tracing database;
when a target nonlinear signal corresponding to target feature information of the stored third feature information in a set time period needs to be restored, searching each dimension expansion data of the target feature information corresponding to each aggregation component contained in the set time period based on information stored in the tracing database aiming at the target feature information of the stored third feature information;
and acquiring a target nonlinear signal corresponding to the target characteristic information of the stored third characteristic information in a set time period according to each dimension expansion data of the target characteristic information in the set time period.
In an alternative mode, the device 20 for controlling and detecting the content of suspended substances in sewage treatment further comprises a modification module 26 for:
acquiring a modification instruction for modifying the set time interval;
and modifying the set time interval according to the modification instruction.
In an alternative manner, the information transfer communication channel establishing module 23 is configured to:
causing the first target control device to send a communication request to the time slice thread management unit;
obtaining communication request authentication information from the first target control device; the communication request verification information is sent to the first target control device by the time slice thread management unit on a communication record detection resource corresponding to at least one communication request, the communication request verification information corresponding to different communication record detection resources is subjected to interleaving coding by adopting different scrambling code vectors, and the scrambling code vectors are obtained by the time slice thread management unit according to the communication request;
according to the communication request verification information, the first target control device is enabled to send an information transfer communication channel establishment request to the time slice thread management unit, wherein the information transfer communication channel establishment request is used for indicating at least one piece of association detection information of the communication request verification information;
obtaining feedback information from the first target control device; wherein the feedback information corresponds to the association detection information of the at least one communication request authentication information, and the feedback information is sent to the first target control device by the time slice thread management unit according to the information transfer communication channel establishment request;
determining verification coordinate values respectively corresponding to the communication request, the communication request verification information, the information transfer communication channel establishment request, the association detection information and the feedback information from a preset relational database; the verification coordinate value is a two-dimensional coordinate, the abscissa of the verification coordinate value represents the time, and the ordinate of the verification coordinate value represents the amplitude;
fitting all the verification coordinate values obtained by determination to obtain a verification curve; judging whether the first target control device and the time slice thread management unit meet a time linearity condition or not according to the verification curve; and when the first target control device and the time slice thread management unit meet a time linearity condition, enabling an information transfer communication channel to be established between the first target control device and the time slice thread management unit.
In an alternative manner, the information transfer communication channel establishing module 23 is configured to:
judging whether at least two target coordinate values exist in all the verification coordinate values; wherein the abscissa of the at least two target coordinate values is the same and the ordinate is different;
if yes, judging that the first target control equipment and the time slice thread management unit do not meet a time linear condition;
otherwise, the first target control device and the time slice thread management unit are judged to meet a time linearity condition.
In an optional manner, the throughput module 24 is further configured to:
judging whether the acceleration exceeds a set threshold value or not;
and if the speed increase exceeds the set threshold, stopping storing the third characteristic information and deleting the cached nonlinear signal.
Based on the same inventive concept as in the foregoing embodiments, the present specification further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the foregoing methods.
Based on the same inventive concept as in the previous embodiments, the embodiments of the present specification further provide a computer device 30, as shown in fig. 3, including a memory 304, a processor 302, and a computer program stored on the memory X304 and executable on the processor 302, wherein the processor 302 executes the computer program to implement the steps of any of the methods described above.
Wherein in fig. 3 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 305 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be one and the same element, i.e. a transceiver, providing a unit for communicating with various other terminal devices over a transmission medium. The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, this description is not intended to refer to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present specification as described herein, and any descriptions of specific languages are provided above to disclose the best mode of use of the present specification.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present description may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the specification, various features of the specification are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the present specification as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this specification.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the description and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of this description may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a gateway, proxy server, system in accordance with embodiments of the present description. The present description may also be embodied as an apparatus or device program (e.g., computer program and computer program product) for performing a portion or all of the methods described herein. Such programs implementing the description may be stored on a computer-readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website, or provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the specification, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The description may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (9)

1. A method for controlling and detecting the content of suspended substances in sewage treatment is characterized by being applied to current control equipment and comprising the following steps:
when a detection device is switched from the current control device side to a target control device side, determining a time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side and a first target control device used for recording the current time slice thread of the signal acquisition protocol in the detection device at the target control device side;
when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and stream data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device in the central processing unit of the target control device side is an overload state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device;
acquiring a first verification identifier allocated to a current time slice thread of a signal acquisition protocol in the detection equipment by the first target control equipment, sending the first verification identifier to a time slice thread management unit in central control equipment, and acquiring a second verification identifier allocated to the first target control equipment from the time slice thread management unit;
sending the second verification identifier to the first target control device, so that an information transfer communication channel is established between the first target control device and the time slice thread management unit, wherein the information transfer communication channel is used for transmitting a current time slice thread of a signal acquisition protocol in the detection device;
before the detection device is switched from the current control device side to the target control device side, the method further comprises:
receiving a nonlinear signal which is collected by detection equipment from sewage to be detected and used for representing the content of suspended matters in the sewage to be detected according to a set time interval, and caching the nonlinear signal in a stacking mode;
extracting first characteristic information of each buffered nonlinear signal;
converting the signal amplitude and the moment of each cached nonlinear signal into target data in a set format; wherein the set format is a binary format;
processing all target data obtained by conversion based on a preset matching stack, and determining local data of each target data in all the target data in the processing process based on the preset matching stack; extracting second characteristic information corresponding to each local data;
integrating the cached first characteristic information of each nonlinear signal and the cached second characteristic information corresponding to the local data of the target data corresponding to each nonlinear signal to obtain an acceleration authority list;
if the cached first characteristic information of each nonlinear signal is downlink characteristic information, matching the cached first characteristic information of each nonlinear signal with the speed-up permission list, and setting a label for the successfully matched first characteristic information according to an index identifier corresponding to the speed-up permission list;
in a data link layer of the matching stack, comparing a label of first feature information which is successfully matched with an index identifier of the speed-up permission list, and modifying the first feature information which is compared with the index identifier of the speed-up permission list and successfully matched with the speed-up permission list to obtain third feature information;
storing the third characteristic information, deleting the nonlinear signals cached corresponding to each piece of stored third characteristic information, and adding one to a set count value; the set time interval is inversely related to the rate of increase of the set count value.
2. The method according to claim 1, wherein before the detection device is switched from the current control device side to the target control device side, the method further comprises:
determining an acquisition identifier corresponding to the target characteristic information included in the stored third characteristic information; acquiring a plurality of target feature vectors of the target feature information and an aggregation component corresponding to each target feature vector from the stored third feature information according to the acquisition identifier;
respectively compressing the aggregation components of the target characteristic information to obtain a plurality of compression packets; marking a corresponding trace back offset for each compressed packet respectively, and generating a compressed packet carrying the trace back offset; storing each compressed packet carrying the tracing offset into a corresponding tracing unit of a tracing database;
when a target nonlinear signal corresponding to target feature information of the stored third feature information in a set time period needs to be restored, searching each dimension expansion data of the target feature information corresponding to each aggregation component contained in the set time period based on information stored in the tracing database aiming at the target feature information of the stored third feature information;
and obtaining a target nonlinear signal corresponding to the target characteristic information of the stored third characteristic information in the set time period according to each dimension extending data of the target characteristic information in the set time period.
3. The method of claim 2, further comprising:
acquiring a modification instruction for modifying the set time interval;
and modifying the set time interval according to the modification instruction.
4. The method of claim 1, wherein said causing the first target control device to establish an information transfer communication channel with the time slice thread management unit comprises:
causing the first target control device to send a communication request to the time slice thread management unit;
obtaining communication request authentication information from the first target control device; the communication request verification information is sent to the first target control device by the time slice thread management unit on a communication record detection resource corresponding to at least one communication request, the communication request verification information corresponding to different communication record detection resources is subjected to interleaving coding by adopting different scrambling code vectors, and the scrambling code vectors are obtained by the time slice thread management unit according to the communication request;
according to the communication request verification information, the first target control device is enabled to send an information transfer communication channel establishment request to the time slice thread management unit, wherein the information transfer communication channel establishment request is used for indicating at least one piece of association detection information of the communication request verification information;
obtaining feedback information from the first target control device; wherein the feedback information corresponds to the association detection information of the at least one communication request authentication information, and the feedback information is sent to the first target control device by the time slice thread management unit according to the information transfer communication channel establishment request;
determining verification coordinate values respectively corresponding to the communication request, the communication request verification information, the information transfer communication channel establishment request, the association detection information and the feedback information from a preset relational database; the verification coordinate value is a two-dimensional coordinate, the abscissa of the verification coordinate value represents the time, and the ordinate of the verification coordinate value represents the amplitude;
fitting all the verification coordinate values obtained by determination to obtain a verification curve; judging whether the first target control device and the time slice thread management unit meet a time linearity condition or not according to the verification curve; and when the first target control device and the time slice thread management unit meet a time linearity condition, enabling an information transfer communication channel to be established between the first target control device and the time slice thread management unit.
5. The method of claim 4, wherein determining whether the first target control device and the slice thread management unit satisfy a time linearity condition based on the validation curve comprises:
judging whether at least two target coordinate values exist in all the verification coordinate values; wherein the abscissa of the at least two target coordinate values is the same and the ordinate is different;
if so, judging that the first target control equipment and the time slice thread management unit do not meet a time linear condition;
otherwise, the first target control device and the time slice thread management unit are judged to meet a time linearity condition.
6. The method of claim 1, further comprising:
judging whether the speed increasing exceeds a set threshold value or not;
and if the speed increase exceeds the set threshold, stopping storing the third characteristic information and deleting the cached nonlinear signal.
7. The utility model provides a control detection device of suspended solid content in sewage treatment which characterized in that is applied to current control equipment, the device includes:
the device comprises a determining module, a first target control device and a second target control device, wherein the determining module is used for determining the time slice thread occupation state of a central processing unit of a current time slice thread of a signal acquisition protocol in the detection device at the target control device side and the first target control device is used for recording the current time slice thread of the signal acquisition protocol in the detection device at the target control device side when the detection device is switched from the current control device side to a target control device side;
when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device at the central processing unit of the target control device side is an overload state, the first target control device comprises at least one target control device, and the streaming data of the current time slice thread is transferred to the at least one target control device at the target device side; when the time slice thread occupation state of the current time slice thread of the signal acquisition protocol in the detection device in the central processing unit of the target control device side is an overload state and the target control device side comprises a plurality of target control devices, the first target control device is a second target control device in the target control devices, and the thread covered by the time slice resource of the second target control device exceeds the current time slice thread of the signal acquisition protocol in the detection device;
a verification identifier obtaining module, configured to obtain a first verification identifier that is allocated by the first target control device to a current time slice thread of a signal acquisition protocol in the detection device, send the first verification identifier to a time slice thread management unit in a central control device, and obtain a second verification identifier that is allocated to the first target control device from the time slice thread management unit;
an information transfer communication channel establishing module, configured to send the second verification identifier to the first target control device, so as to establish an information transfer communication channel between the first target control device and the time slice thread management unit, where the information transfer communication channel is used to transmit a current time slice thread of a signal acquisition protocol in the detection device;
wherein, still include and send out the module, is used for:
before the detection equipment is switched from the current control equipment side to the target control equipment side, receiving nonlinear signals which are collected by the detection equipment from sewage to be detected and used for representing the content of suspended matters in the sewage to be detected according to a set time interval, and caching the nonlinear signals in a stacking mode;
extracting first characteristic information of each buffered nonlinear signal;
converting the signal amplitude and the time of each cached nonlinear signal into target data in a set format; wherein the set format is a binary format;
processing all target data obtained by conversion based on a preset matching stack, and determining local data of each target data in all target data in the processing process based on the preset matching stack; extracting second characteristic information corresponding to each local data;
integrating the cached first characteristic information of each nonlinear signal and the cached second characteristic information corresponding to the local data of the target data corresponding to each nonlinear signal to obtain an acceleration authority list;
if the cached first characteristic information of each nonlinear signal is downlink characteristic information, matching the cached first characteristic information of each nonlinear signal with the speed-up permission list, and setting a label for the successfully matched first characteristic information according to an index identifier corresponding to the speed-up permission list;
in a data link layer of the matching stack, comparing a label of first feature information which is successfully matched with an index identifier of the speed-up permission list, and modifying the first feature information which is compared with the index identifier of the speed-up permission list and successfully matched with the speed-up permission list to obtain third feature information;
storing the third characteristic information, deleting the nonlinear signals cached corresponding to each piece of stored third characteristic information, and adding one to a set count value; the set time interval is inversely related to the rate of increase of the set count value.
8. 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 according to any one of claims 1 to 6.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 6 when executing the program.
CN201911174896.4A 2019-11-26 2019-11-26 Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment Active CN110987742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911174896.4A CN110987742B (en) 2019-11-26 2019-11-26 Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911174896.4A CN110987742B (en) 2019-11-26 2019-11-26 Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment

Publications (2)

Publication Number Publication Date
CN110987742A CN110987742A (en) 2020-04-10
CN110987742B true CN110987742B (en) 2022-11-18

Family

ID=70086965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911174896.4A Active CN110987742B (en) 2019-11-26 2019-11-26 Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment

Country Status (1)

Country Link
CN (1) CN110987742B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567839B1 (en) * 1997-10-23 2003-05-20 International Business Machines Corporation Thread switch control in a multithreaded processor system
WO2009063536A1 (en) * 2007-11-16 2009-05-22 Netcleus Systems Corporation Task processing device
CN101504607A (en) * 2009-03-20 2009-08-12 华亚微电子(上海)有限公司 Window state manager and method, window management system and method
EP2833669B1 (en) * 2013-07-31 2022-06-22 Panasonic Intellectual Property Corporation of America Handoff procedure in a mobile communication system
CN105528250B (en) * 2015-12-31 2019-03-12 沈阳航空航天大学 The evaluation and test of Multi-core computer system certainty and control method
CN108256721B (en) * 2017-11-16 2020-11-13 中国平安财产保险股份有限公司 Task scheduling method, terminal device and medium
CN109067823A (en) * 2018-06-11 2018-12-21 中国平安人寿保险股份有限公司 A kind of data migration method, device, computer equipment and storage medium
CN109151751A (en) * 2018-07-23 2019-01-04 上海华测导航技术股份有限公司 A kind of disaster detection management method, apparatus, equipment and system

Also Published As

Publication number Publication date
CN110987742A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
Zhou et al. Design and implementation of open LoRa for IoT
CN102624706B (en) Method for detecting DNS (domain name system) covert channels
CN108363369B (en) Subway environment monitoring method and device, readable storage medium and computer equipment
CN103501347A (en) Resource distribution method and device
CN110933072A (en) Data transmission method and device based on block chain and electronic equipment
CN102892089A (en) Message pushing method, device and system
CN109729602B (en) Link data processing method and device and computer storage medium
CN111669388A (en) Block link point verification method and device
CN104159299A (en) Transmission method and device for service bulletin message
CN110580670A (en) Smart city management system based on Internet of things
CN103780663A (en) Terminal peripheral remote management method, device and system
CN112688822A (en) Edge computing fault or security threat monitoring system and method based on multi-point cooperation
CN106547683A (en) A kind of redundant code detection method and device
CN103581317A (en) Method for sharing network resources
CN110987742B (en) Method and device for controlling and detecting content of suspended matter in sewage treatment and computer equipment
CN105094278A (en) information processing method and device
CN104639379A (en) Proxy testing method and device
CN116860823A (en) Dynamic equipment fault diagnosis difficult sample bidirectional mining method based on joint knowledge distillation
CN114257438B (en) Electric power monitoring system management method and device based on honeypot and computer equipment
CN109922083A (en) A kind of network protocol flow control system
CN113821794B (en) Distributed trusted computing system and method
CN113891309A (en) Method and system for detecting malicious node in wireless sensor network and sink node
CN112272383A (en) Inspection method and system of natural gas storage yard based on wireless communication
CN109995660B (en) Streaming media transmission method and device, terminal equipment and computer readable storage medium
CN113572700A (en) Flow detection method, system, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221103

Address after: No. 35, Lane 34, Duantang North Road, Haishu District, Ningbo City, Zhejiang Province 315000

Applicant after: Yang Jiancai

Address before: No. 173-20, Jiangong new village, Wuhua District, Kunming, Yunnan 650032

Applicant before: Ni Shizhang

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

Effective date of registration: 20230823

Address after: Room 2217, No. 2 Haiyu Second Street, Nansha Street, Nansha District, Guangzhou City, Guangdong Province, 510000

Patentee after: GUANGZHOU CHONGKE INTELLECTUAL PROPERTY OPERATION CO.,LTD.

Address before: No. 35, Lane 34, Duantang North Road, Haishu District, Ningbo City, Zhejiang Province 315000

Patentee before: Yang Jiancai

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240513

Address after: 530000 West and East Sides of 10th Floor, Building A, Guangxi Modern Logistics Industry Incubation Center, No. 21 Longgang Avenue, Yongning District, Nanning City, Guangxi Zhuang Autonomous Region

Patentee after: GUANGXI GUIWU JINAN REFRIGERATION AND AIR CONDITIONING TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: Room 2217, No. 2 Haiyu Second Street, Nansha Street, Nansha District, Guangzhou City, Guangdong Province, 510000

Patentee before: GUANGZHOU CHONGKE INTELLECTUAL PROPERTY OPERATION CO.,LTD.

Country or region before: China