CN116519098A - Monitoring method, equipment and medium based on mass flowmeter - Google Patents

Monitoring method, equipment and medium based on mass flowmeter Download PDF

Info

Publication number
CN116519098A
CN116519098A CN202310557591.1A CN202310557591A CN116519098A CN 116519098 A CN116519098 A CN 116519098A CN 202310557591 A CN202310557591 A CN 202310557591A CN 116519098 A CN116519098 A CN 116519098A
Authority
CN
China
Prior art keywords
parameter information
target parameter
mass flowmeter
target
serial port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310557591.1A
Other languages
Chinese (zh)
Inventor
任荣金
孙明敏
倪江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yinuo Instrument Co Ltd
Original Assignee
Shanghai Yinuo Instrument Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yinuo Instrument Co Ltd filed Critical Shanghai Yinuo Instrument Co Ltd
Priority to CN202310557591.1A priority Critical patent/CN116519098A/en
Publication of CN116519098A publication Critical patent/CN116519098A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/76Devices for measuring mass flow of a fluid or a fluent solid material
    • G01F1/78Direct mass flowmeters
    • G01F1/80Direct mass flowmeters operating by measuring pressure, force, momentum, or frequency of a fluid flow to which a rotational movement has been imparted
    • G01F1/84Coriolis or gyroscopic mass flowmeters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The application provides a monitoring method, equipment and medium based on a mass flowmeter, wherein the method is applied to terminal equipment, and the terminal equipment is in communication connection with the mass flowmeter; the method comprises the following steps: detecting whether the received configuration parameters are matched with a target serial port; if the configuration parameters are matched with the target serial port, acquiring target parameter information of the mass flowmeter; loading the target parameter information to a preset control so that the preset control displays the target parameter information; if a remote control instruction sent based on the target parameter information is received, the remote control instruction is acted on the mass flowmeter, so that the technical problem of low monitoring efficiency of the mass flowmeter in the related art can be at least solved.

Description

