Peristaltic pump water discharge control method and system

By calibrating the outlet volume parameters of the peristaltic pump, calculating the number of rotations, and transmitting the data with encryption, the problems of injection accuracy and safety in peristaltic pump outlet control were solved, achieving high-precision and high-safety peristaltic pump control.

CN119801892BActive Publication Date: 2026-04-07FUJIAN NEBULA ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing peristaltic pump water discharge control methods suffer from low injection accuracy and insufficient safety, especially due to errors caused by the inability of liquid to fill the pipeline and the safety hazard of tampering with flow sensor data.

Method used

The peristaltic pump's outlet volume parameters are calibrated by the server, the number of rotations is calculated and encrypted into ciphertext data, and outlet control commands are generated using multiple encryption algorithms and secure transmission protocols. The controller decrypts and executes the outlet operation, and records the work log in real time and uploads it in encrypted form.

Benefits of technology

It improves the injection accuracy and safety of peristaltic pump water control, avoids errors and lag, enhances the security of data transmission, and supports subsequent traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The application provides a peristaltic pump water outlet control method and system in the technical field of peristaltic pump management, which comprises the following steps: step S1, a server calibrates a peristaltic pump through a metering device to obtain water outlet volume parameters of the peristaltic pump; step S2, the server obtains a liquid injection target value, calculates the number of rotation circles of the peristaltic pump based on the liquid injection target value and the water outlet volume parameters; step S3, the server encrypts the number of rotation circles into ciphertext data, generates a water outlet control instruction based on the ciphertext data, and sends the water outlet control instruction to a controller; step S4, the controller receives the water outlet control instruction, decrypts the ciphertext data carried by the water outlet control instruction to obtain the number of rotation circles after verifying the water outlet control instruction; and step S5, the controller controls the peristaltic pump to perform a water outlet operation based on the number of rotation circles. The application has the advantages that the liquid injection precision and safety of peristaltic pump water outlet control are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of peristaltic pump management technology, and in particular to a method and system for controlling the water output of a peristaltic pump. Background Technology

[0002] A peristaltic pump pumps fluid by alternately squeezing and releasing a flexible delivery hose, much like squeezing a hose with two fingers. As the fingers move, a negative pressure is created inside the hose, causing the liquid to flow. Using a peristaltic pump to drive liquid flow is a common industrial application, widely used in liquid pipeline transportation and pipeline cleaning. To ensure the effective operation of a peristaltic pump, precise water injection is required.

[0003] To ensure the accuracy of peristaltic pump injection, traditionally, flow sensors are used to detect the volume of liquid flowing in the pipeline, and the pump's continued operation is determined based on this volume. However, this method has the following problems: 1. During the flow of liquid through the pipeline, factors such as the pump's rotational speed, liquid velocity, and flow volume often prevent the liquid from completely filling the pipeline, causing errors in the flow sensor's feedback. Furthermore, controlling the peristaltic pump's operation based on flow sensor data has a certain lag, which affects the injection accuracy. 2. No security measures are taken for the transmission of relevant data. If the flow sensor data is tampered with, it will directly affect the operation of the peristaltic pump, potentially leading to pipeline blockage and posing a significant safety hazard.

[0004] Therefore, how to provide a peristaltic pump water discharge control method and system to improve the injection accuracy and safety of peristaltic pump water discharge control has become an urgent technical problem to be solved. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a peristaltic pump water discharge control method and system to improve the injection accuracy and safety of peristaltic pump water discharge control.

[0006] In a first aspect, the present invention provides a method for controlling the water output of a peristaltic pump, comprising the following steps:

[0007] Step S1: The server calibrates the peristaltic pump using a metering device to obtain the peristaltic pump's outlet volume parameters;

[0008] Step S2: The server obtains the injection target value and calculates the number of rotations of the peristaltic pump based on the injection target value and the outlet volume parameter.

[0009] Step S3: The server encrypts the number of rotations into ciphertext data, generates a water discharge control command based on the ciphertext data, and sends the water discharge control command to the controller.

[0010] Step S4: The controller receives the water outlet control command, verifies the water outlet control command, and decrypts the encrypted data carried by the water outlet control command to obtain the number of rotations.

[0011] Step S5: The controller controls the peristaltic pump to perform water discharge operation based on the number of rotations.

[0012] Furthermore, step S1 specifically includes:

[0013] The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

