Infusion method, apparatus, device, and medium of a cascading infusion pump
Patent Information
- Application Number
- CN202410164578.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2044-02-05
AI Technical Summary
[0003]有鉴于此,本申请实施例提供了一种级联输注泵的输注方法、装置、设备及介质,以解决在多台输注泵联机工作的过程中,成本较高的问题
[0019]The process involves acquiring the infusion pumps to be cascaded, identifying the first and last infusion pumps based on the heartbeat response packets received by the infrared devices in each pump, and determining the number of pumps to be cascaded based on the command packets containing physical location information sent by the first pump and the command packets containing physical information received by the last pump. For any given pump, if the pump's infusion number is less than the number of pumps, after the pump completes infusion, it sends an infusion command packet containing the infusion number to the adjacent pump. The preset infusion number of the receiving pump is compared with the infusion number in the command packet. If the comparison results are the same, the receiving pump begins infusion. In this application, by installing an infrared device in the infusion pump for communication and autonomous cascading, the operation of the infusion pump does not require the establishment of a workstation to control the operation of the infusion pump, which reduces costs. In addition, the infrared device has strong anti-electromagnetic interference capability and can better receive the signals sent by each infusion pump, thereby improving the working efficiency of the infusion pump.
Smart Images

Figure CN118079134B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of infusion pump technology, and in particular to an infusion method, apparatus, equipment and medium of a cascaded infusion pump. Background Technology
[0002] With hospitals increasingly demanding more infusion pumps, the use of multiple infusion pumps in cascades is becoming more common. Currently, communication between multiple infusion pumps in cascaded operation relies on workstations. These workstations typically use wired connections for communication and infusion control. However, this method is limited by wiring connections, requiring the pumps to be located at workstations, which increases the cost of operating multiple infusion pumps in cascades. Therefore, reducing costs is a pressing issue that needs to be addressed when operating multiple infusion pumps in cascades. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method, apparatus, equipment, and medium for cascaded injection pumps to solve the problem of high cost when multiple injection pumps are connected in series.
[0004] In a first aspect, embodiments of this application provide an infusion method using cascaded infusion pumps, wherein each infusion pump is provided with an infrared device above and below it, the infrared device being used to send and receive data, and the infusion method comprising:
[0005] The infusion pumps to be cascaded are obtained, and the infusion pump with the first physical position and the infusion pump with the last physical position are determined based on the heartbeat response packet received by the infrared device in each infusion pump.
[0006] The number of infusion pumps to be cascaded is determined based on the command packet containing physical location information sent by the first infusion pump and the command packet containing physical information received by the last infusion pump.
[0007] For any given infusion pump, if the infusion number of the infusion pump is less than the number, then after the infusion pump completes the infusion, an infusion command packet containing the infusion number is sent to the adjacent infusion pump.
[0008] The preset infusion number of the infusion pump that receives the infusion command packet is compared with the infusion number in the infusion command packet to obtain the comparison result;
[0009] If the comparison results are the same, the infusion pump that received the infusion command packet will start infusion.
[0010] Secondly, embodiments of this application provide an infusion device for cascaded infusion pumps, wherein each infusion pump is provided with an infrared device above and below it, the infrared device being used to send and receive data, and the infusion device comprising:
[0011] The acquisition module is used to acquire the infusion pumps to be cascaded, and to determine the infusion pump with the first physical location and the infusion pump with the last physical location among the infusion pumps to be cascaded based on the heartbeat response packet received by the infrared device in each infusion pump.
[0012] The determining module is used to determine the number of infusion pumps to be cascaded based on the command packet containing physical location information sent by the infusion pump with the first physical location and the command packet containing physical information received by the infusion pump with the last physical location.
[0013] The sending module is used to send an infusion command packet containing the infusion number to the adjacent infusion pump after the infusion pump has completed infusion if the infusion number of the infusion pump is less than the number of pumps.
[0014] The comparison module is used to compare the preset infusion number of the infusion pump that receives the infusion command packet with the infusion number in the infusion command packet to obtain the comparison result;
[0015] The infusion module is used to start infusion when the infusion pump that receives the infusion command packet starts infusion if the comparison results are the same.
[0016] Thirdly, embodiments of this application provide a computer device, the computer device including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the infusion method of the cascaded infusion pump as described in the first aspect.
[0017] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the infusion method of the cascaded infusion pump as described in the first aspect.
[0018] The advantages of this invention compared to the prior art are:
[0019] The process involves acquiring the infusion pumps to be cascaded, identifying the first and last infusion pumps based on the heartbeat response packets received by the infrared devices in each pump, and determining the number of pumps to be cascaded based on the command packets containing physical location information sent by the first pump and the command packets containing physical information received by the last pump. For any given pump, if the pump's infusion number is less than the number of pumps, after the pump completes infusion, it sends an infusion command packet containing the infusion number to the adjacent pump. The preset infusion number of the receiving pump is compared with the infusion number in the command packet. If the comparison results are the same, the receiving pump begins infusion. In this application, by installing an infrared device in the infusion pump for communication and autonomous cascading, the operation of the infusion pump does not require the establishment of a workstation to control the operation of the infusion pump, which reduces costs. In addition, the infrared device has strong anti-electromagnetic interference capability and can better receive the signals sent by each infusion pump, thereby improving the working efficiency of the infusion pump. Attached Figure Description
[0020] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic flowchart of an injection method using a cascaded injection pump provided in an embodiment of this application;
[0022] Figure 2 This is a schematic diagram of the structure of an injection device for a cascaded injection pump provided in an embodiment of this application;
[0023] Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0026] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0027] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0028] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0029] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0030] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0031] It should be understood that the sequence number of each step in the following embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0032] To illustrate the technical solution of the present invention, specific embodiments are described below.
[0033] See Figure 1 This is a schematic flowchart of an injection method using a cascaded injection pump according to an embodiment of the present invention, as shown below. Figure 1 As shown, the injection method of this cascade injection pump may include the following steps.
[0034] S101: Obtain the infusion pumps to be cascaded, and determine the infusion pump with the first physical position and the infusion pump with the last physical position among the infusion pumps to be cascaded based on the heartbeat response packet received by the infrared device in each infusion pump.
[0035] In step S101, the infusion pumps to be cascaded are obtained. The infusion pumps to be cascaded are multiple infusion pumps. Each infusion pump is equipped with an infrared device above and below it. The infrared device is used to receive or send infrared signal data. Based on the heartbeat response packet received by the infrared device in each infusion pump, the infusion pump with the first physical position and the infusion pump with the last physical position in the infusion pumps to be cascaded are determined. The infusion pump with the first physical position is the infusion pump that is arranged first according to the preset setting position, and the infusion pump with the last physical position is the infusion pump that is arranged last according to the preset setting position.
[0036] In this embodiment, the infusion pumps to be cascaded are obtained and arranged vertically relative to each other. The bottom infusion pump is designated as the first infusion pump in physical position, and the top infusion pump is designated as the last infusion pump in physical position. The first infusion pump in physical position sends an infrared signal through the infrared device above it. After the infrared device below the second infusion pump above the bottom infusion pump receives the corresponding infrared signal, the infrared device below the second infusion pump in physical position sends a corresponding infrared signal to the infrared device above the first infusion pump in physical position.
[0037] Based on the infrared signal, data packets are acquired from the corresponding infrared signal. These data packets may include heartbeat packets, command packets, and response packets. Response packets may include heartbeat response packets and command response packets. The heartbeat packet is used to determine whether the upper and lower infusion pumps are connected. If a heartbeat response packet corresponding to the heartbeat packet is received, it is determined that the upper and lower infusion pumps are connected. If no heartbeat response packet corresponding to the heartbeat packet is received, it is determined that the upper and lower infusion pumps are not connected. Based on the heartbeat response packets received by the infrared device in each infusion pump, the infusion pump with the first physical position and the infusion pump with the last physical position in the cascaded infusion pumps are determined. The bottom infusion pump is designated as the pump with the first physical position. The infrared device above the bottom infusion pump sends an infrared signal and receives the response infrared signal sent by the infrared device below the pump with the second physical position. The infrared device below the pump with the first physical position cannot receive response infrared signals sent by other infusion pumps. Based on the heartbeat response packets received by the infrared device in each infusion pump, the infusion pump with the first physical location and the infusion pump with the last physical location in the infusion pump to be cascaded are determined, so as to determine the number of infusion pumps to be cascaded based on the physical location of the infusion pumps.
[0038] Optionally, before determining the infusion pump with the first physical location and the infusion pump with the last physical location among the infusion pumps to be cascaded, based on the heartbeat response packets received by the infrared device in each infusion pump, the method further includes:
[0039] After controlling the infrared device on each infusion pump to send data packets, the header, tail, and length of the data packets received by each infusion pump are verified to obtain the verification result;
[0040] If the verification result is correct, the type of data packet is determined based on the packet header;
[0041] If the data packet type is a heartbeat packet, then the response packet received by the infrared device in each infusion pump is taken as the heartbeat response packet.
[0042] In this embodiment, after the infusion pumps to be cascaded are positioned relative to each other vertically, each infrared device is controlled to send an infrared signal containing a data packet. The data packet received by each infusion pump is verified to obtain a verification result. The data packet includes a header, a valid data length, and a tail. Here, the header can be a marker of the start position of the data packet, the valid data length can be the length of the data in the data packet, and the tail can be a marker of the end position of the data packet.
[0043] It should be noted that when verifying the data packets received by each infusion pump, the validity of the data packet is checked. This involves determining the validity of the packet header. If the header is valid, the length of the received data is obtained, and its validity is then checked. Understandably, the validity of the packet header can be verified using a preset header verification method. This preset header verification method can be set according to actual needs. The system can also determine if the length of the received data is greater than or equal to the maximum data packet length. If the received data length is greater than or equal to the maximum data packet length, the received data length is invalid; if the received data length is less than the maximum data packet length, the received data length is valid. The received data length can be the length of data received after the header validity is confirmed.
[0044] If the length of the received data is valid, then obtain the packet tail. Determine the validity of the packet tail. Specifically, if the length of the received data is valid, it means that the current data packet has been completely received. The packet tail can be identified from the received data, and its validity can be determined. If the packet tail is valid, the verification result is considered correct.
[0045] If the verification result is correct, the data packet type is determined based on the packet header. The packet header contains a message field indicating the data type. The data type indicated by the message field is used to determine the data packet type. If the data packet type is a heartbeat packet, then the response packet received by the infrared device in each infusion pump is taken as the heartbeat response packet.
[0046] In this embodiment, the connection between the infusion pumps is determined based on whether the corresponding heartbeat response packet is received. If the connection is established, infrared communication is performed. If the corresponding heartbeat response packet is not received, it is assumed that the connection between the infusion pumps is not established, and the corresponding heartbeat packet needs to be resent.
[0047] It should be noted that the heartbeat packets are sent periodically according to a preset time period to ensure a continuous connection between the infusion pumps.
[0048] Optionally, based on the heartbeat response packet received by the infrared device in each infusion pump, the infusion pump with the first physical location and the infusion pump with the last physical location in the cascaded infusion pumps are determined, including:
[0049] If the infrared device above the infusion pump receives a heartbeat response packet, but the infrared device below does not receive a heartbeat response packet, then the corresponding infusion pump is the infusion pump with the first physical location.
[0050] If the infrared device above the infusion pump does not receive a heartbeat response packet, but the infrared device below receives a heartbeat response packet, then the corresponding infusion pump is the one whose physical location is the last infusion pump.
[0051] In this embodiment, each infusion pump is equipped with an infrared device above and below it. Each infrared device is used to send and receive infrared signals. If both the infrared devices above and below the infusion pump can receive the corresponding infrared signal, the infusion pump is considered to be in the middle position in the cascade. If the infrared devices above and below the infusion pump only receive the infrared signal once, the infusion pump is considered to be the first or last in the cascade. If the infrared device above the infusion pump receives the infrared signal (i.e., a heartbeat response packet) but the infrared device below does not receive the infrared signal (i.e., a heartbeat response packet), the corresponding infusion pump is the first infusion pump in physical position. If the infrared device above the infusion pump does not receive the infrared signal (i.e., a heartbeat response packet) but the infrared device below receives the infrared signal (i.e., a heartbeat response packet), the corresponding infusion pump is the last infusion pump in physical position.
[0052] S102: Determine the number of infusion pumps to be cascaded based on the command packet containing physical location information sent by the first infusion pump and the command packet containing physical information received by the last infusion pump.
[0053] In step S102, after determining the first and last infusion pumps in physical location, the number of infusion pumps to be cascaded is determined. The first infusion pump sends a command packet containing physical location information. Each infusion pump can determine its own physical location based on the physical location of the previous infusion pump it receives. When the last infusion pump receives the command packet containing physical location information, it can determine the specific physical location of the last infusion pump, thereby determining the number of infusion pumps to be cascaded.
[0054] In this embodiment, each infusion pump sends its corresponding physical information to the next infusion pump whose physical location is next. The next infusion pump determines its physical location based on the received command packet containing the physical information. Specifically, the infusion pump at the first physical location begins sending command packets via its upper infrared device, communicating with the infrared device below the next infusion pump. When the infrared device below the next infusion pump receives the command packet sent by the first infusion pump via its upper infrared device, it parses the command packet to extract the corresponding physical location information, thereby determining the physical location of the next infusion pump. Then, the infrared device above the next infusion pump sends a command packet containing the physical location information to the next infusion pump, and so on, until the last infusion pump receives its corresponding command packet, thus determining the physical location of the last infusion pump.
[0055] Optionally, the number of infusion pumps to be cascaded is determined based on the command packet containing physical location information sent by the first infusion pump and the command packet containing physical information received by the last infusion pump, including:
[0056] For any infusion pump, a command packet containing physical location information is sent through an infrared device above the infusion pump. Based on the command packet, the physical information of the infusion pump that receives the command packet is determined.
[0057] After receiving a command packet containing physical location information, the last infusion pump in physical location determines the physical location information of the last infusion pump and obtains the number of infusion pumps to be cascaded based on the physical location information of the last infusion pump.
[0058] In this embodiment, for any infusion pump, a command packet containing physical location information is sent via an infrared device above the pump. Based on the command packet, the physical information of the receiving pump is determined. For example, the pump at the first physical location starts sending command packets via its upper infrared device, communicating with the infrared device below the next pump. When the infrared device below the next pump receives the command packet sent by the pump at the first physical location via its upper infrared device, it parses the command packet to extract the corresponding physical location information (i.e., the first physical location). The next pump's corresponding physical location is the second. The second pump then packages this physical location information into a command packet and sends it via its upper infrared device to the next pump, the pump at the third physical location. After the last pump receives the command packet containing its physical location information, its physical location is determined. Based on this physical location information, the number of pumps to be cascaded is calculated. When the last infusion pump receives a command packet containing physical location information from the previous infusion pump, it determines the physical location of the last infusion pump based on the physical location information in the parsed command packet. For example, when the last infusion pump receives a command packet from the third infusion pump, it determines that the last infusion pump is the fourth infusion pump. That is, the infusion pumps to be cascaded include 4 infusion pumps.
[0059] Optionally, after determining the number of infusion pumps to be cascaded, the method further includes:
[0060] Based on the physical information of each infusion pump, the number is sent sequentially to each infusion pump, so that each infusion pump knows the number of infusion pumps to be cascaded.
[0061] In this embodiment, after determining the number of infusion pumps to be cascaded, the number of infusion pumps to be cascaded is sequentially sent downwards from the last infusion pump in physical location, so that each infusion pump can obtain the number of infusion pumps to be cascaded. For example, if the number of infusion pumps to be cascaded is 4, the last infusion pump in physical location sends an infrared signal containing the number of pumps to be cascaded to the third infusion pump in physical location via the infrared device below. The third infusion pump in physical location receives the corresponding infrared signal via the infrared device above. After receiving the corresponding infrared signal, the third infusion pump in physical location sends an infrared signal containing the number of pumps to be cascaded to the second infusion pump in physical location via the infrared device below. The second infusion pump in physical location receives the corresponding infrared signal via the infrared device above. After receiving the corresponding infrared signal, the second infusion pump in physical location sends an infrared signal containing the number of pumps to be cascaded to the first infusion pump in physical location via the infrared device below. The first infusion pump in physical location receives the corresponding infrared signal via the infrared device above. The number of infusion pumps to be cascaded can be obtained from the four cascaded pumps.
[0062] S103: For any injection pump, if the injection number of the injection pump is less than the number of pumps, then after the injection pump completes the injection, an injection command packet containing the injection number is sent to the adjacent injection pump.
[0063] In step S103, for any infusion pump, if the infusion number of the infusion pump is less than the number of pumps, that is, the infusion pump is not the last pump to perform infusion, then after the infusion pump completes infusion, an infusion command packet containing the infusion number is sent to the adjacent infusion pumps so that the remaining infusion pumps can perform infusion according to the infusion command in the infusion command packet. The adjacent infusion pumps are the upper infusion pump and the lower infusion pump of the corresponding infusion pump. The infusion number is the infusion sequence number of the cascaded infusion pumps during the infusion process. For example, if the second infusion pump needs to start infusion after the first infusion pump in the cascaded infusion pumps has completed infusion, then the infusion number in the infusion command packet is 2. If the third infusion pump needs to perform infusion after the second infusion pump in the cascaded infusion pumps has completed infusion, then the infusion number in the infusion command packet is 3.
[0064] In this embodiment, after the cascaded infusion pumps are completed, a cascaded infusion pump is obtained, and each infusion pump communicates with each other via infrared signals. During infusion, a corresponding infusion order is set for each infusion pump, and infusions are performed sequentially according to this order until each infusion pump has finished infusion. For example, the infusion pump with the first infusion number starts infusion. After the first infusion pump array is completed, it sends an infusion command packet to the adjacent infusion pumps. When the infusion pump with the second infusion number receives the infusion command packet sent by the first infusion pump, the second infusion pump begins infusion.
[0065] It should be noted that the infusion sequence can be the same as or different from the physical positional order of the cascaded infusion pumps. For example, the physical positional order of the cascaded infusion pumps from bottom to top might be: first infusion pump, second infusion pump, third infusion pump, and fourth infusion pump. The infusion sequence from bottom to top could be: infusion pump number 1, infusion pump number 2, infusion pump number 3, and infusion pump number 1; or it could be: infusion pump number 2, infusion pump number 3, infusion pump number 1, and infusion pump number 4. That is, the connection of the cascaded infusion pumps according to their physical positional order is 1-2-3-4, but the connection according to the infusion sequence could be 1-2-3-4 or 2-3-1-4. In other words, the infusion sequence of the pump physically located as 1 might be 2.
[0066] S104: Compare the preset infusion number of the infusion pump that receives the infusion command packet with the infusion number in the infusion command packet to obtain the comparison result.
[0067] In step S104, during the cascaded infusion pump infusion process, each infusion pump infuses according to its corresponding infusion sequence. After each infusion pump completes its infusion, the system determines whether to proceed with the next infusion pump infusion sequence based on a preset infusion number in the infusion sequence. The preset infusion number of the infusion pump receiving the infusion command packet is compared with the infusion number in the infusion command packet to obtain a comparison result. This comparison result is used to determine whether the next infusion pump should proceed with infusion.
[0068] In this embodiment, the preset infusion number of the infusion pump receiving the infusion command packet is compared with the infusion number in the infusion command packet to obtain a comparison result. The preset infusion number is a pre-set infusion order for each infusion pump in the cascaded infusion pumps, and the infusion number is the infusion sequence number of the cascaded infusion pump during the infusion process. When comparing the preset infusion number of the infusion pump receiving the infusion command packet with the infusion number in the infusion command packet, it is determined whether the preset infusion number of the infusion pump receiving the infusion command packet and the infusion number in the infusion command packet are equal. If they are equal, the corresponding infusion pump starts infusion; if they are not equal, an infusion pump whose preset infusion number and the infusion number in the infusion command packet are found and infused.
[0069] S105: If the comparison results are the same, the infusion pump that received the infusion command packet will start infusion.
[0070] In step S105, if the comparison results are the same, that is, the preset infusion number of the infusion pump receiving the infusion command packet is the same as the infusion number in the infusion command packet, then the infusion pump corresponding to receiving the infusion command packet starts infusion.
[0071] In this embodiment, it is determined whether the comparison results are the same. If the comparison results are the same, the infusion pump that received the infusion command packet starts infusion. For example, if the preset infusion number of the infusion pump that received the infusion command packet is 2, and the infusion number in the infusion command packet is also 2, it is considered that one of the cascaded infusion pumps has completed infusion, and the second infusion pump starts infusion. The infusion pump with the second infusion sequence needs to perform infusion, that is, the infusion pump with the preset infusion number 2 starts infusion.
[0072] Optionally, after comparing the preset infusion number of the infusion pump receiving the infusion command packet with the infusion number in the infusion command packet and obtaining the comparison result, the method further includes:
[0073] If the comparison results are different, the infusion pump that received the infusion command packet sends an infusion command packet containing the infusion number to the adjacent infusion pump.
[0074] In this embodiment, if the comparison results are different, the infusion pump receiving the infusion command packet sends an infusion command packet containing the infusion number to the adjacent infusion pump until the preset infusion number of the infusion pump receiving the infusion command packet is the same as the infusion number in the infusion command packet. For example, the physical position order of the cascaded infusion pumps is 1-2-3-4 from bottom to top, that is, infusion pump 1, infusion pump 2, infusion pump 3 and infusion pump 4. According to the preset infusion order, the preset infusion number corresponding to each infusion pump is in the following order: infusion number 2, infusion number 3, infusion number 4 and infusion number 1. That is, the infusion number of infusion pump 1 is 2, the infusion number of infusion pump 2 is 3, the infusion number of infusion pump 3 is 4 and the infusion number of infusion pump 4 is 1. Infusion pump 4 begins infusion. After infusion is completed, infusion pump 2 begins infusion. Infusion pump 4 sends infusion command packet number 2 to infusion pump 3 via the infrared device below. After receiving the corresponding infusion command packet, infusion pump 3 compares the infusion number in the command packet with the infusion number in infusion pump 3. If the comparison result is different, infusion pump 3 sends infusion command packet number 2 to infusion pump 2 via the infrared device below. After receiving the corresponding infusion command packet, infusion pump 2 compares the infusion number in the command packet with the infusion number in infusion pump 2. If the comparison result is different, infusion pump 2 sends infusion command packet number 2 to infusion pump 1 via the infrared device below. After receiving the corresponding infusion command packet, infusion pump 1 compares the infusion number in the command packet with the infusion number in infusion pump 1. If the comparison result is the same, infusion pump 1 begins infusion.
[0075] The process involves acquiring the infusion pumps to be cascaded, identifying the first and last infusion pumps based on the heartbeat response packets received by the infrared devices in each pump, and determining the number of pumps to be cascaded based on the command packets containing physical location information sent by the first pump and the command packets containing physical information received by the last pump. For any given pump, if the pump's infusion number is less than the number of pumps, after the pump completes infusion, it sends an infusion command packet containing the infusion number to the adjacent pump. The preset infusion number of the receiving pump is compared with the infusion number in the command packet. If the comparison results are the same, the receiving pump begins infusion. In this application, by installing an infrared device in the infusion pump for communication and autonomous cascading, the operation of the infusion pump does not require the establishment of a workstation to control the operation of the infusion pump, which reduces costs. In addition, the infrared device has strong anti-electromagnetic interference capability and can better receive the signals sent by each infusion pump, thereby improving the working efficiency of the infusion pump.
[0076] See Figure 2 , Figure 2 This diagram illustrates the structural block diagram of the infusion device for a cascaded infusion pump provided in an embodiment of this application. Infrared devices are respectively installed above and below each infusion pump. These infrared devices are used to send and receive data. For ease of explanation, only the parts relevant to the embodiments of this application are shown. See also... Figure 2 The infusion device 20 includes: an acquisition module 21, a determination module 22, a sending module 23, a comparison module 24, and an infusion module 25.
[0077] The acquisition module 21 is used to acquire the infusion pumps to be cascaded, and to determine the infusion pump with the first physical position and the infusion pump with the last physical position among the infusion pumps to be cascaded based on the heartbeat response packets received by the infrared device in each infusion pump.
[0078] The determining module 22 is used to determine the number of infusion pumps to be cascaded based on the command packet containing physical location information sent by the infusion pump with the first physical location and the command packet containing physical information received by the infusion pump with the last physical location.
[0079] The sending module 23 is used to send an injection command packet containing the injection number to the adjacent injection pump after the injection pump has completed injection if the injection number of any injection pump is less than the number of pumps.
[0080] The comparison module 24 is used to compare the preset infusion number of the infusion pump that receives the infusion command packet with the infusion number in the infusion command packet to obtain the comparison result.
[0081] The infusion module 25 is used to start infusion when the infusion pump that received the infusion command packet starts infusion if the comparison results are the same.
[0082] Optionally, the infusion device 20 further includes:
[0083] The verification module is used to verify the header, tail, and length of the data packets received by each infusion pump after the infrared device on each infusion pump sends the data packets, and obtain the verification result.
[0084] The first judgment module is used to determine the type of data packet based on the packet header if the verification result is correct.
[0085] The second judgment module is used to treat the response packet received by the infrared device in each infusion pump as a heartbeat response packet if the data packet type is a heartbeat packet.
[0086] Optionally, the acquisition module 21 includes:
[0087] The first judgment unit is used to determine if the infrared device above the infusion pump receives a heartbeat response packet, but the infrared device below does not receive a heartbeat response packet, then the corresponding infusion pump is the infusion pump with the first physical location.
[0088] The second judgment unit is used to determine if the infrared device above the infusion pump does not receive a heartbeat response packet, but the infrared device below receives a heartbeat response packet, and the corresponding infusion pump is the one whose physical location is the last infusion pump.
[0089] Optionally, the determining module 22 includes:
[0090] The determining unit is used to send a command packet containing physical location information to any infusion pump via an infrared device above the infusion pump, and to determine the physical information of the infusion pump that receives the command packet based on the command packet.
[0091] The unit is used to determine the physical location information of the last infusion pump after receiving a command packet containing physical location information, and to obtain the number of infusion pumps to be cascaded based on the physical location information of the last infusion pump.
[0092] Optionally, the infusion device 20 further includes:
[0093] The sending module is used to send the number of pumps sequentially to each pump based on the physical information of each pump, so that each pump can know the number of pumps to be cascaded.
[0094] Optionally, the infusion device 20 further includes:
[0095] The judgment module is used to send an infusion command packet containing the infusion number to the adjacent infusion pump if the comparison results are different.
[0096] It should be noted that the information interaction and execution process between the above modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0097] Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 3 As shown, the computer device of this embodiment includes: at least one processor ( Figure 3 Only one is shown in the diagram), a memory, and a computer program stored in the memory and executable on at least one processor, which, when executed by the processor, implements the steps in the infusion method embodiments of any of the cascaded infusion pumps described above.
[0098] This computer device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 3 The examples of computer devices are merely examples and do not constitute a limitation on computer devices. Computer devices may include more or fewer components than shown in the illustration, or combinations of certain components, or different components, such as network interfaces.
[0099] The processor referred to can be a CPU, but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0100] Memory includes readable storage media, internal memory, etc., wherein internal memory can be the RAM of a computer device, providing an environment for the operation of the operating system and computer-readable instructions stored in the readable storage media. The readable storage media can be the hard drive of a computer device, or in other embodiments, it can be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal storage units and external storage devices of a computer device. Memory is used to store the operating system, applications, bootloader, data, and other programs, such as program code for computer programs. Memory can also be used to temporarily store data that has been output or will be output.
[0101] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0102] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, it enables the computer device to execute the steps in the above method embodiments.
[0103] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0104] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0105] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0106] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0107] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for injecting water using a cascaded injection pump, characterized in that, Each infusion pump is equipped with an infrared device above and below it, the infrared device being used to send and receive data, and the infusion method includes: The infusion pumps to be cascaded are obtained, and the infusion pump with the first physical position and the infusion pump with the last physical position are determined based on the heartbeat response packet received by the infrared device in each infusion pump. The number of infusion pumps to be cascaded is determined based on the command packet containing physical location information sent by the first infusion pump and the command packet containing physical information received by the last infusion pump. For any given infusion pump, if the infusion number of the infusion pump is less than the number, then after the infusion pump completes the infusion, an infusion command packet containing the infusion number is sent to the adjacent infusion pump. The preset infusion number of the infusion pump that receives the infusion command packet is compared with the infusion number in the infusion command packet to obtain the comparison result; If the comparison results are the same, the infusion pump that received the infusion command packet will start infusion.
2. The infusion method as described in claim 1, characterized in that, Before determining the infusion pump with the first physical location and the infusion pump with the last physical location among the infusion pumps to be cascaded based on the heartbeat response packets received by the infrared device in each infusion pump, the method further includes: After controlling the infrared device on each infusion pump to send data packets, the header, tail, and length of the data packets received by each infusion pump are verified to obtain the verification result; If the verification result is correct, the type of the data packet is determined based on the packet header. If the data packet is a heartbeat packet, then the response packet received by the infrared device in each infusion pump is taken as a heartbeat response packet.
3. The infusion method as described in claim 1, characterized in that, The step of determining the infusion pump with the first physical location and the infusion pump with the last physical location among the infusion pumps to be cascaded, based on the heartbeat response packets received by the infrared device in each infusion pump, includes: If the infrared device above the infusion pump receives a heartbeat response packet, but the infrared device below does not receive a heartbeat response packet, then the corresponding infusion pump is the infusion pump with the first physical location. If the infrared device above the infusion pump does not receive a heartbeat response packet, but the infrared device below receives a heartbeat response packet, then the corresponding infusion pump is the one whose physical location is the last infusion pump.
4. The infusion method as described in claim 1, characterized in that, The determination of the number of infusion pumps to be cascaded, based on the command packet containing physical location information sent by the first infusion pump and the command packet containing physical information received by the last infusion pump, includes: For any infusion pump, a command packet containing physical location information is sent through an infrared device above the infusion pump. Based on the command packet, the physical information of the infusion pump that receives the command packet is determined. After receiving a command packet containing physical location information, the last infusion pump is physically located. The physical location information of the last infusion pump is determined, and the number of infusion pumps to be cascaded is obtained based on the physical location information of the last infusion pump.
5. The infusion method as described in claim 1, characterized in that, After determining the number of infusion pumps to be cascaded, the process further includes: Based on the physical information of each infusion pump, the number is sent sequentially to each infusion pump, so that each infusion pump knows the number of infusion pumps to be cascaded.
6. The infusion method as described in claim 1, characterized in that, After comparing the preset infusion number of the infusion pump receiving the infusion command packet with the infusion number in the infusion command packet to obtain the comparison result, the method further includes: If the comparison results are different, the infusion pump that receives the infusion command packet sends an infusion command packet containing the infusion number to the adjacent infusion pump.
7. A delivery device for a cascaded injection pump, characterized in that, Each infusion pump is equipped with an infrared device above and below it, which is used to send and receive data. The infusion device includes: The acquisition module is used to acquire the infusion pumps to be cascaded, and to determine the infusion pump with the first physical location and the infusion pump with the last physical location among the infusion pumps to be cascaded based on the heartbeat response packet received by the infrared device in each infusion pump. The determining module is used to determine the number of infusion pumps to be cascaded based on the command packet containing physical location information sent by the infusion pump with the first physical location and the command packet containing physical information received by the infusion pump with the last physical location. The sending module is used to send an infusion command packet containing the infusion number to the adjacent infusion pump after the infusion pump has completed infusion if the infusion number of the infusion pump is less than the number of pumps. The comparison module is used to compare the preset infusion number of the infusion pump that receives the infusion command packet with the infusion number in the infusion command packet to obtain the comparison result; The infusion module is used to start infusion when the infusion pump that received the infusion command packet starts infusion if the comparison results are the same.
8. The infusion device as described in claim 7, characterized in that, The infusion device further includes: The verification module is used to verify the header, tail, and length of the data packets received by each infusion pump after the infrared device on each infusion pump sends the data packets, and to obtain the verification result. The first judgment module is used to determine the type of the data packet based on the packet header if the verification result is correct. The second judgment module is used to take the response packet received by the infrared device in each infusion pump as a heartbeat response packet if the data packet type is a heartbeat packet.
9. A computer device, characterized in that, The computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the infusion method as described in claims 1 to 6.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the infusion method as described in claims 1 to 6.
Citation Information
Patent Citations
Infusion pump suspension control method and infusion pump
CN112295048A
Infusion information management method and device, medical advice management system and storage medium
CN115274046A