Monitoring method, equipment and medium based on mass flowmeter
Technical Field
The application relates to the technical field of instruments and meters, in particular to a monitoring method, equipment and medium based on a mass flowmeter.
Background
The mass flowmeter is also called as Coriolis mass flowmeter, which is a device for directly measuring mass flow by using the Coriolis force principle that fluid generates proportional to mass flow when flowing in a vibrating pipeline, and consists of a flow detection element and a converter. The coriolis mass flowmeter realizes the direct measurement of mass flow, has the characteristics of high precision, multiple measurable media and multiple technological parameters, and is widely applied to industries such as petroleum and natural gas, petrochemical industry, water treatment, food and beverage, pharmacy, energy, metallurgy, pulp and paper making, printing and dyeing, thermoelectric, aviation, building materials and the like.
In the related art, related personnel need to monitor the mass flowmeter at irregular time to the scene according to actual conditions. However, the inventors found that there are at least the following technical problems in the related art:
on the one hand, because the liquid crystal screen of the gauge head of the mass flowmeter has a limited volume, each page can only display little data, so that related personnel are required to perform frequent operation on the mass flowmeter, namely, the mass flowmeter can be found out by multiple times of turning; on the other hand, some mass flowmeters are more harsh in installation position or use environment external conditions, and for some conventional parameter monitoring, such as zero point adjustment, only manual operation can be performed by a manual operator or on site, so that time and labor are consumed, and the workload of related personnel is increased. It can be seen that the monitoring efficiency of the mass flowmeter in the related art is low.
Disclosure of Invention
An object of the present application is to provide a monitoring method, device and medium based on a mass flowmeter, at least to solve the technical problem of low monitoring efficiency of the mass flowmeter in the related art.
To achieve the above object, some embodiments of the present application provide a monitoring method based on a mass flowmeter, where the method is applied to a terminal device, and the terminal device is communicatively connected to the mass flowmeter; the method comprises the following steps: detecting whether the received configuration parameters are matched with a target serial port; if the configuration parameters are matched with the target serial port, acquiring target parameter information of the mass flowmeter; loading the target parameter information to a preset control so that the preset control displays the target parameter information; and if a remote control instruction sent based on the target parameter information is received, the remote control instruction is acted on the mass flowmeter.
Some embodiments of the present application further provide a terminal device, where the device includes: one or more processors; and a memory storing computer program instructions that, when executed, cause the processor to perform the method as described above.
Some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement the described methods.
Compared with the prior art, the monitoring method based on the mass flowmeter is applied to terminal equipment, the terminal equipment is in communication connection with the mass flowmeter, whether the received configuration parameters are matched with a target serial port or not is detected, and if the configuration parameters are matched with the target serial port, target parameter information of the mass flowmeter is acquired; the target parameter information is loaded to a preset control, so that the preset control displays the target parameter information in real time, and as the terminal equipment can directly display the target parameter information and the data change based on the target parameter information, related personnel can check a plurality of target parameter information at one time, intuitively check the working data of the instrument to determine the working state of the instrument, and the related personnel are not required to frequently operate the mass flowmeter to acquire the corresponding target parameter information; if a remote control instruction sent based on the target parameter information is received, the remote control instruction acts on the mass flowmeter, and the mass flowmeter is controlled directly without manual operation through remote control of the mass flowmeter, so that the technical problems that monitoring and modification of the mass flowmeter are inconvenient for related personnel and the workload of the related personnel is increased due to the fact that the installation positions of some mass flowmeters or the external conditions of the use environment are harsh are avoided ingeniously, and in sum, the monitoring efficiency of the mass flowmeter can be improved by the method provided by the embodiment of the application.
Drawings
FIG. 1 is an exemplary flow chart of a monitoring method based on a mass flowmeter according to a first embodiment of the present application;
fig. 2 is an exemplary flowchart of a monitoring method based on a mass flowmeter according to a second embodiment of the present application;
fig. 3 is an exemplary structural schematic diagram of a terminal device provided in a sixth embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The following terms are used herein.
CRC refers to cyclic redundancy check code, which is a common check code with error detection and correction capability and is commonly used for data check of synchronous communication between an external memory and a computer.
NPOI refers to a program built on top of POI 3.X version, and NPOI can perform read-write operation on Word or Excel document without Office installation.
Example 1
The first embodiment of the application provides a monitoring method based on a mass flowmeter, which is applied to terminal equipment, wherein the terminal equipment is in communication connection with the mass flowmeter; as shown in fig. 1, the method may include the steps of:
step S101, detecting whether the received configuration parameters are matched with a target serial port;
step S102, if the configuration parameters are matched with a target serial port, acquiring target parameter information of the mass flowmeter;
step S103, loading the target parameter information to a preset control, so that the preset control displays the target parameter information in real time;
step S104, if a remote control instruction sent based on the target parameter information is received, the remote control instruction is acted on the mass flowmeter.
The monitoring method based on the mass flowmeter is integrated in a certain software product, and the software product is installed in the terminal equipment. In some examples, the terminal device and the mass flowmeter may be communicatively connected via a communication line or a wireless network; the terminal device can be, but is not limited to, an electronic device with a display screen, such as a mobile phone, a tablet computer and the like. In some examples, if the communication between the terminal device and the mass flowmeter is normal, the communication sign of the software product prompt is green, and if the communication between the terminal device and the mass flowmeter is abnormal, the communication sign of the software product prompt is red.
It should be noted that, the software product itself has functions of user login, logout, etc., so that it is convenient to manage.
Specifically, in some examples, in the step S101, when a software product installed in the terminal device is started, a user name and a user authority of a current user may be acquired first, and whether the user qualifies for monitoring the mass flowmeter is determined based on the user name and the user authority; if so, after receiving the configuration parameters, further detecting whether the received configuration parameters are matched with the target serial port.
Further, in some examples, in the step S101, if the user qualifies for monitoring the mass flowmeter, the software product may perform an initialization operation, during which the software product may first determine whether the terminal device includes an available serial port, and if the terminal device does not have an available serial port, send a prompt message, such as "This machine does not have serial port-! "etc. If the terminal equipment comprises available serial ports, one serial port in the available serial ports is determined to be a target serial port, and then the software product detects whether the received configuration parameters are matched with the target serial port after receiving the configuration parameters input by related personnel. Here, it should be noted that, because the target serial port may have modification, for example, the original target serial port is a COM1 interface, and the current target serial port is a COM2 interface, if the related personnel still input the configuration parameters of COM1, the received configuration parameters are not matched with the configuration parameters of the current target serial port COM2, and only when the related personnel input the configuration parameters of the current target serial port, that is, the configuration parameters of the COM2 interface, the received configuration parameters are matched with the target serial port.
Wherein the configuration parameters may include, but are not limited to: serial port name, baud rate, data bits, check bits, stop bits, communication address, etc.
Further, in some examples, in the step S102, if the configuration parameter matches the target serial port, the target parameter information of the mass flowmeter is obtained. In some examples, a preset time interval, such as 5s, may be preset, and then the obtained target parameter information of the mass flowmeter is saved every 5 s. For example, the data can be stored in an Access database for later inquiry.
In some embodiments of the present application, the target parameter information may include, but is not limited to, conventional parameters, internal parameters, and parameter information affecting the internal parameters, such as mass flow rate, total mass, volume flow rate, total volume, density, medium temperature, output current, output pulse, sensor frequency, sensor left side coil voltage, sensor right side coil voltage, driving voltage, time difference, oscillation period, temperature of the internal circuit board. The specific content of the target parameter information may be adjusted accordingly according to the actually required variation, including adding or subtracting some or some content of the target parameter information, which is not limited herein.
In the related art, some upper computers may obtain related parameters of the mass flowmeter, but may only obtain conventional parameters such as medium temperature and density, but may not obtain internal parameters of the mass flowmeter and parameter information affecting the internal parameters. In the scheme provided by the embodiment of the application, the target parameter information of the mass flowmeter can be comprehensively obtained through the target serial port, so that the monitoring accuracy is improved.
Further, in some examples, in the step S103, the target parameter information is loaded to a preset control, so that the preset control displays the target parameter information. Therefore, when the mass flowmeter is obtained to generate data change based on the target parameter information, the preset control synchronously displays the data change generated by the target parameter information. That is, the target parameter information and the preset control have a binding relationship, at this time, because the terminal device can directly display the target parameter information and the data change generated based on the target parameter information, it is not necessary for related personnel to perform frequent operations on the mass flowmeter to obtain the corresponding target parameter information, so that the related personnel can monitor the mass flowmeter conveniently, and the monitoring efficiency of the mass flowmeter can be improved.
Further, in some examples, in step S104, if a remote control instruction sent based on the target parameter information is received, the remote control instruction is applied to the mass flowmeter, so that remote control of the mass flowmeter is achieved, and the mass flowmeter does not need to be directly controlled manually, so that the technical problem that monitoring of the mass flowmeter by related personnel is inconvenient and the workload of the related personnel is increased due to severe installation positions of some mass flowmeters or external conditions of the use environment is skillfully avoided, and the monitoring efficiency of the mass flowmeter can be improved by the method provided by the embodiment of the application.
Specifically, in some examples, the specific content of the remote control instruction may be an instruction issued by a related person according to the target parameter information, the actual requirement and the like, and the purpose of modifying some parameters inside the mass flowmeter is to say, the content of the remote control instruction representation may be, but is not limited to, zero calibration, simulation output, accumulated amount removal, moisture analysis switch, multi-point correction and the like.
In some examples, after receiving the remote control instruction, the authority of the user sending the remote control instruction can be verified first, and if and only if the authority verification of the user passes, a corresponding operation is executed according to the remote control instruction; otherwise, the response to the remote manipulation instruction may be denied.
It is not difficult to find that, compared with the related art, the monitoring method based on the mass flowmeter provided by the embodiment of the application is applied to terminal equipment, the terminal equipment is in communication connection with the mass flowmeter, whether the received configuration parameters are matched with a target serial port or not is detected, and if the configuration parameters are matched with the target serial port, the target parameter information of the mass flowmeter is acquired; the target parameter information is loaded to a preset control, so that the preset control displays the target parameter information in real time, and as the terminal equipment can directly display the target parameter information and the data change based on the target parameter information, related personnel can check a plurality of target parameter information at one time, intuitively check the working data of the instrument to determine the working state of the instrument, and the related personnel are not required to frequently operate the mass flowmeter to acquire the corresponding target parameter information; if a remote control instruction sent based on the target parameter information is received, the remote control instruction acts on the mass flowmeter, and the mass flowmeter is controlled directly without manual operation through remote control of the mass flowmeter, so that the technical problems that monitoring and modification of the mass flowmeter are inconvenient for related personnel and the workload of the related personnel is increased due to the fact that the installation positions of some mass flowmeters or the external conditions of the use environment are harsh are avoided ingeniously, and in sum, the monitoring efficiency of the mass flowmeter can be improved by the method provided by the embodiment of the application.
Example two
The second embodiment of the present application is an improvement made on the basis of the first embodiment, and the specific improvement is that: in a second embodiment of the present application, before the loading the target parameter information to the preset control, so that the preset control displays the target parameter information, the method may further include the following steps, as shown in fig. 2:
step S201, providing a unit selection interface based on the target parameter information;
step S202, after receiving a unit modification instruction sent based on the unit selection interface, converting the numerical value of target parameter information indicated by the unit modification instruction according to a target unit represented by the unit modification instruction;
correspondingly, the loading the target parameter information to a preset control, so that the preset control displays the target parameter information includes: and loading the target parameter information subjected to the conversion processing to a preset control, so that the preset control displays the target parameter information.
Specifically, in some examples, in the step S201, the unit selection interface may be located behind the specific numerical value of each parameter in the target parameter information in the form of a drop-down box.
Specifically, in some examples, in the step S202, the unit modification instruction may be, but is not limited to, a unit modification instruction issued for a unit of mass flow rate, a unit of volume flow rate, and a unit of density. For example, in some examples, the unit requirement of the relevant user for the volume flow rate is gal (us)/sec, which is the target unit, and the default unit of the current volume flow rate is gal (imp)/sec, the value of the target parameter information may be converted according to a conversion rule of 1gal (imp)/sec=4.546l 1gal (us)/sec according to the target unit and the default unit. And correspondingly, loading the target parameter information subjected to the conversion processing to a preset control, so that the preset control displays the target parameter information, and thus, the personalized requirement of related users on units of the target parameter information can be met without manually carrying out the conversion processing of the units by the related users, and the monitoring efficiency of the mass flowmeter can be further improved.
It should be noted that, in some other examples, the default unit of the target parameter information may be a default unit, that is, a national standard measurement mode, for example, the weight unit is Kg, the volume unit is L, and the density unit is m/t. However, for this reason, it is very inconvenient for some special-demand customers or some foreign customers to use based on custom reasons, and for this reason, the monitoring method based on mass flowmeter provided in the embodiment of the present application can implement flexible conversion processing for the unit of the target parameter information through the software algorithm installed in the terminal device, which is beneficial to further improving the monitoring efficiency of the mass flowmeter.
Example III
The third embodiment of the present application is an improvement made on the basis of the first embodiment, and the specific improvement is that: in a third embodiment of the present application, a read operation and a write operation are performed respectively based on the target serial port, so as to obtain target parameter information of the mass flowmeter;
the method specifically adopts a polling mode to execute the reading operation, and the corresponding method can comprise the following steps:
a first time reading of bytes with a starting address of 11 and a length of 3;
a second time reading the bytes with a starting address of 27 and a length of 1;
a third time of reading a byte with a starting address of 82 and a length of 1;
reading bytes with a starting address of 0 and a length of 6 for the fourth time;
a fifth time of reading the bytes with a starting address of 12 and a length of 13;
a sixth time reads a byte with a start address 520 and a length of 1;
a seventh time of reading the bytes with a starting address of 100 and a length of 68;
an eighth time of reading the bytes with a starting address of 168 and a length of 62;
a ninth time of reading the byte with the initial address of 256 and the length of 20;
the tenth reading of bytes with a starting address of 450 and a length of 2, so far, the polling is continued and the step of executing the bytes … … with a starting address of 11 and a length of 3 is performed again, which is beneficial to ensuring the integrity of the read data.
Specifically, in some examples, when a read operation is performed, a read command is issued, and when the write command is prohibited, the terminal device may receive the byte data read from the mass flowmeter and further perform CRC check on the byte data, and if the result of the CRC check is that the byte data passes, update the data after processing the byte data and save the data; if the CRC check result is failure, the corresponding error data is discarded, so that the accuracy of the acquired data can be improved. And sending a write command when writing operation is performed, and sending the corresponding data to the terminal equipment at the moment so that the terminal equipment can display the corresponding data.
In some embodiments of the present application, before the performing a read operation and a write operation based on the target serial port to obtain target parameter information of the mass flowmeter, the method may further include: after receiving the trigger instruction, starting a circulation timer; acquiring constraint time of the cycle timer; and respectively executing a read operation and a write operation based on the target serial port according to the constraint time of the circulation timer so as to acquire the target parameter information of the mass flowmeter.
In particular, in some examples, the triggering instruction may be issued by a person associated with triggering a certain button of the software product, such as the Connect button.
Specifically, in some examples, the loop timer may decompose the data read by performing the read operation for each cycle, for example, perform floating point processing, integer processing, double integer processing, and the like, and store the processed data in background variables, where there is a correspondence between the background variables and the target parameter information displayed at the front end, so that the data variable of the mass flowmeter based on the target parameter information may be obtained by automatically updating page data.
Further, in some examples, the method further includes a communication interrupt and communication resume function during the performing of the read operation in accordance with the polling mode. For example, the communication resume time may be 1 hour, and if the number of times of data read by each read command packet under the read operation exceeds 4 times, the communication is interrupted to suspend the operation of data read by the command packet, and after 1 hour, the communication is automatically attempted to resume to start the operation of data read by the command packet.
Further, in some embodiments of the present application, the starting the cycle timer after receiving the trigger instruction may include: after receiving a trigger instruction, scanning the target serial port to judge whether the target serial port exists or not; if the target serial port exists, starting a circulation timer; if the target serial port does not exist, the process ends. Therefore, the situation that a series of follow-up operations are meaningless caused by the interruption of the circuit corresponding to the target serial port, such as pulling out the circuit, can be avoided, and the purpose of stopping damage in time is achieved.
It should be noted that, the embodiment of the present application may be an improvement based on the second embodiment.
Example IV
The fourth embodiment of the present application is an improvement made on the basis of the first embodiment, and the specific improvement is that: in a fourth embodiment of the present application, after the remote control instruction is applied to the mass flowmeter if the remote control instruction sent based on the target parameter information is received, the method further includes: generating an operation log;
wherein the operation log at least comprises any one or any combination of the following: the run time of the method, the operational event, the ID of the mass flow meter.
In some examples, the oplog may also include process variations based on the mass flowmeter. It will be appreciated that process variations tend to affect the accuracy of the mass flowmeter measurements, but this technical problem is often difficult to find in practical applications. By updating the process variation together into the operation log, the calculation problem that the process variation is often difficult to find in practical application can be solved.
In some other examples, the health usage trend of the mass flowmeter over the full life cycle may also be recorded.
It should be noted that, the embodiments of the present application may be modifications based on the second embodiment and/or the third embodiment.
Compared with the related art, the monitoring method based on the mass flowmeter provided by the embodiment of the application can solve the technical problem that in the related art, the change of the target parameter information of the mass flowmeter, such as the change of the target parameter information caused by manual modification, is difficult to discover by generating the operation log for related personnel to check, and can reduce the deviation of final metering settlement data.
Example five
The fifth embodiment of the present application is an improvement made on the basis of the first embodiment, and the specific improvement is that: in a fifth embodiment of the present application, after the remote control instruction is applied to the mass flowmeter if the remote control instruction sent based on the target parameter information is received, the method further includes:
and if the export instruction is received, exporting a data list according to the export instruction.
Specifically, in some examples, the relevant personnel may query and filter the required data according to the ID of the mass flowmeter, and issue an export instruction according to the data screened by the query, so that the software product may export a data list according to the export instruction, for example, the data list may be an Excel-form data list.
In some other examples, the derived data list may be NPOI. It can be understood that if Excel is used to derive data, a lot of time is often consumed when the amount of data to be derived is large, and a thread is easy to "die off. It was found through experimentation that the speed of data derivation by NPOI was approximately several hundred times higher than the speed of data derivation using Excel form.
It should be noted that the embodiments of the present application may be modifications based on any one or more of the second to fourth embodiments.
Example six
The embodiment of the application further provides a terminal device, the structure of which is shown in fig. 3, the device includes a memory 11 for storing computer readable instructions and a processor 12 for executing the computer readable instructions, where the computer readable instructions, when executed by the processor, trigger the processor to execute the virtual content distribution method.
The methods and/or embodiments of the present application may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. The above-described functions defined in the method of the present application are performed when the computer program is executed by a processing unit.
It should be noted that, the computer readable medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of devices, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more computer readable instructions executable by a processor to implement the steps of the methods and/or techniques of the various embodiments of the present application described above.
In a typical configuration of the present application, the terminals, the devices of the services network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer-readable media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device.
In addition, the embodiment of the application also provides a computer program which is stored in the computer equipment, so that the computer equipment executes the method for executing the control code.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (10)