[0014] Furthermore, step S3 specifically includes:

[0015] The server uses the El Gamma algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data.

[0016] The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

[0017] Furthermore, step S4 specifically includes:

[0018] The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value.

[0019] The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and rearranges the order to obtain a first string, and decrypts the first string using the El Gamma algorithm to obtain the number of rotations.

[0020] Furthermore, step S5 also includes:

[0021] During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

[0022] Secondly, the present invention provides a peristaltic pump water discharge control system, comprising the following modules:

[0023] The peristaltic pump calibration module is used by the server to calibrate the peristaltic pump through metering equipment and obtain the peristaltic pump's outlet volume parameters;

[0024] The rotation count calculation module is used by the server to obtain the injection target value and calculate the rotation count of the peristaltic pump based on the injection target value and the outlet volume parameter.

[0025] The water outlet control command sending module is used by the server to encrypt the number of rotations into encrypted data, generate a water outlet control command based on the encrypted data, and send the water outlet control command to the controller.

[0026] The water outlet control command parsing module is used by the controller to receive the water outlet control command, verify the water outlet control command, and decrypt the encrypted data carried by the water outlet control command to obtain the number of rotations.

[0027] The water discharge control module is used by the controller to control the peristaltic pump to perform water discharge operation based on the number of rotations.

[0028] Furthermore, the peristaltic pump calibration module is specifically used for:

[0029] The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

[0030] Furthermore, the water outlet control command sending module is specifically used for:

[0031] The server uses the El Gamma algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data.

[0032] The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

[0033] Furthermore, the water outlet control command parsing module is specifically used for:

[0034] The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value.

[0035] The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and rearranges the order to obtain a first string, and decrypts the first string using the El Gamma algorithm to obtain the number of rotations.

[0036] Furthermore, the water outlet control module is also used for:

[0037] During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

[0038] The advantages of this invention are:

[0039] 1. The peristaltic pump is calibrated via a server to obtain the outlet volume parameter. Then, the injection target value is obtained. Based on the injection target value and the outlet volume parameter, the number of rotations of the peristaltic pump is calculated and encrypted into ciphertext data. Based on the ciphertext data, an outlet control command is generated and sent to the controller. After verifying the outlet control command, the controller decrypts the ciphertext data carried in the outlet control command to obtain the number of rotations. Based on the number of rotations, the peristaltic pump is controlled to perform the outlet operation. In other words, the number of rotations is calculated based on the calibrated outlet volume parameter and the injection target value, and the operation of the peristaltic pump is controlled based on the number of rotations, which replaces the traditional flow sensor. This avoids errors caused by the liquid not filling the entire pipeline and also avoids hysteresis. Moreover, the number of rotations is encrypted multiple times during transmission to prevent it from being stolen or tampered with in plaintext, thereby greatly improving the injection accuracy and security of the peristaltic pump outlet control.

[0040] 2. The rotation count is used as the first string using the El Gamma algorithm. This first string is then segmented according to a preset segmentation ratio, and the order of the segments is rearranged to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. This third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain ciphertext data. A hash value is calculated on the ciphertext data. The current timestamp and device serial number are obtained. Based on the ciphertext data, hash value, timestamp, and device serial number, a water discharge control command is generated and sent to the controller via the TLS protocol. Subsequent verification can be performed using the device serial number for validity, the timestamp for timeliness, and the hash value for integrity. The rotation count undergoes multi-level encryption; without knowing the corresponding encryption algorithm or data transformation rules, the ciphertext data cannot be decrypted. Furthermore, the TLS protocol is a secure transmission protocol, and at least nine security measures are implemented (El Gamma). The algorithm (including segmentation ratio, AES algorithm, mapping rules, RC2 algorithm, hash calculation, timestamp, device serial number, and TLS protocol) greatly improves the security of transmission of rotation count, thereby greatly improving the security of peristaltic pump water output control.

[0041] 3. By recording work logs in real time during the operation of the peristaltic pump, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use, the work logs are encrypted and uploaded to the server for archiving, facilitating future traceability. Attached Figure Description

[0042] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0043] Figure 1 This is a flowchart of a peristaltic pump water output control method according to the present invention.

[0044] Figure 2 This is a schematic diagram of the peristaltic pump water outlet control system of the present invention. Detailed Implementation

