Summary of the invention
In view of this, the embodiment of the invention provides a kind of infusion control method, computer readable storage medium and services
Device to solve to be taken time and effort by entourage when guarding patient's infusion, and easily causes malpractice to occur because of carelessness
Problem.
The first aspect of the embodiment of the present invention provides a kind of infusion control method, may include:
The type of infusion vessel is obtained, and determines the infusion vessel in blank state according to the type of the infusion vessel
Under nt wt net weight;
In infusion process, the total weight of the infusion vessel is obtained in real time, and according to the total weight and the net weight
Amount calculates the residual volume of solution in the infusion vessel;
If the residual volume of solution is less than preset first weight threshold, with preset first alerting pattern to specified
Terminal device, which issues, to be reminded;
If not receiving the feedback message of the terminal device, and the residual volume of solution is less than preset second weight threshold
Value is then issued to the terminal device with preset second alerting pattern and is reminded, and gradually slows down the medicine in the infusion vessel
Flow velocity, until the feedback message for receiving the terminal device, second weight threshold is less than first weight
Threshold value.
The second aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer-readable instruction, and the computer-readable instruction realizes following steps when being executed by processor:
The type of infusion vessel is obtained, and determines the infusion vessel in blank state according to the type of the infusion vessel
Under nt wt net weight;
In infusion process, the total weight of the infusion vessel is obtained in real time, and according to the total weight and the net weight
Amount calculates the residual volume of solution in the infusion vessel;
If the residual volume of solution is less than preset first weight threshold, with preset first alerting pattern to specified
Terminal device, which issues, to be reminded;
If not receiving the feedback message of the terminal device, and the residual volume of solution is less than preset second weight threshold
Value is then issued to the terminal device with preset second alerting pattern and is reminded, and gradually slows down the medicine in the infusion vessel
Flow velocity, until the feedback message for receiving the terminal device, second weight threshold is less than first weight
Threshold value.
The third aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer-readable instruction that can be run in memory and on the processor is stated, the processor executes described computer-readable
Following steps are realized when instruction:
The type of infusion vessel is obtained, and determines the infusion vessel in blank state according to the type of the infusion vessel
Under nt wt net weight;
In infusion process, the total weight of the infusion vessel is obtained in real time, and according to the total weight and the net weight
Amount calculates the residual volume of solution in the infusion vessel;
If the residual volume of solution is less than preset first weight threshold, with preset first alerting pattern to specified
Terminal device, which issues, to be reminded;
If not receiving the feedback message of the terminal device, and the residual volume of solution is less than preset second weight threshold
Value is then issued to the terminal device with preset second alerting pattern and is reminded, and gradually slows down the medicine in the infusion vessel
Flow velocity, until the feedback message for receiving the terminal device, second weight threshold is less than first weight
Threshold value.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention obtains infusion first and holds
The type of device, and further determine that nt wt net weight of the infusion vessel under blank state, in infusion process, it is defeated that this is obtained in real time
The total weight of liquid container, and the residual volume of solution being calculated in the infusion vessel accordingly, if residual volume of solution is less, to
Medical staff, which issues, to be reminded, and medical staff can carry out in time dressing after receiving prompting or take needle, if medical staff does not make sound
It answers, and residual volume of solution is reduced to a certain limiting value, then issues further prompting to medical staff, and gradually slow down infusion
Medical fluid flow velocity in container, to make medical staff come to handle before medical fluid is flow to end as much as possible.By the monitoring of automation, mention
Awake and emergency trouble shooting measures, no setting is required in infusion process, and special personnel accompany and attend to, and avoid because human negligence can
Malpractice caused by energy.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, in the embodiment of the present invention it is a kind of be infused control method one embodiment may include:
Step S101, the type of infusion vessel is obtained, and the infusion vessel is determined according to the type of the infusion vessel
Nt wt net weight under blank state.
As shown in Fig. 2, step S101 may include steps of:
Step S1011, the image of the infusion vessel that receiving terminal apparatus is acquired and sent.
Include the information code of the infusion vessel in the image of the infusion vessel, the information code can for bar code or
Two dimensional code.Before being infused, medical staff can by the terminal devices such as mobile phone, tablet computer take pictures or scanning function
The image of the infusion vessel including information code is acquired, and the image is sent in server.
Step S1012, the information code in the image of the infusion vessel is extracted, and is parsed from the information code described
The type of infusion vessel.
Server passes through optical character identification (Optical after the image for receiving the infusion vessel first
Character Recognition, OCR) technology extracts information code therein, then parsed by bar code or two dimensional code
It determines the design parameter information of the infusion vessel, includes the type of infusion vessel in these parameter informations.
Step S1013, data record corresponding with the type of the infusion vessel, and root are searched in preset database
The nt wt net weight of the infusion vessel is determined according to the data record.
Common infusion vessel according to volume can there are many different types, such as 50ml, 100ml, 250ml,
500ml etc..Data record corresponding with the type of various infusion vessels is stored in advance in the database, in the data
It include the nt wt net weight (not containing weight when medical fluid in infusion vessel) of infusion vessel itself in record, as shown in the table:
Infusion vessel type |
Data record (nt wt net weight) |
Container Type 1 |
Data record 1 (500 grams) |
Container Type 2 |
Data record 2 (300 grams) |
Container Type 3 |
Data record 3 (400 grams) |
…….. |
…….. |
…….. |
…….. |
Server can be obtained and the infusion vessel in the type for parsing the infusion vessel by inquiry database
The corresponding data record of type, and determine according to the data record nt wt net weight of the infusion vessel.
It, can be according to institute if not searching data record corresponding with the type of the infusion vessel in the database
The type for stating infusion vessel crawls information aggregate corresponding with the infusion vessel in a network, and according to preset keyword from
Filter out the nt wt net weight of the infusion vessel in the information aggregate, the keyword include but is not limited to " nt wt net weight " or
" Net Weight " etc., for example, being if filtering out an information from the information aggregate according to " nt wt net weight " this keyword
" nt wt net weight: 300 grams " can then determine that the nt wt net weight of the infusion vessel is 300 grams.Determining the net of the infusion vessel
After weight, data record corresponding with the type of the infusion vessel can be further generated, and the data record of generation is deposited
It stores up in the database, so as to subsequent query.
Step S102, the total weight of the infusion vessel is obtained in real time, and according to the total weight and the net weight meter
Calculate the residual volume of solution in the infusion vessel.
In the present embodiment, it can measure the total weight of infusion vessel in real time by weight sensor, and will measure
Total weight is sent in server is analyzed in real time.But the total weight that should be noted that infusion vessel be infusion vessel from
The summation of the weight of the nt wt net weight and infusion vessel Chinese medicine liquid of body, and the weight of only infusion vessel Chinese medicine liquid actually required herein
Amount, therefore, server need the total weight for the infusion vessel that will acquire to subtract the nt wt net weight of infusion vessel itself, to obtain
Infusion vessel Chinese medicine liquid surplus.
Step S103, judge whether the residual volume of solution is less than preset first weight threshold.
First weight threshold can be configured according to the actual situation, for example, 30 grams, 50 can be set to
Gram, 100 grams or other values.
In view of there is biggish differences for different medical fluid density, same weight, some medicine liquid volumes are smaller, less
Time can all be finished, and some medicine liquid volumes are larger, and the more time is needed just can be all finished.It is therefore preferred that
Server is parsed to information code, other than the type for obtaining infusion vessel, can also obtain the category of medical fluid.Institute
It states in database, the corresponding relationship between the category of various medical fluids and the first weight threshold has been stored in advance, as shown in the table:
Medical fluid category |
First weight threshold |
Medical fluid category 1 |
50 grams |
Medical fluid category 2 |
30 grams |
Medical fluid category 3 |
40 grams |
…….. |
…….. |
…….. |
…….. |
Server, can and the medical fluid determining by inquiry database in the category for parsing the infusion vessel Chinese medicine liquid
Corresponding first weight threshold of category.Distinguishingly, if not recorded and current medical fluid category corresponding first in the database
Weight threshold, then server crawls information aggregate corresponding with the medical fluid category from network automatically, and according to preset key
Word filters out the density of the medical fluid category from the information aggregate, the keyword include but is not limited to " density " or
" density " etc., for example, if according to " density " this keyword filtered out from the information aggregate information be " density:
1.2 grams/cc ", then it can determine that the density of the medical fluid category is 1.2 grams/cc.Determining the medical fluid category
Density after, according to Mthresh=ρ × Vthresh, the first weight threshold corresponding with current medical fluid category is calculated, wherein ρ
For the density of the medical fluid, VthreshFor pre-set volume threshold, which can be configured according to the actual situation,
For example, 30 cubic centimetres, 50 cubic centimetres, 100 cubic centimetres or other values, M can be set tothreshAs count
Calculation obtains the first weight threshold corresponding with current medical fluid category.Finally, one article of medical fluid category and the can be generated further
The corresponding relationship of one weight threshold, and this record storage of generation is entered in the database, so as to subsequent query.
If the residual volume of solution is less than first weight threshold, S104 is thened follow the steps, if the residual volume of solution
More than or equal to first weight threshold, then S102 and its subsequent step are returned to step.
Step S104, it is issued and is reminded to specified terminal device with preset first alerting pattern.
First alerting pattern can push or send the mode of short message for message, which can be with
For mobile phone, the tablet computer etc. of medical staff.I.e. when residual volume of solution is less, then issues and remind to medical staff, medical care people
Member can respond after receiving prompting, for example, ACK button can be clicked on the terminal device, so that terminal device is sent
One feedback message can carry out in time dressing after responding or take needle to server.
Further, if medical staff does not respond, from the point of view of server end, i.e., the terminal device is not received
Feedback message, then the residual volume of solution in infusion vessel described in further real-time monitoring, presets when the residual volume of solution is less than
The second weight threshold when, then with preset second alerting pattern to the terminal device issue remind.
Second weight threshold is less than first weight threshold, and setting up procedure is set with first weight threshold
It is similar to set process, specifically can refer to preceding description, details are not described herein again.Second alerting pattern can be vibrating alert mode
Or jingle bell alerting pattern.
Further, on the basis of the above embodiments, examining to the liquid level of the infusion vessel can also be added
Consider, obtain the liquid level of the infusion vessel in real time, if the liquid level is less than preset first height threshold, with institute
It states the first alerting pattern and issues prompting to specified terminal device, if not receiving the feedback message of the terminal device, and institute
Liquid level is stated less than preset second height threshold, then is issued and is reminded to the terminal device with second alerting pattern,
And gradually slow down the medical fluid flow velocity in the infusion vessel, until the feedback message for receiving the terminal device.
It wherein, as shown in figure 3, can be by being longitudinally arranged successively the infrared sensor group formed by multiple infrared sensors
The liquid level of infusion vessel is detected, these infrared sensors have a pair of of infrared emission tube and reception pipe, transmitting tube hair
The infrared ray of certain light intensity is projected, and is received by the reception pipe on opposite, if the blocking of medical fluid is encountered in infrared ray midway, is connect
Closed tube can receive higher light intensity signal, if infrared ray midway encounters the blocking of medical fluid, reception pipe can receive weaker
Light intensity signal can be detected the liquid level in infusion vessel by multiple infrared sensors being longitudinally arranged successively.
Interval between adjacent infrared sensor in the longitudinal direction can be configured according to the actual situation, for example, can be with
It is set to 0.5 centimetre, 0.75 centimetre, 1 centimetre or other values.It should be noted that infusion vessel height detection
It is relevant to the density degree that infrared sensor arranges in the longitudinal direction that precision is, if infrared sensor arrange in the longitudinal direction it is diluter
Dredge, then the precision of infusion vessel height detection is lower, but cost is also lower, if infrared sensor arrange in the longitudinal direction it is closeer
Collection, then the precision of infusion vessel height detection is higher, but cost is also higher, needs to do as the case may be in actual use
It accepts or rejects.
First height threshold can be configured according to the actual situation, for example, 3 centimetres, 5 lis can be set to
Rice, 10 centimetres or other values.In view of the shape of different infusion vessels is there is biggish difference, same liquid level is high
Degree, the cross section of some infusion vessels is smaller, only needs the less time that can all be finished, and the cross section of some infusion vessels
It is larger, need the more time just can all be finished.
It is therefore preferred that in the database, be stored in advance various infusion vessel types and the first height threshold it
Between corresponding relationship, it is as shown in the table:
Infusion vessel type |
First height threshold |
Container Type 1 |
5 centimetres |
Container Type 2 |
3 centimetres |
Container Type 3 |
4 centimetres |
…….. |
…….. |
…….. |
…….. |
Server, can and the infusion vessel determining by inquiry database in the type for parsing the infusion vessel
Corresponding first height threshold of type.
Second height threshold is less than first height threshold, and setting up procedure is set with first height threshold
It is similar to set process, specifically can refer to preceding description, details are not described herein again.
Further, in order to which the time for reserving abundance to medical staff as much as possible comes to handle, server is with second
While alerting pattern issues prompting to the terminal device, it can also gradually slow down the medical fluid flow velocity in the infusion vessel,
Until the feedback message for receiving the terminal device.
For example, server can be issued every preset time interval to the force application apparatus for being previously deployed at perfusion tube two sides
Force instruction controls the force application apparatus according to the force value in the force instruction and squeezes the perfusion tube (as shown in Figure 4)
To slow down the medical fluid flow velocity in the infusion vessel.
Wherein, the force value in each force instruction issued can be calculated according to the following formula:
ForceValn=min (ForceThresh, BaseForce+ (n-1) × IncForce)
N is the number serial number of force instruction, and n >=1, BaseForce are preset initial force value, can be according to practical feelings
Condition is set to 0.1 newton, 0.2 newton or other values, and IncForce is preset incremental change, can be according to practical feelings
Condition is set to 0.01 newton, 0.02 newton or other values, and ForceThresh is preset force threshold value, and
ForceThresh > BaseForce can be set to 0.3 newton, 0.4 newton or other values according to the actual situation,
Min is function of minimizing, ForceValnThe force value in force instruction issued for n-th.
Each time the time interval issued after force instruction can be calculated according to the following formula:
Intervaln=max (IntervalThresh, BaseInterval- (n-1) × DecInterval)
BaseInterval is preset initial interval, can be set to according to the actual situation 10 seconds, 20 seconds
Or other values, DecInterval be preset decrement, can be set to according to the actual situation 5 seconds, 10 seconds or
Other values, IntervalThresh are preset time interval threshold value, and IntervalThresh < BaseInterval can
To be set to 30 seconds, 60 seconds or other values according to the actual situation, max is maximizing function, IntervalnIt is
N times issue the time interval after force instruction.
In conclusion the embodiment of the present invention obtains the type of infusion vessel first, and further determine that the infusion vessel exists
Nt wt net weight under blank state obtains the total weight of the infusion vessel in infusion process in real time, and it is defeated that this is calculated accordingly
Residual volume of solution in liquid container is issued to medical staff and is reminded if residual volume of solution is less, and medical staff mentions receiving
It can carry out in time dressing after waking up or take needle, if medical staff does not respond, and residual volume of solution is reduced to a certain limiting value,
Further prompting then is issued to medical staff, and gradually slows down the medical fluid flow velocity in infusion vessel, to make medical care as much as possible
Personnel come to handle before medical fluid is flow to end.By the monitoring, prompting and emergency trouble shooting measures of automation, it is not necessarily in infusion process
Special personnel are arranged to accompany and attend to, and avoid the malpractice that may cause by human negligence.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Corresponding to a kind of infusion control method described in foregoing embodiments, Fig. 5 shows provided in an embodiment of the present invention one
One embodiment structure chart of kind transfusion control device.
In the present embodiment, a kind of transfusion control device may include:
Nt wt net weight determining module 501 is determined for obtaining the type of infusion vessel, and according to the type of the infusion vessel
Nt wt net weight of the infusion vessel under blank state;
Residual volume of solution computing module 502, for obtaining the total weight of the infusion vessel in real time in infusion process,
And the residual volume of solution in the infusion vessel is calculated according to the total weight and the nt wt net weight;
First reminding module 503, if being less than preset first weight threshold for the residual volume of solution, with preset
First alerting pattern is issued to specified terminal device and is reminded;
Second reminding module 504, if the feedback message for not receiving the terminal device, and the residual volume of solution
Less than preset second weight threshold, is then issued and reminded to the terminal device with preset second alerting pattern, described second
Weight threshold is less than first weight threshold;
Flow control module 505, for gradually slowing down the medical fluid flow velocity in the infusion vessel, until receiving the end
Until the feedback message of end equipment.
Further, the flow control module is specifically used for every preset time interval to being previously deployed at perfusion tube
The force application apparatus of two sides issues force instruction, controls the force application apparatus according to described in the force value extruding in the force instruction
Perfusion tube is to slow down the medical fluid flow velocity in the infusion vessel;
Wherein, the force value in each force instruction issued is calculated according to the following formula:
ForceValn=min (ForceThresh, BaseForce+ (n-1) × IncForce)
N is the number serial number of force instruction, and n >=1, BaseForce are preset initial force value, and IncForce is default
Incremental change, ForceThresh is preset force threshold value, and ForceThresh > BaseForce, min are to minimize letter
Number, ForceValnThe force value in force instruction issued for n-th;
Each time the time interval issued after force instruction is calculated according to the following formula:
Intervaln=max (IntervalThresh, BaseInterval- (n-1) × DecInterval)
BaseInterval is preset initial interval, and DecInterval is preset decrement,
IntervalThresh is preset time interval threshold value, and IntervalThresh < BaseInterval, max are to ask maximum
Value function, IntervalnThe time interval after force instruction is issued for n-th.
Further, the nt wt net weight determining module may include:
Image receiving unit, the image of the infusion vessel for acquiring and sending for receiving terminal apparatus, the infusion
It include the information code of the infusion vessel in the image of container;
Information code extraction unit, the information code in image for extracting the infusion vessel, and from the information code
Parse the type of the infusion vessel;
Data record searching unit, for searching number corresponding with the type of the infusion vessel in preset database
According to record;
Nt wt net weight determination unit, for determining the nt wt net weight of the infusion vessel according to the data record.
Further, the nt wt net weight determining module can also include:
Information aggregate crawls unit, if corresponding with the type of the infusion vessel for not searching in the database
Data record then crawls information aggregate corresponding with the infusion vessel according to the type of the infusion vessel in a network;
Nt wt net weight screening unit, for filtering out the infusion vessel from the information aggregate according to preset keyword
Nt wt net weight;
Data record generation unit for generating data record corresponding with the type of the infusion vessel, and will generate
Data record be stored into the database.
Further, the transfusion control device can also include: that liquid level obtains module, described in obtaining in real time
The liquid level of infusion vessel.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description,
The specific work process of module and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
The schematic block diagram that Fig. 6 shows a kind of server provided in an embodiment of the present invention illustrates only for ease of description
Part related to the embodiment of the present invention.
In the present embodiment, the server 6 may include: processor 60, memory 61 and be stored in the storage
In device 61 and the computer-readable instruction 62 that can run on the processor 60, such as execute above-mentioned infusion control method
Computer-readable instruction.The processor 60 realizes above-mentioned each infusion control method when executing the computer-readable instruction 62
Step in embodiment, such as step S101 to S104 shown in FIG. 1.Alternatively, the processor 60 execute the computer can
The function of each module/unit in above-mentioned each Installation practice, such as the function of module 501 to 505 shown in Fig. 5 are realized when reading instruction 62
Energy.
Illustratively, the computer-readable instruction 62 can be divided into one or more module/units, one
Or multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Institute
Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment
For describing implementation procedure of the computer-readable instruction 62 in the server 6.
The processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the server 6, such as the hard disk or memory of server 6.
The memory 61 is also possible to the External memory equipment of the server 6, such as the plug-in type being equipped on the server 6 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 61 can also both include the internal storage unit of the server 6 or wrap
Include External memory equipment.The memory 61 is for storing needed for the computer-readable instruction and the server 6 it
Its instruction and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
The functional units in various embodiments of the present invention may be integrated into one processing unit, is also possible to each
Unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both may be used
To use formal implementation of hardware, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a storage medium, including several computer-readable instructions are used so that one
Platform computer equipment (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with
Store the medium of computer-readable instruction.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.