1. The monitoring method based on the mass flowmeter is characterized in that the method is applied to terminal equipment, and the terminal equipment is in communication connection with the mass flowmeter; the method comprises the following steps:
detecting whether the received configuration parameters are matched with a target serial port;
if the configuration parameters are matched with the target serial port, acquiring target parameter information of the mass flowmeter;
loading the target parameter information to a preset control so that the preset control displays the target parameter information;
and if a remote control instruction sent based on the target parameter information is received, the remote control instruction is acted on the mass flowmeter.
2. The method of claim 1, wherein prior to said loading the target parameter information to a preset control to cause the preset control to present the target parameter information, the method further comprises:
providing a unit selection interface based on the target parameter information;
after receiving a unit modification instruction sent based on the unit selection interface, converting the numerical value of the target parameter information indicated by the unit modification instruction according to a target unit represented by the unit modification instruction;
the loading the target parameter information to a preset control, so that the preset control displays the target parameter information comprises:
and loading the target parameter information subjected to the conversion processing to a preset control, so that the preset control displays the target parameter information.
3. The method of claim 1, wherein if the configuration parameter matches a target serial port, obtaining target parameter information for the mass flow meter comprises:
respectively executing a read operation and a write operation based on the target serial port to acquire target parameter information of the mass flowmeter;
the method specifically adopts a polling mode to execute the reading operation, and comprises the following steps:
a first time reading of bytes with a starting address of 11 and a length of 3;
a second time reading the bytes with a starting address of 27 and a length of 1;
a third time of reading a byte with a starting address of 82 and a length of 1;
reading bytes with a starting address of 0 and a length of 6 for the fourth time;
a fifth time of reading the bytes with a starting address of 12 and a length of 13;
a sixth time reads a byte with a start address 520 and a length of 1;
a seventh time of reading the bytes with a starting address of 100 and a length of 68;
an eighth time of reading the bytes with a starting address of 168 and a length of 62;
a ninth time of reading the byte with the initial address of 256 and the length of 20;
the tenth time reads the byte with a start address of 450 and a length of 2.
4. The method of claim 3, wherein prior to performing the read and write operations, respectively, based on the target serial port to obtain target parameter information for the mass flow meter, the method further comprises:
after receiving the trigger instruction, starting a circulation timer;
acquiring constraint time of the cycle timer;
and respectively executing a read operation and a write operation based on the target serial port according to the constraint time of the circulation timer so as to acquire the target parameter information of the mass flowmeter.
5. The method of claim 4, wherein starting the cycle timer after receiving the trigger instruction comprises:
after receiving a trigger instruction, scanning the target serial port to judge whether the target serial port exists or not;
and if the target serial port exists, starting a circulation timer.
6. The method of claim 1, wherein the target parameter information comprises: mass flow rate, total mass, volumetric flow rate, total volume, density, medium temperature, output current, output pulse, sensor frequency, sensor left side coil voltage, sensor right side coil voltage, drive voltage, time difference, oscillation period, temperature of the internal circuit board.
7. The method according to any one of claims 1 to 6, wherein after said applying a remote control instruction to the mass flowmeter if the remote control instruction based on the target parameter information is received, the method further comprises:
generating an operation log;
wherein the operation log at least comprises any one or any combination of the following: the run time of the method, the operational event, the ID of the mass flow meter.
8. The method according to any one of claims 1 to 6, wherein after said applying a remote control instruction to the mass flowmeter if the remote control instruction based on the target parameter information is received, the method further comprises:
and if the export instruction is received, exporting a data list according to the export instruction.
9. A terminal device, the device comprising:
one or more processors; and
a memory storing computer program instructions that, when executed, cause the processor to perform the method of any of claims 1 to 8.
10. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any of claims 1 to 8.
CN202310557591.1A 2023-05-17 2023-05-17 Monitoring method, equipment and medium based on mass flowmeter Pending CN116519098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310557591.1A CN116519098A (en) 2023-05-17 2023-05-17 Monitoring method, equipment and medium based on mass flowmeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310557591.1A CN116519098A (en) 2023-05-17 2023-05-17 Monitoring method, equipment and medium based on mass flowmeter