[0045] The overall concept of the technical solution in this application embodiment is as follows: the number of rotations is calculated based on the calibrated outlet volume parameters and the target value of liquid injection, and the operation of the peristaltic pump is controlled based on the number of rotations to replace the traditional flow sensor. This avoids errors caused by the liquid not being able to fill the entire pipe and also avoids lag. Furthermore, the number of rotations is transmitted through multiple encryption processes to prevent it from being stolen or tampered with in plaintext, thereby improving the injection accuracy and security of the peristaltic pump outlet control.

[0046] Please refer to Figures 1 to 2As shown, a preferred embodiment of the peristaltic pump outlet water control method of the present invention includes the following steps:

[0047] Step S1: The server calibrates the peristaltic pump using a metering device to obtain the peristaltic pump's outlet volume parameters;

[0048] Step S2: The server obtains the injection target value and calculates the number of rotations of the peristaltic pump based on the injection target value and the outlet volume parameter.

[0049] Step S3: The server encrypts the number of rotations into ciphertext data, generates a water discharge control command based on the ciphertext data, and sends the water discharge control command to the controller.

[0050] Step S4: The controller receives the water outlet control command, verifies the water outlet control command, and decrypts the encrypted data carried by the water outlet control command to obtain the number of rotations.

[0051] Step S5: The controller controls the peristaltic pump to perform water discharge operation based on the number of rotations.

[0052] Step S1 specifically involves:

[0053] The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

[0054] Step S3 specifically involves:

[0055] The server uses the El Gamma algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data.

[0056] The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

[0057] The rotation count is used as the first string using the El Gamma algorithm. This first string is then segmented according to a preset segmentation ratio, and the order of the segments is rearranged to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. This third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain ciphertext data. A hash value is calculated from the ciphertext data. The current timestamp and device serial number are obtained. Based on the ciphertext data, hash value, timestamp, and device serial number, a water discharge control command is generated and sent to the controller via the TLS protocol. Subsequent verification can be performed using the device serial number for validity, the timestamp for timeliness, and the hash value for integrity. The rotation count undergoes multiple levels of encryption; without knowing the corresponding encryption algorithm or data transformation rules, the ciphertext data cannot be decrypted. Furthermore, the TLS protocol is a secure transmission protocol, and at least nine security measures are implemented (El Gamma). The algorithm (including segmentation ratio, AES algorithm, mapping rules, RC2 algorithm, hash calculation, timestamp, device serial number, and TLS protocol) greatly improves the security of transmission of rotation count, thereby greatly improving the security of peristaltic pump water output control.

[0058] Step S4 specifically involves:

[0059] The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value.

[0060] The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and rearranges the order to obtain a first string, and decrypts the first string using the El Gamma algorithm to obtain the number of rotations.

[0061] Step S5 further includes:

[0062] During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

[0063] By recording work logs in real time during the operation of the peristaltic pump, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use, and then encrypting the work logs into encrypted logs and uploading them to the server for archiving, it is easy to trace the source later.

[0064] The specific steps of encrypting the work log into an encrypted log are as follows:

[0065] The controller creates a public and private key pair based on the RSA algorithm. The public key is then encrypted using the EDA algorithm to obtain the key. A MAC value is calculated from the work log. The work log and the MAC value are then encrypted using the private key to obtain encrypted data. This encrypted data is mapped using a preset mapping rule to obtain mapped data. Finally, the mapped data and the key are encrypted using the ECC algorithm to obtain the encrypted log. Encrypting the work log significantly improves the security of its transmission and storage.

[0066] A preferred embodiment of the peristaltic pump water outlet control system of the present invention includes the following modules:

[0067] The peristaltic pump calibration module is used by the server to calibrate the peristaltic pump through metering equipment and obtain the peristaltic pump's outlet volume parameters;

[0068] The rotation count calculation module is used by the server to obtain the injection target value and calculate the rotation count of the peristaltic pump based on the injection target value and the outlet volume parameter.

[0069] The water outlet control command sending module is used by the server to encrypt the number of rotations into encrypted data, generate a water outlet control command based on the encrypted data, and send the water outlet control command to the controller.

[0070] The water outlet control command parsing module is used by the controller to receive the water outlet control command, verify the water outlet control command, and decrypt the encrypted data carried by the water outlet control command to obtain the number of rotations.

[0071] The water discharge control module is used by the controller to control the peristaltic pump to perform water discharge operation based on the number of rotations.

[0072] The peristaltic pump calibration module is specifically used for:

[0073] The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

[0074] The water outlet control command sending module is specifically used for:

[0075] The server uses the El Gamma algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data.

[0076] The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

[0077] The rotation count is used as the first string using the El Gamma algorithm. This first string is then segmented according to a preset segmentation ratio, and the order of the segments is rearranged to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. This third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain ciphertext data. A hash value is calculated from the ciphertext data. The current timestamp and device serial number are obtained. Based on the ciphertext data, hash value, timestamp, and device serial number, a water discharge control command is generated and sent to the controller via the TLS protocol. Subsequent verification can be performed using the device serial number for validity, the timestamp for timeliness, and the hash value for integrity. The rotation count undergoes multiple levels of encryption; without knowing the corresponding encryption algorithm or data transformation rules, the ciphertext data cannot be decrypted. Furthermore, the TLS protocol is a secure transmission protocol, and at least nine security measures are implemented (El Gamma). The algorithm (including segmentation ratio, AES algorithm, mapping rules, RC2 algorithm, hash calculation, timestamp, device serial number, and TLS protocol) greatly improves the security of transmission of rotation count, thereby greatly improving the security of peristaltic pump water output control.

[0078] The water outlet control command parsing module is specifically used for:

[0079] The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value.

[0080] The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and rearranges the order to obtain a first string, and decrypts the first string using the El Gamma algorithm to obtain the number of rotations.

[0081] The water outlet control module is also used for:

[0082] During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

[0083] By recording work logs in real time during the operation of the peristaltic pump, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use, and then encrypting the work logs into encrypted logs and uploading them to the server for archiving, it is easy to trace the source later.

[0084] The specific steps of encrypting the work log into an encrypted log are as follows:

[0085] The controller creates a public and private key pair based on the RSA algorithm. The public key is then encrypted using the EDA algorithm to obtain the key. A MAC value is calculated from the work log. The work log and the MAC value are then encrypted using the private key to obtain encrypted data. This encrypted data is mapped using a preset mapping rule to obtain mapped data. Finally, the mapped data and the key are encrypted using the ECC algorithm to obtain the encrypted log. Encrypting the work log significantly improves the security of its transmission and storage.

[0086] In summary, the advantages of this invention are:

[0087] 1. The peristaltic pump is calibrated via a server to obtain the outlet volume parameter. Then, the injection target value is obtained. Based on the injection target value and the outlet volume parameter, the number of rotations of the peristaltic pump is calculated and encrypted into ciphertext data. Based on the ciphertext data, an outlet control command is generated and sent to the controller. After verifying the outlet control command, the controller decrypts the ciphertext data carried in the outlet control command to obtain the number of rotations. Based on the number of rotations, the peristaltic pump is controlled to perform the outlet operation. In other words, the number of rotations is calculated based on the calibrated outlet volume parameter and the injection target value, and the operation of the peristaltic pump is controlled based on the number of rotations, which replaces the traditional flow sensor. This avoids errors caused by the liquid not filling the entire pipeline and also avoids hysteresis. Moreover, the number of rotations is encrypted multiple times during transmission to prevent it from being stolen or tampered with in plaintext, thereby greatly improving the injection accuracy and security of the peristaltic pump outlet control.

[0088] 2. The rotation count is used as the first string using the El Gamma algorithm. This first string is then segmented according to a preset segmentation ratio, and the order of the segments is rearranged to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. This third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain ciphertext data. A hash value is calculated on the ciphertext data. The current timestamp and device serial number are obtained. Based on the ciphertext data, hash value, timestamp, and device serial number, a water discharge control command is generated and sent to the controller via the TLS protocol. Subsequent verification can be performed using the device serial number for validity, the timestamp for timeliness, and the hash value for integrity. The rotation count undergoes multi-level encryption; without knowing the corresponding encryption algorithm or data transformation rules, the ciphertext data cannot be decrypted. Furthermore, the TLS protocol is a secure transmission protocol, and at least nine security measures are implemented (El Gamma). The algorithm (including segmentation ratio, AES algorithm, mapping rules, RC2 algorithm, hash calculation, timestamp, device serial number, and TLS protocol) greatly improves the security of transmission of rotation count, thereby greatly improving the security of peristaltic pump water output control.

[0089] 3. By recording work logs in real time during the operation of the peristaltic pump, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use, the work logs are encrypted and uploaded to the server for archiving, facilitating future traceability.