Publications (1)

Publication Number Publication Date
CN116519098A true CN116519098A (en) 2023-08-01

Family

ID=87400970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310557591.1A Pending CN116519098A (en) 2023-05-17 2023-05-17 Monitoring method, equipment and medium based on mass flowmeter

Country Status (1)

Country Link
CN (1) CN116519098A (en)

Similar Documents

Publication Publication Date Title
US8730042B2 (en) Systems and methods for detecting tampering associated with a utility meter
JP2020079801A (en) System and method for providing cloud flowmeter
US20060074570A1 (en) Electronic gas flow measurement and recording device
US11169189B2 (en) Systems and methods for operating generators based on generator steady state stability limits
CN106443564A (en) Digitalized harmonic standard electric energy meter and electric energy calibration system
CN106908659A (en) A kind of signal source stability measurement system and method
CN111581192A (en) Method, device, equipment and medium for managing important sensitive parameters of nuclear power plant reactor
Liu et al. RAMM-TM for detection of gas leakage from canisters containing spent nuclear fuel
CN117405075B (en) Intelligent settlement monitoring method and system
CN114578121A (en) High-voltage measuring method, system and device
CN116519098A (en) Monitoring method, equipment and medium based on mass flowmeter
CN116519099A (en) Online verification method, equipment and medium for flow instrument
CN102103199A (en) Digital signal generating device and method based on three-phase power system model
JP2005516270A (en) Data exchange method between operation monitoring program and field device
CN116319490A (en) Data transmission testing method, system, electronic equipment and readable storage medium
CN114063001B (en) Theft condition restoration system and method
KR100894228B1 (en) Electronic type watt hour meter using NAND flash memory and method for saving wave data thereof
CN104280098B (en) Ship liquid level sensor method of testing based on Labview
CN107256189A (en) A kind of server power block leaving air temp monitoring method and device
JP2022161488A (en) Building management system and control method
CN103423239B (en) Based on testing apparatus and the method in the electrohydraulic servo system dead band of self adaption flutter
JP7095483B2 (en) Flowmeter management device, flowmeter management method, program and recording medium
JP7314969B2 (en) Zirconia oxygen concentration meter maintenance method, maintenance system, and zirconia oxygen concentration meter
CN115327098A (en) Quality control liquid information correction device and method, sample analyzer and readable storage medium
CN113591828A (en) Image-text recognition-based dual-bellows differential pressure flowmeter recognition method and system

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