[0090] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for controlling the water output of a peristaltic pump, characterized in that: Includes the following steps: Step S1: The server calibrates the peristaltic pump using a metering device to obtain the peristaltic pump's outlet volume parameters; Step S2: The server obtains the injection target value and calculates the number of rotations of the peristaltic pump based on the injection target value and the outlet volume parameter. Step S3: The server encrypts the number of rotations into ciphertext data, generates a water discharge control command based on the ciphertext data, and sends the water discharge control command to the controller. Step S4: The controller receives the water outlet control command, verifies the water outlet control command, and decrypts the encrypted data carried by the water outlet control command to obtain the number of rotations. Step S5: The controller controls the peristaltic pump to perform water discharge operation based on the number of rotations. Step S3 specifically involves: The server uses the ElGamal algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data. The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

2. The peristaltic pump outlet water control method as described in claim 1, characterized in that: Step S1 specifically involves: The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

3. The peristaltic pump outlet water control method as described in claim 1, characterized in that: Step S4 specifically involves: The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value. The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and reverses the order to obtain a first string, and decrypts the first string using the ElGamal algorithm to obtain the number of rotations.

4. The peristaltic pump outlet water control method as described in claim 1, characterized in that: Step S5 further includes: During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

5. A peristaltic pump water discharge control system, characterized in that: Includes the following modules: The peristaltic pump calibration module is used by the server to calibrate the peristaltic pump through metering equipment and obtain the peristaltic pump's outlet volume parameters; The rotation count calculation module is used by the server to obtain the injection target value and calculate the rotation count of the peristaltic pump based on the injection target value and the outlet volume parameter. The water outlet control command sending module is used by the server to encrypt the number of rotations into encrypted data, generate a water outlet control command based on the encrypted data, and send the water outlet control command to the controller. The water outlet control command parsing module is used by the controller to receive the water outlet control command, verify the water outlet control command, and decrypt the encrypted data carried by the water outlet control command to obtain the number of rotations. The water outlet control module is used by the controller to control the peristaltic pump to perform water outlet operation based on the number of rotations. The water outlet control command sending module is specifically used for: The server uses the ElGamal algorithm to obtain the number of rotations as the first string, then splits the first string according to a preset segmentation ratio and reverses the order to obtain the second string. The second string is then encrypted using the AES algorithm to obtain the third string. The third string is then mapped using a preset mapping rule to obtain the fourth string. Finally, the fourth string is encrypted using the RC2 algorithm to obtain the ciphertext data. The encrypted data is hashed to obtain a hash value, the current timestamp and device serial number are obtained, and a water discharge control command is generated based on the encrypted data, hash value, timestamp and device serial number. The water discharge control command is then sent to the controller via the TLS protocol.

6. The peristaltic pump water discharge control system as described in claim 5, characterized in that: The peristaltic pump calibration module is specifically used for: The server automatically calibrates the peristaltic pump using a metering device, obtains the pump's outlet volume parameters, and stores these parameters after binding them to the metering device's model and serial number.

7. The peristaltic pump water outlet control system as described in claim 5, characterized in that: The water outlet control command parsing module is specifically used for: The controller receives the water discharge control command in real time through the wireless communication module, parses the water discharge control command to obtain encrypted data, hash value, timestamp and device serial number, performs legality verification on the device serial number through the preset device management table, performs timeliness verification through the timestamp, and then performs integrity verification on the encrypted data through the hash value. The controller decrypts the encrypted data using the RC2 algorithm to obtain a fourth string, maps the fourth string to a third string using a preset mapping rule, decrypts the third string using the AES algorithm to obtain a second string, segments the second string based on the reciprocal of a preset segmentation ratio and reverses the order to obtain a first string, and decrypts the first string using the ElGamal algorithm to obtain the number of rotations.

8. A peristaltic pump water discharge control system as described in claim 5, characterized in that: The water outlet control module is also used for: During the operation of the peristaltic pump, the controller records a work log in real time, including at least the running time, number of starts and stops, actual number of rotations, installation location, and duration of use. After encrypting the work log into an encrypted log, the encrypted log is uploaded to the server for archiving via the TLS protocol.

Citation Information

Patent Citations

  • Method for controlling flow of peristaltic pump accurately by means of gear motor

    CN103821706A

  • Intelligent flow correction method and system for peristaltic pump

    CN106168209A